Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: DukeOfNukes on April 03, 2007, 05:37:11 am

Title: Crashes on start up
Post by: DukeOfNukes on April 03, 2007, 05:37:11 am
I'm sure this is relatively simple, and I'm gonna feel like an idiot for asking this, but Freespace 2 crashes on start up. I see a screen flash (presumably a load up screen) for a second or so, and then everything goes blank for a few seconds before the "freespace has encountered an error" window shows up.

I have the 20th anniversary edition of FS2, and I installed using Turey's guide at http://www.hard-light.net/forums/index.php/topic,42854.0.html

I also submitted a bug report...but I doubt that was necissary, just hoping to get an answer back
Title: Re: Crashes on start up
Post by: Wobble73 on April 03, 2007, 05:57:42 am
Firstly:

:welcome:

What are your system specs? Did you install OpenAL? What is your command line? How have you got the launcher set up? Have you tried running the Debug exe and if so can you post the log here for folks to see?
Title: Re: Crashes on start up
Post by: DukeOfNukes on April 03, 2007, 06:08:23 am
Debug does the same thing as the start up...just without the load screen.

Error Log:
fs2_open_3_6_9 caused Unknown exception type in module ntdll.dll at 001b:7c94eb28.

On the launcher, everything is defaults except:
connection changed to LAN/Direct Connection
connection speed changed to cable
resolution to 1024x768
colordepth changed to 32-bit

Athlon XP 3200+ (2.21 GHz)
1 GB of RAM
ATI Radeon X1600 Pro
Windows XP Home
OpenAL is installed
Title: Re: Crashes on start up
Post by: Wobble73 on April 03, 2007, 06:25:41 am
Debug does the same thing as the start up...just without the load screen.

Error Log:
fs2_open_3_6_9 caused Unknown exception type in module ntdll.dll at 001b:7c94eb28.

On the launcher, everything is defaults except:
connection changed to LAN/Direct Connection
connection speed changed to cable
resolution to 1024x768
colordepth changed to 32-bit

Athlon XP 3200+ (2.21 GHz)
1 GB of RAM
ATI Radeon X1600 Pro
Windows XP Home
OpenAL is installed

Run the debug again and post the fs.log from your folder here, more specifically the last few lines (5 or 10 i think?) You are running the game through OpenGL on your video settings aren't you? Also on the top of the features tab is your command line, cut and paste that here so we can have a clearer picture of what is happening.
Title: Re: Crashes on start up
Post by: DukeOfNukes on April 03, 2007, 06:36:56 am
C:\games\FreeSpace2\fs2_open_3_6_9.exe -mod mediavps

I've also tried doing it without the mod on...but there was no difference...I figured since the mod was default I'd leave it that way for now.

The debugger doesn't run. It crashes exactly the same as the actual program, so there is no fs.log

as for the video, I've tried with both OpenGL and Direct3D8...the only difference is that in Direct3D8, before crashing, instead of my whole screen going black, only a 1024x 768 part of my 1280x1024 desktop goes black
Title: Re: Crashes on start up
Post by: Wanderer on April 03, 2007, 06:42:52 am
If you get startup screen you ought to get the log file too..

Check from your data directory for a fs2_open.log named file.
Title: Re: Crashes on start up
Post by: DukeOfNukes on April 03, 2007, 06:47:17 am
ah ok...found it

Quote
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
Passed cmdline options:
  -mod mediavps
Building file index...
Searching root 'C:\games\freespace2\mediavps\'
Searching root pack 'C:\games\freespace2\mediavps\mp-710_adveffects.vp'
Searching root pack 'C:\games\freespace2\mediavps\mp-710_effects.vp'
Searching root pack 'C:\games\freespace2\mediavps\mp-710_models.vp'
Searching root pack 'C:\games\freespace2\mediavps\mv_adveffects.vp'
Searching root pack 'C:\games\freespace2\mediavps\mv_core.vp'
Searching root pack 'C:\games\freespace2\mediavps\mv_effects.vp'
Searching root pack 'C:\games\freespace2\mediavps\mv_models.vp'
Searching root pack 'C:\games\freespace2\mediavps\mv_music.vp'
Searching root pack 'C:\games\freespace2\mediavps\mv_textures.vp'
Searching root 'C:\games\freespace2\'
Searching root pack 'C:\games\freespace2\multi-mission-pack.vp'
Searching root pack 'C:\games\freespace2\multi-voice-pack.vp'
Searching root pack 'C:\games\freespace2\root_fs2.vp'
Searching root pack 'C:\games\freespace2\smarty_fs2.vp'
Searching root pack 'C:\games\freespace2\sparky_fs2.vp'
Searching root pack 'C:\games\freespace2\sparky_hi_fs2.vp'
Searching root pack 'C:\games\freespace2\stu_fs2.vp'
Searching root pack 'C:\games\freespace2\tango1_fs2.vp'
Searching root pack 'C:\games\freespace2\tango2_fs2.vp'
Searching root pack 'C:\games\freespace2\tango3_fs2.vp'
Searching root pack 'C:\games\freespace2\warble_fs2.vp'
Searching root 'e:\'
Searching root pack 'e:\tango2_fs2.vp'
Searching root pack 'e:\tango3_fs2.vp'
Searching root pack 'e:\warble_fs2.vp'
Found 26 roots and 12478 files.
AutoLang: Language auto-detection successful...
Setting language to English
Wokka!  Error opening file (strings.tbl)!
Error parsing 'strings.tbl'
Error code = 5.
Initializing OpenAL...
  Using 'Generic Software' as OpenAL sound device...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

... OpenAL successfully initialized!
GR_CPU: Family 6, MMX=Yes
Initializing Direct3D graphics device at 1024x768 with 32-bit color...
  Direct3D Adapter        : Radeon X1600 Series
  Direct3D Driver Version : 6.14.10.6631

  Using PURE D3D Device
  Alpha texture format = ARGB, 4:4:4:4
  Non-alpha texture format = ARGB, 1:5:5:5
  Max texture units: 8
  Max texture size: 4096x4096
  Can use compressed textures: YES
  Texture compression available: YES
... Direct3D init is complete!
Size of bitmap info = 705 KB
Size of bitmap extra info = 40 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
GRAPHICS: Initializing default colors...
SCRIPTING: Beginning initialization sequence...
SCRIPTING: Beginning Lua initialization...
LUA: Opening LUA state...
LUA: Initializing base Lua libraries...
LUA: Performing global function/(library/object) name repeat check...
LUA: Performing library/object name repeat check...
LUA: Performing object/object name repeat check...
LUA: Performing library/library name repeat check...
LUA: Initializing library functions...
LUA: Initializing object functions...
SCRIPTING: Beginning main hook parse sequence....
Wokka!  Error opening file (scripting.tbl)!
Unable to parse scripting.tbl!  Code = 5.
SCRIPTING: Inititialization complete.
Loading 2_PreLoad.pcx for the first time.
Loading 2_PreLoadLogo.pcx for the first time.
Using high memory settings...
Wokka!  Error opening file (interface.tbl)!
Unable to parse interface.tbl!
Wokka!  Error opening file (pixels.tbl)!
Title: Re: Crashes on start up
Post by: killface on April 03, 2007, 09:04:02 am


We went through this yesterday...here's the thread:

http://www.hard-light.net/forums/index.php/topic,46313.0.html

Basically, karajorma recommended I download this file and replace root_fs2:

http://homepage.ntlworld.com/karajorma/FAQ/Downloads/HotUv1.20Pack.rar

And it worked perfectly.  Back in the game!
Title: Re: Crashes on start up
Post by: Wobble73 on April 03, 2007, 09:30:14 am


  Back in the game!


Oh No!!! It's Alan Partridge!!!!!


"Back of the Net!"


 :lol:
Title: Re: Crashes on start up
Post by: killface on April 03, 2007, 09:38:40 am

I was thinking more of those annoying "Just for Men" ads...Get back in the game!!!

Oh, and DukeOfNukes, the fix I pointed you to above got default FS2 to work for me, but nothing more.  We're hashing this all out in the other thread.
Title: Re: Crashes on start up
Post by: jr2 on April 03, 2007, 07:08:28 pm


We went through this yesterday...here's the thread:

http://www.hard-light.net/forums/index.php/topic,46313.0.html

Basically, karajorma recommended I download this file and replace root_fs2:

http://homepage.ntlworld.com/karajorma/FAQ/Downloads/HotUv1.20Pack.rar

And it worked perfectly.  Back in the game!

Hmm, the root vps are different for different versions of FS2?  Interesting.
Title: Re: Crashes on start up
Post by: killface on April 03, 2007, 07:25:44 pm

I think it was more that the root vp I got from the installer was corrupt or null...the installer generated a file, but it was 0 bytes in size.
Title: Re: Crashes on start up
Post by: Turey on April 03, 2007, 09:13:00 pm

I think it was more that the root vp I got from the installer was corrupt or null...the installer generated a file, but it was 0 bytes in size.

This is now fixed (http://www.hard-light.net/forums/index.php/topic,46350.msg945356.html#msg945356).
Title: Re: Crashes on start up
Post by: killface on April 03, 2007, 09:22:08 pm

Thanks for everything, Turey.  Your installer is the shiznit, one little (crippling) typo or not   :lol:
Title: Re: Crashes on start up
Post by: Turey on April 04, 2007, 12:08:24 am

Thanks for everything, Turey.  Your installer is the shiznit, one little (crippling) typo or not   :lol:

Thanks. Always nice to get a complement after I fix a stupid screw-up. Keeps me from feeling so bad about making the screw-up in the first place.  :)