• Do not use Works in Progress as a way of avoiding the releases system! Works in Progress can be used for sharing early betas and for getting suggestions for improvement. Releases of finished content are not allowed in this forum! If you would like to submit a finished addon, click here for instructions on how to do so.

What is wrong with this MAINCFG?

Status
Not open for further replies.

Zanyhead

Mimigas' Rights Activist
MAINCFG CATEGORY
NUMEMBLEMS = 0
FLASHINGTICS = 1
TAILSFLYTICS = -1
EXTRALIFETICS = -1
TITLESCROLLSPEED = 0
LOOPTITLE = 1
INTROTOPLAY = 1

Level 1
Levelname = Basic Training
Act = 0
MusicSlot = 1
NextLevel = 2
TypeOfLevel = 4099
SkyNum = 1
TimeAttack = 1
LevelSelect = 1
nozone = 1

Level 2
Levelname = Combat training
Act = 0
MusicSlot = 3
NextLevel = 3
TypeOfLevel = 4099
SkyNum = 1
TimeAttack = 1
LevelSelect = 1
nozone = 1

Level 3
Levelname = Puzzle Training
Act = 0
MusicSlot = 2
NextLevel = 4
TypeOfLevel = 4099
SkyNum = 1
TimeAttack = 1
LevelSelect = 1
nozone = 1

#Red Crawla
Thing 9
MAPTHINGNUM = 9
SPAWNHEALTH = 2

FRAME 583
SPRITENUMBER = 78
SPRITESUBNUMBER = 3
DURATION = 1
NEXT = 580
ACTION A_TurretStop
VAR1 = 0
VAR2 = 0

FRAME 582
SPRITENUMBER = 78
SPRITESUBNUMBER = 2
DURATION = 10
NEXT = 583
ACTION A_TurretFire
VAR1 = 194
VAR2 = 700

FRAME 64
SPRITENUMBER = 2
SPRITESUBNUMBER = 12
DURATION = 3
NEXT = 65
ACTION A_TurretFire
VAR1 = 194
VAR2 = 500

FRAME 68
SPRITENUMBER = 2
SPRITESUBNUMBER = 16
DURATION = 3
NEXT = 52
ACTION A_TurretStop
VAR1 = 0
VAR2 = 0

FRAME 82
SPRITENUMBER = 3
SPRITESUBNUMBER = 3
DURATION = 1
NEXT = 83
ACTION A_FireShot
VAR1 = 4
VAR2 = 0

FRAME 91
SPRITENUMBER = 3
SPRITESUBNUMBER = 3
DURATION = 3
NEXT = 75
ACTION A_FireShot
VAR1 = 4
VAR2 = 0

Sprite 81
LightType = 27

Sprite 84
LightType = 21

Sprite 140
LightType = 21

Sprite 141
LightType = 10

Sprite 149
LightType = 5

Sprite 81
LightType = 11

Sprite 153
LightType = 11

Sprite 68
LightType = 8

Sprite 69
LightType = 6

Light 1
CoronaRadius = 0
CoronaColor = 4517631

Light 4
Type = 3
DynamicRadius = 0
CoronaRadius = 128
CoronaColor = 16733491
OffsetX = 10
OffsetY = 10

Light 3
Type = 3
DynamicRadius = 0
CoronaRadius = 128
CoronaColor = 16733491
OffsetX = 10
OffsetY = 10

#Flame
Light 21
DynamicRadius = 128
CoronaRadius = 128
Type = 3
CoronaColor = 1131775
DynamicColor = 3355647

Thing 16
Mapthingnum = 16
SPAWNHEATLH = 25
speed = 10
damage = 24
missilestate = 100
meleestate = 101

Frame 100
Duration = 200
action = A_turretfire
next = 97
var1 = 91

Frame 97
Duration = 300
action = A_turretstop
next = 98
OffsetX = 10
OffsetY = 9

Thing 74
MAPTHINGNUM = -1
SPAWNSTATE = 584
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 27
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 266
DEATHSOUND = 23
XDEATHSTATE = 0
SPEED = 3932160
RADIUS = 1048576
HEIGHT = 1572864
MASS = 100
DAMAGE = 1
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 66064

Thing 120
MAPTHINGNUM = -1
SPAWNSTATE = 584
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 27
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 901
DEATHSOUND = 23
XDEATHSTATE = 0
SPEED = 1310720
RADIUS = 1048576
HEIGHT = 1572864
MASS = 100
DAMAGE = 1
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 66064

Thing 121
MAPTHINGNUM = -1
SPAWNSTATE = 584
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 27
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 901
DEATHSOUND = 23
XDEATHSTATE = 0
SPEED = 3932160
RADIUS = 1048576
HEIGHT = 1572864
MASS = 100
DAMAGE = 1
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 66064

Thing 122
MAPTHINGNUM = -1
SPAWNSTATE = 584
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 27
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 266
DEATHSOUND = 23
XDEATHSTATE = 0
SPEED = 1310720
RADIUS = 1048576
HEIGHT = 1572864
MASS = 100
DAMAGE = 1
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 66064

Thing 123
MAPTHINGNUM = -1
SPAWNSTATE = 584
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 27
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 901
DEATHSOUND = 23
XDEATHSTATE = 0
SPEED = 1310720
RADIUS = 1048576
HEIGHT = 1572864
MASS = 100
DAMAGE = 1
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 66064

Thing 124
MAPTHINGNUM = -1
SPAWNSTATE = 584
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 27
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 266
DEATHSOUND = 23
XDEATHSTATE = 0
SPEED = 1310720
RADIUS = 1048576
HEIGHT = 1572864
MASS = 100
DAMAGE = 1
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 66064

Thing 125
MAPTHINGNUM = -1
SPAWNSTATE = 584
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 27
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 266
DEATHSOUND = 23
XDEATHSTATE = 0
SPEED = 3932160
RADIUS = 1048576
HEIGHT = 1572864
MASS = 100
DAMAGE = 1
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 66064

Thing 126
MAPTHINGNUM = -1
SPAWNSTATE = 584
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 27
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 901
DEATHSOUND = 23
XDEATHSTATE = 0
SPEED = 3932160
RADIUS = 1048576
HEIGHT = 1572864
MASS = 100
DAMAGE = 1
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 66064

HUDITEM 0
X = 999
Y = 999

HUDITEM 8
X = 999
Y = 999

HUDITEM 5
X = 310
Y = 10

HUDITEM 15
X = 999
Y = 999

HUDITEM 16
X = 999
Y = 999

HUDITEM 17
X = 999
Y = 999

HUDITEM 18
X = 999
Y = 999

HUDITEM 19
X = 999
Y = 999

HUDITEM 7
X = 45
Y = 185

HUDITEM 1
X = 7
Y = 35

HUDITEM 2
X = 52
Y = 15

HUDITEM 29
X = 172
Y = 168

HUDITEM 9
X = 170
Y = 5

HUDITEM 6
X = 0
Y = 185

Cutscene 1
NumScenes 1
Scene 1
NumberOfPics = 1
Pic1Name = ZAKPRNT
Pic1Duration = 70
Pic1XCoord = 0
Pic1YCoord = 0
SceneText =


Please, I NEED help! Every time I open the game with this wad or add it BOOM! SIGSEV!

from the log:
GetArgcArgv() ...
lpCmdLine is 'prettysrb2 -file newzak.wad -opengl +skin SONIC +color 7 '
Myargc: 8
myargv[0] : 'prettysrb2'
myargv[1] : '-file'
myargv[2] : 'newzak.wad'
myargv[3] : '-opengl'
myargv[4] : '+skin'
myargv[5] : 'SONIC'
myargv[6] : '+color'
myargv[7] : '7'
I_StartupSystem() ...
D_SRB2Main() ...
Dec 2 2006 Sonic Robo Blast 2 22:35:44
Sonic Robo Blast 2
Z_Init: Init zone memory allocation daemon.
system memory 511MB free 215MB
64 megabytes requested for Z_Init.
W_Init: Init WADfiles.
I_StartupTimer...
Added file C:\Srb2\srb2.srb (3597 lumps)
Loading main config from C:\Srb2\srb2.srb
Added file C:\Srb2\sonic.plr (172 lumps)
Added file C:\Srb2\tails.plr (171 lumps)
Added file C:\Srb2\knux.plr (171 lumps)
Added file C:\Srb2\auto.wpn (37 lumps)
Added file C:\Srb2\bomb.wpn (37 lumps)
Added file C:\Srb2\home.wpn (37 lumps)
Added file C:\Srb2\rail.wpn (37 lumps)
Added file C:\Srb2\infn.wpn (37 lumps)
Added file C:\Srb2\drill.dta (182 lumps)
Added file C:\Srb2\soar.dta (102 lumps)
Added file C:\Srb2\music.dta (132 lumps)
Added file newzak.wad (48 lumps)
Loading main config from newzak.wad
Frame 97: unknown word 'XOFFSET'

Frame 97: unknown word 'YOFFSET'

signal_handler() error: segment violation


HELP!
 
Code:
Frame 97
Duration = 300
Next = 98
Action A_turretstop
Var1 = 10
Var2 = 9

Try replacing Frame 97's data with that.
 
now the log says this:

GetArgcArgv() ...
lpCmdLine is 'prettysrb2 -file newzak.wad -opengl +skin SONIC +color 7 '
Myargc: 8
myargv[0] : 'prettysrb2'
myargv[1] : '-file'
myargv[2] : 'newzak.wad'
myargv[3] : '-opengl'
myargv[4] : '+skin'
myargv[5] : 'SONIC'
myargv[6] : '+color'
myargv[7] : '7'
I_StartupSystem() ...
D_SRB2Main() ...
Dec 2 2006 Sonic Robo Blast 2 22:35:44
Sonic Robo Blast 2
Z_Init: Init zone memory allocation daemon.
system memory 511MB free 224MB
64 megabytes requested for Z_Init.
W_Init: Init WADfiles.
I_StartupTimer...
Added file C:\Srb2\srb2.srb (3597 lumps)
Loading main config from C:\Srb2\srb2.srb
Added file C:\Srb2\sonic.plr (172 lumps)
Added file C:\Srb2\tails.plr (171 lumps)
Added file C:\Srb2\knux.plr (171 lumps)
Added file C:\Srb2\auto.wpn (37 lumps)
Added file C:\Srb2\bomb.wpn (37 lumps)
Added file C:\Srb2\home.wpn (37 lumps)
Added file C:\Srb2\rail.wpn (37 lumps)
Added file C:\Srb2\infn.wpn (37 lumps)
Added file C:\Srb2\drill.dta (182 lumps)
Added file C:\Srb2\soar.dta (102 lumps)
Added file C:\Srb2\music.dta (132 lumps)
Added file newzak.wad (48 lumps)
Loading main config from newzak.wad
signal_handler() error: segment violation
 
The wad only has 48 lumps.
If I recall correctly, character wads instantly crash if they're missing ANY frames.
But then, I might not recall correctly.
 
If it's a SOC problem, starting SRB2 with -debug will give you extra error information.
 
Status
Not open for further replies.

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

Back
Top