PushA_NX/README.md

38 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2017-12-31 18:49:45 +01:00
# PUSH A for Switch
2018-07-22 07:34:45 +02:00
2017-12-31 18:49:45 +01:00
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.
2018-07-22 07:34:45 +02:00
2017-12-31 18:49:45 +01:00
Have fun!
2018-07-22 07:34:45 +02:00
2017-12-31 18:49:45 +01:00
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/).
```
2018-07-22 07:34:45 +02:00
git clone --recursive https://github.com/reswitched/libtransistor.git
2017-12-31 18:49:45 +01:00
cd libtransistor
make
cd ..
```
2018-07-22 07:34:45 +02:00
Setup sdl-libtransistor and export an environment variable pointing to your libtransistor build:
2017-12-31 18:49:45 +01:00
```
2018-07-22 07:34:45 +02:00
export LIBTRANSISTOR_HOME=/opt/libtransistor
git clone https://github.com/reswitched/sdl-libtransistor.git
cd sdl-libtransistor
make -f switch.mk
cd ..
2017-12-31 18:49:45 +01:00
```
2018-07-22 07:34:45 +02:00
Compile with make:
2017-12-31 18:49:45 +01:00
```
2018-07-22 07:34:45 +02:00
make
2017-12-31 18:49:45 +01:00
```
2018-07-22 07:34:45 +02:00
### Running
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).