4 Apr 2017

Conversion SF2' to Cadillacs & Dinosaurs (CPS1 no Q-sound)



I've been asked by a member of the Aussie Arcade forum if I could do a conversion of Cadillacs & Dinosaurs without Q-sound. It does exist a bootleg version named Dinosaur Hunter but the member pointed out that several things were modified and most annoying: the title screen was modified, you start on level 2, start button allows you to change your character in game, ammos are unlimited as long as you don't lose your weapon, etc.


What I did is I hacked the game to be able to play samples from the Chinese bootleg.


1) Material needed

1.1) If you use a 91634B-2 B-board (EPROM)
- 12 * 27C4096 ROM (8 for the graphics and 4 for the program)
- 2 * 27C010 ROM (audio)
- 1 * 27C512 ROM (audio)
- 1 * GAL16V8 (PAL)

1.2) If you use a 91635B-2 B-board (mask ROM)
- 8 * 27C400 ROM (graphics)
- 4 * 27C4096 ROM (program)
- 2 * 27C010 ROM (audio)
- 1 * 27C512 ROM (audio)
- 1 * GAL16V8 (PAL)

2) ROMs and PAL burning

Now it's time to burn the files on the appropriated devices.

2.1) If you use a 91634B-2 B-board (EPROM)
- ROMs 01/02/03/04/05/06/07/08/20/21/22/23 => 27C4096
- ROM 09 => 27C512
- ROM 18/19 => 27C010
- cd63b_1a.jed => GAL16V8

2.2) If you use a 91635B-2 B-board (mask ROM)
- ROMs 01/02/03/04/05/06/07/08 => 27C400
- ROMs 20/21/22/23 => 27C4096
- ROM 09 => 27C512
- ROM 18/19 => 27C010
- cd63b_1a.jed => GAL16V8

3) ROMs installation

All SF2' ROMs must be removed from the B-board.
The PAL named S963B at position 1A has to be removed too.
Double check you've put the devices the right way (the silkscreen should help you)!

3.1) If you use a 91634B-2 B-board (EPROM)
- Install the ROMs in the corresponding socket (ROM 01 in socket 01, etc.)
- Install the GAL16V8 in position 1A (where the S963B was)

3.2) If you use a 91635B-2 B-board (mask ROM)
- Install the ROMs 01/04/05/08/09/18/19/20/21/22/23 in the corresponding socket (ROM 01 in socket 01, etc.)
- Install ROM 02 in socket 03
- Install ROM 03 in socket 02
- Install ROM 06 in socket 07
- Install ROM 07 in socket 06
- Install the GAL16V8 in position 1A (where the S963B was)


4) Test









16 comments:

  1. This is awesome, I before assumed you just used the original Chinese bootleg version. Did you just use the 18. 19 and 09 dumps from the Chinese bootleg version and the prg / graphic roms from the original version? Or was more work involved?

    You may want to mention setting dip switches. I had a lot of woes converting my pcbs. I forgot cps1 boards use dip switches and a lot of the time when you go from one game to another one of the dip switches will make the game freeze making you think you did something wrong.

    ReplyDelete
    Replies
    1. Yes 08/09/18 ROMs from the Chinese bootleg but patched program ROMs from the original game to be able to play sound.

      Delete
  2. Also you can mention that a 27c010 can be used in socket 09. Just take the 09 dump, double it (copy all the hex and paste it at the end), burn to a 27c010 and it fits and runs fine in the 09 socket. 27c010s are more common (I found a bunch and I now have an over-abundance of them), so this is a great solution if you don't have some 27c512 chips kicking around.

    ReplyDelete
    Replies
    1. Yep that's what I initially did with Ghouls'n'Ghosts but I prefer to use the appropriate ROM type (27C512).

      Delete
    2. In the case of the cps1 I don't think one chip is more "appropriate" since it has a single socket that can take either. But I see your point that doubling the data can seem a little redundant.

      Delete
  3. I burned this. Everything looks and plays as it should. The player select menu has this short loop of music playing, and it never stops after I select my player! I play stage 1, it keeps playing, stage 2, it keeps playing. It gets really annoying. Is it supposed to be doing this?

    ReplyDelete
    Replies
    1. Yes this is absolutely normal. Still game is far better than the bootleg (level are in the right order, title screen is correct, you can't change your character in-game, ammo isn't unlimited, etc.)

      Delete
    2. After some googling I found a much better hack:

      http://www.planetemu.net/rom/fb-alpha/dinohc-1

      In this hack, everything plays like the original arcade version, the music and sfx engine has been reprogrammed to work with the captain commando sound roms. I burned the roms tested and confirmed it works fine on my cps1 pcb.

      I think captain commando has horrible music and sfx. Among cps1 games I think street fighter 2 champion edition has the best music and sound effects.

      I used a hex editor, learned how to disassemble and read 68k asm to alter the engine to work with the sf2ce sound roms.

      After playing for a bit, I felt that like many other cps1 arcade games, this game needs to have the ability to pause. I learned how to use a 68k assembler, used the debugger to figure out how the engine works well enough to write my own pause routine.

      Since I had altered the main screen text I learned how to manipulate the text displaying engine. I used the debugger and I added my own function call and data to display the word "paused" on the screen in my code when the game is in a paused state. I also have it display blank text when you unpause to erase the word when you resume.

      I'm really happy (and honestly surprised) at this result since this is my first venture into 68k asm. Here's a video capture of my cadillacs and dinosaurs hack running on my cps1 pcb:

      https://www.youtube.com/watch?v=Mhs1zhmZ6ug&feature=youtu.be

      I fixed everything that I felt needed fixing with this game.

      Delete
  4. I couldn't find any videos of the Dinosaur hunter so I got it running in mame, in mame it just loops that short loop of music too. I found a video of some bootleg of the game using music different from the original:

    https://www.youtube.com/watch?v=9CGnil5kK0g&t=17s

    This doesn't sound like q-sound stuff, and it has music other than a short endless loop.

    ReplyDelete
    Replies
    1. Sure it's not q-sound, they used sound ROMs from Captain Commando.

      Delete
  5. Would it be possible to down sample (not so much!) ALL Cadillacs and Dinosaurs Qsound audio, store it in a flash rom bigger than the one the bootleggers used in the past and use a PIC micro controller again to decode everything then send to the oki?

    ReplyDelete
    Replies
    1. If you have the skills, time and motivation everything is possible!

      Delete
  6. https://www.youtube.com/watch?v=aJ6PJJOdDwM
    please someone help me this rom of my childhood would like very much to have this rom here never found for donwnload would it be possible that it does not exist for emulator?

    ReplyDelete
  7. pleasss :( how to find https://image.ibb.co/bzK2KF/cadilac.jpg

    ReplyDelete
    Replies
    1. I guess Google is your friend ;)

      Delete

    2. I did not find it by Google I wanted to know if possible the possibility of the game in which you are in Rom playable on the pc the same way he is in the video

      Delete