(05-08-2010, 08:12 PM)Agent69 Wrote:(05-08-2010, 07:06 PM)Hykem Wrote: Just name the files as something like this, for example:Maybe no need extra nomenclature: just change emu src, to use another valuves to identification sound data, like
Atrac-[filesize]-[number].decat3
With "number" going from 0 up to the number of atrac files present in the game, just like a playlist. We'll then make JPCSP recognize these files and play them instead.
String generateID(int fileSize, int Last_4_bytes_in_At3_file), and check: if (file not found in atrac folder) send to psp for decoding.
Extract sound data possible from any game, but will not know the address and "number", and calculate the hash for each file - the loss of speed.
the last few bytes is a good idea ...but looking at the at3 files the last 4-5bytes are always 9F 4E 02 FC 7F or 00 00 00 FC 7F
crc32/md5/sha1 would be easiest for me, but then it could slow the emulator down having to calculate each file..
playlist would be ok but there would have no way of knowing the order the files are loaded in outside of jpcsp
Try Out JPCSP Launcher v1.8.0.4 | How to post a log