The documentation has been moved to this gist in order to reduce lag.
This file contains 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
--[[ | |
release.luau - A Lune script for publishing Roblox games | |
MPL 2.0 License | |
(c) 2024, Zack Ovits | |
usage: lune run release | |
--]] | |
-- Lune libraries | |
local stdio = require("@lune/stdio") |
This is a mini-tutorial of sorts for getting started with gdb on the Switch, with the target audience being people who want to mod and/or reverse games, with no prerequisite knowledge of gdb. The goal will be to walk you through some of the basic workflows needed to use a debugger on the Switch, while being brief enough for skimming for when you forget things.
If some part is unclear, your OS doesn't have install instructions, or you feel part of your workflow should be added here, feel free to comment any additions.
(If you only need a quick reference Jump to the Appendix)
First off you'll need a version of GDB compatible with aarch64. This can be obtained via either a distribution of
This file contains 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
@define ENDIAN "big" | |
@define T_VARIANT "" | |
@define VERSION_5 "" | |
@define VERSION_5E "" | |
@include "ARM.sinc" | |
# Hacky because we can't define a new token for bits 5-15 since sleigh doesn't | |
# allow adding new fields to the instrArm token | |
ioscallnum: value is c0507 & c0811 & c1212 & c1313 & c1414=0 & c1515=0 |
This file contains 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
Movement: | |
j, k down, up | |
h, l left, right (in some contexts) | |
space page down | |
pg up/down page up/down | |
arrows up, down, left, right |
This file contains 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
REGEDIT4 | |
[HKEY_CURRENT_USER\Control Panel\Desktop] | |
"FontSmoothing"="2" | |
"FontSmoothingType"=dword:00000002 | |
"FontSmoothingGamma"=dword:00000578 | |
"FontSmoothingOrientation"=dword:00000001 |