Jump to content

FBA Drivers For Encrypted games


Prican25

Recommended Posts

well i got into compiling fba but i'm running into probs when making drivers for encrypted games :P

 

rotd i got working but i get no sound and i'm not sure if its possible tho since i think you need to decrypt the v roms by cutting them

 

mslug4 using the gfx key 31 that was given by neoencrypter gives me garbled gfx and again no sound.

Link to comment
Share on other sites

For mslug4 (to fix the garbled text, use this init)

 

static int mslug4Init()
{
nNeoTextROMSize = 0x080000;
nNeoProtectionXor = 0x31;
return NeoInit();
}

 

As for fixing the audio, the V roms are encrypted. It's best to go to filemirrors, get rotdd and mslug4d, set them as parents, and use their V roms. I have been working on getting the V decryption code into fba, but I'm not a coder, so it's taking time.

Link to comment
Share on other sites

ok thx for the fix iq_132

 

Weirdanzeige it is encryted cuz if i split the v roms i can get sound but i'm trying to keep the rom as is so i'll just wait for the proper driver for my encrypted rom and use the decrypted.

 

Edit: i just tried what you said but i still get garbled gfx and the sound is there but static like.

 

heres the driver i use:

// Metal Slug 4

 

 

static struct BurnRomInfo MSLUG4RomDesc[] = {

{"263-p1.bin", 0x100000, 0x27E4DEF3, 0x10}, //  0 68K code

{"263-p2.bin", 0x400000, 0xFDB7AED8, 0x10}, //  1

 

{"263-c1.bin", 0x800000, 0x6C2B0856,    1}, //  2 Sprite data

{"263-c2.bin", 0x800000, 0xC6035792,    1}, //  3

{"263-c3.bin", 0x800000, 0x721D112,    1}, //  5

{"263-c4.bin", 0x800000, 0x6AA688DD,    1}, //  6

{"263-c5.bin", 0x800000, 0x794BC2D6,    1}, //  7

{"263-c6.bin", 0x800000, 0xF85EAE54,    1}, //  8

 

{"263-m1.bin", 0x010000, 0x38FFAD14, 0x10}, // 11 Z80 code

{"263-m1d.bin", 0x010000, 0x69FEDBA1, 0x10}, // 11 Z80 code

 

{"263-v1d.bin", 0x800000, 0x1E9B9CD,    2}, //  12 Sound data

{"263-v2d.bin", 0x800000, 0x4AB2BF81,    2}, //  13

};

 

STDROMPICKEXT(MSLUG4, MSLUG4, neogeo);

STD_ROM_FN(MSLUG4);

 

static int MSLUG4Init()

{

nNeoTextROMSize = 0x080000;

nNeoProtectionXor = 0x31;

return NeoInit();

}

 

struct BurnDriver BurnDrvMSLUG4 = {

 

{"MSLUG4", "Metal Slug 4", "None", "SNK Playmore Corporation", "Neo Geo", "2001", NULL, "neogeo"},

BDF_GAME_WORKING, 2, HARDWARE_SNK_NEOGEO | HARDWARE_SNK_ENCRYPTED_B | HARDWARE_SNK_ALTERNATE_TEXT,

NULL, MSLUG4RomInfo, MSLUG4RomName, neogeoInputInfo, neogeoDIPInfo,

MSLUG4Init, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,

nNeoScreenWidth, 224, 4, 3

};

Edited by Prican25
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...