It is currently Thu Mar 28, 2024 7:57 pm


All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Cobra Command Astron Belt cheat
PostPosted: Tue Aug 22, 2006 5:00 pm 
Registered User
Registered  User

Joined: Mon Aug 21, 2006 10:15 am
Posts: 6
Hi, :wink:

I don't know if this is the correct place for my post,
but i want share my first modification on daphne project.

i added the follow code at the module astron.cpp and (of course) at astron.h
--------------------------------------------------------------------------------
void cobraab::patch_roms()
{
// if a cheat has been requested, modify the ROM. Note, this must be done after roms are loaded
if (m_cheat_requested)
{
// infinite lives cheat
m_cpumem[0x865] = 0; // NOP out code that decrements # of remaning lives
m_cpumem[0x866] = 0;
m_cpumem[0x867] = 0;
printline("Cobraab infinite lives cheat enabled!");
}
}

_________________
H.A.N.D. Pinco69


Top
Offline Profile  
 
 Post subject:
PostPosted: Wed Aug 23, 2006 3:22 am 
Grizzled Veteran
Grizzled Veteran

Joined: Thu Feb 21, 2002 1:00 am
Posts: 247
That's pretty cool man.

Since you seem to be getting around the memory addresses so well why don't you go ahead and do it up proper by adding external cheat file support to daphne?


Top
Offline Profile  
 
 Post subject:
PostPosted: Wed Aug 23, 2006 5:32 pm 
DAPHNE Creator
DAPHNE Creator

Joined: Sat Jan 20, 2001 1:00 am
Posts: 2127
Location: Salt Lake City,Utah, USA
Thankyou!!!!!!

It's great to have this! I have already added it to CVS!!! :)


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net