Add Linux build support and update .gitignore #37
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by Satanas1275 on 2026-11-24T20:45:37Z.
Just added linux build/run support and update gitignore...
Imported from fxceless/victory-fork. Originally posted by ericomeehan on 2026-11-24T22:18:56Z.
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).
Imported from fxceless/victory-fork. Originally posted by ErRusso on 2026-11-24T23:44:05Z.
Review: CHANGES_REQUESTED
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.
Imported from fxceless/victory-fork. Originally posted by Satanas1275 on 2026-11-25T07:10:58Z.
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)
Imported from fxceless/victory-fork. Originally posted by ErRusso on 2026-11-25T11:15:19Z.
Review: CHANGES_REQUESTED
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.
Pull request closed