General Emulation > General Emulation

How add roms hack neogeo?

<< < (3/6) > >>

barbudreadmon:

--- Quote from: barbudreadmon on February 04, 2018, 11:01:09 AM ---Didn't thought about that. Yes it makes sense to use a init function which doesn't handle encryption.

--- End quote ---

--- Code: ---// Kof2002 (Omega v0.8)

static struct BurnRomInfo kof2k2omg8RomDesc[] = {
{ "265omg8.p1",   0x100000, 0x53086581, 1 | BRF_ESS | BRF_PRG }, //  0 68K code
{ "265omg8.p2",   0x400000, 0x40228fe5, 1 | BRF_ESS | BRF_PRG }, //  1

{ "265omg8.s1",   0x020000, 0x65351d40, 2 | BRF_GRA },           //  2 Text layer tiles

{ "265omg8.c1",   0x800000, 0xe144302d, 3 | BRF_GRA },           //  3 Sprite data
{ "265omg8.c2",   0x800000, 0xb10c6958, 3 | BRF_GRA },           //  4
{ "265omg8.c3",   0x800000, 0x2367927c, 3 | BRF_GRA },           //  5
{ "265omg8.c4",   0x800000, 0x4ad48c29, 3 | BRF_GRA },           //  6
{ "365ru.c5",     0x800000, 0x11126545, 3 | BRF_GRA },           //  7
{ "365ru.c6",     0x800000, 0xd225bb9b, 3 | BRF_GRA },           //  8
{ "265omg8.c7",   0x800000, 0x890c2a4a, 3 | BRF_GRA },           //  9
{ "265omg8.c8",   0x800000, 0xb726009d, 3 | BRF_GRA },           // 10

{ "265omg8.m1",   0x040000, 0x9a3d5c65, 4 | BRF_ESS | BRF_PRG }, // 11 Z80 code

{ "kf10-v1.bin",  0x800000, 0x0fc9a58d, 5 | BRF_SND },           // 12 Sound data
{ "kf10-v2.bin",  0x800000, 0xb8c475a4, 5 | BRF_SND },           // 13
};

STDROMPICKEXT(kof2k2omg8, kof2k2omg8, neogeo)
STD_ROM_FN(kof2k2omg8)

struct BurnDriver BurnDrvkof2k2omg8 = {
"kof2k2omg8", "kof2002", "neogeo", NULL, "2010",
"Kof2002 (Omega v0.8)\0", NULL, "bootleg", "KOF-ON Team",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 2, HARDWARE_PREFIX_CARTRIDGE | HARDWARE_SNK_NEOGEO, GBF_VSFIGHT, FBF_KOF,
NULL, kof2k2omg8RomInfo, kof2k2omg8RomName, NULL, NULL, neogeoInputInfo, neogeoDIPInfo,
NeoInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
0x1000, 304, 224, 4, 3
};

--- End code ---
It works ! Except perhaps something missing on the title screen ? (see my screenshot)

To the OP :
- Follow the guide at http://neo-source.com/index.php?topic=2379.0 up to IV
- Copy/paste my code at the end of src/burn/drv/neogeo/d_neogeo.cpp
- Finish the instructions in the guide

I'll take a look at version 9 and 9b later (or you could try adding it yourself if you understood the general process)

Fighterchar:
the process is so hard for me  :eek:

barbudreadmon:

--- Quote from: Fighterchar on February 06, 2018, 12:54:30 AM ---the process is so hard for me  :eek:

--- End quote ---
Actually i wasn't able to get version 9 to work yet, the rom seems to load fine but the emulator crash, and my debug tools didn't give me any useful information, so i guess there is some kind of protection/encryption ?
I didn't try version 9b.

Fighterchar:
if possible to patch IPS in this roms hacks? I have a rom called kof2k2ps2 but the sound is bad, I need a rom hack whit Orochi Iori, and the Kof2k2omg have a good Orochi Iori the voice is good and de sprites  :wink:

barbudreadmon:

--- Quote from: Robert on February 06, 2018, 06:59:08 PM ---No protection or encryption, it's the same setup as omg8. Same applies to omg9b.

If you look in hbmame's source, find the GAME macro, and read the word just before ROT0. If it says "neogeo", then it's unencrypted and should just work.

--- End quote ---

Then i have no clue why this one would crash :

--- Code: ---// Kof2002 (Omega v0.9)

static struct BurnRomInfo kof2k2omg9RomDesc[] = {
{ "265-p1.p1",    0x100000, 0x9ede7323, 1 | BRF_ESS | BRF_PRG }, //  0 68K code
{ "265omg9.p2",   0x400000, 0xcd503fcf, 1 | BRF_ESS | BRF_PRG }, //  1

{ "265omg9.s1",   0x020000, 0x4562fb20, 2 | BRF_GRA },           //  2 Text layer tiles

{ "265omg9b.c1",  0x800000, 0xc8314ae2, 3 | BRF_GRA },           //  3 Sprite data
{ "265omg9b.c2",  0x800000, 0xe0ddced5, 3 | BRF_GRA },           //  4
{ "265omg9b.c3",  0x800000, 0x6898f6e2, 3 | BRF_GRA },           //  5
{ "265omg9b.c4",  0x800000, 0x9232e491, 3 | BRF_GRA },           //  6
{ "365ru.c5",     0x800000, 0x11126545, 3 | BRF_GRA },           //  7
{ "365ru.c6",     0x800000, 0xd225bb9b, 3 | BRF_GRA },           //  8
{ "265omg9b.c7",  0x800000, 0x6954ef57, 3 | BRF_GRA },           //  9
{ "265omg9b.c8",  0x800000, 0x3e394883, 3 | BRF_GRA },           // 10

{ "265ori.m1",    0x020000, 0xab9d360e, 4 | BRF_ESS | BRF_PRG }, // 11 Z80 code

{ "265nu.v1",     0x400000, 0x13d98607, 5 | BRF_SND },           // 12 Sound data
{ "265nu.v2",     0x400000, 0x9cf74677, 5 | BRF_SND },           // 13
{ "265nu.v3",     0x400000, 0x8e9448b5, 5 | BRF_SND },           // 14
{ "265nu.v4",     0x400000, 0x067271b5, 5 | BRF_SND },           // 15
};

STDROMPICKEXT(kof2k2omg9, kof2k2omg9, neogeo)
STD_ROM_FN(kof2k2omg9)

struct BurnDriver BurnDrvkof2k2omg9 = {
"kof2k2omg9", "kof2002", "neogeo", NULL, "2012",
"Kof2002 (Omega v0.9)\0", NULL, "bootleg", "KOF-ON Team",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 2, HARDWARE_PREFIX_CARTRIDGE | HARDWARE_SNK_NEOGEO, GBF_VSFIGHT, FBF_KOF,
NULL, kof2k2omg9RomInfo, kof2k2omg9RomName, NULL, NULL, neogeoInputInfo, neogeoDIPInfo,
NeoInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
0x1000, 304, 224, 4, 3
};
--- End code ---

Perhaps dink or iq_132 could tell me what i'm doing wrong ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version