Hello!
I would like to announce a new rust library libzeroengine that I am developing to extract data from the assets of Star Wars Battlefront II and hopefully any other game that uses Pandemic's ZeroEngine and convert it to a format that's actually usable.
This library can currently parse ucfb containers (the format the game uses to store everything) and extract scripts, cutscenes and levels. I plan to support all asset/chunk types contained within the games files.
The library includes a program called ucfbextract which is an extremely barebones wrapper around the library that will try to extract any file you put into it. It currently "works" with .mvs and .script files.
So far this tool has allowed me to extract all of the cutscenes from the game files, and I'm not sure if this has been done before.
Due to some major tomfoolery on Pandemic's part , the script extraction does not fully work yet, but the plan is to convert the extracted lua bytecode to lua 5.1 bytecode so it can be fully decompiled.
I plan to use this library one day create a site like Unreal Archive but for ZeroEngine based games.
I would also like to thank the developers of swbf-unmunge, which helped me tremendously in figuring out how to parse these ancient file formats .
Also, if anyone has a detailed description of the chunk formats used by this game, please let me know, as it would be tremendously helpful in helping me develop this library.
I would like to announce a new rust library libzeroengine that I am developing to extract data from the assets of Star Wars Battlefront II and hopefully any other game that uses Pandemic's ZeroEngine and convert it to a format that's actually usable.
This library can currently parse ucfb containers (the format the game uses to store everything) and extract scripts, cutscenes and levels. I plan to support all asset/chunk types contained within the games files.
The library includes a program called ucfbextract which is an extremely barebones wrapper around the library that will try to extract any file you put into it. It currently "works" with .mvs and .script files.
So far this tool has allowed me to extract all of the cutscenes from the game files, and I'm not sure if this has been done before.
Due to some major tomfoolery on Pandemic's part , the script extraction does not fully work yet, but the plan is to convert the extracted lua bytecode to lua 5.1 bytecode so it can be fully decompiled.
I plan to use this library one day create a site like Unreal Archive but for ZeroEngine based games.
I would also like to thank the developers of swbf-unmunge, which helped me tremendously in figuring out how to parse these ancient file formats .
Also, if anyone has a detailed description of the chunk formats used by this game, please let me know, as it would be tremendously helpful in helping me develop this library.