Skip to content

Instantly share code, notes, and snippets.

How to dump romfs and exefs using GodMode 9
1. Boot up modded 3DS into GodMode9 by holding start. If you have additional custom boot firms, highlihgt GodMode9 and press "A"
2. Select the gamecart as Select "[C:] Gamecart()" and then select the .trim.3ds file, and copy it to the clipboard by clicking "Y"
3. Then, navigate to the SDCARD (NOLABEL)/gm9/out folder and paste in the .trim.3ds file
4. Click on the .trim.3ds file and then go under "NCSD image options..." and then click "Build CIA from file"
5. Once the new CIA file has been created, click on the generated CIA file, then select "CIA image options..." and then select "Mount image to drive"
6. Once the CIA has been mounted, it will ask you to navigate to the drive, select "yes" and then once you're in the drive, open the "0000.00000000" file.
7. Once you're there, copy the romfs folder to the clipboard using "Y" and then navigate back to the gm9/out folder and paste the romfs folder in there
8. If you also want the exefs, repeat again and copy to gm9/out
@evinjaff
evinjaff / Triangle.java
Last active April 20, 2024 22:39
Recursive Sierpinski Triangle in Java
import java.awt.Color;
import sedgewick.StdDraw;
public class Triangles {
public static void triangle(double x, double y, double s, int n){
// X and y are base coordinates, s is size, n is number of recursions
@justincbagley
justincbagley / How_to_Convert_Markdown_to_PDF.md
Last active April 28, 2024 22:28
How To Convert Markdown to PDF

How to convert markdown to PDF:

This post reviews several methods for converting a Markdown (.md) formatted file to PDF, from UNIX or Linux machines.

Using Pandoc:

$ pandoc How_I_got_svg-resizer_working_on_Mac_OSX.md -s -o test1.pdf