Problem with MAINCFG, seems impossible to fix

Status
Not open for further replies.

742mph

My work is never done yet
There's a problem with my in-progress mod. When I load it up, everything is normal, except that it refuses to load Time Attack, saying that it's only availible in non-modified games. Same with Statistics. Also, the Emblems that I've set up don't appear where they should no matter what character I'm using, and the unlockables don't work. I'm not using an alternate .dat file. Does that have anything to do with it? If it helps, here's the section of the MAINCFG that deals with the Emblems and Unlockables:

Code:
SRB2 version = 206
 
MAINCFG CATEGORY
INTROTOPLAY = 11
CREDITSCUTSCENE = 10
SPStage_Start = 1
SPStage_End = 24
RaceStage_Start = 1
SStage_Start = 50
CUSTOMVERSION = ERB2 V2.0
NumEmblems = 7
 
UNLOCKABLE 1
Name = Level Select
Objective = Beat the game
NeededGrade = 1
NeededEmblems = 0
NeededTime = -1
Type = 0
 
UNLOCKABLE 2
Name = Absolute Zero Zone
Objective = Beat the game with all the Emeralds
NeededGrade = 2
NeededEmblems = 0
NeededTime = -1
Type = 1
Var = 1008
 
UNLOCKABLE 3
Name = Vs. Hyper Knuckles
Objective = Beat the game with all the Chaos and Super Emeralds
NeededGrade = 2
NeededEmblems = 7
NeededTime = -1
Type = 1
Var = 1009
 
EMBLEM 1
X = 1089
Y = 2805
Z = 3104
PLAYERNUM = 255
MAPNUM = 2
 
EMBLEM 2
X = -13393
Y = 3810
Z = 1312
PLAYERNUM = 255
MAPNUM = 5
 
EMBLEM 3
X = -7867
Y = -3217
Z = 718
PLAYERNUM = 255
MAPNUM = 8
 
EMBLEM 4
X = -22670
Y = -12058
Z = 3192
PLAYERNUM = 255
MAPNUM = 11
 
EMBLEM 5
X = 4060
Y = -7391
Z = 1304
PLAYERNUM = 255
MAPNUM = 13
 
EMBLEM 6
X = 7921
Y = 4914
Z = 1363
PLAYERNUM = 255
MAPNUM = 16
 
EMBLEM 7
X = 3122
Y = 14717
Z = 384
PLAYERNUM = 255
MAPNUM = 23

Levels 1008 and 1009 do exist in the WAD in the forms of MAPZ8 and MAPZ9, and they have level header files. All levels except special and secret stages have "TimeAttack = 1" in their headers. So what's the problem? I would be extremely grateful if you could point out my mistake for me, since I've checked and double-checked every relevant page on the Wiki and haven't found anything.
 
How exactly do I create a new .dat file to save in? Do I just create a blank text file and rename it with a .dat extension, or is there a special program I need to use?
 
Don't you just have to specify one in the MAINCFG CATEGORY and then it just creates itself?
 
Thanks. Do you know if that also solves the problem with the (non)appearance of the Emblems?
 
Probably, since the fact you've received the emblems are stored in the .dat file. In fact, most, if not all, of the unlocks and emblems data is stored in the .dat file. So that may be your problem. You should probably test it now.
 
Shouldn't the version be 200? (2.0.6 is technically 2.00.6.) It should all work just fine, but when adding the wad a "version not supported" message should appear in the console.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top