Skip to content

Instantly share code, notes, and snippets.

@figgyc
figgyc / example.ts
Created December 26, 2020 19:35
BDSX - parse the Login Packet
import * as jwt from 'jsonwebtoken'; // npm i --save jsonwebtoken
class LoginPacket {
protocolVersion: number
chainData: any
clientData: ClientData
extraData: ExtraData
}
enum InputMode {
@figgyc
figgyc / howgdb.md
Created May 20, 2018 17:32
How GDB

How to GDB

Thanks stary and liquidfenrir

  1. Enable debugger in the Rosalina menu
  2. Go to the process list
  3. Select a process (3dsx_app for 3ds homebrew)
  4. Launch arm-none-eabi-gdb <path to elf>
  5. Type the command target remote ip:port (IP and port are in Rosalina)
  • b to set a breakpoint
@figgyc
figgyc / list_noheader.md
Last active October 28, 2019 19:39
DSiWare compatibility list

DSiWare compatiblity list

Skip to EUR or JPN because these lists are long! You can click QR codes to make them bigger.

USA

Name Price 8 Character ID Region(s) QR Code
SUDOKU $1.99 4B344445 USA qrcode
Crazy Train $1.99 4B355545 USA qrcode
G.G Series VECTOR $1.99 4B354F45 USA qrcode
G.G Series SCORE ATTACKER
@figgyc
figgyc / list.md
Last active December 7, 2022 05:02
New DSiWare compatibility list

New DSiWare Compatiblity List

You should be able to use any of these games to inject DSiWarehax, but most people use SUDOKU by EA which is the cheapest price level on the eShop. Skip to EUR or JPN because these lists are long! You can click QR codes to make them bigger.

In addition, the following games that have been pulled from the eShop are known to work:

  • “Fieldrunners”
  • “Legends of Exidia”
  • “Guitar Rock Tour”
  • “The Legend of Zelda: Four Swords” (including Anniversary Edition)
package main
import (
"encoding/hex"
"fmt"
"github.com/JulianDuniec/crc7"
)
func main() {
C:\Users\NZXT\netseedhelper>make clean
clean ...
C:\Users\NZXT\netseedhelper>run
C:\Users\NZXT\netseedhelper>make -j
main.cpp
arm-none-eabi-g++ -MMD -MP -MF /home/NZXT/netseedhelper/build/main.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffunction-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/home/NZXT/netseedhelper/include -I/opt/devkitpro/libctru/include -I/home/NZXT/netseedhelper/external/include -I/home/NZXT/netseedhelper/build -I/home/NZXT/netseedhelper/external/include/curl -DARM11 -D_3DS -O0 -g3 -fno-rtti -fexceptions -std=gnu++11 -c /home/NZXT/netseedhelper/source/main.cpp -o main.o httpc.cpp
arm-none-eabi-g++ -MMD -MP -MF /home/NZXT/netseedhelper/build/httpc.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffunction-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/home/NZXT/netseedhelper/include -I/opt/devkitpro/libctru/include -I/home/NZXT/netseedhelper/external/include -I/home/NZXT/netseedhelper/build -I/home/NZXT/netseedhelper/external/in
#!/usr/bin/env python3
import os
import requests
import os.path
import getpass
import sys
import signal
import time
import re
C:\Users\NZXT\application>make clean
clean ...
C:\Users\NZXT\application>make
http.cpp
arm-none-eabi-g++ -MMD -MP -MF /c/Users/NZXT/application/build/http.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffunction-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/c/Users/NZXT/application/include -I/c/devkitPro/libctru/include -I/c/Users/NZXT/application/external/include -I/c/Users/NZXT/application/build -I/c/Users/NZXT/application/external/include/curl -DARM11 -D_3DS -fno-rtti -fexceptions -std=gnu++11 -c /c/Users/NZXT/application/source/http.cpp -o http.o
httpc.cpp
arm-none-eabi-g++ -MMD -MP -MF /c/Users/NZXT/application/build/httpc.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffunction-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/c/Users/NZXT/application/include -I/c/devkitPro/libctru/include -I/c/Users/NZXT/application/external/include -I/c/Users/NZXT/application/build -I/c/Users/NZXT/application/external/include/curl -DARM11 -D_3DS -fno-rtti -fexce
#---------------------------------------------------------------------------------
.SUFFIXES:
#---------------------------------------------------------------------------------
ifeq ($(strip $(DEVKITARM)),)
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
endif
TOPDIR ?= $(CURDIR)
include $(DEVKITARM)/3ds_rules
linking application.elf
c:/Users/NZXT/application/external/libs\libcurl.a(libcurl_la-connect.o): In function `singleipconnect':
connect.c:(.text.singleipconnect+0xa0): undefined reference to `inet_ntop'
connect.c:(.text.singleipconnect+0x390): undefined reference to `inet_pton'
connect.c:(.text.singleipconnect+0x3c4): undefined reference to `bind'
connect.c:(.text.singleipconnect+0x448): undefined reference to `socket'
connect.c:(.text.singleipconnect+0x46c): undefined reference to `connect'
connect.c:(.text.singleipconnect+0x598): undefined reference to `getsockname'
c:/Users/NZXT/application/external/libs\libcurl.a(libcurl_la-connect.o): In function `Curl_updateconninfo':
connect.c:(.text.Curl_updateconninfo+0x154): undefined reference to `getpeername'