News:

11 March 2016 - Forum Rules

Main Menu

How can i extract correctly .XA file PSX? (DONE)

Started by guiguikinks, April 29, 2016, 05:41:24 PM

Previous topic - Next topic

guiguikinks

I would like to know how to extract correctly any .XA from Megaman Legends 2, because when i use known psx extraction programs, doesn't works (The program says there are nothing  in .XA)

PS: Sorry for my bad English... I'm Brazillian...

Link one of the .XA sounds for example : http://www.4shared.com/file/KkA-Gvt4ba/COM_18.html

House

Quote from: guiguikinks on April 29, 2016, 05:41:24 PM
I would like to know how to extract correctly any .XA from Megaman Legends 2, because when i use known psx extraction programs, doesn't works (The program says there are nothing  in .XA)

PS: Sorry for my bad English... I'm Brazillian...

Link one of the .XA sounds for example : http://www.4shared.com/file/KkA-Gvt4ba/COM_18.html

Try PSMplay I think it should be added to the utilities here on romhacking.net http://www.zophar.net/utilities/psxutil.html


House


DarkSamus993

First off, it looks like you did not correctly rip COM_18.XA from the MML2 disc (which would be why PSMplay couldn't convert/play it). XA and STR files are stored as mode2.

There are several utilities floating around that you could use, but here's my current method:
First I use XtrActor.NET (it's in Italian) for ripping XA and STR files off of the disc.
Instructions:
1) Where you see "Opzioni" set the ratio button on "Estrazione".
2) Specify an ISO to extract from in the text field where it says "Iso (2352 byte/settore)".
3) Where it says "STR con audio XA" place the name of your output file.
4) "Peso STR in byte" is the actual size referred in the ISO, while "LBA del file STR" is just the LBA you can obtain from any ISO inspecting tool (such as ISOBuster).
5) Once all those fields are filled, press "Estrai".
6) Wait a few moments and the tool will create your STR+XA file extracted as proper 2336 byte/sector data.
Then, with the XA and STR files now on my hard drive, I use jPSXdec to convert them to a usable format.

If it's the NTSC audio you're after, I can save you some time as I happen to have the XA files extracted already, and you can just use a utility to convert them to your desired output.

guiguikinks

#5
Thanks dude! You're awesome!

April 29, 2016, 10:05:26 PM - (Auto Merged - Double Posts are not allowed before 7 days.)

So, how can i convert .WAV to .XA? unfortunately JPSXDEC don't allow convert .WAV to .XA... And when i use WAV2XA.EXE doesn't work the final result...

DarkSamus993


guiguikinks

doesn't work... when I open a .xa file, a strange message appears (you can't read it ) and nothing else happens...

DarkSamus993

That's strange, it works fine for me. What OS are you using?

guiguikinks

#9
I have more 1 problem... After convert .wav to xa, when i try replace in ISO with CDMAGE B5, the program says: "IMPORTED FILE MUST BE RIFF CDXA TYPE"... I try use TOC CHANGER, however doesn't works too...

DarkSamus993

I actually haven't had the need to reinsert XA files before, but to the best of my understanding:
According to this PSX hacking doc, CDMage beta can be used for file reinsertion only if:
QuoteIf you have no intention of making files larger, adding files, or modifying any files with XA format streamed audio, this is the definite method for you.
Since XA files need to be reinserted as mode2 data, that is probably why CDMage fails. The tool I linked earlier (XtrActor.NET) should be capable of converting the data back to mode2 and reinserting it.

Instructions:
1) Where you see "Opzioni" set the ratio button on "Inserimento".
2) Specify an ISO to insert to in the text field where it says "Iso (2352 byte/settore)".
3) Where it says "STR con audio XA" place the name of your input file.
4) "Peso STR in byte" is the actual size referred in the ISO, while "LBA del file STR" is just the LBA you can obtain from any ISO inspecting tool (such as ISOBuster).
5) Once all those fields are filled, press "Inserisci".
6) Wait a few moments and the tool will insert your STR/XA file as proper 2336 byte/sector data.

As for any size changes that occurred during your editing, TOC Changer might be able to help you out.

guiguikinks

I'm sorry to bother you, but doesn't works too. When i used "XtrActor.NET" and, after follow your instructions, the program says: "La grandez del file STR deve essere un multiplo di 2336" (The file STR must be multiple of 2336). I tried use TOC CHANGER for correct size, but the program says: "New Size is too big"(even max size allowed is more than modified size). I wish translate and dub this game for my language...

DarkSamus993

As I said, I haven't actually done file reinsertion before, so perhaps someone more versed in this process could give their thoughts on the matter. In the meantime, if you post the modified XA file/WAV you want to reinsert, I might be able to figure something out.

Gemini

If you had a correct XA file there would be no error message about it being not multiple of 2336 bytes/sector (which is mandatory). You got your XA file incorrectly converted or not padded as it should be, simple as that.

guiguikinks

thanks! Finally i can extract and import audio files on ISO!  :thumbsup: