pierrot1951
25 Jun 2006, 07:24
Hello
I wish to change some textures in API files ; I don't have the source files.
With Notepad, I succeeded in editing an API file created with EOD, simply in replacing the bmp file with a new one.
I tried the same with an API file created with FSDS (oltimedomehangar), to replace the wooden walls (2wood.bmp) by rusty metal (FineCorrVrust.bmp). The modified parts are no more visible!
in the original text:
...
:Part3
Points( 0
-305 0 1 ; 0
-305 229 1 ; 1
-296 229 1 ; 2
-296 0 1 ; 3
-305 0 458 ; 4
-305 229 458 ; 5
-296 229 458 ; 6
-296 0 458 ; 7
-305 0 -454 ; 8
-305 229 -454 ; 9
-296 229 -454 ; 10
-296 0 -454 ; 11
-305 0 2 ; 12
-305 229 2 ; 13
-296 229 2 ; 14
-296 0 2 ; 15
)
;RGBSColor( ef 56 56 56 )
Dwx( 2d ) ; color command
Dbd( 56 ) ; red
Dbx( ef ) ; flag/transparency
Dbd( 56 ) ; green
Dbd( 56 ) ; blue
Poly( 0 0 -32767 -0.76 0 1 2 3 )
Poly( 0 0 32767 457.96 7 6 5 4 )[/COLOR]
; BGL_TEXTURE: tclass=1h color=38EF3838 name=2wood.bmp
Dwx( 0043 0016 0000 0001 ef38 3838 )
Dba(2wood.bmp)
[COLOR="blue"]Dbx( 00 )
TexPoly( -32767 0 0 305.64 5 2 254 1 253 254 0 253 3 4 2 3 )
TexPoly( 32767 0 0 -297.10 2 1 255 6 254 255 7 254 2 3 1 2 )
Poly( 0 32767 0 228.60 5 6 2 1 )
Poly( 0 -32767 0 0.00 0 3 7 4 )
Poly( 0 0 -32767 455.29 8 9 10 11 )
Poly( 0 0 32767 1.91 15 14 13 12 )
TexPoly( -32767 0 0 305.71 13 2 254 9 253 254 8 253 3 12 2 3 )
TexPoly( 32767 0 0 -297.04 10 1 255 14 254 255 15 254 2 11 1 2 )
Poly( 0 32767 0 228.60 13 14 10 9 )
Poly( 0 -32767 0 0.00 8 11 15 12 )
Return
...
By changing all occurences of 2wood.bmp into FineCorrVrust.bmp, the walls are no more visible (the texture file is present in the right directory!)
Thanks for help!!!
Pierrot - FMEP
I wish to change some textures in API files ; I don't have the source files.
With Notepad, I succeeded in editing an API file created with EOD, simply in replacing the bmp file with a new one.
I tried the same with an API file created with FSDS (oltimedomehangar), to replace the wooden walls (2wood.bmp) by rusty metal (FineCorrVrust.bmp). The modified parts are no more visible!
in the original text:
...
:Part3
Points( 0
-305 0 1 ; 0
-305 229 1 ; 1
-296 229 1 ; 2
-296 0 1 ; 3
-305 0 458 ; 4
-305 229 458 ; 5
-296 229 458 ; 6
-296 0 458 ; 7
-305 0 -454 ; 8
-305 229 -454 ; 9
-296 229 -454 ; 10
-296 0 -454 ; 11
-305 0 2 ; 12
-305 229 2 ; 13
-296 229 2 ; 14
-296 0 2 ; 15
)
;RGBSColor( ef 56 56 56 )
Dwx( 2d ) ; color command
Dbd( 56 ) ; red
Dbx( ef ) ; flag/transparency
Dbd( 56 ) ; green
Dbd( 56 ) ; blue
Poly( 0 0 -32767 -0.76 0 1 2 3 )
Poly( 0 0 32767 457.96 7 6 5 4 )[/COLOR]
; BGL_TEXTURE: tclass=1h color=38EF3838 name=2wood.bmp
Dwx( 0043 0016 0000 0001 ef38 3838 )
Dba(2wood.bmp)
[COLOR="blue"]Dbx( 00 )
TexPoly( -32767 0 0 305.64 5 2 254 1 253 254 0 253 3 4 2 3 )
TexPoly( 32767 0 0 -297.10 2 1 255 6 254 255 7 254 2 3 1 2 )
Poly( 0 32767 0 228.60 5 6 2 1 )
Poly( 0 -32767 0 0.00 0 3 7 4 )
Poly( 0 0 -32767 455.29 8 9 10 11 )
Poly( 0 0 32767 1.91 15 14 13 12 )
TexPoly( -32767 0 0 305.71 13 2 254 9 253 254 8 253 3 12 2 3 )
TexPoly( 32767 0 0 -297.04 10 1 255 14 254 255 15 254 2 11 1 2 )
Poly( 0 32767 0 228.60 13 14 10 9 )
Poly( 0 -32767 0 0.00 8 11 15 12 )
Return
...
By changing all occurences of 2wood.bmp into FineCorrVrust.bmp, the walls are no more visible (the texture file is present in the right directory!)
Thanks for help!!!
Pierrot - FMEP