06-18-2010, 06:55 PM
So, lets go:
1) The size of the file that shows the emulator, do not always correspond to the size of the file to dump it.
2) The size of the file, which was a dump of the emulator, often not always correspond to the size of the file, which was a dump party wav ripper
So we have some problems when using the hash of the entire file in quality identifier.
3) There are files that immediately after the header, have over 2kb zeros in the data.
4) There at3 file size> 2kb ((1 804b minimal at3 file in Crisis Core.
5) Often headers in these two files can be the same.
This casts doubt profit from the use of hash on the part of the file.
So I used the easiest option came to mind: take 3 (for reliability) 32 bit values from different offsets of the file.
A) offset 0x3C (60 dec): closest to the header value, which has some unique numbers.
2) 444 and 2000 empirically combined offset for Disgaea, which gave a good result(minimal .at3 size - 5kb).
Update: for Disgaea is better to use instead 60-444-2000, 60-900-2200 values (in the original version did slip through a conflict between the names of files) for Crisis core - for example 60-400-1000.
The values of the offsets have to select for each game manually (with recompiling emulator of course), but you have all the sounds here and now.
The second version crappy tool:
jpcps_rename.7z (Size: 171.97 KB / Downloads: 152)
1) The size of the file that shows the emulator, do not always correspond to the size of the file to dump it.
2) The size of the file, which was a dump of the emulator, often not always correspond to the size of the file, which was a dump party wav ripper
So we have some problems when using the hash of the entire file in quality identifier.
3) There are files that immediately after the header, have over 2kb zeros in the data.
4) There at3 file size> 2kb ((1 804b minimal at3 file in Crisis Core.
5) Often headers in these two files can be the same.
This casts doubt profit from the use of hash on the part of the file.
So I used the easiest option came to mind: take 3 (for reliability) 32 bit values from different offsets of the file.
A) offset 0x3C (60 dec): closest to the header value, which has some unique numbers.
2) 444 and 2000 empirically combined offset for Disgaea, which gave a good result(minimal .at3 size - 5kb).
Update: for Disgaea is better to use instead 60-444-2000, 60-900-2200 values (in the original version did slip through a conflict between the names of files) for Crisis core - for example 60-400-1000.
The values of the offsets have to select for each game manually (with recompiling emulator of course), but you have all the sounds here and now.
The second version crappy tool:
jpcps_rename.7z (Size: 171.97 KB / Downloads: 152)