This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch audio dumping
#12
I'm not sure what agent69's tool does but i made a temporary program that can make the file like

Atrac-0009E394-000000A9.at3
where
atrac-hex(sizeinBytes)-hex-location

where hex-location is the hexvalue at some location in the file (i used 2048bytes into the file in above example) but i can make it anything

i compared a few same size files and it appears offset 0000003C are differn't
   
so if i made my program use 3C (60bytes) the files would appear as
Atrac-0000154C-0000008A.at3
Atrac-0000154C-000000C0.at3

or i could do two values
ie
Atrac-0000154C-00008A6A.at3
Atrac-0000154C-0000C069.at3

here is a quick screen shot
filenames before convert (can be any filename as long as it ends with .at3)
   
after run using the 0000003C offset
   

i tested this with all crisis core files (1260 files) and still about 4 files come out with the same filename even when using two values, so its possible some files have the same runtime and filesize, however i was thinking why not use two values one of the 0000003C offset and another one at like 0000006C, anyways im open to suggestions.

Update:
here is something that worked successfully renamed all the crisis core files, Jpcsp would need to read the offset in the file at 3C and 6C (or whatever values you want to use).
[name]-[FileSizeinhex]-[00FF[single hex value at 0000003C],005B[single hex Value at 0000006C], the 00's I added in but i can make them values if needed since im only reading one hexchar but i can make it two for each offset.
Atrac -0000C7CC - 00FF005B.at3
   
but i noticed on some of the big files dont change the value at 3C or 6C (the bgm files in crisis core are different format then the smaller voice audio) the offset its like you said on these files 00000004-00000005 and 0000001C-0000001D (values in red are what change in these files) (Yellow is what my program is using, red is what the big files change)
   
   

even though it worked on 1300 files in crisis core, would it work in other games or other audio formats?

I think it would be better to read 4 hexbytes at a high value after 500 or 1000 bytes into the file since it should be past the header and the data should be more random there and the chances of having the same values at that point is unlikely
Reply


Messages In This Thread
Batch audio dumping - by Agent69 - 06-17-2010, 05:54 AM
RE: Batch audio dumping - by corvenik - 06-18-2010, 11:33 AM
RE: Batch audio dumping - by Agent69 - 06-18-2010, 06:55 PM
RE: Batch audio dumping - by corvenik - 06-19-2010, 01:22 PM
RE: Batch audio dumping - by Agent69 - 06-20-2010, 03:02 AM
RE: Batch audio dumping - by corvenik - 06-20-2010, 09:22 AM
RE: Batch audio dumping - by Agent69 - 06-20-2010, 09:29 PM
RE: Batch audio dumping - by gid15 - 07-17-2010, 03:07 PM
RE: Batch audio dumping - by hyakki - 07-17-2010, 07:50 PM
RE: Batch audio dumping - by Agent69 - 07-17-2010, 07:05 PM
RE: Batch audio dumping - by gid15 - 07-17-2010, 09:12 PM
RE: Batch audio dumping - by hyakki - 07-17-2010, 10:02 PM
RE: Batch audio dumping - by Agent69 - 07-18-2010, 05:47 AM
RE: Batch audio dumping - by gid15 - 07-18-2010, 06:43 AM
RE: Batch audio dumping - by Agent69 - 07-18-2010, 07:11 AM
RE: Batch audio dumping - by gid15 - 07-18-2010, 07:21 AM
RE: Batch audio dumping - by hyakki - 07-18-2010, 08:20 AM
RE: Batch audio dumping - by gid15 - 07-18-2010, 10:06 AM
RE: Batch audio dumping - by hyakki - 07-18-2010, 11:45 AM
RE: Batch audio dumping - by Agent69 - 07-18-2010, 03:16 PM
RE: Batch audio dumping - by Orphis - 07-18-2010, 10:34 AM
RE: Batch audio dumping - by hyakki - 07-18-2010, 09:49 PM
RE: Batch audio dumping - by DRKSCE - 09-11-2010, 10:09 PM
RE: Batch audio dumping - by nsinger998 - 02-22-2011, 03:11 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)