Crash before starting.

ChrisFalconSTB

Active member
So I'm working on my mod, and I did two player characters for testing.

Except, that one of them causes the .exe file to crash even before it starts to load properly.
Here's the log text:

Total Ram: 2146619392 Bytes
Free Ram: 916987904 Bytes
Used Ram: 3649536 Bytes

debug:nativeWidth, nativeHeight, bpp, Hz  1440, 900, 24, 60

0 joystick(s) found!
OpenBoR v3.0 Build , Compile Date: Jan 26 2017

Game Selected: ./Paks/My Mod.pak

FileCaching System Init...... Disabled
Initializing video............
Reading video settings from 'data/video.txt'.
Initialized video............. 480x272 (Mode: 1, Depth: 32 Bit)

Loading menu.txt............. Done!
Loading fonts................ 1 2 3 4 Done!
Timer init................... Done!
Initialize Sound..............
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/misc/flash.txt
Cacheing 'Kula' from data/chars/kula/kula.txt
Cacheing 'Max' from data/chars/maxima/maxima.txt
Cacheing 'Kurisu' from data/chars/Kurisu/Kurisu.txt
Cacheing 'Lihua' from data/chars/Lihua/Lihua.txt
Cacheing 'Apple' from data/chars/misc/apple.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 '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 'K'' from data/chars/k/k.txt
Cacheing 'biker-K'' from data/chars/biker-k/biker-k.txt
Cacheing 'Yashiro' from data/chars/yashiro/yashiro.txt
Cacheing 'Ralf' from data/chars/ralf/ralf.txt
Cacheing 'Shermie' from data/chars/shermie/shermie.txt
Cacheing 'Eiji' from data/chars/eiji/eiji.txt
Cacheing 'Joe' from data/chars/joe/joe.txt
Cacheing 'Yamazaki' from data/chars/yamazaki/yamazaki.txt
Cacheing 'Angel' from data/chars/angel/angel.txt
Cacheing 'Billy' from data/chars/billy/billy.txt
Cacheing 'Jhun' from data/chars/jhun/jhun.txt
Cacheing 'Mrbig' from data/chars/mrbig/mrbig.txt
Cacheing 'Robert' from data/chars/robert/robert.txt
Cacheing 'Heavy' from data/chars/heavy/heavy.txt
Cacheing 'K9999' from data/chars/K9999/K9999.txt
Cacheing 'Rugal' from data/chars/Rugal/Rugal.txt
Cacheing 'Ramon' from data/chars/ramon/ramon.txt
Cacheing 'Knife' from data/chars/misc/knife.txt
Cacheing 'Shot' from data/chars/misc/shot.txt
Cacheing 'Star' from data/chars/misc/star.txt
Cacheing 'Steam' from data/chars/misc/steam.txt
Cacheing 'Steamer' from data/chars/misc/steamer.txt
Cacheing 'Furnace' from data/chars/misc/furnace.txt
Cacheing 'Crab' from data/chars/crab/crab.txt
Cacheing 'Lobster' from data/chars/Lobster/Lobster.txt

Loading 'Flash' from data/chars/misc/flash.txt
Loading 'Kula' from data/chars/kula/kula.txt
Loading 'Max' from data/chars/maxima/maxima.txt
Loading 'Kurisu' from data/chars/Kurisu/Kurisu.txt
 
One of the possible causes for this kind of crash is for not setting maxattacks, maxfollows or maxfreespecials in models.txt
By default, ATTACK animations are limited to 4, FOLLOW limited to 4 and FREESPECIALs limited to 8

If you use any of these more than default limit, you'll have to extend the limit by setting any of the commands above

HTH
 
Kurisu, like I said to you in FB, if you remove the next char after Kurisu, the crash stop, obvily in this char was the problem. After that we descovery in your text file, that was missing the " rise animation", some animations did you forgot of "Delay" and there was empty frames on end of text! After fix this, the crash continue?
 
Most of the time, when everything seems perfect and it crash, it can be due to some structure problem in the code. or something not declared right.

Hope you can fix it.

And really glad to see you back to modding! :)
 
Kurisu I know this is frustating when happens, but try to give us more info when asking for help. Things don't start to not work out of the blue (well, I least I hope, lol).
Try to give us more info about what you did before the crash, what you modified on the game, etc. When I started on this, I just modify one thing, test, and continue. Because if you change a lot of things at the same time and have not much experience, you won't know what caused the crash.
 
I am deeply sorry for not providing more info - I was struggling with my computer when I started this thread.

I was converting a character for my mod for testing purposes; I use fighter factory for palette, offset settings and making mockup animations (Including keeping SFF files for backup!). Everything seemed fine (And shoutout to Theoz for pointing out a few mistakes I did on the code of said character on facebook). At first, I thought it was due to the missing animations that needed to be declared (Such as the attacks, or when a character gets up after being knocked down). But once those are done, I've loaded the characters on the mod.

When this specific character was loaded, the program closed and a box with the message "Ultimate 2D Game Engine has stopped working - Windows is now searching for a solution" appeared. As far as I know, the .exe file closes itself and the error appears listed on the OpenBOR and script logs if something was wrong - which was not the case (Notice how the log I pasted on the first post appears "incomplete" without any "failed to..." message).

Again, all of the other characters just load fine.
 
At first, I thought it was due to the missing animations that needed to be declared (Such as the attacks, or when a character gets up after being knocked down). But once those are done, I've loaded the characters on the mod.

When this specific character was loaded, the program closed and a box with the message "Ultimate 2D Game Engine has stopped working - Windows is now searching for a solution" appeared.

If you are using OpenBORstats to convert a mugen character to OpenBOR, you have to be careful. Because it will create some animations with not allowed names, which makes the engine to close. Check all animations name.
 
Back
Top Bottom