Skip to content

Instantly share code, notes, and snippets.

@flibitijibibo
Last active January 17, 2021 18:49
Show Gist options
  • Save flibitijibibo/3aff839641a0063321cb7d645749ff70 to your computer and use it in GitHub Desktop.
Save flibitijibibo/3aff839641a0063321cb7d645749ff70 to your computer and use it in GitHub Desktop.
Run this to fix weird bitrot in Axiom Verge and also update to FNA3D and stuff
#!/bin/bash
# Axiom Verge FNA Update and Also Work Around A Bunch of Spec Violations Script
# Written by Ethan "flibitijibibo" Lee
#
# Put this in the Axiom Verge directory and run it. Not much to see here.
#
# FNA patch, if anyone wants it:
# https://gist.github.com/flibitijibibo/ffdd7c6fe32b9846a83807dab24be8fd
set -ex
cd "`dirname "$0"`"
rm -f AxiomVerge.exe.config \
AxiomVerge.bin.osx \
AxiomVerge.bin.x86 \
AxiomVerge.bin.x86_64 \
CSteamworks.dll \
libogg.dll \
libvorbis.dll \
libvorbisfile.dll \
MojoShader.dll \
SDL2.dll \
SDL2-2.0.3.bak \
soft_oal.dll \
steam_api.dll \
Steamworks.NET.dll.config
rm -rf lib lib64 CSteamworks.bundle
curl -O flibitijibibo.com/AVSpecFix.tar.bz2
tar xvfj AVSpecFix.tar.bz2
rm AVSpecFix.tar.bz2
#!/bin/bash
# Axiom Verge FNA Update and Also Work Around A Bunch of Spec Violations Script
# Written by Ethan "flibitijibibo" Lee
#
# Put this in the Axiom Verge directory and run it. Not much to see here.
#
# FNA patch, if anyone wants it:
# https://gist.github.com/flibitijibibo/ffdd7c6fe32b9846a83807dab24be8fd
set -ex
cd "`dirname "$0"`"
# Move it all to Resources, per cert...
mv AxiomVerge.app/Contents/MacOS/* AxiomVerge.app/Contents/Resources/
# MacOS folder is totally new now, no script and CSteamworks is a dylib now
cd AxiomVerge.app/Contents/MacOS/
curl -O flibitijibibo.com/AVSpecFixMac1.tar.bz2
tar xvfj AVSpecFixMac1.tar.bz2
rm AVSpecFixMac1.tar.bz2
# Cleaning up all the old cruft...
cd ../Resources/
rm -f AxiomVerge.exe.config \
AxiomVerge \
Axiom\ Verge.bmp \
AxiomVerge.bin.osx \
AxiomVerge.bin.x86 \
AxiomVerge.bin.x86_64 \
CSteamworks.dll \
libogg.dll \
libvorbis.dll \
libvorbisfile.dll \
MojoShader.dll \
SDL2.dll \
SDL2-2.0.3.bak \
soft_oal.dll \
steam_api.dll \
Steamworks.NET.dll.config
rm -rf lib lib64 osx mono CSteamworks.bundle
# New BCL, add MoltenVK ICD
curl -O flibitijibibo.com/AVSpecFixMac2.tar.bz2
tar xvfj AVSpecFixMac2.tar.bz2
rm AVSpecFixMac2.tar.bz2
#!/bin/bash
# Axiom Verge FNA Update and Also Work Around A Bunch of Spec Violations Script
# Written by Ethan "flibitijibibo" Lee
#
# Put this in the Axiom Verge directory and run it. Not much to see here.
#
# FNA patch, if anyone wants it:
# https://gist.github.com/flibitijibibo/ffdd7c6fe32b9846a83807dab24be8fd
set -ex
cd "`dirname "$0"`"
rm -f AxiomVerge.application \
FNA.dll.config \
libCSteamworks.so \
libsteam_api.so \
libogg.dll \
libvorbis.dll \
libvorbisfile.dll \
MojoShader.dll \
MonoGameJoystick.cfg \
SDL2.dll \
soft_oal.dll \
Steamworks.NET.dll.config \
*.bak
rm -rf app.publish CSteamworks.bundle
curl -O flibitijibibo.com/AVSpecFixWin32.tar.bz2
tar xvfj AVSpecFixWin32.tar.bz2
rm AVSpecFixWin32.tar.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment