Weird crash

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
martin105038
First Lance Corporal
First Lance Corporal
Posts: 126
Joined: Wed Jul 15, 2009 2:28 pm
Games I'm Playing :: SWBFII
Location: Argentina

Weird crash

Post by martin105038 »

Hi, I´m making a map and when I try to play it in Battlefront II the game sometimes crashes and I get this message:

Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Graphics\Pc\Shaders\pcTerrainShader2.cpp(293)
TerrainShader_: detail texture expects L8 format!

As I read in the BFront2.log errors explained post, it is caused by RLE compression.

The problem is that I didn't get this message before. It started after adding a hunt mode (I only had conquest mode before) and I haven´t added any new tga since then. When I run it in the BF2modtools, the ground texture disappears (I´m using the default Yavin one). I also tried deleting all the objects in zeroeditor and the msh folder, but it still sometimes crashes.

The weirdest thing of all is that I only have this problem when I play my map first in one mode and then in the other one. When I play my map and then play any other map, there is no problem, not even when I play it two times in the same mode (in this cases the severity 3 message above doesn´t appear). It is only when I play both modes one after the other one that it crashes.

Anyone knows what can be wrong? It isn´t a big deal as both modes work, the only problem is that you can´t play them one after the other one, but I would like to fix it if it is possible.

Thanks
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 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: Australia

Re: Weird crash

Post by lucasfart »

martin105038 wrote: Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Graphics\Pc\Shaders\pcTerrainShader2.cpp(293)
TerrainShader_: detail texture expects L8 format!
Try selecting all your textures in ZE texture mode, and get rid of all the detail textures. I'm not sure if that'll fix it, but its worth a try...

Could you post the full error log?
User avatar
martin105038
First Lance Corporal
First Lance Corporal
Posts: 126
Joined: Wed Jul 15, 2009 2:28 pm
Games I'm Playing :: SWBFII
Location: Argentina

Re: Weird crash

Post by martin105038 »

I tried this, but it didn´t work. I must have done something wrong, but it doesn´t matter. I ended up using the assault mode instead of the hunt mode and it works fine now. Thanks anyway.
Post Reply