Gngeo2x 0.6.9 *update*


Hi my name is Juan Carlos a lot games have a protection of SRAM :

Look this driver :

/* hacks to make the games which do protection checks run in arcade mode */
/* we write protect a SRAM location so it cannot be set to 1 */
sram_protection_hack = ~0;
if ( !strcmp(Machine->gamedrv->name,"fatfury3") ||
!strcmp(Machine->gamedrv->name,"samsho3") ||
!strcmp(Machine->gamedrv->name,"samsho4") ||
!strcmp(Machine->gamedrv->name,"aof3") ||
!strcmp(Machine->gamedrv->name,"rbff1") ||
!strcmp(Machine->gamedrv->name,"rbffspec") ||
!strcmp(Machine->gamedrv->name,"kof95") ||
!strcmp(Machine->gamedrv->name,"kof96") ||
!strcmp(Machine->gamedrv->name,"kof97") ||
!strcmp(Machine->gamedrv->name,"kof97a") ||
!strcmp(Machine->gamedrv->name,"kof98") ||
!strcmp(Machine->gamedrv->name,"kof98a") ||
!strcmp(Machine->gamedrv->name,"kof99") ||
!strcmp(Machine->gamedrv->name,"kof99e") ||
!strcmp(Machine->gamedrv->name,"kof99n") ||
!strcmp(Machine->gamedrv->name,"kof99p") ||
!strcmp(Machine->gamedrv->name,"kof2000") ||
!strcmp(Machine->gamedrv->name,"kof2000n") ||
!strcmp(Machine->gamedrv->name,"kizuna") ||
!strcmp(Machine->gamedrv->name,"lastblad") ||
!strcmp(Machine->gamedrv->name,"lastblda") ||
!strcmp(Machine->gamedrv->name,"lastbld2") ||
!strcmp(Machine->gamedrv->name,"rbff2") ||
!strcmp(Machine->gamedrv->name,"rbff2a") ||
!strcmp(Machine->gamedrv->name,"mslug2") ||
!strcmp(Machine->gamedrv->name,"mslug3") ||
!strcmp(Machine->gamedrv->name,"garou") ||
!strcmp(Machine->gamedrv->name,"garouo") ||
!strcmp(Machine->gamedrv->name,"garoup"))
sram_protection_hack = 0x100/2;

if (!strcmp(Machine->gamedrv->name,"pulstar"))
sram_protection_hack = 0x35a/2;

if (!strcmp(Machine->gamedrv->name,"ssideki"))
{
/* patch out protection check */
/* the protection routines are at 0x25dcc and involve reading and writing */
/* addresses in the 0x2xxxxx range */
data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1);
mem16[0x2240/2] = 0x4e71;
}

/* Hacks the program rom of Fatal Fury 2, needed either in arcade or console mode */
/* otherwise at level 2 you cannot hit the opponent and other problems */
if (!strcmp(Machine->gamedrv->name,"fatfury2"))
{
/* there seems to also be another protection check like the countless ones */
/* patched above by protecting a SRAM location, but that trick doesn't work */
/* here (or maybe the SRAM location to protect is different), so I patch out */
/* the routine which trashes memory. Without this, the game goes nuts after */
/* the first bonus stage. */
data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1);
mem16[0xb820/2] = 0x4e71;
mem16[0xb822/2] = 0x4e71;

/* again, the protection involves reading and writing addresses in the */
/* 0x2xxxxx range. There are several checks all around the code. */
install_mem_read16_handler(0, 0x200000, 0x2fffff, fatfury2_protection_16_r);
install_mem_write16_handler(0, 0x200000, 0x2fffff, fatfury2_protection_16_w);
}

if (!strcmp(Machine->gamedrv->name,"fatfury3"))
{
/* patch the first word, it must be 0x0010 not 0x0000 (initial stack pointer) */
data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1);
mem16[0x0000/2] = 0x0010;
}

if (!strcmp(Machine->gamedrv->name,"mslugx"))
{
/* patch out protection checks */
int i;
data16_t *mem16 = (data16_t *)memory_region(REGION_CPU1);

for (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;
}

{
Pepone , You could hack the sram or put the console by console defect not arcade? Is imposible put in the ini. Dont work....

Thanks for you great emulator .

JC
 
sorry, dont want to trudge through the 23 pages. Just wondered how do these games work (mainly Garou) in terms of speed, sound and playability - all replies greatly appreciated

thanks
 
sorry, dont want to trudge through the 23 pages. Just wondered how do these games work (mainly Garou) in terms of speed, sound and playability - all replies greatly appreciated

thanks
i dont know about that game but most of them run almost fullspeed with sound when overclocked, its one fantastic emu
 
Last edited by a moderator:
Hi my name is Juan Carlos a lot games have a protection of SRAM :

Look this driver :

snip...

Pepone , You could hack the sram or put the console by console defect not arcade? Is imposible put in the ini. Dont work....

Thanks for you great emulator .

JC
Actually, most of these hack are included in gngeo. The next version will be updated with the newer game included in the sram hack list.

Thanks for the report.
 
Last edited by a moderator:
I don´t want to flame you in any way, its just that:

1. the answer can be found out in 10 seconds using the "Search" button (it actually exists !!!).
2. my self esteem wouldn´t allow me to ask such a simple question wihout having googled for it at least 10 minutes.
 
my friend who doesnt even have a 2x loves this emu :D hes always trying to play metal slug and super side kicks4 when hes over, couple of questions when do you think we can expect another update for this wonderful emu, and will it ever be able to play games without performing a gfx dump, because i cant seem to get some gfx dumps for some games to work (metal slug3 4 5 and some others)?
 
and will it ever be able to play games without performing a gfx dump, because i cant seem to get some gfx dumps for some games to work (metal slug3 4 5 and some others)?
Doubtful, since the whole reason for the gfxdump is because those roms are too big for the GP2X's RAM.
 
Last edited by a moderator:
with respect to the update, that's something i'm wondering myself :(

but as for gfx dumps not working, have you tried renaming the files in the zip so they match the romrc file used for dumping the graphics? i hear that sometimes works..
 
with respect to the update, that's something i'm wondering myself :(

but as for gfx dumps not working, have you tried renaming the files in the zip so they match the romrc file used for dumping the graphics? i hear that sometimes works..

Don't worry concerning update. i'm currently working on optimisation.
 
Last edited by a moderator:
Thanks for your appearantly great emu pepone... I will try it out as soon as I don't have to dump metal slug anymore... hopefully you find ways to optimise it (or use the memory, compressing, whatever)
 
Hi,

is there anybody interested in update in the romrc file? i updated it with Prehisoric Island 2, and made it work. :D

First of all make a copy of yours romrc files before modify them because after the change they coud be corrupted.It should be not a problem for the dumpgfx but the emu could not launch any game if the romrc is corrupted. :(

You have to get the crypted and the uncrypted version of the game and put the uncrypted files in the zip of the crypted game.Remove also from the 255-c1.bin to 255-c6.bin in the zip.

this the code to put in the romrc's.

Code:
#Prehistoric Island 2
game preisle2 MVS "Prehistoric Island 2" 
CPU 0x500000
255-p1.bin 0x0 0x100000 NORM
255-p2.bin 0x100000 0x400000 NORM
END
SFIX 0x20000
pi2n_s1.rom 0x0 0x20000 NORM
END
SM1 0x20000
255-m1.bin 0x0 0x20000 NORM
END
SOUND1 0x600000
255-v1.bin 0x0 0x400000 NORM
255-v2.bin 0x400000 0x200000 NORM
END
GFX 0x3000000
pi2n_c1.rom 0x0 0x800000 ALTERNATE
pi2n_c2.rom 0x1 0x800000 ALTERNATE
pi2n_c3.rom 0x1000000 0x800000 ALTERNATE
pi2n_c4.rom 0x1000001 0x800000 ALTERNATE
pi2n_c5.rom 0x2000000 0x800000 ALTERNATE
pi2n_c6.rom 0x2000001 0x800000 ALTERNATE
END
END

Update both romrc.(Dumpgfx and Emu).

bye.

Herc. :ph34r:

PS: Thanks Pepone for pnotepad :lol: it solved my corruption problems under windows.So people, if you edit the romc under windows use pnotepad, or your romrc could be corrupted.
 
hercule18 posted on Feb 2 2006 at 10:17 AM said:
Hi,

is there anybody interested in update in the romrc file? i updated it with Prehisoric Island 2, and made it work. :D

First of all make a copy of yours romrc files before modify them because after the change they coud be corrupted.It should be not a problem for the dumpgfx but the emu could not launch any game if the romrc is corrupted. :(

You have to get the crypted and the uncrypted version of the game and put the uncrypted files in the zip of the crypted game.Remove also from the 255-c1.bin to 255-c6.bin in the zip.




Here is a little tip to manage your romrc. (Please not that it don't work with dumpgfx)
Actually, to add a new game, you don't need to edit the romrc file.

First, you have to edit the file "conf/gngeorc" on your sd card and add the folowing line:
romrcdir ./romrc.d
Then create a directory named "romrc.d"
Now, you can put any driver in it, gngeo will detect it at launch.

ie, edit a file preisle2.rc and put the code provided by Herc inside.

It's still important to NOT use notepad! programers notepad is a good alternative.
 
Last edited by a moderator:
Pepone wanted to make a suggestion for a next version of the gngeo. Sometimes it is touched without wanting button L and you return to the Bios, you could try that not outside so easy to enter her?

And another question, because they do not work bootlegs like kof2002, sengoku3, kof2001 if they are decrypt and they work in neoragex 0,6 but no in gnegeo

JC

Sorry for my poor english I use translator


------------------------------------------------------------------------------------------------

Pepone quisiera hacer una sugerencia para una próxima version del gngeo. A veces se toca sin querer el boton L y vuelves a la Bios, podrías intentar que no fuera tan fácil entrar en ella ? Y otra pregunta, porque no funcionan bootlegs como kof2002,sengoku3,kof2001 si son desencryptados y funcionan en el neoragex 0.6 pero en el gngeo no.

JC
 
antidark posted on Feb 2 2006 at 09:44 PM said:
Pepone wanted to make a suggestion for a next version of the gngeo. Sometimes it is touched without wanting button L and you return to the Bios, you could try that not outside so easy to enter her?
I'll try to adress this probleme in the future. Thanks you for reporting that issue

And another question, because they do not work bootlegs like kof2002, sengoku3, kof2001 if they are decrypt and they work in neoragex 0,6 but no in gnegeo

JC

Do you have a valid romset for those bootlegs?
 
Last edited by a moderator:
Sorry pepone Sengoku3 work with this patch :

sengok3b
Author: Ydmis
source file: 261-p1.bin crc e0d4bc0a
target crc: 66553650

Expl.:
- Bases on p1 e0d4bc0a
- MVS protection removed
- In character select menue can choose
Byakki
Okuni

My driver for gngeo :

#mame set of sengoku3
game sengoku3 MVS "sengoku3"
CPU 0x200000
261-p1.rom 0x100000 0x100000 NORM
- 0x0 0x100000 NORM
END
SFIX 0x20000
261-s1.rom 0x0 0x20000 NORM
END
SM1 0x20000
261-m1.rom 0x0 0x20000 NORM
END
SOUND1 0x900000
261-v1.rom 0x0 0x400000 NORM
261-v2.rom 0x400000 0x200000 NORM
261-v3.rom 0x800000 0x100000 NORM
END
GFX 0x2000000
261-c1.rom 0x0 0x800000 ALTERNATE
261-c2.rom 0x1 0x800000 ALTERNATE
261-c3.rom 0x1000000 0x800000 ALTERNATE
261-c4.rom 0x1000001 0x800000 ALTERNATE
END
END

Working .

Patch here :

http://aew.handholder.net/patches/hacks/se...to_66553650.zip

But kof2001 not work and kof2002 not work and fully decrypt is strange.

JC
 
I seriously considering buying a GP2X because of the amazing progress on emulation in such a short time but I am most interested in MVS emulation.The Gngeo2x looks like an awesome emulator and on the wiki it's great to see so many MVS games working but I would like to know a few things

According to the wiki when sound is turned on the fps drops significantly on most games does this affect gameplay? Can you tell the game is missing fps?

In future updates of this emulator will the fps be increased with sound on on most/all of the games or is this as good as it gets on this hardware?

Will metal slug1 and 2 be playable with sound on in future updates?
 
Back
Top