Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: MrGosh on April 30, 2005, 01:03:54 pm

Title: texture sizes
Post by: MrGosh on April 30, 2005, 01:03:54 pm
Hello everyone!
      I've started learning how to some modding stuff cause I've decided I'm going to make the coolest Freespace 2 mod EVER!  Anyway, I'm having some trouble getting the engine to open a texture I've made (modified actually).  I think it is because it is too large (190 kb - PCX, 512x512 pixels), but I can't figure out how to make it smaller, or if that's even possible.  I have the Gimp program, so I hope it can be done with that.  Anyway, if anyone can help me I would appreciate it.  Thank you all!  And congrats to everyone who has worked on all the various mods.  There's some really cool stuff this board!
Title: texture sizes
Post by: aldo_14 on April 30, 2005, 01:06:32 pm
With regular / scp freespace it has to be an 8-bit pallete for a PCX texture.

With SCP, TGA, Jpeg and DDS format textures can also be used.
Title: texture sizes
Post by: MrGosh on April 30, 2005, 06:01:40 pm
Thanks aldo.  I guess I figured it would be something like that.  I think I'll just stick to modifying the original FS textures for now.

One question, does SPC support higher resolutions of TGA, Jpeg..., or do those also have to have an 8 bit pallete.

Acutally, I also have another question.   Whenever I try to open the open source version of Fred2, I get the message below.  Is this an issue with my ATI card?  I just recently got the newest drivers so I don't think that's it.

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.exe 0066d009()
    fred2_open_3_6_5.exe 0066bfed()
    fred2_open_3_6_5.exe 0066c1f5()
    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.exe 0066c702()
    fred2_open_3_6_5.exe 0066c78a()
    fred2_open_3_6_5.exe 00681647()
    fred2_open_3_6_5.exe 00681694()
    fred2_open_3_6_5.exe 0066d009()
------------------------------------------------------------------
Title: texture sizes
Post by: StratComm on April 30, 2005, 06:04:28 pm
Yeah someone forgot to make sure the version check for OGL checked the major version.  Go find a more recent build of FRED.
Title: texture sizes
Post by: aldo_14 on April 30, 2005, 06:07:08 pm
SCP should support all power of 2 textures that your card itself can support; i.e. 256 x 256, 512 x 512, 1024 x 1024, etc (and also non-square textures).

I'm not sure what your Fred problem is down to, natch.  Best ask on the SCP forum.

EDIT; TGA and jpeg can both be normal 32-bit (TGA also supports alpha-channel).  DDS, I think, uses an optimized pallete anyways (so I'm not sure of the 'real' bit depth; you don't need to manually downsize that anyways).

HTH.
Title: texture sizes
Post by: MrGosh on April 30, 2005, 08:07:00 pm
Sweet.  Thanks both of you!  I'm off to find a newer version of Fred!
Title: texture sizes
Post by: Nuke on May 01, 2005, 06:10:54 pm
some of my textures are 2048^2