Author Topic: DX merge - Complete!  (Read 12002 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
you get an EXE!?!
from the looks of that error mesage you shouldn't
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Ahh yes, I was meaning to tell you all last night (my time) that I'd fixed the dialog error - also nailed the black screen around dialogs bug with the same fix.

In your registry, the game needs to be set to run at 640x480, only then will windowed D3D mode run in a 640x480 window at 640x480.

To do this:

1) Goto HKEY_LOCAL_MACHINE\SOFTWARE\Volition\FreeSpace2
2) Goto the string value "Videocard"

3) Ok, mine says Direct 3D - Primary Display Driver (32 bit) (1024x768)

Now if you wanted 640x480 mode then change it to read Direct 3D - Primary Display Driver (32 bit) (640x480)

4) Run the game in windowed mode.

It's for the complexity of the above that FS2 originally had a launcher.
« Last Edit: March 19, 2003, 11:21:18 pm by 383 »

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
Originally posted by ##UnknownPlayer##
In your registry, the game needs to be set to run at 640x480, only then will windowed D3D mode run in a 640x480 window at 640x480.

To do this:

1) Goto HKEY_LOCAL_MACHINE\SOFTWARE\Volition\FreeSpace2
2) Goto the string value "Videocard"

3) Ok, mine says Direct 3D - Primary Display Driver (32 bit) (1024x768)

Now if you wanted 640x480 mode then change it to read Direct 3D - Primary Display Driver (32 bit) (640x480)


It already says that. :rolleyes: Read my above posts.

Quote
4) Run the game in windowed mode.


This is the only sticking point.  How do I do that?


Quote
Originally posted by Bobboau
you get an EXE!?!
from the looks of that error mesage you shouldn't


Bobboau, reread my posts above.  I was talking about FRED, not FS2.

 
Windowed mode is enabled by using the "-window" command line parameter.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Is there no way to use 640x480 in fullscreen?

 

Offline RandomTiger

  • Senior Member
  • 211
Its a bug, so there will be went its fixed

 
Wait wait wait - 640x480 in full screen? Just have your registry set as I said but don't run it with the -window command line option. I was doing it just then on my system (doesn't look nice on a 21" monitor though)

BTW - I just killed off a bug brought in by the OGL people which was causing the shield ani's to always display in low-detail mode for all who may be concerned.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
Originally posted by ##UnknownPlayer##
Wait wait wait - 640x480 in full screen? Just have your registry set as I said but don't run it with the -window command line option. I was doing it just then on my system (doesn't look nice on a 21" monitor though)


:wtf: That's what I'm doing.  The registry is set for 640x480 resolution.  I start fs2_open without the -window option.  Yet it insists on going to 1024x768.

 
What OS are you running?

 

Offline RandomTiger

  • Senior Member
  • 211
Try using the seperate launcher instead.

Note to  ##UnknownPlayer##:

Once the External Launcher is fully tested and working you should remove the internal launcher built into FS2 DX8.

 

Offline Inquisitor

The Latest RT launcher is actually i nthe exes download folder on the site.
No signature.

 
Of course. It's only in the previous necessity of testing and such w/o the hassle of registry editing. We will need a new flag (or a longer video card string) to specify AA though (which incidentally makes everything look silky smooth when I use it)

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Win98SE.

And now a bug.  After I ran the custom launcher, fs2_open refuses to start, saying "error initializing direct3d: failed to create device". :wtf: Even using the old fs2 launcher fails to fix it.  Retail fs2 runs fine, however.
« Last Edit: March 20, 2003, 04:13:24 pm by 561 »

 

Offline Inquisitor

Does it really say "direc3d"?
No signature.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
« Last Edit: March 20, 2003, 04:24:49 pm by 561 »

 

Offline Inquisitor

Just checking :)
No signature.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Quote
Originally posted by Goober5000
Code: [Select]
--------------------Configuration: fred2_open - Win32 Release--------------------
Compiling...
Sexp_tree.cpp
Linking...
code.lib(GrD3D.obj) : error LNK2001: unresolved external symbol _Direct3DCreate8@4
code.lib(GrD3D.obj) : error LNK2001: unresolved external symbol _DXGetErrorString8A@4
code.lib(GrD3DRender.obj) : error LNK2001: unresolved external symbol _D3DXSaveSurfaceToFileA@20
code.lib(GrD3DTexture.obj) : error LNK2001: unresolved external symbol _D3DXFilterTexture@16
C:\Games\Freespace2\fred2_open.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.


UP, do you know what's causing this?  It happens when I try to build fred2_open.

 

Offline Anaz

  • 210
Goob: Project->settings

go to the "link" tab (IIRC)

and in the object/library modules you need to add d3d8.lib (I THINK!)
Arrr. I'm a pirate.

AotD, DatDB, TVWP, LM. Ph34r.

You WILL go to warpstorm...

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
that wasn't quite it...

but it allowed me to figure out where I did have to fix it.  It's working now, and I'm committing.  Thanks. :)

 

Offline Anaz

  • 210
Quote
Originally posted by Goober5000
that wasn't quite it...

but it allowed me to figure out where I did have to fix it.  It's working now, and I'm committing.  Thanks. :)


:lol: glad I could help :lol:
Arrr. I'm a pirate.

AotD, DatDB, TVWP, LM. Ph34r.

You WILL go to warpstorm...