Add Linux build support and update .gitignore #37
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!37
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-37"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Satanas1275 on GitHub · 2026-11-24 20:45 UTC · original
Satanas1275:main→main· +56 −0 · 2 files · 4 commits · openJust added linux build/run support and update gitignore...
@ericomeehan on GitHub · 2026-11-24 22:18 UTC · original
Two small things before this goes in:
VICTORY_GAME_DIRinrun_game.shis a folder named after the title and its version, which puts the name back into the tree, which4e17478just removed everywhere. RequiringVICTORY_GAME_DIR(exit with a message when it's unset) avoids the name and also avoids guessing someone's folder layout./usr/share/steam/compatibilitytools.d/proton-cachyos-slr). Most installs won't have it, so the script fails with a less obvious error than "set PROTON".There are now several overlapping Linux paths open: this PR (
run_game.shat the root), #64 (scripts/*-linux.shplus umu, Nix and a CI cross-compile job), #128 (building and testing the host-independent crates on Linux), and the Wine fixes in #20, #28 and #127. It may be worth settling on one launch script before merging any of them.Written with an AI assistant (Claude).
@Satanas1275 on GitHub · 2026-11-25 07:10 UTC · original
Okay i've modified what's you want me to modify, I can't test right now but i will test if it run today at 7:00pm UTC+1 (basicely when I'm back from work)
@ErRusso on GitHub · 2026-11-24 23:44 UTC · original · requested changes
Reviewed at
e36aa70against2119b0e.The script is a useful minimal runner, but it has a path bug:
VICTORY_GAME_DIRand the title path are converted withwinepath -w, butVICTORY_DATA_DIRandVICTORY_CACHE_DIRare exported as Unix paths ($(dirname "$here")/victory-data).victory.exeis a Windows process and will not interpret those as the intended directories; convert them withwinepath -wtoo (or useZ:\...), after creating them.exewis not checked; ifwinepathfails, the script execs with an empty title path.protonvariable is only used for itswinebinary; consider naming it accordingly.Once the data/cache paths are Windows paths, this should work.
@ErRusso on GitHub · 2026-11-25 11:15 UTC · original · requested changes
Reviewed at
06fb604. Two of my items are fixed:VICTORY_DATA_DIR/VICTORY_CACHE_DIRare created and converted withwinepathbefore export.exewis checked and the script exits ifwinepathfails.Two defaults from @ericomeehan's review are still in the script and are blocking:
game=${VICTORY_GAME_DIR:-"$here/../GTA6.Xbox.v1.0.2.1"}still names the title in the tree. RequireVICTORY_GAME_DIRand exit with the variable name when it is unset.proton_dir=${PROTON:-/usr/share/steam/compatibilitytools.d/proton-cachyos-slr}assumes one distribution's layout. RequirePROTON, or search the standardcompatibilitytools.dlocations and fail with a clear message when neither finds a Proton.There are also several overlapping Linux launchers in flight (#64, #128, #179, this one); the maintainers should settle on one before this lands. Please make the two changes above and report the run you planned.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.