Just making a guide for anyone who is interested or will be interested in porting things to Unreal II. This focuses mainly on porting U2XMP content to U2. Before describing the actual procedure, we'll look into alternative ways and see why they don't work for us here 
Porting textures
Generally textures work just by dragging and dropping them from U2XMP to U2; however, there are a few exceptions. NOTE: Although due to an undocumented feature, when importing textures, if they have the material name in front of the texture name (for example, METL_TextureName), they will have their material applied automatically; however, some textures don't have the material description, so after porting make sure you have the correct Material set.
All textures
If U2 UnrealEd crashes when you drag and drop a texture package, that means that it contains an unsupported texture type (either a TextureArray or TexCoordSource).
You might want to use UnrealEd U2XMP for that - don't. Export to File option is broken. Then you might want to use UT Package Tool - don't. It will crash with some error because it doesn't support U2XMP. You might want to use UDE/WoTgreal - don't. You will get an error that the BMP format is unsupported. You might want to delete the unsupported textures - don't. The Editor won't let you.
This is what to do in such cases:
If this doesn't work, continue reading.
RGBA8 textures
You already know what fails. If the above method fails, then continue reading. Make sure, however, that you want to convert RGBA8 textures, and not DXT* ( the next section is about that).
You will have no problems with these by using UCC whatsoever. To export them from U2XMP, you have to do some geekish command line work, but it's not much and not hard at all:
DDS textures
This is a little more tricky. You already know why UnrealEd export and UTPT don't work. You might want to use the method with RGBA8 as described above - don't. Exported TGA files will be totally empty. You might want to do the same, but with PCX - don't. It's the same. You might want to do the same as above, but with DDS - don't. You will see that there is no DDS exporter in UCC.
We do it correctly by using Unreal Development Environment or WoTgreal first, and then editing the BMP files with Photoshop (I'm using CS2) so UnrealEd would recognise them:
Porting Static Meshes
Different methods to port Static Meshes to U2 from U2XMP are described here. Note that after porting, you should see if the Static Mesh is smooth enough. If it isn't (for example, if it's a natural mountain mesh or a mesh of a broken item), open your UnrealEd's console and enter STATICMESH SMOOTH. This hardly documented feature will smoothen the Static Mesh that is selected in the 3D world viewport. Make sure you save afterwards!
Most Static Meshes
There are different ways to port Static Meshes, but the easiest way is here.
You might want to use UTPT to export the Static Mesh - don't. As mentioned before, UTPT doesn't support U2XMP enough to do that. Besides, what would you export it to? Then, you might want to use UDE/WoTgreal to export them - don't. There meshes don't even appear, or appear blank. You might then want to convert your Static Mesh to a Brush in U2XMP Editor and export - don't. Static Meshes simply won't get converted to Brushes for some reason. Then you might want to export the Static Mesh as .obj - don't. U2XMP Editor doesn't support .OBJ exporting. Then you might want to do the same in UT2004 - don't, there's an easier way and it doesn't screw UV maps.
He we will convert the Static Mesh to a Brush and then back to a Static Mesh.
myLevel and those which don't work from U2XMP
You will need Unreal Tournament 2004 and UTXMP for this to work.
You might want to use UTPT to export the Static Mesh - don't. As mentioned before, UTPT doesn't support U2XMP enough to do that. Besides, what would you export it to? Then, you might want to use UDE/WoTgreal to export them - don't. There meshes don't even appear, or appear blank. You might then want to convert your Static Mesh to a Brush in U2XMP Editor and export - don't (or, actually, do, but if it fails, read on). Some Static Meshes simply won't get converted to Brushes for some reason. Then you might want to export the Static Mesh as .obj - don't. U2XMP Editor doesn't support .OBJ exporting. Then you might want to do the same in UT2004 - don't, there's an easier way and it doesn't screw UV maps.
What we are going to do is utilise UT2004 UTXMP for changing Static Meshes to Brushes, import Brushes to Unreal II and convert them back to Static Meshes.
Phew, took a while, but hopefully will be useful for anyone who wants to convert things from U2XMP to U2. As you can see, it requires truly unordinary tools to convert things here. If someone knows a way to truly export meshes (or convert to brushes) from U2XMP, please post here.
Porting textures
Generally textures work just by dragging and dropping them from U2XMP to U2; however, there are a few exceptions. NOTE: Although due to an undocumented feature, when importing textures, if they have the material name in front of the texture name (for example, METL_TextureName), they will have their material applied automatically; however, some textures don't have the material description, so after porting make sure you have the correct Material set.
All textures
If U2 UnrealEd crashes when you drag and drop a texture package, that means that it contains an unsupported texture type (either a TextureArray or TexCoordSource).
You might want to use UnrealEd U2XMP for that - don't. Export to File option is broken. Then you might want to use UT Package Tool - don't. It will crash with some error because it doesn't support U2XMP. You might want to use UDE/WoTgreal - don't. You will get an error that the BMP format is unsupported. You might want to delete the unsupported textures - don't. The Editor won't let you.
This is what to do in such cases:
- Open U2XMP UnrealEd.
- Load your Texture package.
- Right-click on a texture (but make sure it's not a TextureArray or a TexCoordSource!) and choose Rename.
- Rename the package to something similar (otherwise you will have a hard time renaming all of those), for example, rename from MyPackageName to MyPackageName1.
- Go to the newly created package.
- Check all the textures for Palettes. If a texture uses it, remove the reference to it. Nobody uses Palettes these days and they will cause package loading problems if you don't get rid of them.
- Save the package.
- Use the drag and drop technique.
- Rename the dropped package to whatever you need (for example, from MyPackageName1 to MyPackageName).
If this doesn't work, continue reading.
RGBA8 textures
You already know what fails. If the above method fails, then continue reading. Make sure, however, that you want to convert RGBA8 textures, and not DXT* ( the next section is about that).
You will have no problems with these by using UCC whatsoever. To export them from U2XMP, you have to do some geekish command line work, but it's not much and not hard at all:
- Press Win+R and enter cmd in the box.
- Write cd *foldernamehere* to navigate to Unreal II XMP System folder. (note: for speed, write the first few letters and press Tab - it will automatically enter your folder's name; alternatively, you can add a wildcard * after the first few letters and press Enter; to switch to another drive, enter it's letter and the symbol : )
Example:
C:\Documents and Settings\Username>D:
D:\>cd WinG*
D:\WinGeneric>cd Pr*
D:\WinGeneric\Programs>cd Ga*
D:\WinGeneric\Programs\Games>cd UA*
D:\WinGeneric\Programs\Games\UAnth>cd Unreal2
D:\WinGeneric\Programs\Games\UAnth\Unreal2>cd System
D:\WinGeneric\Programs\Games\UAnth\Unreal2\System> - Enter ucc batchexport *PackageNameHere* Texture TGA *PathToAFolderHere*
Example:
ucc batchexport 343T Texture TGA ..\Textures\343T - Open your Unreal II UnrealEd and use File -> Import to import your textures from the folder you batch exported into. NOTE: as mentioned before, works only with RGBA8 uncompressed textures.
DDS textures
This is a little more tricky. You already know why UnrealEd export and UTPT don't work. You might want to use the method with RGBA8 as described above - don't. Exported TGA files will be totally empty. You might want to do the same, but with PCX - don't. It's the same. You might want to do the same as above, but with DDS - don't. You will see that there is no DDS exporter in UCC.
We do it correctly by using Unreal Development Environment or WoTgreal first, and then editing the BMP files with Photoshop (I'm using CS2) so UnrealEd would recognise them:
- Load UDE/WoTgreal.
- Go to Tools->Advanced Exporter...
- Press the Folder icon at the top and navigate to your U2XMP/Textures folder.
- Press your texture package name, then add a tick near your texture(s) name.
- Press Export -> Export to BMP. NOTE: you might be tempted to use .PCX - don't. Those .PCX files are just renamed .BMP.
- Use Windows Explorer to navigate to your U2XMP/PackageNameHere.u/Images folder.
- Rename YourTextureNameHere0.bmp to YourTextureNameHere.bmp to save some time when importing later.
- Open the .BMP file with Photoshop.
- Go to File -> Save As... and save as .TGA, 32bit, no compression.
- Open Unreal II UnrealEd.
- Do the usual importing stuff, selecting .TGA as the file to import.
- Select your compression rate in the Import dialogue.
Porting Static Meshes
Different methods to port Static Meshes to U2 from U2XMP are described here. Note that after porting, you should see if the Static Mesh is smooth enough. If it isn't (for example, if it's a natural mountain mesh or a mesh of a broken item), open your UnrealEd's console and enter STATICMESH SMOOTH. This hardly documented feature will smoothen the Static Mesh that is selected in the 3D world viewport. Make sure you save afterwards!
Most Static Meshes
There are different ways to port Static Meshes, but the easiest way is here.
You might want to use UTPT to export the Static Mesh - don't. As mentioned before, UTPT doesn't support U2XMP enough to do that. Besides, what would you export it to? Then, you might want to use UDE/WoTgreal to export them - don't. There meshes don't even appear, or appear blank. You might then want to convert your Static Mesh to a Brush in U2XMP Editor and export - don't. Static Meshes simply won't get converted to Brushes for some reason. Then you might want to export the Static Mesh as .obj - don't. U2XMP Editor doesn't support .OBJ exporting. Then you might want to do the same in UT2004 - don't, there's an easier way and it doesn't screw UV maps.
He we will convert the Static Mesh to a Brush and then back to a Static Mesh.
- Open U2XMP UnrealEd.
- Navigate to your Static Mesh.
- Place the Static Mesh in an empty map (it will appear like wireframe).
- Right-click your Static Mesh and select Convert -> To Brush. NOTE: After that, you might not see anything. Zoom out and you should see it then - sometimes in some maps the Builder Brush is hidden until you zoom out. If you don't see it whatever you do, it probably didn't get converted - go read the next section.
- Press Brush -> Save Brush As...
- Save it.
- Open U2 UnrealEd.
- Go to Brush -> Open Brush and open your saved u3d file.
- Right-click on your red brush and select Convert -> To Static Mesh.
- Fill in the dialogue.
- Open your Texture Browser and find the mesh map for your Static Mesh.
- Locate your new Static Mesh and go to Edit -> Sections...
- Press Use and Close.
- Save the package.
myLevel and those which don't work from U2XMP
You will need Unreal Tournament 2004 and UTXMP for this to work.
You might want to use UTPT to export the Static Mesh - don't. As mentioned before, UTPT doesn't support U2XMP enough to do that. Besides, what would you export it to? Then, you might want to use UDE/WoTgreal to export them - don't. There meshes don't even appear, or appear blank. You might then want to convert your Static Mesh to a Brush in U2XMP Editor and export - don't (or, actually, do, but if it fails, read on). Some Static Meshes simply won't get converted to Brushes for some reason. Then you might want to export the Static Mesh as .obj - don't. U2XMP Editor doesn't support .OBJ exporting. Then you might want to do the same in UT2004 - don't, there's an easier way and it doesn't screw UV maps.
What we are going to do is utilise UT2004 UTXMP for changing Static Meshes to Brushes, import Brushes to Unreal II and convert them back to Static Meshes.
- Open UT2004 UnrealEd.
- Navigate to your Static Mesh.
- Place the Static Mesh in an empty map (it will appear like wireframe).
- Right-click your Static Mesh and select Convert -> To Brush. NOTE: After that, you might not see anything. Zoom out and you should see it then - sometimes in some maps the Builder Brush is hidden until you zoom out.
- Press Brush -> Save Brush As...
- Save it.
- Open U2 UnrealEd.
- Go to Brush -> Open Brush and open your saved u3d file.
- If the pivot is off from where it should be (brush pivot = start of Static Mesh's plane and then pivot when placed in the game again), you have to put it approximately where it is in U2XMP. That means you have to open U2XMP UnrealEd and see where the 0,0,0 coordinates of that mesh are, and if your brush has it somewhere in the wrong place, press a vertex to put the Pivot there. It doesn't need to be exact, all Static Meshes will be repositioned in maps anyway.
- Right-click on your red brush and select Convert -> To Static Mesh.
- Fill in the dialogue.
- Open your Texture Browser and find the mesh map for your Static Mesh.
- Locate your new Static Mesh and go to Edit -> Sections...
- Press Use and Close.
- Save the package.
Phew, took a while, but hopefully will be useful for anyone who wants to convert things from U2XMP to U2. As you can see, it requires truly unordinary tools to convert things here. If someone knows a way to truly export meshes (or convert to brushes) from U2XMP, please post here.
Last edited: