Special Aircraft Service

Please login or register.

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

Author Topic: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released  (Read 1617 times)

0 Members and 1 Guest are viewing this topic.

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 945
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« on: November 07, 2021, 11:51:57 PM »

Hi

This is a little mod to increase fps for the Opel Blitz columns in BAT 4.2 WAW.

If you use BAT WAW 4.2 on an older not so powerful computer the The Black Death track will freeze when Opel truck get damaged.  :(



More info and background here: https://www.sas1946.com/main/index.php/topic,66776.0.html

This is an old issue that has been around since the CUP days, and there are old fixes but they didn't make any difference when I tried them.

I had excellent frame rate on the The Black Death track when using VP Modpack, so this are the files from VP Modpack "VEHICLES_new_Wflyer" and a edited technics.ini from BAT 4.2.



Please note that this will ONLY work in B.A.T. v4.2, since the edited technics.ini is from BAT 4.2!

This is the result I got in Fraps when running a fps test before and after with Vsync Adaptive:
Frames, Time (ms), Min, Max, Avg
  3770,    145000,   1,  62, 26.000   B.A.T. v4.2 "FLASHPOINT" - WAW
  6735,    145000,  12,  63, 46.448   B.A.T. v4.2 "FLASHPOINT" - WAW  & Opel Blitz Lite

Installation:
Extract to your BATMODS folder and activate with JSGME.

Credits:
Wflyer who created the Opel Blitz vehicles.
vpmedia who created the VP Modpack.
SAS~vampire_pilot who keeps B.A.T. up to date.

Download:
http://vonoben.free.fr/   Il-2 1946 Misc files page

Best regards

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

SAS~tsisqua

  • Tsisqua Tsigawonisgi, but you can call me Bird!
  • member
  • Offline Offline
  • Posts: 461
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #1 on: November 08, 2021, 07:33:15 AM »

Really works, and even though I didn't have "freezing" (more like a "stutter"), this fixed it. What's more, my other tracks are playing somewhat better . . . is that possible, or am I experiencing some of what's been called "placebo" effect?

Thanks, Mate!
Bird
Logged
"When you have to kill a man, it costs nothing to be polite." Winston Churchill

Griffon_301

  • SAS Team
  • member
  • Offline Offline
  • Posts: 2199
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #2 on: November 08, 2021, 08:42:46 AM »

for everyone else, who - like me - is not running 4.2 yet but who wants to try this fix: copy in the file from the download BUT remove the com directory from it as it contains the modified technics.ini based on 4.2;
instead, manually edit the technics.ini in your game and replace the section stating the meshes for the Opel Blitz models with these below (but pay attention, these edits below are only for the meshes, you still need to keep the remaining original entries for the vehicles in their sections:

Code: [Select]
[OpelBlitz36S]
Description    Opel Blitz 36S
Icon           Car

// Models VP Modpack version replaced by vonOben
MeshSummer         3do/Cars/OpelBlitz36S/summer/live.him
MeshSummerDamage   3do/Cars/OpelBlitz36S/summer/dead.sim
MeshWinter         3do/Cars/OpelBlitz36S/winter/live.him
MeshWinterDamage   3do/Cars/OpelBlitz36S/winter/dead.sim
MeshDesert         3do/Cars/OpelBlitz36S/desert/live.him
MeshDesertDamage   3do/Cars/OpelBlitz36S/desert/dead.sim


[OpelBlitz6700A]
Description    Opel Blitz 6700A
Icon           Car

// Models VP Modpack version replaced by vonOben
MeshSummer           3do/Cars/OpelBlitz6700A_summer/live.sim
MeshSummerDamage     3do/Cars/OpelBlitz6700A_summer/dead.sim
MeshWinter           3do/Cars/OpelBlitz6700A_winter/live.sim
MeshWinterDamage     3do/Cars/OpelBlitz6700A_winter/dead.sim
MeshDesert           3do/Cars/OpelBlitz6700A_summer/desert/live.sim
MeshDesertDamage     3do/Cars/OpelBlitz6700A_summer/desert/dead.sim


[OpelBlitz6700A_medic]
Description    Opel Blitz 6700A. Medic modification.
Icon           Car

// Models VP Modpack version replaced by vonOben
MeshSummer           3do/Cars/OpelBlitz6700A_medic_summer/live.sim
MeshSummerDamage     3do/Cars/OpelBlitz6700A_medic_summer/dead.sim
MeshWinter           3do/Cars/OpelBlitz6700A_medic_winter/live.sim
MeshWinterDamage     3do/Cars/OpelBlitz6700A_medic_winter/dead.sim
MeshDesert           3do/Cars/OpelBlitz6700A_medic_summer/desert/live.sim
MeshDesertDamage     3do/Cars/OpelBlitz6700A_medic_summer/desert/dead.sim


[OpelBlitz6700A_radio]
Description    Opel Blitz 6700A. Radio modification.
Icon           Car

// Models VP Modpack version replaced by vonOben
MeshSummer           3do/Cars/OpelBlitz6700A_radio/live.sim
MeshSummerDamage     3do/Cars/OpelBlitz6700A_radio/dead.sim
MeshWinter           3do/Cars/OpelBlitz6700A_radio/winter/live.sim
MeshWinterDamage     3do/Cars/OpelBlitz6700A_radio/winter/dead.sim
MeshDesert           3do/Cars/OpelBlitz6700A_radio/desert/live.sim
MeshDesertDamage     3do/Cars/OpelBlitz6700A_radio/desert/dead.sim


[OpelBlitz6700A_fuel]
Description    Opel Blitz 6700A. Fuel tank.
Icon           Car

// Models VP Modpack version replaced by vonOben
MeshSummer 3do/Cars/OpelBlitz6700A_fuel/live.sim
MeshSummerDamage 3do/Cars/OpelBlitz6700A_fuel/dead.sim
MeshWinter 3do/Cars/OpelBlitz6700A_fuel/winter/live.sim
MeshWinterDamage 3do/Cars/OpelBlitz6700A_fuel/winter/dead.sim
MeshDesert 3do/Cars/OpelBlitz6700A_fuel/desert/live.sim
MeshDesertDamage 3do/Cars/OpelBlitz6700A_fuel/desert/dead.sim

Logged

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 945
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #3 on: November 08, 2021, 09:11:22 AM »

for everyone else, who - like me - is not running 4.2 yet but who wants to try this fix: copy in the file from the download BUT remove the com directory from it as it contains the modified technics.ini based on 4.2;
instead, manually edit the technics.ini in your game and replace the section stating the meshes for the Opel Blitz 36S with this:

Not quite, that is only one of the edits, also the different Opel Blitz 6700A models have been edited.

I've commented all changes so it's easy to find.

Search for this text and you'll find evrything that has been modified:

// Models VP Modpack version replaced by vonOben

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

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 945
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #4 on: November 08, 2021, 09:13:37 AM »

Really works, and even though I didn't have "freezing" (more like a "stutter"), this fixed it. What's more, my other tracks are playing somewhat better . . . is that possible, or am I experiencing some of what's been called "placebo" effect?

Thanks, Mate!
Bird

If there are other tracks or missions with Opel Blitz columns they would also be smoother to play IMHO.
Logged
vonOben's Flight Sim Mods  http://vonoben.free.fr/ Twenty Years online January 3, 2022!

Griffon_301

  • SAS Team
  • member
  • Offline Offline
  • Posts: 2199
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #5 on: November 08, 2021, 09:14:18 AM »

user error: I just checked the first highlighted section in winmerge and did not continue onward, thats why I did not see the other changed sections ....  o_O
Logged

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #6 on: November 08, 2021, 10:07:46 AM »

Great fix, thank you. I have just seen a scene in The Black Death that I have never seen before(must have watched it hundreds of times over the years). Just after the column on the road explodes, I now see a convoy driving across the airfield hard-standing.

Big FPS change on minimum FPS, too:

Fraps 60000ms sample from start of TBD...

No mod:
Frames, Time (ms), Min, Max, Avg
  7899,     60000,  43, 166, 131.650

With Mod:
Frames, Time (ms), Min, Max, Avg
  7973,     60000,  80, 166, 132.883

Cheers!

M

***************Edit***************

I just realised that because I edited my existing technics.ini file rather than add the one here, I also forgot that I did not have the 3DO folder in my BAT mod folder. With the 3DO folder, the results are:

Frames, Time (ms), Min, Max, Avg
  7900,     60000,  49, 166, 131.667

So, I lost most of that advantage!? Interested to see if anyone else can replicate? The Opel Columns still show up fine. Side effects? BAT 4.2



Logged

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 945
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #7 on: November 08, 2021, 10:47:43 PM »

Hi marcost

I tested without the 3DO folder and it works almost, but I get errors in the log file since some 3D parts  seem to be missing.
Most of the needed 3D parts are presumably incorporated in the BAT sfs files.

And my frame rate goes down without the 3D models:
Frames, Time (ms), Min, Max, Avg
3487,    145000,   9,  63, 24.048


Best regards

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

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #8 on: November 09, 2021, 02:09:31 AM »

Thank you vonOben, that's interesting. I will check my logfile as well

Best regards,

Martin
Logged

Vampire_pilot

  • member
  • Offline Offline
  • Posts: 8630
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #9 on: November 18, 2021, 06:38:48 AM »

I think I will integrate this whole fix into BAT with the next update, as apparently it comes with no further downsides.
Since it involves technics.ini editing, I think it's the most convenient approach.
Logged

DESPEREAUX

  • Modder
  • member
  • Offline Offline
  • Posts: 618
Re: B.A.T. v4.2 "FLASHPOINT" - WAW - Opel Blitz FPS fix released
« Reply #10 on: November 19, 2021, 04:23:54 AM »

Great! Thanks vonOben for the fix!
Logged
Pages: [1]   Go Up
 

Page created in 0.052 seconds with 26 queries.