diff --git a/README.md b/README.md index d51469d..fc9c048 100644 --- a/README.md +++ b/README.md @@ -1,48 +1,37 @@ # 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](https://reswitchedweekly.github.io/Development-Setup/). ``` -git clone --recursive -b graphics-experimental-fs https://github.com/reswitched/libtransistor.git +git clone --recursive https://github.com/reswitched/libtransistor.git cd libtransistor make cd .. ``` -Then export an environment variable pointing to your libtransistor build, and run `make`: +Setup sdl-libtransistor and export an environment variable pointing to your libtransistor build: +``` +export LIBTRANSISTOR_HOME=/opt/libtransistor +git clone https://github.com/reswitched/sdl-libtransistor.git +cd sdl-libtransistor +make -f switch.mk +cd .. +``` + +Compile with 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](https://github.com/reswitched/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 2991 < hello.nro -``` - -Where `` is the IP of your switch. - -See [here](https://github.com/reswitched/pegaswitch#usage) for more on Pegaswitch, and [here](https://github.com/reswitched/libtransistor) on ace_loader. - -[See this post](https://reswitchedweekly.github.io/Development-Setup/) for more troubleshooting +See [these instructions](https://gbatemp.net/threads/switch-hacking-101-how-to-launch-the-homebrew-menu-on-all-fw.504012/) on how to use Fusee Gelee to run this homebrew on most Switches as of this time of writing (22/07/2018).