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

Author Topic: Rondo of Blood Audio tracks editing  (Read 4271 times)

Marcelo_20XX

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Rondo of Blood Audio tracks editing
« on: March 30, 2013, 01:58:30 am »
I was trying to do a simple edit to this game but now I got stuck at replacing the audio tracks. I ripped the Audio tracks from my PSP Dracula X Chronicles and tried to replace the original audio tracks of my ISO-Wav's Rondo of Blood with the PSP equivalent. The problem is that the audio tracks don't match in length so whenever a track is played I hear a few seconds of another track before playing the actual wav.

The thing I need to know is, giving the following TOC:

  - track  6 [00]: 07 37 09 (  34134,   40411)
  - track  7 [00]: 09 00 61 (  40411,   45275)
  - track  8 [00]: 10 05 34 (  45275,   58622)
  - track  9 [00]: 13 03 58 (  58622,   66400)

How can I force Magic Engine to read the track 8 from 45275 until 58622

The emulator keep reading the track from 45260 until 58635, like this:
cd play: start=45260 pos=45260 offset=0 stop=58635 mode=1

Any help or suggestions? thanks!!!

Vanya

  • Hero Member
  • *****
  • Posts: 1714
    • View Profile
Re: Rondo of Blood Audio tracks editing
« Reply #1 on: March 30, 2013, 04:37:55 pm »
My first thought is that it isn't the emulator, but rather the game itself. You probably will need to adjust some pointers in the game's code.

Marcelo_20XX

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Rondo of Blood Audio tracks editing
« Reply #2 on: March 30, 2013, 08:50:23 pm »
Yeah, I was suspecting that too, because Magic Engine seems to take the LBA from somewhere within the ISO tracks, have anyone did this before? I mean replacing wavs of different length?

Pikachumanson

  • Hero Member
  • *****
  • Posts: 607
    • View Profile
Re: Rondo of Blood Audio tracks editing
« Reply #3 on: March 31, 2013, 10:15:48 am »
Burnt Lasagna has done some audio work on this game before with taking the voice Acting of the psp and putting it in the Turbo Duo version. Ask him, he might know.

Marcelo_20XX

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Rondo of Blood Audio tracks editing
« Reply #4 on: March 31, 2013, 03:07:56 pm »
I know the patch Burnt Lasagna made to the game, in fact I use it, as its the most faithful translation from the PSP to the PC-E. But the audio he replaced is of the same length so there are no problems because it starts and ends at the same LBA the original does. Thanks for the advice though. My problem is because I try to force the game to read tracks that have diff length than the original.

Pikachumanson

  • Hero Member
  • *****
  • Posts: 607
    • View Profile
Re: Rondo of Blood Audio tracks editing
« Reply #5 on: March 31, 2013, 03:56:46 pm »
Your going to have to mess with the music engine then. Have you been to GBATemp? I believe they have some psp tutorials, hopefully they have what you need.

Marcelo_20XX

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Rondo of Blood Audio tracks editing
« Reply #6 on: March 31, 2013, 04:31:29 pm »
Have you been to GBATemp? I believe they have some psp tutorials, hopefully they have what you need.

I am trying to make the replacement for the PC-E CD-Rom

curses

  • Full Member
  • ***
  • Posts: 164
  • "So long."
    • View Profile
Re: Rondo of Blood Audio tracks editing
« Reply #7 on: April 04, 2013, 09:53:12 pm »
Please forgive me for using this thread to ask, but does anybody have the transcript for the German narration in the intro of this game?

Marcelo_20XX

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Rondo of Blood Audio tracks editing
« Reply #8 on: April 05, 2013, 05:03:58 am »
Here is a rough transcript from my PCE-CD's Instruction Manual:

In der guten alten Zeit lebten die Menschen noch ruhig und in Frieden. Niemand glaubte, dass es in Zukunft zu einer Bedrohung kommen wurde... .

Auf der Schattenseite des Friedens und des Wachstums gab und gibt es aber noch immer das Bose.
Die Menschen deginnen, das Wachstum abzulehnen und bezeichnen den Frieden als Degeneration.

Wir haben uns hier versammelt, um die Machte der Finsternis mit unserem verfluchten Blut zu rufen. Wir wollen, dass sie die Welt regieren. Wir erwarten lachelnd den Niedergang der Welt.

Nach einhundert Jahren das Bose wieder auferstanden. Er kann sich in eine Fledermaus, einen Wolf und Nebel verwandeln. Er liebt die Nacht. Er schlurft das Blut von jungen Frauen und lebt ewig. Der Burgherr des Teufelsoholosees. Der Herr des Bosen, Graf Dracula ist auferstanden.

Marcelo_20XX

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Rondo of Blood Audio tracks editing
« Reply #9 on: April 26, 2013, 04:01:04 am »
After waiting nearly a month ( this board seems pretty dead to me or nobody cares about PC-Engine games anymore ) for a response I finally found out how to do it myself, the thing was audio tracks offsets were hardcoded withing the Track02.iso of the game. Anyway if you want to replace the wavs with custom wavs of different length, here is how:

Run an hex editor and search for this offsets:
Change the start and end values of the desired tracks which are index values in 3 byte decimals

Code: [Select]
Track01:
Start 0x00024A50 000200
End   0x00024A53 005065

Track03:
Start 0x00024A86 031114
End   0x00024A89 045741

Track04:
Start 0x00024A8C 045748
End   0x00024A8F 060067

Track05:
Start 0x00024AA4 060067
End   0x00024AA7 073709

Track06:
Start 0x00024AB6 073709
End   0x00024AB9 090061

Track07:
Start 0x00024A7A 090061
End   0x00024A7D 100535

Track08:
Start 0x00024A56 100535
End   0x00024A59 130360

Track09:
Start 0x00024A5C 130360
End   0x00024A5F 144728

Track10:
Start 0x00024A68 144728
End   0x00024A6B 172805

Track11:
Start 0x00024A6E 172805
End   0x00024A71 190958

Track12:
Start 0x00024A74 190958
End   0x00024A77 214018

Track13:
Start 0x00024A80 214018
End   0x00024A83 240769

Track14:
Start 0x00024AAA 240769
End   0x00024AAD 274751

Track15:
Start 0x00024A92 274751
End   0x00024A95 301310

Track16:
Start 0x00024A98 301310
End   0x00024A9B 332856

Track17:
Start 0x00024A62 332856
End   0x00024A65 345829

Track18:
Start 0x00024AB0 345829
End   0x00024AB3 364049

Track19:
Start 0x00024A9E 364049
End   0x00024AA1 384050

Track20:
Start 0x00024ABC 384050
End   0x00024ABF 424212

Track21:
Start 0x00024AC2 424212
End   0x00024AC5 465562

tomaitheous

  • Hero Member
  • *****
  • Posts: 543
    • View Profile
    • PC Engine Dev
Re: Rondo of Blood Audio tracks editing
« Reply #10 on: May 07, 2013, 01:50:31 pm »
Yeah, some PCECD games LBA for audio tracks and some use track #'s (the bios call excepts both arguments).