Yggdrasill-Moe/Niflheim

Issue packing S25 files for Nukitashi

Closed this issue · 6 comments

HI Darkness! wonder if could help me with this:

Im trying to do a translation of Nukitashi in english and spanish and i was unpacking the WAR files for the system images and such, and found couple of S25 files that have a lot of the images that i want to translate. I can unpack them with the S25_unpack.exe you created.

But when packing the file again with S25_pack.exe i noticed that the file is considerably bigger than the original file:

image

and when packing it back into the WAR file and trying to open the game, it is crashing with the following error:

image

Im not that good with programming so im not sure if i made a mistake when compiling the tools or something. Im attaching the S25 tools i used, and the S25 file that i wanted to unpack, translate and pack.

Can you check to see if you notice anything wrong or off, or if you have S25_pack.exe that works with the file im attaching?

s25.zip

Again thanks for all you do for the community!

Yes, pack tool has a bug for some picture, and I usually only work on translation projects. Last time for RioShiina, I didn't need to deal with the pictures so didn't fix it. All right, I will take this opportunity to fix this bug.

Test passed for this file, what a shit engine and s25 file!
S25debug.zip
2023-04-21 23 24 11

Because of the fake compression of S25_decompress() is used in s25_pack, it is normal for the pack file to be larger than the original file.
But, during the WAR packing step, it will be recompressed.

Absolutely gourgeous!

I just tested it and it works! Thank you very much.

I will now start translating those images... Pray for me...

HI Darkness! wonder if could help me with this:

Im trying to do a translation of Nukitashi in english and spanish and i was unpacking the WAR files for the system images and such, and found a couple of S25 files that have a lot of the images that i want to translate. I can unpack them with the S25_unpack.exe you created.

But when packing the file again with S25_pack.exe i noticed that the file is considerably bigger than the original file:

image

and when packing it back into the WAR file and trying to open the game, it is crashing with the following error:

image

Im not that good with programming so im not sure if i made a mistake when compiling the tools or something. Im attaching the S25 tools i used, and the S25 file that i wanted to unpack, translate and pack.

Can you check to see if you notice anything wrong or off, or if you have S25_pack.exe that works with the file im attaching?

s25.zip

Again thanks for all you do for the community!

https://twitter.com/shiravune/status/1651392668721876998?s=46&t=xZw71mZvKXNJD1nLkZHY_Q

Yeah... Just saw this. Super happy and sad at the same time, I was advancing at a good pace as well... I guess I'll find something else to translate.. maybe this time I'll understand this process as well to not bother people again 😅