Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: sanmadjack on December 18, 2005, 03:29:09 pm

Title: d3dmipmap?
Post by: sanmadjack on December 18, 2005, 03:29:09 pm
I'm trying to use a recent CVS of fs2_open under Ubuntu 5.10, but everytime I run any copy I get my hands on (either through the recent builds forum of compiling myself from CVS) after the compile or install, when I try to run it, it says this:

Unrecognized command line parameter "-d3dmipmap".  Exiting...

I'm not even using any command line paramaters! What should I do?
Title: Re: d3dmipmap?
Post by: WMCoolmon on December 18, 2005, 03:36:01 pm
Mipmaps are handled automagically now.
Title: Re: d3dmipmap?
Post by: sanmadjack on December 18, 2005, 03:39:19 pm
That's great, and I'm sure effort went into making it so, but that doesn't change that it's saying this to me when I'm not even using such a paramater.
Title: Re: d3dmipmap?
Post by: WMCoolmon on December 18, 2005, 03:41:53 pm
Erg, check the ".fs2_open" folder in your home directory or the fs2_open config file. It may be in there.
Title: Re: d3dmipmap?
Post by: sanmadjack on December 18, 2005, 03:44:19 pm
Already checked that, I even tried deleting the ~/.fs2_open folder, it still says it when I try to run it.
Title: Re: d3dmipmap?
Post by: sanmadjack on December 18, 2005, 03:49:54 pm
found it you were right. It was in data/cmdline_fso.cfg which I asume is a holdover from windows. I'm again happy and grateful for all the hard work taht's gone into this wonderful project.
Title: Re: d3dmipmap?
Post by: Mr_Maniac on December 18, 2005, 03:51:33 pm
Look into your data-Directory. There's a cmdline.cfg (or maybe still an cmdline_fso.cfg)...
Take a look into it.

@WMCoolmon:
Sure that it is handled automatically?
Theres still a flag
-mipmap
Title: Re: d3dmipmap?
Post by: WMCoolmon on December 18, 2005, 03:56:35 pm
The '-mipmap' flag turns on automatic mipmapping, right?
That option turns on automatic mipmap generation but actual use of mipmaps is automatic whether you use the option or not.  Use of mipmap levels for compressed DXT? will get used automatically and automatic mipmap use for uncompressed DDS will get fixed for OGL real soon.  Basically use DDS (either compressed or uncompressed) for pretty much everything and you will not ever need -mipmap since the image should already have to mipmaps created.  Uncompressed DDS is basically TGA so you don't have to lose any quality using it and you get the option of having mipmaps already generated.