Last active
April 22, 2026 12:11
-
-
Save flibitijibibo/f06e3f60eb66e5462da824e490229591 to your computer and use it in GitHub Desktop.
Use this to update a game's FNA installation!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # FNA Update Script | |
| # Written by Ethan "flibitijibibo" Lee | |
| # | |
| # Released under public domain. | |
| # No warranty implied; use at your own risk. | |
| # | |
| # Run this script in the game's executable folder. | |
| # | |
| # This script requires the following programs: | |
| # - git | |
| # - msbuild, which should include a C# compiler | |
| # | |
| # You may want to update MonoKickstart as well! | |
| # https://github.com/flibitijibibo/MonoKickstart/tree/master/precompiled | |
| # Be Smart. Be Safe. | |
| set -e | |
| # Move to script's directory | |
| cd "`dirname "$0"`" | |
| # Grab native libraries | |
| curl -O https://fna.flibitijibibo.com/archive/fnalibs.tar.bz2 | |
| tar xvfj fnalibs.tar.bz2 lib64 | |
| rm fnalibs.tar.bz2 # Wouldn't want to waste disk space, would we... | |
| # Download and build latest FNA | |
| if [ -d "FNA" ]; then | |
| cd FNA | |
| git pull | |
| git submodule update | |
| else | |
| git clone --recursive https://github.com/FNA-XNA/FNA | |
| cd FNA | |
| curl -o FNA.Settings.props https://flibitijibibo.com/Terraria.Settings.props | |
| fi | |
| msbuild /p:Configuration=Release /p:Platform=x86 FNA.sln | |
| cd .. | |
| cp FNA/bin/Release/* . | |
| # We out. | |
| echo Complete! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That FNA update script for Linux gaming brings back memories of struggling to get my favorite games running smoothly on open-source systems, spending hours in terminal windows trying to fix dependency issues, and it's incredible how a simple bash script can automate the process of fetching libraries and building the latest FNA framework. The mechanics of using git, curl, msbuild, and managing native library files show that you don't need to be a Linux expert to keep your game installations up to date and running efficiently. While I was researching a bit more about useful tools to follow news and analysis of sports and digital entertainment, I found that at https://pakistan-mostbet.pk/ you can read a complete summary of how the platform works for sports analysis and interactive games, which seemed like an interesting resource to stay informed about trends in statistics and simulations. In conclusion, whether you are updating FNA libraries for Terraria or exploring digital platforms, having the right tools and following clear instructions can turn a frustrating experience into a smooth, successful one.