Repository navigation
Releases: Trinculo54/fh2-mod-platform
Release list
v2.7.3: Merge pull request #16 from Trinculo54/media-overrides
Platform 2.7.3: mount mediaoverride when Extra Options isn't loaded
v2.7.2: Merge pull request #15 from Trinculo54/fix/db-keep-other-mods
Build on other mods' game databases instead of replacing them (2.7.2)
FH2 Mod Platform v2.7.1
A fix for everyone, and FH2 mods on Linux (Wine and Proton).
For players
Installed mods opens a mod on the first press of A. On a fresh start, pressing A on Installed mods straight away played the sound but left the list showing, until you pressed B and A again. It now opens the mod's settings first time.
Mods' database changes work on Linux. The platform used Windows' own SQLite (winsqlite3.dll) to change the game database, and Wine and Proton don't have it, so on Linux those changes were skipped. SQLite is now built in. d3dcompiler_47.dll is about 0.7 MB bigger for it.
No more 20-second wait on Linux without the Extra Options override. Without WINEDLLOVERRIDES="winmm=n,b", Wine uses its own winmm.dll, and the platform mistook it for Extra Options. It waited 20 seconds before mods could hook the game, and the About page said Extra Options was installed. The platform now checks for Extra Options' own export, and when Wine isn't using it, platform.log says so and names the override.
A Linux guide. docs/linux.md covers the override, what's known about each mod, and troubleshooting.
For mod makers
No API changes: still API 8, and mods built for 2.7.0 work as they are. If your mod reads a SQLite file itself, build SQLite in rather than loading winsqlite3.dll, or it won't work for Linux players (docs/api.md).
Install
Put d3dcompiler_47.dll next to azimuth.exe, replacing the one there. Every mod built on the platform ships this file, so it's fine to overwrite an older one.
Full changelog: v2.7.0...v2.7.1
v2.7.0: Merge pull request #12 from Trinculo54/pages
Platform 2.7.0: pages of your own (API 8)
v2.6.1: Merge pull request #11 from Trinculo54/fh2wheel
2.6.1: load fh2wheel.dll, so racing wheels work alongside platform mods
v2.6.0: Merge pull request #10 from Trinculo54/precise-hooks
Platform 2.6.0: byte patches and instruction hooks (API 7)
v2.5.0: Merge pull request #9 from Trinculo54/link-rows
Link rows (API 6): a row that opens a web page
v2.4.1: Merge pull request #7 from Trinculo54/code-ready
Fixed a known crash where it loads mods before the code actually exists. Surprisingly rare failure but still needed to be fixed
v2.4.0: Merge pull request #6 from Trinculo54/sliders
Sliders on the Mods page (API 5, 2.4.0)
v2.3.0: Merge pull request #5 from Trinculo54/in-game-settings
In-game settings: a Mods page in the game's own menus (API 4, 2.3.0)