Mord3rca / gamma-launcher

Just another Launcher to setup S.T.A.L.K.E.R.: G.A.M.M.A.
GNU General Public License v3.0
84 stars 13 forks source link

fatal: Could not reset index file to revision 'HEAD'.' #154

Closed googl267 closed 1 month ago

googl267 commented 1 month ago

System: CPU - Intel® Core™ i5-8500 CPU @ 3.00GHz Mem - 15.5 GiB of RAM GPU - AMD Radeon RX 6800 Kernal - 6.10.12-200.fc40.x86_64 (64-bit) OS - Fedora 40

I tried at first with the release binary which kept erroring when pulling from git, however I believe that was a system package problem since I'm on Fedora. I then built from git in venv and ran full-install which worked perfectly until:

(basically every asset in the game)...
error: unable to write file modpack_patches/bin/reshade-shaders/Textures/pd80_neutral-lut.png
error: unable to write file modpack_patches/bin/reshade-shaders/Textures/pd80_permtexture.png
error: unable to write file modpack_patches/bin/reshade-shaders/Textures/ssdonoise.png
error: unable to write file modpack_patches/bin/reshade-shaders/Textures/waow.png
error: unable to write file modpack_patches/bin/soft_oal.dll
error: unable to write file modpack_patches/bin/soft_oal.dll.back
Updating files: 100% (6757/6757), done.
fatal: Could not reset index file to revision 'HEAD'.'

I tried both with cached files and letting gamma-launcher pull things and both came to the same error

check-anomaly runs normally check-md5 fails

Mord3rca commented 1 month ago

Hey ! Can you check if you have enough free space on /tmp ? ( df -h /tmp )

googl267 commented 1 month ago

I have 8gb on tmp with only 1% used using btrfs

Mord3rca commented 1 month ago

gamma_setup.git requires 8.9 Gb :/

$ mkdir /tmp/test-checkout; git worktree add /tmp/test-checkout Grokitach/main; du -hd0 /tmp/test-checkout
Preparing worktree (detached HEAD cb58077)
Updating files: 100% (6757/6757), done.
HEAD is now at cb58077 2.7Gb client Part3
8.9G    /tmp/test-checkout
Mord3rca commented 1 month ago

This repo is only used for gamma-setup command, so you can use: TMPDIR=/path/to/a/larger/fs gamma-launcher gamma-setup --gamma /path/to/gamma

And then resume your previous full-install

googl267 commented 1 month ago

Gamma setup perfectly after changing temp thanks!