From 7af143f1d3fe6395d5723815490480e90cf49d4a Mon Sep 17 00:00:00 2001 From: Miepee Date: Mon, 8 Nov 2021 14:32:01 +0100 Subject: [PATCH] dont use symlink, rename instead --- README.md | 15 --------------- data/AM2R.AppDir/usr/bin/runner | 1 - patcher.py | 4 ++-- 3 files changed, 2 insertions(+), 18 deletions(-) delete mode 120000 data/AM2R.AppDir/usr/bin/runner diff --git a/README.md b/README.md index 8405193..b4078e1 100644 --- a/README.md +++ b/README.md @@ -47,21 +47,6 @@ Navigate to the newly created folder. If you have other questions/issues, please open an issue, post to [r/AM2R](https://www.reddit.com/r/AM2R/), or join the [Official AM2R Discord Server](https://discord.gg/YTQnkAJ). -## AppImage crashes -Currently all GPUs have known problems when starting the AppImage. For all of these, please make sure you installed the 32-bit GPU drivers beforehand. - -### NVIDIA -For Nvidia, you need `LD_PRELOAD` pointing to your 32-bit drivers. -For Ubuntu-based distros this looks like this: `LD_PRELOAD=/usr/lib/i386-linux-gnu/libGL.so.1`, for Arch-based distros it looks like this: `LD_PRELOAD=/usr/lib32/libGL.so`. It will likely be different for other distros. - -### AMD -AMD crashes on VM Game Maker: Studio builds. This is true for everything before 1.5 and after 1.5.3 as well as most mods. -You'll need to try each one of these, individually, in order until one works: `R600_DEBUG=mono`, `R600_DEBUG=vs.ps`, `radeonsi_sync_compile=true`, `R600_DEBUG=check_vm`. -We can't immediately tell which is needed for a given AMD card; these are sorted by performance. - -### Intel -Intel crashes on Ubuntu-based distros. `LIBGL_DRI3_DISABLE=1` circumvents it. - ## Android installation instructions You will need an Android device with a file explorer application installed, and a USB cable to connect said device to your computer. diff --git a/data/AM2R.AppDir/usr/bin/runner b/data/AM2R.AppDir/usr/bin/runner deleted file mode 120000 index 77f0133..0000000 --- a/data/AM2R.AppDir/usr/bin/runner +++ /dev/null @@ -1 +0,0 @@ -./AM2R \ No newline at end of file diff --git a/patcher.py b/patcher.py index 036cb0b..f39235b 100644 --- a/patcher.py +++ b/patcher.py @@ -79,7 +79,7 @@ if (type == '1'): print("Linux selected.\nApplying AM2R patch...") # apply AM2R.bps # subprocess.call(['utilities/floating/./flips-linux', '-a', 'data/AM2R.bps', output+'/AM2R.exe', output+'/AM2R']) - subprocess.call(['xdelta3', '-dfs', output+'/AM2R.exe', 'data/AM2R.xdelta', output+'/AM2R']) + subprocess.call(['xdelta3', '-dfs', output+'/AM2R.exe', 'data/AM2R.xdelta', output+'/runner']) print("\nApplying data patch...") # apply game.unx patch @@ -129,7 +129,7 @@ if (type == '1'): rmtree(output+'/lang') #make game executable - subprocess.call(["chmod", "+x", output+"/AM2R"]) + subprocess.call(["chmod", "+x", output+"/runner"]) #create AppImage print("Creating Appimage...")