Page 4 of 5

Re: Shinobido: Way of the Ninja (PS2/Soundtrack/.TRS)

Posted: Sat Apr 09, 2016 4:22 pm
by Carro2000
Yes Daemon, for hack some games to permit me to play them in widescreen. What should I do?

Re: Shinobido - Way of the Ninja (Rip PS2 Soundtrack) Please

Posted: Sat Apr 09, 2016 7:16 pm
by daemon1
here i made a picture for you:
Image

you can see for each file:

size (green), offset (yellow) ....... channels=2 (blue), interleave=0x20 (grey), sampling rate (red)

the first file offset you know already, so you must add this number for EVERY other file
you can use hex calculator for that

Re: Shinobido - Way of the Ninja (Rip PS2 Soundtrack) Please

Posted: Sat Apr 09, 2016 8:01 pm
by daemon1
I mean you can see the first yellow field here = 00000000, because all offsets are relative to the beginning of audio part.

Re: Shinobido - Way of the Ninja (Rip PS2 Soundtrack) Please

Posted: Sun Apr 10, 2016 7:36 am
by Carro2000
Daemon can you tell me the program which you use for that?

Re: Shinobido - Way of the Ninja (Rip PS2 Soundtrack) Please

Posted: Sun Apr 10, 2016 8:26 am
by daemon1
any hex editor, they are all the same

Re: Shinobido: Way of the Ninja (PS2/Soundtrack/.TRS)

Posted: Sun Apr 10, 2016 12:07 pm
by Carro2000
I'm sorry, but I can't understand (the information that you wrote I understood it, but I can not get the information offset in decimal from the esadecimal). For example, the initial offset of the first track is 8120 and end 3902776, you make me understand how you managed to get these values?

Re: Shinobido - Way of the Ninja (Rip PS2 Soundtrack) Please

Posted: Sun Apr 10, 2016 12:18 pm
by daemon1
You don't need decimal. In vgmtoolbox offset & size fields (just like all other fields) you can enter hex values. Like this:

0x1fb8
or
0x1FB8 (it doesn't matter)

There is a hex calculator in about every hex editor and also in Windows standard calculator. It also has a feature to translate to decimal, but why waste time? Use Hex.

Re: Shinobido: Way of the Ninja (PS2/Soundtrack/.TRS)

Posted: Sun Apr 10, 2016 12:54 pm
by Carro2000
But how do I extract the other tracks, I do not understand, if you talk to me that way, I will never understand, unfortunately I was not born an expert like you. You can do at least a screenshot of the steps I need to do to extract these tracks? And for the hex editor I'm using "HxD" that does not make me perform conversions, but just find and replace values, that's why I asked you what program you were using.

Re: Shinobido: Way of the Ninja (PS2/Soundtrack/.TRS)

Posted: Sun Apr 10, 2016 2:14 pm
by Carro2000
Ehm... so?

Re: Shinobido - Way of the Ninja (Rip PS2 Soundtrack) Please

Posted: Sun Apr 10, 2016 2:30 pm
by daemon1
i can't answer right now, it can't be explained in 5 minutes.

so just relax, and do something else

Re: Shinobido: Way of the Ninja (PS2/Soundtrack/.TRS)

Posted: Sun Apr 10, 2016 3:16 pm
by Carro2000
Excuse me, but for the desire to finally be able to extract them after so many years thanks to you, I did not realize that these things take longer than one imagined.

Re: Shinobido - Way of the Ninja (Rip PS2 Soundtrack) Please

Posted: Sun Apr 10, 2016 6:59 pm
by daemon1
I was NOT born an expert either. I learned everything, and you can't learn everything in 1 hour. So be patient, read my previous messages again, if you need it, there was all information you needed.

And if you really want to know, I'm using Windows calculator to add hex values.

All your words about yellow numbers on the screenshot are right. With one exception. It would be true if audio data started from the beginning of the file, 0 offset.

But as I said, offsets are relative. So next let me give you an example of how to extract track 2.

Re: Shinobido - Way of the Ninja (Rip PS2 Soundtrack) Please

Posted: Sun Apr 10, 2016 7:04 pm
by daemon1
track 2:

offset 3B6D80, size 2E2F80 (yellow and green numbers)

now add 1FB8 to the offset:

3B6D80 + 1FB8 = 3B8D38

Use "programmer mode" in calculator, also click on "hex", and you can copy/paste values

Now you enter 0x3B8D38 and 0x2E2F80 as "start address" and "length" in simple cutter, as you did before.

After you cut the track, don't forget to decode it as usual

Re: Shinobido - Way of the Ninja (Rip PS2 Soundtrack) Please

Posted: Sun Apr 10, 2016 7:07 pm
by daemon1
also note, that nobody usually cuts 52 tracks manually. You usually write a tool or script for that.

Re: Shinobido: Way of the Ninja (PS2/Soundtrack/.TRS)

Posted: Sun Apr 10, 2016 11:15 pm
by Carro2000
Thank you Daemon, but please do not get me wrong, what I said was not an accuse to justify my difficulty in understanding you, but it was just a compliment (but in fact reading, more than a compliment it seems an offense). Unfortunately I know it all too well that one hour is not enough (indeed nothing) to understand all of this, and for that I wrote you so, just to let you know that what you told me I had trouble understanding it, apart from a few details. When I have time I will do as you tell me.
Thanks again for all, especially for the great patience you are having.