Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Bri_Dog on April 10, 2006, 05:55:59 pm

Title: Help Me Get Fred Running
Post by: Bri_Dog on April 10, 2006, 05:55:59 pm
Using Fred2_open 3_6_5.exe

Whenever I start FRED I get this

Code: [Select]
Error: Current GL Version of 1.0 is less than required version of 1.2
Switch video modes or update drivers
File:E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\graphics\gropengl.cpp
Line: 3659

Call stack:
------------------------------------------------------------------
    fred2_open_3_6_5 (1).exe 004ce411()
    fred2_open_3_6_5 (1).exe 0044d221()
    fred2_open_3_6_5 (1).exe 00445589()
    fred2_open_3_6_5 (1).exe 0089cdd2()
    fred2_open_3_6_5 (1).exe 0089c734()
    fred2_open_3_6_5 (1).exe 0089a2d9()
    fred2_open_3_6_5 (1).exe 0089a775()
    USER32.dll 77d48734()
    USER32.dll 77d4d05b()
    USER32.dll 77d4b4c0()
    USER32.dll 77d4fd29()
    ntdll.dll 7c90eae3()
    USER32.dll 77d501f7()
    USER32.dll 77d50291()
    fred2_open_3_6_5 (1).exe 0089b109()
------------------------------------------------------------------

Breaking into debugger gives me this

Code: [Select]
Warning: Couldn't open texture 'red_glow_small'
referenced by model 'fighter01.pof'

File:E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\Model\ModelRead.cpp
Line: 2115

Call stack:
------------------------------------------------------------------
    fred2_open_3_6_5 (1).exe 0056ded8()
    fred2_open_3_6_5 (1).exe 00503182()
    fred2_open_3_6_5 (1).exe 0044d7cf()
    fred2_open_3_6_5 (1).exe 0044e763()
    fred2_open_3_6_5 (1).exe 0044ee02()
    fred2_open_3_6_5 (1).exe 0044ed9d()
    fred2_open_3_6_5 (1).exe 0044d2c1()
    fred2_open_3_6_5 (1).exe 00445589()
    fred2_open_3_6_5 (1).exe 0089cdd2()
    fred2_open_3_6_5 (1).exe 0089c734()
    fred2_open_3_6_5 (1).exe 0089a2d9()
    fred2_open_3_6_5 (1).exe 0089a775()
    USER32.dll 77d48734()
    USER32.dll 77d4d05b()
    USER32.dll 77d4b4c0()
------------------------------------------------------------------

And a couple more Warning: Couldn't open texture 'x_glow_small' errors.

Switching the launcher to D3D8 or D3D5 from Ogl gives me the same thing. Would that have an effect anyway? Or does the launcher only work with FS2 exe's?

Anyway, I can't search the forum so I don't know if this is a common issue that's easily resolved....

System:
XP Home
Celeron D 2.8gHz
1GB PC3200
GeForce 6200
Anything else you need to know?
Title: Re: Help Me Get Fred Running
Post by: Wanderer on April 11, 2006, 12:40:49 am
Launcher should only work (AFAIK) with game exes not with FRED exes.

Which builds & mediaVPs are you using... And is there a reason why you are using so old build?
Title: Re: Help Me Get Fred Running
Post by: Bri_Dog on April 11, 2006, 01:32:59 am
I'm using the media vps and exe's found on this (http://scp.indiegames.us/news.php) page. The forum seems to get updated with new builds everyday and I thought it'd be best to stick with official releases then use all the "random" exe's.


mv_core
mv_textures
mv_effects
mv_adveffects
mv_music
mv_models

They're in the root fs2 directory. I also have the retail vps, can I delete any of those?


Title: Re: Help Me Get Fred Running
Post by: karajorma on April 11, 2006, 08:17:24 am
This isn't actually a media VP error. It's FS2_Open's version of the Y2K bug. It's only reading the version string from after the decimal point so it thinks that OpenGL 2.0 is 1.0.

You'll need to grab a more recent version of FRED to solve the problem (3.6.5 is over a year old!). This (http://fs2source.warpcore.org/exes/latest/September2005/20050929-fred2_open.rar) build is probably the most compatible with 3.6.7 although IIRC you will need to install OpenAL (http://fs2source.warpcore.org/exes/latest/OpenALwEAX.exe) in order to get it to work. You will probably need to run FS2_Open 3.6.7 if you aren't already too.
Title: Re: Help Me Get Fred Running
Post by: Bri_Dog on April 11, 2006, 12:54:42 pm
This isn't actually a media VP error. It's FS2_Open's version of the Y2K bug. It's only reading the version string from after the decimal point so it thinks that OpenGL 2.0 is 1.0.

You'll need to grab a more recent version of FRED to solve the problem (3.6.5 is over a year old!). This (http://fs2source.warpcore.org/exes/latest/September2005/20050929-fred2_open.rar) build is probably the most compatible with 3.6.7 although IIRC you will need to install OpenAL (http://fs2source.warpcore.org/exes/latest/OpenALwEAX.exe) in order to get it to work. You will probably need to run FS2_Open 3.6.7 if you aren't already too.

Thanks, I'll download these and see if it works.

Not to sound like a jerk becuase I know a lot of work goes into everything SCP, but why doesn't the scp.indiegames site have the latest Fred exe's? Or is the build linked to not "official"?


OK, Tried it

The -r build works but I can only add Uly's no matter what ship I select
The -d build crashes after giving me an error about Warning: Couldn't open texture 'red_glow_small'
referenced by model 'fighter01.pof'
Title: Re: Help Me Get Fred Running
Post by: karajorma on April 11, 2006, 02:06:44 pm
It's not an official build because FRED was borked when 3.6.7 came out. This is the first version of FRED released after 3.6.7.

The errors are new ones on me though. What happens if you run without the media VPs present?
Title: Re: Help Me Get Fred Running
Post by: Bri_Dog on April 11, 2006, 03:56:40 pm
With no media vp's both -r and -d let me add only Uly's
Title: Re: Help Me Get Fred Running
Post by: karajorma on April 11, 2006, 04:02:40 pm
Oddest bug I've ever heard of. It must be reading a ships table from somewhere to get hold of the Ulysses. Only thing I can suggest is to go the recent builds forum and grab the latest CVS version of both FS2_Open and FRED2_Open.
Title: Re: Help Me Get Fred Running
Post by: Bri_Dog on April 15, 2006, 09:43:01 pm
Yeah, this is really screwy, I've tried several CVS builds, they all *run* but I can only add Uly's (still).

Are there any command lines I need to use besides -fredhtl? Should I take a screen shot of my fs2 directory so somebody could see if I'm overlooking something?
Title: Re: Help Me Get Fred Running
Post by: karajorma on April 16, 2006, 04:14:58 am
Everything apart from -fredhtl is optional. -fredhtl is pretty much required if you are using the media VPs.

That would help. Although its going to be hard to figure out what is going on if you haven't set up your folders the way I suggested in the installation guide in my FAQ.