Flashing Lights in 'House of the Dead'

This FORUM is for posting requests and cheats for Arcade Emulators other than M.A.M.E.
Post Reply
Brut3man
Posts: 4
Joined: Fri Apr 27, 2018 8:52 pm

Flashing Lights in 'House of the Dead'

Post by Brut3man » Tue Sep 04, 2018 3:58 am

Hello,

I was wondering if someone knows where to find a cheat or if it would be possible for someone to make a cheat for the SEGA Model 2 Emulator that would stop the flashing lights every time you fire your gun in 'House of the Dead'? I find myself unable to play the game for long because my eyes hurt too much from the constant white flashes. Any help with this would be appreciated.

User avatar
Pugsy
Posts: 3198
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: Flashing Lights in 'House of the Dead'

Post by Pugsy » Mon Sep 10, 2018 11:02 pm

I can likely do this for MAME no problems, but it will be a ROM address and poke value - never played with the Model 2 Emulator so I don't know if it would convert or work with it.
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.200 XML cheat collection 12 AUGUST 2018) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/39od7hvga ... at0200.zip (ZIP Archive 1894 KB)

User avatar
Pugsy
Posts: 3198
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: Flashing Lights in 'House of the Dead'

Post by Pugsy » Mon Sep 10, 2018 11:08 pm

Ok, had a look in MAME debugger you can do this:-

maincpu.md@18610=0a000000

How you convert it for the Model 2 Emulator is over to you
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.200 XML cheat collection 12 AUGUST 2018) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/39od7hvga ... at0200.zip (ZIP Archive 1894 KB)

User avatar
Pugsy
Posts: 3198
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: Flashing Lights in 'House of the Dead'

Post by Pugsy » Mon Sep 10, 2018 11:46 pm

Decided to have a look at it:-

hotd.lua:-

Code: Select all

require("model2")
function Init()
end
function Frame()
	Model2_SetWideScreen(1)
	Model2_SetStretchALow(1)
	Model2_SetStretchBLow(1)
	Model2_SetStretchAHigh(1)
	Model2_SetStretchBHigh(1)
end

function credits_cheat_f(value)
	I960_WriteWord(RAMBASE+0x1EE38,0x63);
end
function p1_lives_cheat_f(value)
	I960_WriteWord(RAMBASE+0x1EC10,5);
end
function p1_bullets_cheat_f(value)
	I960_WriteWord(RAMBASE+0x1EC41,6);
end
function p2_lives_cheat_f(value)
	I960_WriteWord(RAMBASE+0x1ECDC,5);
end
function p2_bullets_cheat_f(value)
	I960_WriteWord(RAMBASE+0x1ED0D,6);
end
function noflash_cheat_f(value)
    Romset_PatchDWord(ROMBASE,0x18610,0xa000000);
end

Options =
{
  credits_cheat={name="Infinite Credits",values={"Off","On"},runfunc=credits_cheat_f},
	p1_lives_cheat={name="P1 Infinite Lives",values={"Off","On"},runfunc=p1_lives_cheat_f},
	p1_bullets_cheat={name="P1 Infinite Bullets",values={"Off","On"},runfunc=p1_bullets_cheat_f},
	p2_lives_cheat={name="P2 Infinite Lives",values={"Off","On"},runfunc=p2_lives_cheat_f},
	p2_bullets_cheat={name="P2 Infinite Bullets",values={"Off","On"},runfunc=p2_bullets_cheat_f},
  noflash_cheat={name="No Flash on Shooting (Stays ON on first toggle)",values={"Off","On"},runfunc=noflash_cheat_f}
}
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.200 XML cheat collection 12 AUGUST 2018) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/39od7hvga ... at0200.zip (ZIP Archive 1894 KB)

Brut3man
Posts: 4
Joined: Fri Apr 27, 2018 8:52 pm

Re: Flashing Lights in 'House of the Dead'

Post by Brut3man » Wed Sep 12, 2018 10:33 pm

Dude, you're awesome! The lua cheat works perfectly! Thank you so much!

Post Reply