[Bug] Certain Cheat Code Combinations Crash Regen?

AamirM's Regen forum

Moderator: AamirM

Post Reply
Doc Lithius
Newbie
Posts: 2
Joined: Thu Sep 06, 2012 5:59 pm
Location: Rock, MI, USA

[Bug] Certain Cheat Code Combinations Crash Regen?

Post by Doc Lithius » Thu Sep 06, 2012 6:12 pm

Alright. I've been trying to figure this out for the last two days now with absolutely no success, so maybe someone here can enlighten me...

I'm trying to make a Regen cheat code file for the game Rockman Megaworld. At the moment, any time I add more than one code set to the DAT file and load it in Regen, the application closes or sometimes crashes. My DAT file doesn't look all that much different from any of the ones that come with the game, yet loading any of those will never, ever crash the emulator. Here's exactly what I'm doing, step-by-step:

- Create a new TXT file.
- Open the TXT file in Notepad and edit the text file to add a code.
- Close Notepad, open Regen v0.972D.
- Load any game.
- Open Cheats and load the DAT file.
- Game client crashes immediately.

For reference, my code list looks like this:

Code: Select all

[0]
Name=Automatically Clear Game
0=Disabled
1=Rockman Clear,FFCC4A:00FF
2=Rockman 2 Clear,FFCC4B:00FF
3=Rockman 3 Clear,FFCC4C:00FF
4=Wily Tower Clear,FFCC4D:00FF

[1]
Name=Have All Weapons (Except Magnet Beam)
0=Off
1=On,013046:660A,013064:6066,01308A:661C,0130D2:661C

[2]
Name=Next Level Change is...
0=Off
1=Fixed,00CF54:33FC

[3]
Name=And the Next Level is...
0=Normal
1=Cutman Level,00CF56:0000
2=Gutsman Level,00CF56:0001
3=Iceman Level,00CF56:0002
4=Bombman Level,00CF56:0003
5=Fireman Level,00CF56:0004
6=Elecman Level,00CF56:0005
7=Wily Factory 1,00CF56:0006
8=Wily Factory 2,00CF56:0007
9=Wily Factory 3,00CF56:0008
10=Wily Factory 4,00CF56:0009
11=Bubbleman Level,00CF56:0014
12=Airman Level,00CF56:0015
13=Quickman Level,00CF56:0016
14=Heatman Level,00CF56:0017
15=Woodman Level,00CF56:0018
16=Metalman Level,00CF56:0019
17=Flashman Level,00CF56:001A
18=Crashman Level,00CF56:001B
19=Wily Castle 1,00CF56:001C
20=Wily Castle 2,00CF56:001D
21=Wily Castle 3,00CF56:001E
22=Wily Castle 4,00CF56:001F
23=Wily Castle 5,00CF56:0020
24=Wily Castle 6,00CF56:0021
25=Sparkman Level,00CF56:0028
26=Snakeman Level,00CF56:0029
27=Needleman Level,00CF56:002A
28=Hardman Level,00CF56:002B
29=Topman Level,00CF56:002C
30=Geminiman Level,00CF56:002D
31=Magnetman Level,00CF56:002E
32=Shadowman Level,00CF56:002F
33=Sparkman Level Revisited,00CF56:0030
34=Needleman Level Revisited,00CF56:0031
35=Geminiman Level Revisited,00CF56:0032
36=Shadowman Level Revisited,00CF56:0033
37=Breakman Level,00CF56:0034
38=Wily Castle 1,00CF56:0035
39=Wily Castle 2,00CF56:0036
40=Wily Castle 3,00CF56:0037
41=Wily Castle 4,00CF56:0038
42=Wily Castle 5,00CF56:0039
43=Wily Castle 6,00CF56:003A
44=Buster Rod-G Level,00CF56:003C
45=Mega Water-S Level,00CF56:003D
46=Hyperstorm-H Level,00CF56:003E
47=Wily Tower 1,00CF56:003F
48=Wily Tower 2,00CF56:0040
49=Wily Tower 3,00CF56:0041
50=Wily Tower 4,00CF56:0042

[4]
Name=Infinite Lives
0=Disabled
1=Enabled,02EEC2:6002

[5]
Name=Rockman Phases Through Enemies/Objects
0=Disabled
1=Enabled,FFA436:0500

[6]
Name=Fixed Life Energy
0=Disabled
1=1 Hit Kills Rockman,FFA3FE:0100
2=Infinite Live Energy,FFA3FE:1C00

[7]
Name=Start with Life Energy
0=Disabled
1=One Unit,02E65C:0001
2=Double Maximum,02E65C:0038
3=Triple Maximum,02E65C:0054

[8]
Name=Weapon Energy Never Decreases
0=Disabled
1=Enabled,02D1C4:600A

[9]
Name=Shots Hit Everything On-Screen
0=Disabled
1=Enabled,00B4CC:601E,00B508:6000,00B620:6004

[10]
Name=Menu/Game Mode
0=Normal
1=Rockman,FFCA77:0000
2=Rockman 2,FFCA77:0001
3=Rockman 3,FFCA77:0002
4=Wily Tower,FFCA77:0003
I've tried having a file with two does, I've tried having one with all eleven, I've tried numbers in between. I've tried actively editing the file while the game is running. I've tried any number of codes with any number of choices and most of the combinations crash the program. I even tried renaming some of the codes to other things, which seemed to work (and seemed to indicate "Name=" fields had to start with certain letters or words...), but later on, doing the same thing made the DAT file crash the program again.

So what, exactly, am I doing wrong? And can it be fixed? I just want to play my game with cheats and an overclocked M68000 chip... (Rockman Megaworld runs perfectly with an overclocked M68K chip, but slows down far, far too much otherwise. Pulseman and Star Control also benefit greatly from this, due to how they were programmed.)

Thanks in advance.[/code]

King Of Chaos
Very interested
Posts: 273
Joined: Fri Feb 29, 2008 8:12 pm
Location: United States

Post by King Of Chaos » Sat Sep 08, 2012 7:55 pm

I've had Regen crash just messing around with the cheats dialog during running games. Same thing happens in Turbo Engine 16 as well.

Doc Lithius
Newbie
Posts: 2
Joined: Thu Sep 06, 2012 5:59 pm
Location: Rock, MI, USA

Post by Doc Lithius » Mon Sep 10, 2012 11:06 pm

Well... I've had that happen to me, as well. But the reason I ask about this specific instance is because the game client will consistently crash regardless of what combination of codes are added in the DAT file or what order they're added. It's kind of bumming me out, to be honest. Heh heh.

epguy8x
Newbie
Posts: 6
Joined: Wed Jun 20, 2012 12:04 am

Post by epguy8x » Sat Sep 21, 2013 12:42 am

Doc Lithius wrote:Well... I've had that happen to me, as well. But the reason I ask about this specific instance is because the game client will consistently crash regardless of what combination of codes are added in the DAT file or what order they're added. It's kind of bumming me out, to be honest. Heh heh.
I found your problem Doc Lithius. And I know how to fix your cheats.

Some of your cheats in your first post have the following:

"0=Normal" or "0=Disabled"

these alone will make REGEN crash as I've fully tested and confirmed myself. Regen doesn't understand those.

Solution: change any of these to "0=Off" and save changes. then try playing the game again and load your DAT file. You must only use 0=Off as that's how other DAT files are put that way. all your cheats listed in your DAT file must start off with 0=Off.

I still have unrelated issues with both Rockman Megaworld (J) and Megaman Wily Wars (E) which are Regen can't remember my saved games even with the option "Use SRAM and EEPROM" enabled. I know for sure Kega Fusion remembers my saved progress for those two games but not Regen because I've played them, even after a "hard" reset or power off.

Post Reply