Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: BAT TGA Performance Issue  (Read 2632 times)

0 Members and 1 Guest are viewing this topic.

vonofterdingen

  • Missioneer
  • member
  • Offline Offline
  • Posts: 1305
BAT TGA Performance Issue
« on: April 13, 2018, 03:56:59 PM »

I am working on a campaign in BAT-TGA. Things are fine at mission start, but about thirty seconds into game play the slide-show starts. Admittedly, there are many aircraft, but I have not seen anything like this in WAW.

I am no java programmer, but this error repeats with great frequency:
Code: [Select]
java.lang.NullPointerException
at com.maddox.il2.engine.ActorHMesh.collisionR(ActorHMesh.java:21)
at com.maddox.il2.engine.CollideEnvXY._bulletCollide(CollideEnvXY.java:636)
at com.maddox.il2.engine.CollideEnvXY.bulletCollide(CollideEnvXY.java:741)
at com.maddox.il2.engine.CollideEnvXY.doBulletMoveAndCollision(CollideEnvXY.java:809)
at com.maddox.il2.engine.InterpolateAdapter.msgTimeOut(InterpolateAdapter.java:183)
at com.maddox.rts.MsgTimeOut.invokeListener(MsgTimeOut.java:73)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1191)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Time.loopMessages(Time.java:252)
at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
at com.maddox.il2.game.Main.exec(Main.java:422)
at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)

Complete Log via pastebin:
https://pastebin.com/E2i7KnSe
Logged

vpmedia

  • Modder
  • member
  • Offline Offline
  • Posts: 6652
  • www.vpmedia.hu/il2
    • VPMEDIA SKINS
Re: BAT TGA Performance Issue
« Reply #1 on: April 14, 2018, 01:32:02 AM »

Quote
INTERNAL ERROR: Can't open file '3do/Cars/OpelBlitz6700A_summer/summer/base.mat'
WARNING: object '3do/Cars/OpelBlitz6700A_summer/summer/base.mat' of class 'TMaterial' not loaded
INTERNAL ERROR: Can't open file '3do/Cars/OpelBlitz6700A_summer/OpelBlitzTextures/damage64.tga'
WARNING: object '3do/Cars/OpelBlitz6700A_summer/OpelBlitzTextures/damage64.tga' of class 'TTexture2D' not loaded
INTERNAL ERROR: Texture required
WARNING: object '3do/Cars/OpelBlitz6700A_summer/summer/Damage.mat' of class 'TMaterial' not loaded
INTERNAL ERROR: Material: Can't load 'Damage.mat'
com.maddox.il2.engine.GObjException: Mesh 3do/Cars/OpelBlitz6700A_summer/summer/dead.sim not created
    at com.maddox.il2.engine.Mesh.<init>(Mesh.java:419)
    at com.maddox.il2.engine.ActorMesh.setMesh(ActorMesh.java:72)
    at com.maddox.il2.engine.ActorHMesh.setMesh(ActorHMesh.java:86)
    at com.maddox.il2.objects.vehicles.cars.CarGeneric.setMesh(CarGeneric.java:937)
    at com.maddox.il2.objects.vehicles.cars.CarGeneric.ActivateMesh(CarGeneric.java:832)
    at com.maddox.il2.objects.vehicles.cars.CarGeneric.MakeCrush(CarGeneric.java:862)
    at com.maddox.il2.objects.vehicles.cars.CarGeneric.Die(CarGeneric.java:894)
    at com.maddox.il2.objects.vehicles.cars.CarGeneric.msgShot(CarGeneric.java:763)
    at com.maddox.il2.ai.MsgShot.invokeListener(MsgShot.java:57)
    at com.maddox.rts.Message._send(Message.java:1217)
    at com.maddox.rts.Message.sendToObject(Message.java:1158)
    at com.maddox.rts.Message.sendTo(Message.java:1134)
    at com.maddox.rts.Message.trySend(Message.java:1115)
    at com.maddox.rts.Message.send(Message.java:1079)
    at com.maddox.il2.ai.MsgShot.send(MsgShot.java:46)
    at com.maddox.il2.objects.weapons.Bullet.collided(Bullet.java:152)
    at com.maddox.il2.engine.MsgBulletCollision.invokeListener(MsgBulletCollision.java:39)
    at com.maddox.rts.Message._send(Message.java:1217)
    at com.maddox.rts.Message.sendToObject(Message.java:1191)
    at com.maddox.rts.Message.sendTo(Message.java:1134)
    at com.maddox.rts.Message.trySend(Message.java:1115)
    at com.maddox.rts.Time.loopMessages(Time.java:252)
    at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
    at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
    at com.maddox.il2.game.Main.exec(Main.java:422)
    at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)

Opel Blitz truck has missing files/wrong technics ini entries hence the game engine can not destroy it which results in this fps killing error message loop and usually freezing tracers ingame. You should compare the technics.ini entries of WAW and TGA, maybe thats the only problem.

vonofterdingen

  • Missioneer
  • member
  • Offline Offline
  • Posts: 1305
Re: BAT TGA Performance Issue
« Reply #2 on: April 14, 2018, 09:51:25 AM »

Thank you. I have a lot of those trucks in the mission file as targets. I will check the ini entries.
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog
Re: BAT TGA Performance Issue
« Reply #3 on: April 14, 2018, 06:58:46 PM »

Or .... Not ini problem, but some sfs files containing 3do/ folder are missing and not loaded.

In my BAT v3.3 -- TGA , Opel Blitz 3600 stationary object can be set with 3d visual.


How about getting a new log with conf.ini setting:
Code: [Select]
[Mods]
sfsloglevel=3

It will bring those sfs automount success log
Code: [Select]
[12:45:32 AM] AutoMounting SFS files from folder BAT02 now...
[12:45:32 AM] Trying to AutoMount BAT02\TGA01.SFS... mounted successfully!
[12:45:32 AM] Trying to AutoMount BAT02\TGA02.SFS... mounted successfully!
....
[12:45:32 AM] Trying to AutoMount BAT02\TGA21.SFS... mounted successfully!
[12:45:32 AM] Trying to AutoMount BAT02\TGA22.SFS... mounted successfully!
[12:45:32 AM] AutoMounting SFS files from folder BAT02 finished.
[12:45:32 AM] AutoMounting SFS files from folder BAT00 now...
[12:45:32 AM] Trying to AutoMount BAT00\00sas_maps_01.sfs... mounted successfully!
[12:45:32 AM] Trying to AutoMount BAT00\BAT01.sfs... mounted successfully!
[12:45:32 AM] Trying to AutoMount BAT00\BAT02.sfs... mounted successfully!
....
[12:45:33 AM] Trying to AutoMount BAT00\BAT78.SFS... mounted successfully!
[12:45:33 AM] Trying to AutoMount BAT00\BAT79.SFS... mounted successfully!
....
[12:45:33 AM] Trying to AutoMount BAT00\XUPMOT08.SFS... mounted successfully!
[12:45:33 AM] Trying to AutoMount BAT00\XUPMOT09.SFS... mounted successfully!
[12:45:33 AM] AutoMounting SFS files from folder BAT00 finished.
[12:45:33 AM] AutoMounting SFS files from folder BAT02B now...
[12:45:33 AM] Trying to AutoMount BAT02B\TGA3DO.SFS... mounted successfully!
[12:45:33 AM] Trying to AutoMount BAT02B\TGA3DO2.SFS... mounted successfully!
[12:45:33 AM] Trying to AutoMount BAT02B\TGASOUND.SFS... mounted successfully!
[12:45:33 AM] AutoMounting SFS files from folder BAT02B finished.

and how about #TGA3/ STD/ .rc file ?
Stock sfs file loading is not recorded in the error log.
Logged

vpmedia

  • Modder
  • member
  • Offline Offline
  • Posts: 6652
  • www.vpmedia.hu/il2
    • VPMEDIA SKINS
Re: BAT TGA Performance Issue
« Reply #4 on: April 14, 2018, 10:07:23 PM »

I assumed that the WAW and TGA uses the same sfs files hence the only difference can be in the  ini entries.
I also think that a missing sfs would cause more severe problems with many more vehicles. Not to mention th fact that the problem only occurs when this vehicle gets destroyed which means that not all files are unaccessible just the ones related to damage.

vonofterdingen

  • Missioneer
  • member
  • Offline Offline
  • Posts: 1305
Re: BAT TGA Performance Issue
« Reply #5 on: April 15, 2018, 11:37:04 AM »

I am away from my computer today, but as soon as I get back I will generate logs with the log level setting and post here.
Logged

vonofterdingen

  • Missioneer
  • member
  • Offline Offline
  • Posts: 1305
Re: BAT TGA Performance Issue
« Reply #6 on: April 16, 2018, 03:58:54 PM »

Here is a pastebin log with the additional log setting in the config ini mods section:

https://pastebin.com/2aQVXgiw
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog
Re: BAT TGA Performance Issue
« Reply #7 on: April 16, 2018, 09:08:41 PM »

Loading sfs process looks OK, no trouble.

But not few texture material files cannot be loaded , they are (perhaps) automatically generated in each mission times on the disk for Versatility.
So, such temporary work files writing out maybe disturbed by ..... perhaps Windows UAC under the folder path C:\Program Files (x86)\ or similar system protected place.
Logged

vonofterdingen

  • Missioneer
  • member
  • Offline Offline
  • Posts: 1305
Re: BAT TGA Performance Issue
« Reply #8 on: April 16, 2018, 10:32:14 PM »

No uac issues. The game is in \games\IL-2 BAT. Also I am having no trouble with WAW.
Logged

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 926
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: BAT TGA Performance Issue
« Reply #9 on: May 07, 2018, 04:09:11 AM »

Hi vonofterdingen

Were you able to solve this problem and how did you do it?

Cheers

vonOben
Logged
vonOben's Flight Sim Mods  http://vonoben.free.fr/ Twenty Years online January 3, 2022!

SAS~Gerax

  • SAS Team
  • member
  • Offline Offline
  • Posts: 4766
Re: BAT TGA Performance Issue
« Reply #10 on: May 07, 2018, 08:19:15 AM »

Remember this from a while ago .. so I just did a little search:

https://www.sas1946.com/main/index.php/topic,44975.msg504053.html#msg504053

maybe this helps?

The folder structure in the fix seems a little bit strange to me:
I would cut out the 3do directory with all subfolders,
and move it into a fresh created 00_OpelBlitz_fix directory in WAW3.
 
Logged
i7-13700K, MSI RTX4090, Kingston 64GB, Asus Z790-P, Crucial SSD 1TB, Kingston SSD 4TB;

vonofterdingen

  • Missioneer
  • member
  • Offline Offline
  • Posts: 1305
Re: BAT TGA Performance Issue
« Reply #11 on: May 07, 2018, 10:49:26 AM »

@Gerax. Thank you! I had thought an issue with the Opel truck had occurred before but could not quite remember. I will try this out.

@Von Oben. I found this when creating the Siege of Madrid campaign. My work around was to avoid using the Opel truck at all. I found the hard way that it is included in German Column objects as well as the individual instance.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.034 seconds with 26 queries.