Skip to content

v1.3.3: Merge pull request #12 from Trinculo54/fix/shared-world-update

Latest

Choose a tag to compare

@Trinculo54 Trinculo54 released this 01 Nov 04:47
· 3 commits to main since this release
1c64834

Works next to NitroSystem, fixes a crash from hitting telephone poles, and starts on Azimuth 1.0.3. This release comes with FH2 Mod Platform 2.8.0. There's no 1.3.1 or 1.3.2: those were test builds.

Next to NitroSystem (FnFNitro) and other mods. With NitroSystem installed, WreckingBall 1.3.0 switched off the falling telephone poles, the logs from broken trees, debris clean-up and the solid concrete pylons, though the MODS page still showed them On. Both mods use the same bit of the game, and 1.3.0 took NitroSystem's hook there as a sign that the game wasn't the version it was made for. Now both mods run, and fh2-mods\platform.log lists that hook as "shared with NitroSystem, WreckingBall". The same goes for any other mod that hooks the same game code as WreckingBall.

If the platform won't let WreckingBall hook something (because another mod changed that game code without going through the platform, say), only the feature that needs it goes off, and WreckingBall.log says which. The breakable trees, fences and clutter still need all of their hooks: if one of those is refused, WreckingBall changes nothing, and its log says "hooking failed".

Fixed

  • A crash when hitting a telephone pole. It could happen once the last car to break something had gone, such as an AI car that drove out of range, or after a car change. A pole's slowdown now only ever goes to your own car, never an AI car.
  • With "Falling telephone poles" switched off, the big square concrete pylons were left without collision, though the MODS page said they were solid. Now they're solid either way. Broken trees away from the orchards also throw pieces you can see, and loose fences keep their own look.
  • Azimuth 1.0.3. Azimuth 1.0.3 no longer loads d3dcompiler_47.dll, so WreckingBall 1.3.0 never started there: every tree and fence stayed solid, and there was no WreckingBall.log. The zip now has platform 2.8.0 under two names, d3dcompiler_47.dll and DWrite.dll, which are the same file. Azimuth 1.0.3 loads DWrite.dll, older versions d3dcompiler_47.dll, and where both load only one of them runs. Azimuth 1.0.4 (#11) hasn't been tried yet: if you play on it, please say on that issue whether this release starts.
  • Older platforms. If another mod's zip puts back a platform older than 2.2.0, the title screen now says "Old FH2 Mod Platform: reinstall WreckingBall", instead of the mod quietly not starting.

Installing, or updating from 1.3.0

  1. Close Azimuth.
  2. Extract the whole zip into your Azimuth folder (the one with azimuth.exe), over the old files. You should end up with d3dcompiler_47.dll and DWrite.dll next to azimuth.exe, and WreckingBall.dll in fh2-mods.
  3. Keep your fh2-mods\WreckingBall.ini. The zip doesn't have one, so your settings stay as they are, and 1.3.3 adds no new ones.
  • Other FH2 mods: extract this zip after theirs, or again after installing one. Older zips only have d3dcompiler_47.dll, with an older platform. If the title screen says "Old FH2 Mod Platform: reinstall WreckingBall", that's what happened: extract this zip again.
  • Racing wheel (fh2wheel): install fh2wheel first, then extract this zip and let its d3dcompiler_47.dll overwrite fh2wheel's. Keep fh2wheel.dll and fh2wheel-config.exe next to azimuth.exe: the platform loads fh2wheel itself, on Azimuth 1.0.3 too.
  • Linux (Wine or Proton) with Azimuth 1.0.3: if fh2-mods\platform.log never appears, add dwrite to the DLL override: WINEDLLOVERRIDES="winmm,dwrite=n,b".
  • To check it's working: the first line of fh2-mods\WreckingBall.log says "WreckingBall 1.3.3", and a few seconds in it logs "on: trees yes, logs yes, ...".
  • To uninstall, follow the README. DWrite.dll now goes too.

Tested in game on Azimuth 1.0.3, with platform 2.8.0 loaded as DWrite.dll (using a test build of 1.3.3; this release adds platform 2.8.0's header and the older-platform notice):

  • with NitroSystem (FnFNitro 1.5.0): 7 trees and 6 wooden telephone poles broke, and platform.log showed the two mods sharing the hook;
  • without NitroSystem: 4 trees and 3 wooden poles broke;
  • both times every feature was on, the 37 concrete pylons were found, and nothing crashed.

Not yet seen working in game:

  • the pole crash fix itself (a pole hit after a car change, or once an AI car had gone), checked by offline tests only;
  • the falling poles switched off, and a hook being refused, also offline tests only;
  • Storm Island with this release;
  • Azimuth 1.0.1, 0.9.x or 1.0.4, and Wine or Proton, with this release.

Known limitations

  • When a telephone pole falls, its wires stay hanging. The game draws a whole run of wire as one object, so a single span can't be taken down.
  • Only wooden telephone poles fall. Metal, railway and concrete pylons stay solid on purpose.