The L8 format error..

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
redgroupclan
High General
High General
Posts: 867
Joined: Thu Jan 24, 2008 11:47 pm
Location: For less cheap gameplay - BF2 v1.1 server "NoEngineersAntiGlitch"

The L8 format error..

Post by redgroupclan »

Message Severity: 3
.\graphics\pc\shaders\pcTerrainShader.cpp(176)
pcTerrainShader: detail texture expects L8 format!

This is what I get when I try to play a map Im making in SPTest. It is said the solution to this is to turn off RLE compression on tga's, but I am using several models from SqueddiesSourcePack and 1 model from JinglinTown assets, and the models are textured using .msh files, and not .tga's, so I cant open them in GIMP to resave them with RLE compression off.

Any solutions?
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: The L8 format error..

Post by ANDEWEGET »

msh files are models not textures, textures are only tgas. maybe the texture has another name, wihout he .msh name in it.
User avatar
redgroupclan
High General
High General
Posts: 867
Joined: Thu Jan 24, 2008 11:47 pm
Location: For less cheap gameplay - BF2 v1.1 server "NoEngineersAntiGlitch"

Re: The L8 format error..

Post by redgroupclan »

Well when I open a files ODF and see the texture for it is #######.msh, I go into the msh folder and I only see a file called #######.msh, no tgas named after the msh. (to edit)
BattleBelk
Private First Class
Posts: 77
Joined: Thu Jun 28, 2007 7:08 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Russia
Contact:

Re: The L8 format error..

Post by BattleBelk »

its couse ODF calls msh (model) and msh calls request tga (texture)

create .option file for your detail texture and write

Code: Select all

-format L8
or just ingnore this message couse its exist on many swbf1 custom maps and seems to be bug of mod tool
User avatar
Laserblast
Second Lance Corporal
Second Lance Corporal
Posts: 105
Joined: Sat Sep 17, 2005 12:25 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: The L8 format error..

Post by Laserblast »

As mentioned above, it is undoubtedly using tgas from other mshes if it has none of its own. You might be able to get away with using notepad.

While the file will be mostly gibberish in notepad, you can do a find search for "tga" and get away with the names of the tgas in that manner. Incidentally, you can also find bone names, some collision boxes, and hardpoints.
Post Reply