different file after reinjection [Shotonline]
Page 1 of 1

Author:  macmac [ Fri Nov 03, 2017 4:46 pm ]
Post subject:  different file after reinjection [Shotonline]

Hi i used your program to extract resource file for Shotonline!
downloaded shotonline script from your website and work great i extracted files from a resource file cand can modify as i wish

After reimport file injected back to resource file but its changed even if i didnt modified exctracted files!so my game cant handle anymore!

reinjected 1 file without touching inside: (seems work fine)
Képkivágás.JPG [33.12 KiB]
Downloaded 1 time


then if i comparise original and reinjected resource file its changed (i only extracted and reinjected 1 file without touch)
comparison.JPG [194.67 KiB]
Downloaded 1 time


pls explain whats wrong and how should i solve it!

thanks ;)

Author:  aluigi [ Fri Nov 03, 2017 7:39 pm ]
Post subject:  Re: different file after reinjection

There is nothing wrong.
99% of times the compression algorithms are available in multiple implementations (libraries and software) and multiple settings, obviously zlib is one of them.
So it's perfectly normal and there are no negative effects on the reimporting operation.

In your specific case I see a possible problem with the CRC fields available in the format of the archive because the game may check both the compressed and uncompressed archived file, and if one of them is different then the archived CRC value it will refuse to work.
Obviously the reimport mode doesn't touch the crc fields (or any other field) so if your game doesn't work with the edited archive (even if you didn't touch the imported file) then this is the reason.

Author:  macmac [ Fri Nov 03, 2017 8:56 pm ]
Post subject:  Re: different file after reinjection

Hi! thanks fast reply ;)

I forced my client to download file again from game server and everytime its get different crc/hash
so im not sure if game check crc or hash sums


Also changed crc same as my original file but still dont work :(

crc.JPG [51.57 KiB]
Not downloaded yet

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited