Fixed CI build and added support for Civ5 build 4390913#98
Open
VeryHarry7 wants to merge 5 commits intoLymia:masterfrom
Open
Fixed CI build and added support for Civ5 build 4390913#98VeryHarry7 wants to merge 5 commits intoLymia:masterfrom
VeryHarry7 wants to merge 5 commits intoLymia:masterfrom
Conversation
The latest Steam release of Civilization V has a new DLL hash. This adds version detection for build 4390913.
- Pin time crate version for simplelog compatibility - Update naked_asm syntax for newer Rust nightly
- Add retry logic for pacman package installation - Pin Rust toolchain to nightly-2024-11-01 - Add sbt installation to native-image build jobs - Fix Windows tarball extraction path
Use Def.taskDyn to conditionally choose between pre-built natives and building from source. This prevents sbt from trying to build natives when pre-built binaries exist in target/native-bin/. The key insight is that sbt extracts ALL .value calls at compile time regardless of if/else branches. By using Def.taskDyn with the check outside the returned Def.task, we properly isolate the dependency on buildDylibDir to only when actually needed.
Get version info from binary layer directly instead of using include for mppatch_version.lua. Civ5's include path resolution doesn't work for hook-injected files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes several build issues and adds support for the latest Steam version of Civilization V. Have been unable to test fully in multiplayer, but the patch now shows as active in game, and the multiplayer menu appears in game as well.
Changes
hook-injected files)