Special Aircraft Service

Please login or register.

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

Author Topic: IL2 Campaign Validation Sript v0.2  (Read 14566 times)

0 Members and 1 Guest are viewing this topic.

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 926
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: IL2 Campaign Validation Sript v0.2
« Reply #24 on: September 15, 2015, 05:15:49 AM »

Dear vonOben,
it doesn't help me to just give me the same instructions as Andqui.
When I use the link you recommend I get 127 millions of answers. It is a litlle bit to many for me. I don't want to change something on my computer that I don't understand and without being sure that I can go the reverse way.
Best regards.

Ok, I thought it was a very clear instruction....

When you install Python 3.4.3 there is an option during the installation where you can check "add Python to path", or something similar.

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

tartenmuche

  • Supporter
  • member
  • Offline Offline
  • Posts: 393
Re: IL2 Campaign Validation Sript v0.2
« Reply #25 on: September 17, 2015, 09:16:42 AM »

Thank you Zoran395, it works.
Logged
Intel Core Duo E8400 3GHz, Nvidia GeForce GTX 750 Ti, 2x2 gb DDR2 1066 mHZ

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 926
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: IL2 Campaign Validation Sript v0.2
« Reply #26 on: September 18, 2015, 04:58:01 AM »


I've tested it but I get this error:

Traceback <most recent call last>:
File "Main.py", line 58, in <<module>
stationaries [lineData[1] = lineData[0]
IndexError: list index out of range

Any ideas why?

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

tartenmuche

  • Supporter
  • member
  • Offline Offline
  • Posts: 393
Re: IL2 Campaign Validation Sript v0.2
« Reply #27 on: January 01, 2016, 06:52:10 AM »

Dear Andqui,
I used your script on a campaign named " Nightfighter1941" because I experienced a very low 9 fps. I got two results:
1) an object ###stationary vehicles.stationary.CandC$FireUnit was missing, I checked in the folder stationary.ini and this object was actually missing, I tried to add it by hand but without succes. So I changed FireUnit into NavUnit and got a 30fps.
2) surprisingly weapons for some planes were also given as missing though present in the STD weapons file, but without reducing the fps.
Any idea?
Best regards and happy new year.
Logged
Intel Core Duo E8400 3GHz, Nvidia GeForce GTX 750 Ti, 2x2 gb DDR2 1066 mHZ

tartenmuche

  • Supporter
  • member
  • Offline Offline
  • Posts: 393
Re: IL2 Campaign Validation Sript v0.2
« Reply #28 on: January 04, 2016, 08:48:23 AM »

Dear Andqui,
 as written above  I could improve the fps of a campaign with the help of your script.
Since I meet low fps also in single missions I would like to use it for single.
I tried in vain.
Could you please tell me the way?
Best regards.
Logged
Intel Core Duo E8400 3GHz, Nvidia GeForce GTX 750 Ti, 2x2 gb DDR2 1066 mHZ

andqui

  • Modder
  • member
  • Offline Offline
  • Posts: 141
Re: IL2 Campaign Validation Sript v0.2
« Reply #29 on: February 21, 2016, 10:39:53 PM »

Dear Andqui,
I used your script on a campaign named " Nightfighter1941" because I experienced a very low 9 fps. I got two results:
1) an object ###stationary vehicles.stationary.CandC$FireUnit was missing, I checked in the folder stationary.ini and this object was actually missing, I tried to add it by hand but without succes. So I changed FireUnit into NavUnit and got a 30fps.
2) surprisingly weapons for some planes were also given as missing though present in the STD weapons file, but without reducing the fps.
Any idea?
Best regards and happy new year.

.........................................

Dear Andqui,
 as written above  I could improve the fps of a campaign with the help of your script.
Since I meet low fps also in single missions I would like to use it for single.
I tried in vain.
Could you please tell me the way?
Best regards.

There can be some false positives with the weapons names. Check in the mission builder to make sure those weapons work and are present, if so, don't worry about the false positive.

As for the second question, you could either:
1) Trick it by making a fake campaign using the single missions, or copy over and add the single missions into an existing campaign, and they will be scanned.
or
2) You can try editing the code. Relevant part is down at the bottom, where I've commented "###Read missions." If you have no coding experience or don't know python it's probably easier just to do option 1 and trick the script.
Logged

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 926
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: IL2 Campaign Validation Sript v0.2
« Reply #30 on: March 04, 2016, 11:55:43 PM »


I've tested it but I get this error:

Traceback <most recent call last>:
File "Main.py", line 58, in <<module>
stationaries [lineData[1] = lineData[0]
IndexError: list index out of range


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

andqui

  • Modder
  • member
  • Offline Offline
  • Posts: 141
Re: IL2 Campaign Validation Sript v0.2
« Reply #31 on: March 08, 2016, 03:04:42 PM »


I've tested it but I get this error:

Traceback <most recent call last>:
File "Main.py", line 58, in <<module>
stationaries [lineData[1] = lineData[0]
IndexError: list index out of range


Any ideas please?

What type of IL2 install is this? The error is happening while reading stationaries.ini, trying to read a line that's supposed to be a comment or something like that. The way it works, it reads the object if the line isn't whitespace and doesn't start with "[" or "//", so it's possible there's some format I missed.

If you add

print(line)

right above line 58 in the script, it will print out the line that's causing the trouble.
Logged

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 926
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: IL2 Campaign Validation Sript v0.2
« Reply #32 on: March 20, 2016, 12:01:22 PM »

It's a DBW 1.71 installation.

I added the line as advised and it was these text lines that caused the error:

Code: [Select]
# ADDED BY |ZUTI|
#-----------------------------------------------------------
//[SpawnPlaceholder]
//Spawnplaceholder  vehicles.planes.Plane$Spawnplaceholder  0
#-----------------------------------------------------------

When I removed this text the script worked fine!

Is it possible to make the script also ignore rows starting with #?
Logged
vonOben's Flight Sim Mods  http://vonoben.free.fr/ Twenty Years online January 3, 2022!

Sharkzz

  • member
  • Offline Offline
  • Posts: 440
Re: IL2 Campaign Validation Sript v0.2
« Reply #33 on: May 05, 2016, 03:43:56 AM »

this is going to be fantastic when the bugz are done
Logged
New Right Arm Amputee, One armed flyer and Longboard surfer, I now swim and paddle in circles .

andqui

  • Modder
  • member
  • Offline Offline
  • Posts: 141
Re: IL2 Campaign Validation Sript v0.2
« Reply #34 on: December 22, 2020, 01:52:14 AM »

New version here:
https://www.sas1946.com/main/index.php/topic,65584.0.html

5 years late, I know.
Logged
Pages: 1 2 [3]   Go Up
 

Page created in 0.048 seconds with 25 queries.