Page 1 of 1

Flashing Lights in 'House of the Dead'

Posted: Tue Sep 04, 2018 3:58 am
by Brut3man
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.

Re: Flashing Lights in 'House of the Dead'

Posted: Mon Sep 10, 2018 11:02 pm
by Pugsy
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.

Re: Flashing Lights in 'House of the Dead'

Posted: Mon Sep 10, 2018 11:08 pm
by Pugsy
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

Re: Flashing Lights in 'House of the Dead'

Posted: Mon Sep 10, 2018 11:46 pm
by Pugsy
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}
}

Re: Flashing Lights in 'House of the Dead'

Posted: Wed Sep 12, 2018 10:33 pm
by Brut3man
Dude, you're awesome! The lua cheat works perfectly! Thank you so much!

Re: Flashing Lights in 'House of the Dead'

Posted: Tue Aug 03, 2021 3:19 am
by microman
Pugsy wrote: Mon Sep 10, 2018 11:46 pm Decided to have a look at it:-
you have completely change the game for me, it's now playable.

if only you could update virtua cop 1+2?