Author Topic: Metal Slug X and P. Spikes 2 sound is f*cked up  (Read 7395 times)

Offline DethXec

  • Newbies
  • *
  • Posts: 43
  • Karma: +0/-0
  • Neo·FBA |dev|
    • Another dot in the Universe
Metal Slug X and P. Spikes 2 sound is f*cked up
« on: March 09, 2005, 07:03:37 PM »
[0.2.95.23 Source]

I deleted #if 0 and #endif from the driver, but the samples (like "Mission 1. Starting!) "pop" all the way.

This is the only one driver that doesn't work that nice :p

Edit: Also noticed that Power Spike 2 doesn't have sound.

Offline DethXec

  • Newbies
  • *
  • Posts: 43
  • Karma: +0/-0
  • Neo·FBA |dev|
    • Another dot in the Universe
Metal Slug X sound is f*cked up
« Reply #1 on: March 12, 2005, 01:22:51 AM »
Well, the mslugx was just a problem with my V-ROM, but the sound in Power Spikes 2 still can't be heard.

Someone haves a fix?

Done: Paste this line over the other in your pspikes2 driver or just replace the 1 with the 4.

Code: [Select]
{ "068-mg1.bin",  0x020000, 0xb1c7911e, [color=red]4[/color] | BRF_ESS | BRF_PRG }, //  8 Z80 code

Offline netbug

  • Newbies
  • *
  • Posts: 37
  • Karma: +1/-0
  • Member
Metal Slug X sound is f*cked up
« Reply #2 on: March 12, 2005, 01:25:44 AM »
I use original mame code.Maybe it will be better than the former code. :confused:

Code: [Select]

static void mslugxPatch()
{
unsigned short *mem16 = (unsigned short *)Neo68KROM;

for (int i = 0;i < (0x100000/2) - 4;i++)
{
if (mem16[i+0] == 0x0243 &&
mem16[i+1] == 0x0001 && /* andi.w  #$1, D3 */
mem16[i+2] == 0x6600) /* bne xxxx */
{
mem16[i+2] = 0x4e71;
mem16[i+3] = 0x4e71;
}
}

mem16[0x3bdc/2] = 0x4e71;
mem16[0x3bde/2] = 0x4e71;
mem16[0x3be0/2] = 0x4e71;
mem16[0x3c0c/2] = 0x4e71;
mem16[0x3c0e/2] = 0x4e71;
mem16[0x3c10/2] = 0x4e71;

mem16[0x3c36/2] = 0x4e71;
mem16[0x3c38/2] = 0x4e71;
}

Offline DethXec

  • Newbies
  • *
  • Posts: 43
  • Karma: +0/-0
  • Neo·FBA |dev|
    • Another dot in the Universe
Metal Slug X sound is f*cked up
« Reply #3 on: March 12, 2005, 01:31:41 AM »
LOL, thanks, I'll check that, but the sound is corrected already.

Well, I'll stick with the FBA patch, it may be a little larger but it's easier for me to understand it, and besides, it's similar to other FBA patches.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Metal Slug X sound is f*cked up
« Reply #4 on: March 12, 2005, 02:25:03 AM »
The fba code does exactly the same as the mame code, it just looks a little different.


Offline DethXec

  • Newbies
  • *
  • Posts: 43
  • Karma: +0/-0
  • Neo·FBA |dev|
    • Another dot in the Universe
Metal Slug X sound is f*cked up
« Reply #5 on: March 13, 2005, 01:30:46 AM »
Quote from: iq_132
The fba code does exactly the same as the mame code, it just looks a little different.

Yes, I know, but I can understand (somewhat) the steps of the FBA patches.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Metal Slug X sound is f*cked up
« Reply #6 on: March 13, 2005, 10:03:57 AM »
Sorry, I was replying to netbug ;)