ASE to TDM: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Domarius (talk | contribs)
No edit summary
Domarius (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
Some time ago I wrote a small program to process ASE files. It automalically corrects strings after the BITMAP keyword, for example:
Some time ago I wrote a small program to process ASE files. It automalically corrects strings after the BITMAP keyword, for example:


*BITMAP "D:\Games\doom3\darkmod\textures\darkmod\some_folder\some_texture.tga"
*BITMAP "D:\Games\doom3\darkmod\textures\darkmod\some_folder\some_texture.tga"


is replaced by
is replaced by


*BITMAP "\\base\textures\darkmod\some_folder\some_texture"
*BITMAP "\\base\textures\darkmod\some_folder\some_texture"


DDS paths are also processed correctly.
DDS paths are also processed correctly.
Line 18: Line 18:


For the convenience, I added this command to the context menu for ASE files.
For the convenience, I added this command to the context menu for ASE files.
[Image:http://hedonism.nm.ru/programs/ase_processing/ase_export3.png]
 
http://hedonism.nm.ru/programs/ase_processing/ase_export3.png


And now, when I need to export a model, I first, hm, export it:
And now, when I need to export a model, I first, hm, export it:
[Image:http://hedonism.nm.ru/programs/ase_processing/ase_export1.png]
 
http://hedonism.nm.ru/programs/ase_processing/ase_export1.png


And then I choose Export command again and do so:
And then I choose Export command again and do so:
[Image:http://hedonism.nm.ru/programs/ase_processing/ase_export2.png]
 
http://hedonism.nm.ru/programs/ase_processing/ase_export2.png
 
... and then click Cancel.
... and then click Cancel.

Latest revision as of 03:03, 16 October 2008

Constantine http://modetwo.net/darkmod/index.php?showtopic=8317&st=0&#entry164626

Some time ago I wrote a small program to process ASE files. It automalically corrects strings after the BITMAP keyword, for example:

*BITMAP "D:\Games\doom3\darkmod\textures\darkmod\some_folder\some_texture.tga"

is replaced by

*BITMAP "\\base\textures\darkmod\some_folder\some_texture"

DDS paths are also processed correctly. See Problematic_Paths_in_Models for details.

You can download the program here: http://hedonism.nm.ru/programs/ase_processing/ASE2DarkRadiant.zip

Usage: type ASE2DarkRadiant <modelname> in the command line.

For the convenience, I added this command to the context menu for ASE files.

ase_export3.png

And now, when I need to export a model, I first, hm, export it:

ase_export1.png

And then I choose Export command again and do so:

ase_export2.png

... and then click Cancel.