+1cozy wrote:Thanks for the scrips they are good,but is there any chance of a .aa3 to .at3(+)
cheers cozy
It'll be great,from aa3 to RIFF AT3 \ MSF AT3
Thanks dude. It worked. Although they are just called .files. Anyone know what I should rename them to?GenericRipper wrote:Why not run this free script
with a help of a free program named QuickBMS and convert resulting *.rifx files using a free program named WW2OGG and this batch file?AlphaTwentyThree wrote:Code: Select all
get BNAME basename string BNAME += "_" set OFFSET 0 set SEARCH OFFSET math SEARCH += 4 set QUIT 0 for i = 1 goto SEARCH FindLoc SIZE string "RIFX" 0 "" if SIZE == "" get SIZE asize set QUIT 1 endif math SIZE -= OFFSET set NAME BNAME string NAME += i log NAME OFFSET SIZE if QUIT != 1 math OFFSET += SIZE set SEARCH OFFSET math SEARCH += 4 else cleanexit endif next i
for %%a in (*.RIFX) do ww2ogg.exe "%%a"
Putting .rifx at the end of my files in windows doesn't seem to work, it just gives me a 1kb .ogg file. It's just that I don't wish to pay for anything I'm likely to use only once ever. Sorry if it looked disrespectful when I said it last time.GenericRipper wrote:You can rename a huge number of files at once by setting a specific mask in Total Commander (or maybe other file managers but personally I prefer Total Commander). Once you cut music.pck in pieces with a help of Alpha23`s script you can highlight all the resulting files in Total Commander, go to "Files => Multi-rename tool" and change extension mask from [E] to RIFX. But if you`re not content with using paid software at all you can always rename them manually .
That would be something like MP2 to MP3... the formats are pretty different and I only program header manipulators but no converters. So, no. :-\cozy wrote:Thanks for the scrips they are good,but is there any chance of a .aa3 to .at3(+)
cheers cozy
I`ll try to follow your actions step by step skipping BMS script phase.TEOL wrote:Putting .rifx at the end of my files in windows doesn't seem to work, it just gives me a 1kb .ogg file.
You did a script for at3 to aa3 header why not aa3 to at3?i used your script to convert at3plus files to aa3 then used sound forge to downsample to a low bit rate justneed the at3 header putting back on?AlphaTwentyThree wrote:That would be something like MP2 to MP3... the formats are pretty different and I only program header manipulators but no converters. So, no. :-\cozy wrote:Thanks for the scrips they are good,but is there any chance of a .aa3 to .at3(+)
cheers cozy
Oh lol, I didn't read properly, gg. I'll try to although I'm not sure if the values that are unprocessed in the RIFF header are important for the PS3 or PSP to play them. I'll code one later and you tell me if it works, ok?cozy wrote:You did a script for at3 to aa3 header why not aa3 to at3?i used your script to convert at3plus files to aa3 then used sound forge to downsample to a low bit rate justneed the at3 header putting back on?AlphaTwentyThree wrote:That would be something like MP2 to MP3... the formats are pretty different and I only program header manipulators but no converters. So, no. :-\cozy wrote:Thanks for the scrips they are good,but is there any chance of a .aa3 to .at3(+)
cheers cozy
cheers for the reply
For your script to work on a headerless at3Plus you must remove the junk data from the headerless file,like the ones found when you extract the avi and at3 file from a PMF file Look at the hex in this at3 file find and remove the HEX:- 0FD0285C00000000 (i think this 128kbps)AlphaTwentyThree wrote:add_aa3_header.bms
Adds a standard aa3 header to a headerless file.
Hope that helps, OrangeCode: Select all
# adjust format! # set CODE 0x01002417 # 44100, 1, 32 # set CODE 0x01002422 # 44100, 1, 48 # set CODE 0x0100242E # 44100, 1, 64 # set CODE 0x01002445 # 44100, 1, 96 # set CODE 0x0100245c # 44100, 1, 128 # set CODE 0x0100248B # 44100, 1, 192 # set CODE 0x01002817 # 44100, 2, 32 # set CODE 0x01002822 # 44100, 2, 48 # set CODE 0x0100282E # 44100, 2, 64 # set CODE 0x01002845 # 44100, 2, 96 set CODE 0x0100285C # 44100, 2, 128 # set CODE 0x0100288B # 44100, 2, 192 # set CODE 0x010034E8 # 44100, 6, 320 # set CODE 0x01003573 # 44100, 6, 512 # set CODE 0x01004455 # 48000, 1, 128 # set CODE 0x01004855 # 48000, 2, 128 # set CODE 0x010054AA # 48000, 6, 256 # set CODE 0x010054D5 # 48000, 6, 320 # set CODE 0x010054FF # 48000, 6, 384 # set CODE 0x01005555 # 48000, 6, 512 reverselong CODE set OFFSET 0x0 set MEMORY_FILE binary "\x65\x61\x33\x3\x0\x0\x0\x0\x7\x76\x47\x45\x4f\x42\x00\x00\x01\xc6\x00\x00\x02\x62\x69\x6e\x61\x72\x79\x00\x00\x00\x00\x4f\x00\x4d\x00\x47\x00\x5f\x00\x4c\x00\x53\x00\x49\x00\x00\x00\x01\x00\x40\x00\xdc\x00\x70\x00\x08\x00\x00\x00\x00\x00\x00\x4b\x45\x59\x52\x49\x4e\x47" putVarChr MEMORY_FILE 0x400 0x1334145 long putVarChr MEMORY_FILE 0x404 0xffff6000 long putVarChr MEMORY_FILE 0x420 CODE long goto OFFSET get FIRST long putVarChr MEMORY_FILE 0x460 FIRST long savepos DATA get SIZE asize math SIZE -= OFFSET math SIZE -= 4 append log MEMORY_FILE DATA SIZE append get NAME basename string NAME += ".aa3" math SIZE += 0x460 log NAME 0 SIZE MEMORY_FILE
just a quick note that the currently posted version seems to trim the last 4 bytes off the file. Adding the line of code should fix it.AlphaTwentyThree wrote:add_aa3_header.bms
Adds a standard aa3 header to a headerless file.Code: Select all
. . . savepos DATA get SIZE asize math SIZE -= OFFSET math SIZE -= 4 . . . string NAME += ".aa3" math SIZE += 0x460 math SIZE += 4 # <--- add this line log NAME 0 SIZE MEMORY_FILE