A quick guide:
1 Install python (
https://www.python.org/downloads/)
2 Save the text of the script to a file ("doau_sizes.py")
4 Go to the location of your patched doa2.xbe, and copy the path from the address bar of the folder.
3 In the text of the script, paste the copied path to the
doa2_xbe_path string (doa2_xbe_path="D:\game\doa2ulitmate
\doa2.xbe")
4 Build a skin with the
doaXskins_for_doao_converter, right click on the cat file of the created skin, and choose 'Properties'
5 Look for the 'Size on disk' line:
Size on disk 784 KB (802 816 bytes)
6 In the text of the script write for the size of the cat file, the
size on disc in bytes: (cat_size=
802816) (write the number without any spaces)
7 Save the script and run it. If anything is done right, the script should patch the xbe with the new size.
8 Import the created skin to the
datahdd2.afs, run the game and see what happens.
9 If you want to import another skin that has a bigger cat file, then you need to patch the xbe for the new size again.
10 The idea is to find the biggest size for the 'cat_size', that will not crash the game. If you find the size, after which the game starts crashing, than tell me this number, that would be a great finding.