Fleshstorm 1 DLL fixes for 1.3.7.2

Moderators: GSH, VSMIT, Commando

Post Reply
jcooke278
Drunken Scav
Posts: 12
Joined: Sat Feb 04, 2017 12:21 am

Fleshstorm 1 DLL fixes for 1.3.7.2

Post by jcooke278 »

Hey everyone,

As mentioned in the other thread http://bzforum.matesfamily.org/viewtopic.php?f=5&t=2491, Mods that used the BZ2 DLL scriptor to make their mission DLLs no longer work under BZ2 1.3.7.0+. It is possible to get them to work again by rewriting them in C++.

Since the Fleshstorm author made the mission scripts publicly available, I have rewritten them in C++. When using these new DLLs, the game no longer crashes when any mission is ended (through success, failure or abort). Except for a few minor fixes, their behaviour should be identical to the old ones, except for the crashing.

FS1 DLL Fixes for 1.3.7.2:
https://www.dropbox.com/s/besvvp1tp10uf ... 1.zip?dl=0

Source Code:
https://github.com/kchow2/fs-dll-fixes-1.3.7.2

EDIT: I rebuilt the DLLs in release mode and updated the link
Last edited by jcooke278 on Tue Jun 27, 2017 7:49 pm, edited 1 time in total.
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Post by Ded10c »

I have a set of rewritten scripts for Fleshstorm that have been floating around my assorted memory sticks and hard drives for nigh on seven years now. When I get around to iy would you be okay with me using your source code to implement them?
battlezone.wikia.com needs your help!
jcooke278
Drunken Scav
Posts: 12
Joined: Sat Feb 04, 2017 12:21 am

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Post by jcooke278 »

Sure.
User avatar
Progressor
Thunderbolt
Posts: 142
Joined: Fri Mar 07, 2014 1:50 pm

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Post by Progressor »

Looks like I am completely stupid. In the first mission, when I arrive with my team including repair transport to the outpost(?) that is located at NNE of the initial location, nothing happens. No enemies, nothing at all. What I am doing wrong?
jcooke278
Drunken Scav
Posts: 12
Joined: Sat Feb 04, 2017 12:21 am

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Post by jcooke278 »

@Progressor: I just tested out the mission and it seemed to work for me.

What's supposed to happen is once the transport reaches the outpost, 1 Striker (L) attacks you, then you get command of the 2 scouts, then 6 more attack, and the transport should start moving back to the main base.

Do you have a savegame I could look at?
User avatar
Progressor
Thunderbolt
Posts: 142
Joined: Fri Mar 07, 2014 1:50 pm

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Post by Progressor »

Posted in PM.
jcooke278
Drunken Scav
Posts: 12
Joined: Sat Feb 04, 2017 12:21 am

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Post by jcooke278 »

@Progressor: Hmm, I can't load your save game.

How did you install FS? The way I did it was:

-fresh install of BZ2 1.3.7.2 (I don't recommend installing it in "C:\Program Files (x86)\")
-fleshstorm.exe
-Fleshstorm1_2patch.zip
-fsaddon13a.7z
-FSAddon13_b2.7z
-FS1_DXTfix.7z
-FS1-dll-fixes-1.3.7.2-v1.0

Also, an easy way to check if my DLLs are installed is to start any mission then immediately abort. If the game crashes, my DLLs are not installed properly.
User avatar
Progressor
Thunderbolt
Posts: 142
Joined: Fri Mar 07, 2014 1:50 pm

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Post by Progressor »

I made these installations again, accurately, with the same result. I am not completely sure if my 1.3.7.2 installation is fresh enough because I have installed several mods over it. Link to the new saved game is in PM.
jcooke278
Drunken Scav
Posts: 12
Joined: Sat Feb 04, 2017 12:21 am

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Post by jcooke278 »

I just tried it on my laptop and you're right. The DLLs don't load at all. I found the problem. I was building in 'debug' mode and not 'release' mode like I should have been, so they only work on my pc.

I rebuilt them in release mode. Just install it on top of your old install, and it should replace all the DLLs. Here's the link:

https://www.dropbox.com/s/besvvp1tp10uf ... 1.zip?dl=0

Apologies for the inconvenience.
Post Reply