Problem Level 9 = 64x64 pixels?

mdsmith2

New member
Joined
Apr 10, 2010
Messages
8
Reaction score
0
Points
0
Hello.
I finally learned that the .tex files Orbiter uses are NOT LaTeX files but DDS files (thank you very much for the week's work I put into loading the files into LaTeX to whoever gave dds files a .tex extension :P) but now I have loaded a level 9 .tex file for Earth into GIMP but it has a resolution of 64x64! Any ideas?
 
Seems like you have not read the sdk docs? Maybe there are some answers for you in section 2.2 (as of p. 36) of the API_Guide.pdf, located in the orbitersdk\doc folder.
 
What file have you loaded, and what process have you done to it before loading it?

Texture files are composed of number of DDS files.

<Planet>.tex files are for levels 1-8, and the first in file is level 1, which is 64x64 pixels, if it's standard .tex file (e.g. not built by Nerull's Texbuild with enhanced options).

<Planet>_tile.tex files are for levels 9+, and each standard tile is 256x256 pixels large.

Level 9+ textures don't need to cover whole planet.

You probably loaded standard .tex file for Level 1-8 planet textures as DDS in GIMP, so it's 64x64 pixels, because it's level 1. The rest of levels, up to level 8, are placed sequentially after it in the .tex file (i.e. 128x128, 256x256, 2x256x256, 8x256x256, etc).

You need to extract textures from the texfile, before editing them.
 
Last edited:
What file have you loaded, and what process have you done to it before loading it?

Texture files are composed of number of DDS files.

<Planet>.tex files are for levels 1-8, and the first in file is level 1, which is 64x64 pixels, if it's standard .tex file (e.g. not built by Nerull's Texbuild with enhanced options).

<Planet>_tile.tex files are for levels 9+, and each standard tile is 256x256 pixels large.

Level 9+ textures don't need to cover whole planet.

You probably loaded standard .tex file for Level 1-8 planet textures as DDS in GIMP, so it's 64x64 pixels, because it's level 1. The rest of levels, up to level 8, are placed sequentially after it in the .tex file (i.e. 128x128, 256x256, 2x256x256, 8x256x256, etc).

You need to extract textures from the texfile, before editing them.
Hmm, the manual clarified some things for me, but it didn't seem to specify how to convert them back to bmp?
 
There comes a converter with Orbiter to pack DDS into .tex files, and as far as I remember there is an extractor somewhere at orbithangar...
 
There is an extractor for texture levels 1 to 8, included in these 2 add-ons (TuneYourPlanet):
[nomedia="http://www.orbithangar.com/searchid.php?ID=4108"]Zorblug's Moon - Level 9 - v0.3[/nomedia]

[nomedia="http://www.orbithangar.com/searchid.php?ID=4115"]Moon - Cleaned and remastered Level 9[/nomedia]


But I haven't seen an extractor for levels 9+.

To build standard textures you can use pltex from Orbiter. But you can also build planet/moon level 1-8 textures with extended options with this tool: [nomedia="http://www.orbithangar.com/searchid.php?ID=4486"]Texbuild[/nomedia].
 
Back
Top