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: 5
Joined: Fri Apr 27, 2018 8:52 pm

Flashing Lights in 'House of the Dead'

Post 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.
User avatar
Pugsy
Posts: 3682
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 19 times
Contact:

Re: Flashing Lights in 'House of the Dead'

Post 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.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
User avatar
Pugsy
Posts: 3682
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 19 times
Contact:

Re: Flashing Lights in 'House of the Dead'

Post 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
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
User avatar
Pugsy
Posts: 3682
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 19 times
Contact:

Re: Flashing Lights in 'House of the Dead'

Post 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}
}
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
Brut3man
Posts: 5
Joined: Fri Apr 27, 2018 8:52 pm

Re: Flashing Lights in 'House of the Dead'

Post by Brut3man »

Dude, you're awesome! The lua cheat works perfectly! Thank you so much!
microman
Posts: 4
Joined: Sat Jan 16, 2021 8:21 pm

Re: Flashing Lights in 'House of the Dead'

Post 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?
Post Reply