emoose / re4-research

Various tools & modding research for Resident Evil 4
BSD 3-Clause "New" or "Revised" License
35 stars 4 forks source link

r015.udas.lfs #17

Open emoose opened 1 year ago

emoose commented 1 year ago

This file seems to be very strange, trying to load it into UHD makes game crash inside XCOMPRESS function, decompressing with re4lfs seems to work without errors, but then it seems the udas is actually compressed with the same thing as gamecube .das files - the DAS header is even in big-endian too!

Since it's big-endian I figured the files inside are probably all big-endian too, so not much chance of UHD loading it... did give it a try with the GC debug build too, but that just crashed when trying to load it...

If I use a gamecube .das decompressor tool it seems to give weird results, some strings like CAM/SAT/LIT end up as "CAá€SAè€LIè€", maybe there was an issue with the xcompress/LFS decompression... Zatarita did also mention that the YZ2 compression (used on gamecube .das) seemed customised for that file too, though maybe it was corrupt LFS results making it look customised, or I guess it could maybe be a Wii-era file using newer YZ2 algo, who knows.

Filesize for r015 isn't that different to the boring r002/003/004 maps though, so maybe it's not that different from them, still would be nice to know for sure eventually...