Special Aircraft Service

Please login or register.

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

Author Topic: missing Sailor1o_dis.mat file errors - AI/Torpedo Ship Extention MOD fix  (Read 3559 times)

0 Members and 1 Guest are viewing this topic.

decipher

  • Missioneer
  • member
  • Offline Offline
  • Posts: 297

here's a "mysterious" thing i noticed while working on fresh new missions with CUP. whenever a ship gets damaged a specific error message / warning will pop up in the logfiles.
it will NOT crash the game, it just shows that there seems to be something missing, but i can't find any reference to this file called

Sailor1o_dis.mat

Code: [Select]
INTERNAL ERROR: Can't open file '3do/Ships/USSEnterpriseCV6_42/Sailor1o_dis.mat'
WARNING: object '3do/Ships/USSEnterpriseCV6_42/Sailor1o_dis.mat' of class 'TMaterial' not loaded
INTERNAL ERROR: Material: Can't load 'Sailor1o_dis.mat'
java.lang.RuntimeException: INTERNAL ERROR: Material: Can't load 'Sailor1o_dis.mat'

Code: [Select]
at com.maddox.il2.engine.HierMesh.MaterialReplace(Native Method)
at com.maddox.il2.engine.HierMesh.materialReplace(HierMesh.java:480)
at com.maddox.il2.objects.ships.BigshipGeneric.disappearSailorsMats(BigshipGeneric.java:2679)
at com.maddox.il2.objects.ships.BigshipGeneric.access$6900(BigshipGeneric.java:35)
at com.maddox.il2.objects.ships.BigshipGeneric$Move.tick(BigshipGeneric.java:1274)
at com.maddox.il2.engine.Interpolators.tick(Interpolators.java:222)
at com.maddox.il2.engine.Actor.interpolateTick(Actor.java:434)
at com.maddox.il2.engine.InterpolateAdapter.msgTimeOut(InterpolateAdapter.java:174)
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:449)
at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
INTERNAL ERROR: Can't open file '3do/Ships/TroopTrans0/Sailor1o_dis.mat'
WARNING: object '3do/Ships/TroopTrans0/Sailor1o_dis.mat' of class 'TMaterial' not loaded
INTERNAL ERROR: Material: Can't load 'Sailor1o_dis.mat'
java.lang.RuntimeException: INTERNAL ERROR: Material: Can't load 'Sailor1o_dis.mat'

as you can see its from different ships, only happens when they are getting damaged.

this file is not included in any ship mods i found (i downloaded several seperate mods from here and m4t to hunt this file down but no luck). maybe it was part of an additional mod for some kind of ship effects or crews?

since it doesn't crash the game and only happens in this special rare case it is not really that important, but i just am curious if that file even exists or whats going on there i don't understand!  ;)

s!
Logged

decipher

  • Missioneer
  • member
  • Offline Offline
  • Posts: 297
Re: - Ships - missing file?
« Reply #1 on: March 21, 2015, 08:50:18 PM »

since i saw that at least someone else noticed this problem, i tried to investigate further.

i took the EnterpriseCV6_42 and made a mission where it gets attacked by several bombers. as soon as it gets heavily damaged, the error starts appearing, not once, but on an endless loop, thus slowing down the whole game (you won't notice this until you either use time compression or you have a mission with more than 4-5 ships in it).

Code: [Select]
INTERNAL ERROR: Can't open file '3do/Ships/USSEnterpriseCV6_42/Sailor1o_dis.mat'
WARNING: object '3do/Ships/USSEnterpriseCV6_42/Sailor1o_dis.mat' of class 'TMaterial' not loaded
INTERNAL ERROR: Material: Can't load 'Sailor1o_dis.mat'
java.lang.RuntimeException: INTERNAL ERROR: Material: Can't load 'Sailor1o_dis.mat'

now i made a temporary mod folder, took a copy of the file "Sailor1o.mat", renamed it to "Sailor1o_dis.mat" and created the proper directory structure:

Code: [Select]
G:\IL-2 Sturmovik 1946 Modact 5.3\#WAW\mysteryshipfile\3do\Ships\USSEnterpriseCV6_42
long story short: there was a second error now appearing, trying to find a file called "Sailor2p_dis.mat". same procedure, took a copy of the EXISTING file "Sailor2p.mat" renamed to "Sailor2p_dis.mat", put it in my test folder.

played the mission, no more file errors, until the ship sank, which will now result in the following error:

Code: [Select]
java.lang.NullPointerException
at com.maddox.il2.objects.ships.BigshipGeneric.Die(BigshipGeneric.java:2364)
at com.maddox.il2.objects.ships.BigshipGeneric.InjurePart(BigshipGeneric.java:2250)
at com.maddox.il2.objects.ships.BigshipGeneric.msgExplosion(BigshipGeneric.java:1867)
at com.maddox.il2.ai.MsgExplosion.invokeListener(MsgExplosion.java:77)
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:1091)
at com.maddox.il2.ai.MsgExplosion.send(MsgExplosion.java:45)
at com.maddox.il2.objects.weapons.Bomb.doExplosion(Bomb.java:399)
at com.maddox.il2.objects.weapons.Bomb.doExplosion(Bomb.java:345)
at com.maddox.il2.objects.weapons.Bomb.msgCollision(Bomb.java:221)
at com.maddox.il2.engine.MsgCollision.invokeListener(MsgCollision.java:72)
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.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:449)
at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)

also worth noticing, when the ship is sinking, the AA guns on the ship keep on firing on endless loop, even when it goes underwater.

also this seems to happen to many  (if not all) ships, which all want those "Sailor1o_dis.mat" + "Sailor2p_dis.mat" files in their respective folders.

while this won't crash the game, it definetely slows down the simulator and is a problem.

i have no idea if this is a result from a combination of mods within CUP, or if Monty missed a file, or an entry in one of the ini files, or if this is a general problem with ships in il-2 1946 or maybe from an effects mod... i tried to google for this problem, but can't find anything relevant.
Logged

decipher

  • Missioneer
  • member
  • Offline Offline
  • Posts: 297
Re: the mystery of the Sailor1o_dis.mat file?
« Reply #2 on: March 21, 2015, 11:05:44 PM »

apparently this file is related to the conf.ini option of "3DGunners="

since i was bored i played around more with this and found out that these errors about the "sailor1o_dis.mat" disappear when you turn off the 3DGunners option in the conf.ini (setting it to 0), which disables... well as you can guess... the little 3d Models of the Sailors manning the AA guns on Ships.

what still happens is this error message, when a ship is supposed to explode or sink (i am not sure if this happens to all ships, i just tested some of the american carriers - which seem to be from some mods)

Code: [Select]
java.lang.NullPointerException
at com.maddox.il2.objects.ships.BigshipGeneric.Die(BigshipGeneric.java:2364)
at com.maddox.il2.objects.ships.BigshipGeneric.InjurePart(BigshipGeneric.java:2250)
at com.maddox.il2.objects.ships.BigshipGeneric.msgExplosion(BigshipGeneric.java:1901)
at com.maddox.il2.ai.MsgExplosion.invokeListener(MsgExplosion.java:77)
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:1091)
at com.maddox.il2.ai.MsgExplosion.send(MsgExplosion.java:45)
at com.maddox.il2.objects.weapons.Bomb.doExplosion(Bomb.java:399)
at com.maddox.il2.objects.weapons.Bomb.doExplosion(Bomb.java:345)
at com.maddox.il2.objects.weapons.Bomb.msgCollision(Bomb.java:221)
at com.maddox.il2.engine.MsgCollision.invokeListener(MsgCollision.java:72)
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.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:449)
at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
Logged

western0221

  • Modder
  • member
  • Offline Offline
  • Posts: 6790
  • Live in Japan
    • IL-2 itaki blog
Re: Sailor1o_dis.mat file errors related to 3DGunners option
« Reply #3 on: March 21, 2015, 11:33:15 PM »

AI/Torpedo Ship Extention MOD
How is 2.20.1 patch ?

https://www.sas1946.com/main/index.php/topic,39077.msg494819.html#msg494819
Logged

decipher

  • Missioneer
  • member
  • Offline Offline
  • Posts: 297
Re: Sailor1o_dis.mat file errors related to 3DGunners option
« Reply #4 on: March 21, 2015, 11:47:58 PM »

AI/Torpedo Ship Extention MOD
How is 2.20.1 patch ?

https://www.sas1946.com/main/index.php/topic,39077.msg494819.html#msg494819

!!! so THIS is the mod that uses the Sailor1o_dis.mat file! thank you for finally solving this mystery. ha.

it seems that this mod was included in CUP but Monty missed some files in the installation and it is not working 100% correct.

thankyou! i have to dig into this mod now and check whats going on!

edit: installing the updated mod properly into the #WaW folder (with the optional torpedo modifications) fixes the missing sailor1o.dis.mat and endless gun firing errors.

when a ship is destroyed i still get the bigshipgeneric explosion error, this might be from another mod, no idea.

Logged

Griffon_301

  • SAS Team
  • member
  • Online Online
  • Posts: 2199

Decipher dir you get this properly installed?
I tried but with it ships like the iowa did not show up
any more in missions..also the Cvl carriers disappeared but as they are not in default cup i do not claim this here as problem :)
Logged

decipher

  • Missioneer
  • member
  • Offline Offline
  • Posts: 297

i installed the full ai/torpedo Ship Extension mod ontop of CUP in the #waw folder, including all the edits in the Ship.ini and it seems to work for me. i just tried the battleships, created a FMB mission, they showed up fine i think




one of the japanese battleships has a problem in CUP that i didn't report, just fixed for myself but this seems to work. hmm. i don't have any additional ships installed that were not part of CUP already.

s!
Logged

decipher

  • Missioneer
  • member
  • Offline Offline
  • Posts: 297

also the Cvl carriers disappeared but as they are not in default cup i do not claim this here as problem :)

did you mean carriers like the CVL Belleau Wood? they are in my CUP lists and work

Logged
Pages: [1]   Go Up
 

Page created in 0.039 seconds with 27 queries.