Go to file
2018-02-03 13:36:19 -05:00
draw.c First commit 2017-12-31 18:49:45 +01:00
draw.h First commit 2017-12-31 18:49:45 +01:00
hello.c Fixed the input and score 2017-12-31 19:00:14 +01:00
hello.nro update nro for new hb abi format 2018-02-03 13:36:19 -05:00
input.c Fixed the input and score 2017-12-31 19:00:14 +01:00
input.h First commit 2017-12-31 18:49:45 +01:00
Makefile First commit 2017-12-31 18:49:45 +01:00
README.md Added handheld controls 2017-12-31 18:52:44 +01:00

PUSH A for Switch

Based on: https://github.com/vgmoose/sdl-hello-world

Back to the roots. Back in 2008 I started with writing homebrew on Wii. The first "game" I created was "Push A".
Now, almost 10 years later, I quickly wrote a new version for the Switch.

Have fun!

Huge thanks to vgmoose, based on his examples!.

Compiling

For Switch

Clone and setup libtransistor, for more detail see this post.

git clone --recursive -b graphics-experimental-fs https://github.com/reswitched/libtransistor.git
cd libtransistor
make
cd ..

Then export an environment variable pointing to your libtransistor build, and run make:

export LIBTRANSISTOR_HOME=./libtransistor
make

Running

The below instructions are for 3.0.0, written on 12/30/2017:

Build ace_loader in ./projects/ace_loader of libtransistor, by running make

Copy the built ace.nro into Pegaswitch's nros directory (overwrite the existing one)

Run Pegaswitch on your computer, and set your Switch's DNS server to your computer's.

Once pegaswitch connects, run ace_loader with runnro nros/ace.nro. If this is your first time running Pegaswitch, use evalfile usefulscripts/SetupNew.js first.

If successful, the Switch should be back at the Wifi menu, and frozen. From here:

nc <SWITCHIP> 2991 < hello.nro

Where <SWITCHIP> is the IP of your switch.

See here for more on Pegaswitch, and here on ace_loader.

See this post for more troubleshooting