Open ghostlyghastly opened 1 year ago
The code assumes the PS2 PAL version because that's what I have. I expect that the format would be different for the PC version because the files are very PS2 specific ... the vid and tex files are basically VIF DMA packets dumped to a file.
Thanks for replying so quickly. Perhaps the PC version is just the PS2 version with some kind of emulator? There happens to be a ~280MB zip with one each of the file types from the PC version at https://mega.nz/file/bIs3XCiI#6yLtlFye2uEtWTBYuRA-3j5dXxOEyKu2HBO9eZN7xsI (this is not even close to the whole game, which is 3.86GB)
bgtools - "The bgtools directory contains java code to mainly dump decodes files as text." could this be useful for extracting dialog/ui text? If so, is there a .jar available?
I'm not going to download something I don't own ... maybe I'll look on eBay for the PC version, but no time soon. The java code can decode the dialog files - there's not a jar because it's very much experimental code. You need to open it in something like intellij IDEA, find the class you want to run, update the main call to point to the relevant file and run it. The c# code may be able to decode them too - I can't remember if it was implemented. If it is, it would log to the output pane.
I don't think you'll be able to find the PC versions on eBay, since the PC releases (Windows, Mac OS, Linux on GOG and Steam) are digital only as far as I know.
If it's any help (I don't really know how to program much of anything), I compared the files from all the versions and it seems the PC ones are identical to the Xbox ones, and the Gamecube files are yet again distinct from the rest. The LMP files seem to be the same between PAL and NTSC versions, though.
I think the main differences between PC/Xbox and PS2 are the file formats contained in the files. (The Gamecube files also have a different byte order.)
Thank you for this tool! This opens some files in the PC version but crashes often, for example when trying to open load_fr.lmp on the 3rd or so level.
res/ contains:
Any idea which might contain text and how to extract?
Some file format research (3d models) has been going on in https://forum.xentax.com/viewtopic.php?t=18924