xtremexp / UT4X-Converter

Helps converting old Unreal (Tournament) maps to UT3 (2007) / UT4 (2015) game.
Other
63 stars 18 forks source link

Duke Nukem Forever 2001 - 2011 Support #72

Closed Sagatt closed 1 year ago

Sagatt commented 1 year ago

Yes, believe it or not they were built on top of Unreal Tournament 99, on UE1, with little to no changes to the very first version, i suppose it wouldn't be very hard to make a compability patch, no?

Sagatt commented 1 year ago

Some of the errors i got when trying to convert a DNF 2001 map

02:25:55 798 - SEVERE - Error parsing Line #65378 for !z1l1_1.t3d
02:25:55 800 - SEVERE - Current Actor Class: TriggerVolume Line:
02:25:55 802 - SEVERE - "    TriggerType=TT_PlayerProximityAndLookUse"
02:25:55 803 - SEVERE - ERROR: No enum constant org.xtx.ut4converter.t3d.T3DTriggerVolume.TriggerType.TT_PlayerProximityAndLookUse
02:25:55 806 - SEVERE - Error parsing Line #65431 for !z1l1_1.t3d
02:25:55 808 - SEVERE - Current Actor Class: TriggerVolume Line:
02:25:55 810 - SEVERE - "    TriggerType=TT_PlayerProximityAndLookUse"
02:25:55 811 - SEVERE - ERROR: No enum constant org.xtx.ut4converter.t3d.T3DTriggerVolume.TriggerType.TT_PlayerProximityAndLookUse
02:25:55 830 - SEVERE - Error parsing Line #69901 for !z1l1_1.t3d
02:25:55 832 - SEVERE - Current Actor Class: TriggerVolume Line:
02:25:55 834 - SEVERE - "    TriggerType=TT_PlayerProximityAndUse"
02:25:55 835 - SEVERE - ERROR: No enum constant org.xtx.ut4converter.t3d.T3DTriggerVolume.TriggerType.TT_PlayerProximityAndUse
02:25:55 853 - SEVERE - Error parsing Line #72227 for !z1l1_1.t3d
02:25:55 855 - SEVERE - Current Actor Class: TriggerLight Line:
02:25:55 857 - SEVERE - "    LightType=LT_StringLight"
02:25:55 858 - SEVERE - ERROR: No enum constant org.xtx.ut4converter.t3d.T3DLight.UE12_LightType.LT_StringLight
02:25:55 860 - SEVERE - Error parsing Line #72247 for !z1l1_1.t3d
02:25:55 862 - SEVERE - Current Actor Class: TriggerLight Line:
02:25:55 864 - SEVERE - "    LightType=LT_StringLight"
02:25:55 865 - SEVERE - ERROR: No enum constant org.xtx.ut4converter.t3d.T3DLight.UE12_LightType.LT_StringLight

02:25:56 264 - SEVERE - Full export for !z1l1_1.u failed with ucc.exe batchexport :
02:25:56 266 - SEVERE - 
02:25:56 268 - SEVERE - C:\Users\X\AppData\Local\UT-Converter>C:
02:25:56 271 - SEVERE - 
02:25:56 273 - SEVERE - C:\Users\X\AppData\Local\UT-Converter>cd "C:\duke4\System" 
02:25:56 275 - SEVERE - 
02:25:56 277 - SEVERE - C:\duke4\System>ucc.exe batchexport  !z1l1_1.u Texture pcx "C:\Users\X\Documents\UT4X-Converter\Converted\!z1l1_1\Temp\TEXTURE" 

02:25:56 831 - WARNING - Failed to load a_switch.u with umodel testing with UCC
02:25:56 964 - SEVERE - Full export for a_switch.u failed with ucc.exe batchexport :
02:25:56 967 - SEVERE - 
02:25:56 969 - SEVERE - C:\Users\X\AppData\Local\UT-Converter>C:
02:25:56 971 - SEVERE - 
02:25:56 973 - SEVERE - C:\Users\X\AppData\Local\UT-Converter>cd "C:\duke4\System" 
02:25:56 975 - SEVERE - 
02:25:56 977 - SEVERE - C:\duke4\System>ucc.exe batchexport  a_switch.u Sound wav "C:\Users\X\Documents\UT4X-Converter\Converted\!z1l1_1\Temp\SOUND" 

02:25:57 350 - SEVERE - Full export for a_generic.u failed with ucc.exe batchexport :
02:25:57 352 - SEVERE - 
02:25:57 354 - SEVERE - C:\Users\X\AppData\Local\UT-Converter>C:
02:25:57 357 - SEVERE - 
02:25:57 359 - SEVERE - C:\Users\X\AppData\Local\UT-Converter>cd "C:\duke4\System" 
02:25:57 361 - SEVERE - 
02:25:57 363 - SEVERE - C:\duke4\System>ucc.exe batchexport  a_generic.u Sound wav "C:\Users\X\Documents\UT4X-Converter\Converted\!z1l1_1\Temp\SOUND" 
xtremexp commented 1 year ago

I've done pretty many modification to code to get something working. Was not as easy as expected. Here is some test on DM-FutureThrill image

You can try branch feature/dnf . There are still some issues (like texture scaling) but it works pretty well for now.

Sagatt commented 1 year ago

Where can i download that version of yours that works for DNF? I couldn't get your code to compile properly, can you share a compiled version?

Also, i'm trying to port the singleplayer maps from DNF, zone 1 and so on, i don't know if that makes any difference, and i'm currently using the restoration project build.

Thanks