Skip to content

Instantly share code, notes, and snippets.

View gnmmarechal's full-sized avatar

Mário Alexandre Lopes Liberato gnmmarechal

View GitHub Profile
@kitlith
kitlith / 1-ntrcardhax.md
Last active August 1, 2020 19:22
Collection of Information about ntrcardhax

NTRCARDhax

This is in progress, and is by no means finished, fork and comment with a link to your changes and I'll update here. Information on the 3DS side should be about done. I still have questions, though, which would be nice to know the answers to.
My thoughts on implementing the gamecard side of things can be found here.

ARM9hax

ARM9 code uses REG_NTRCARDMCNT, at physical address 0x1016400 as a reference. ARM9 triggers reading by writing 4 bytes to 4 bytes after this address, REG_NTRCARDROMCNT. This is located at 0x10164004.

@myrkvi
myrkvi / mco.bat
Created January 26, 2013 13:40
An offline launcher for Minecraft written in Batch.
@echo off
IF "%1" == "-jar" goto file_not_exists ::If the argument -jar is added, you can set a new minecraft.jar.
IF EXIST "%APPDATA%\jar" goto file_exists
IF NOT EXIST "%APPDATA%\jar" goto file_not_exists
:file_exists ::If a previous config is found, it will just ask for the username.
set /p JAR=<"%APPDATA%\jar"
set /p uname="Username: "
java -Xincgc -Xmx1024m -cp "%APPDATA%\.minecraft\bin\%JAR%;%APPDATA%\.minecraft\bin\lwjgl.jar;%APPDATA%\.minecraft\bin\lwjgl_util.jar;%APPDATA%\.minecraft\bin\jinput.jar" -Djava.library.path="%APPDATA%\.minecraft\bin\natives" net.minecraft.client.Minecraft "%uname%"