Game crashes when adding a new character

DatKofGuy

Active member
hey guys, I'm sitting with weird bug that I can't seem to figure out.

Im using multiple select files for different modes and such, but I've added a new character and the game crashes.
I add one of the old characters to the select file and it works, but as soon as I add the new character it crashes.

like this
Code:
load	Terry		data/chars/TerryBogard/TerryBogard.txt
load	Terry2		data/chars/TerryBogard2/TerryBogard2.txt


So I tried a test, where I try using an existing character with just the folder and text file renamed, and it still crashes. Then I tried making the model list load one character twice, with a different name like below, and it still crashes.
Code:
load	Terry		data/chars/TerryBogard/TerryBogard.txt
load	Terry2		data/chars/TerryBogard/TerryBogard.txt

My select files all look the same, like this, just the character name changed

So in this case its terrySelect.txt

Code:
music		data/music/FF-Terry.bor 1
background	data/bgs/TerryLoad.png
allowselect     Terry

and terrySelect2.txt

Code:
music		data/music/FF-Terry.bor 1
background	data/bgs/TerryLoad.png
allowselect     Terry2

I've literally used a copy of a character that works, just changed the name and it causes a crash.
Anyone come across such a bug before?

 
DatKofGuy said:

DatKofGuy, the engine is crashing at all, it's purposely turning itself off because there's something wrong with the information you provided and it has no way to continue. Whatever the problem is will be recorded in the log. If you post the log here we can help you find it.

DC
 
Here ya go

Code:
Total Ram: 17119477760 Bytes
 Free Ram: 6779822080 Bytes
 Used Ram: 3751936 Bytes

debug:nativeWidth, nativeHeight, bpp, Hz  1920, 1080, 24, 60
OpenBoR v3.0 Build , Compile Date: Aug 21 2018

Game Selected: ./Paks/bor.pak

FileCaching System Init......	Disabled
Initializing video............
Reading video settings from 'data/video.txt'.

Colordepth is depreciated. All modules are displayed with a 32bit color screen.

Command 'data/scenes/' not understood in file 'data/video.txt'!
Initialized video.............	480x272 (Mode: 1)

Loading menu.txt.............	Done!
Loading fonts................	1 2 3 4 5 9 Done!
Timer init...................	Done!
Initialize Sound..............	Done!
Loading sprites..............	Done!
Loading level order..........	Done!
Loading model constants......	Done!
Loading script settings......	Done!
Loading scripts..............	Done!
Loading models...............

Cacheing 'Flash' from data/chars/0gamefx/flash.txt
Cacheing 'Terry' from data/chars/TerryBogard/TerryBogard.txt
Cacheing 'Terry2' from data/chars/Terry2/Terry2.txt
Cacheing 'Ralf' from data/chars/ralf/ralf.txt
Cacheing 'billy' from data/chars/billy_01/billy.txt
Cacheing 'billyboss' from data/chars/billy_boss/billy_boss.txt
Cacheing 'trainingdummy' from data/chars/training_dummy/training_dummy.txt
Cacheing 'punchingbag' from data/chars/punching_bag/punching_bag.txt
Cacheing 'Turn' from data/chars/misc/turn/turn.txt
Cacheing 'Apple' from data/chars/misc/apple.txt
Cacheing 'OrbGreen' from data/chars/misc/orb_green.txt
Cacheing 'OrbGreen2' from data/chars/misc/orb_green2.txt
Cacheing 'Meat' from data/chars/misc/meat.txt
Cacheing '1up' from data/chars/misc/1up.txt
Cacheing 'Money' from data/chars/misc/money.txt
Cacheing 'Gold' from data/chars/misc/gold.txt
Cacheing 'Time' from data/chars/misc/time.txt
Cacheing 'training1' from data/level_intros/training1.txt
Cacheing 'demo' from data/level_intros/demo.txt
Cacheing 'instruct1' from data/instructions/instruct1.txt
Cacheing 'instruct2' from data/instructions/instruct2.txt
Cacheing 'home' from data/sprites/home.txt
Cacheing 'Box' from data/chars/misc/box.txt
Cacheing 'Crate' from data/chars/misc/crate.txt
Cacheing 'Trash' from data/chars/misc/trash.txt
Cacheing 'Table' from data/chars/misc/table.txt
Cacheing 'Chair' from data/chars/misc/chair.txt
Cacheing 'Fence' from data/chars/misc/fence.txt
Cacheing 'Drum' from data/chars/misc/drum.txt
Cacheing 'Trolly' from data/chars/misc/trolly.txt
Cacheing 'spikewall' from data/chars/misc2/spike_wall.txt
Cacheing 'stripper' from data/sprites/stripper.txt
Cacheing 'street' from data/sprites/street.txt
Cacheing 'tyreThief' from data/npc/TyreThief/tyreThief.txt
Cacheing 'TungNPC' from data/npc/Tung/TungNPC.txt
Cacheing 'Tung2NPC' from data/npc/Tung2/Tung2NPC.txt
Cacheing 'yasi' from data/chars/yasi/yasi.txt
Cacheing 'Knife' from data/chars/misc/knife.txt
Cacheing 'Bullet' from data/chars/weapon/Bullet.txt

Loaded 'Flash' from data/chars/0gamefx/flash.txt 
Loaded 'Terry' from data/chars/TerryBogard/TerryBogard.txt 
Loaded 'Terry'Loaded 'Ralf' from data/chars/ralf/ralf.txt 
Loaded 'Billy' from data/chars/billy_01/billy.txt 
Command 'agression' not understood in file 'data/chars/billy_01/billy.txt'!
Loaded 'Bullet' from data/chars/weapon/Bullet.txt 
Loaded 'BillyBoss' from data/chars/billy_boss/billy_boss.txt 
Loaded 'TrainingDummy' from data/chars/training_dummy/training_dummy.txt 
Loaded 'PunchingBag' from data/chars/punching_bag/punching_bag.txt 
Loaded 'stripper' from data/sprites/stripper.txt 
Loaded 'street' from data/sprites/street.txt 
Loaded 'TyreThief' from data/npc/TyreThief/tyreThief.txt 
Loaded 'TungNPC' from data/npc/Tung/TungNPC.txt 
Loaded 'Tung2NPC' from data/npc/Tung2/Tung2NPC.txt 

Loading models...............	Done!
Object engine init...........	Done!
Input init...................	No Joystick(s) Found!
Done!
Create blending tables.......	Done!
Save settings so far........	Done!


Loaded 32-bit background 'data/bgs/logo'
Video track: resolution=480*272, display resolution=480*272, 25.00 frames/second
Audio track: 44100.000000 Hz, 2 channels, 16 bits/sample
Loaded 32-bit background 'data/bgs/TerryLoad.png'

Does the character name in the text file need to be the same as the text file name?
 
Hi DatKofGuy, the informations contained in your models.txt has to be the same than in your chars.txt. I try most of the time to have the same name of the character than the text file that declares him for not making mistakes. See if you have the same name everywhere.
 
So I removed the underscore in the name inside the char.txt, and it seems to work... its weird, that it works for some, and then not for others.
Everything seems to be loading for now....
 
Back
Top Bottom