Page 1 of 1

Fleshstorm 1 DLL fixes for 1.3.7.2

Posted: Tue Jun 13, 2017 1:25 am
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

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Posted: Tue Jun 13, 2017 3:18 pm
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?

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Posted: Tue Jun 13, 2017 7:21 pm
by jcooke278
Sure.

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Posted: Sun Jun 25, 2017 1:55 pm
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?

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Posted: Sun Jun 25, 2017 9:57 pm
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?

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Posted: Mon Jun 26, 2017 1:57 pm
by Progressor
Posted in PM.

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Posted: Mon Jun 26, 2017 8:25 pm
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.

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Posted: Tue Jun 27, 2017 11:10 am
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.

Re: Fleshstorm 1 DLL fixes for 1.3.7.2

Posted: Tue Jun 27, 2017 7:44 pm
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.