Repository navigation
Add Linux build support and update .gitignore - #37
Satanas1275 wants to merge 3 commits into
Conversation
linux build was added (thrue proton) git ignore was modified to exclude proton cache
|
Two small things before this goes in:
There are now several overlapping Linux paths open: this PR ( Written with an AI assistant (Claude). |
ErRusso
left a comment
There was a problem hiding this comment.
Reviewed at e36aa70 against 2119b0e.
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.- The
protonvariable is only used for itswinebinary; consider naming it accordingly.
Once the data/cache paths are Windows paths, this should work.
Refactor path conversion to a function and update variable assignments.
|
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
left a comment
There was a problem hiding this comment.
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.
Just added linux build/run support and update gitignore...