Skip to content

Instantly share code, notes, and snippets.

Updated more detailled guide: https://gist.github.com/ANBAL534/8057b5200ace9bdd98795b627e550ba0
Make steam force Proton 5.0-10 (Needs to be this version, no modern one because modern proton/wine versions have broken dotnet winetricks installs, needed to run the game)
* If at any stage of the steps wine asks you to install mono or gecko, just cancel/press 'no' on the popup and continue.
* If at any stage of the steps a info/warning/error message appears and asks you if you want to get more information in a webpage just cancel/press 'no' on the opoup and continue.
* If you mess up and need to restart the process from the start you have to manually delete the 'pfx' (steam's wine bottle folder) (/path/to/SteamLibrary/steamapps/compatdata/244210/pfx) and restart the process from the very begining.
Execute the game once and let it close
Then:
@JShorthouse
JShorthouse / gba-gcc-compiling-linux.md
Last active August 6, 2024 13:57
Compiling GBA programs on Linux with GCC

Compiling GBA programs on Linux with GCC

There is a strange lack of guides and tools online for compiling Gameboy Advance homebrew programs on Linux. I didn't want to use devkitpro - their installation method of requiring you to use a forked version of pacman is extemely strange and I didn't want to install all of that on my system just to complile some programs.

The only other guides I found for Linux were this one and this one which both involve compiling custom versions of GCC and assosicated libraries. This lead me down a road of pain, after spending multiple hours fixing compiler errors only to create new errors I gave up. I thought that their had to be a simpler way, and there is!

The solution

Debian already has a version of GCC that can compile ARM programs in the repos, no manual compiling necessary! The package is called arm-none-eabi-gcc.

@spicycode
spicycode / tmux.conf
Created September 20, 2011 16:43
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
/**
* Created by IntelliJ IDEA.
* User: Milan Vít (Cellane)
* Date: May 12, 2010
* Time: 2:16:44 PM
*/
import java.text.MessageFormat;
public class MatrixDeterminant {