News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: How can i extract correctly .XA file PSX? (DONE)  (Read 6288 times)

guiguikinks

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
How can i extract correctly .XA file PSX? (DONE)
« 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
« Last Edit: May 05, 2016, 11:43:08 am by guiguikinks »

House

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #1 on: April 29, 2016, 06:03:52 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

guiguikinks

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #2 on: April 29, 2016, 06:33:13 pm »
doesn't works :/

House

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
« Last Edit: April 30, 2016, 08:59:57 pm by House »

DarkSamus993

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #4 on: April 29, 2016, 07:59:45 pm »
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

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #5 on: April 29, 2016, 09:08:35 pm »
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...
« Last Edit: April 29, 2016, 10:05:26 pm by guiguikinks »

DarkSamus993

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #6 on: April 29, 2016, 10:50:16 pm »
XA Audio Converter should be able to handle converting WAV to XA.

guiguikinks

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #7 on: April 29, 2016, 10:55:32 pm »
doesn't work... when I open a .xa file, a strange message appears (you can't read it ) and nothing else happens...

DarkSamus993

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #8 on: April 29, 2016, 10:58:42 pm »
That's strange, it works fine for me. What OS are you using?

guiguikinks

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #9 on: April 29, 2016, 11:16:29 pm »
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...
« Last Edit: April 29, 2016, 11:56:21 pm by guiguikinks »

DarkSamus993

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #10 on: April 30, 2016, 11:58:14 am »
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:
Quote
If 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

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #11 on: April 30, 2016, 05:04:01 pm »
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

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #12 on: April 30, 2016, 07:55:14 pm »
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

  • Hero Member
  • *****
  • Posts: 2004
  • 時を越えよう、そして彼女の元に戻ろう
    • View Profile
    • Apple of Eden
Re: How can i extract correctly .XA file PSX?
« Reply #13 on: April 30, 2016, 09:19:45 pm »
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.
I am the lord, you all know my name, now. I got it all: cash, money, and fame.

guiguikinks

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: How can i extract correctly .XA file PSX?
« Reply #14 on: May 05, 2016, 11:19:16 am »
thanks! Finally i can extract and import audio files on ISO!  :thumbsup: