You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -133,46 +133,46 @@ Even though the R36S is using a standard SDL, there are a few specifics that you
133
133
2. All the input controls are mapped as joystick buttons and axes. You can read the state of the joystick by the standard SDL2 joystick functions. In order to use the joystick you need to open it as follows in C:
134
134
135
135
```c
136
-
// Initialize SDL before everything else, so other SDL libraries can be safely initialized
@@ -224,7 +224,7 @@ It is possible to setup EmulationStation to support our native games. This is do
224
224
*`/etc/emulationstation/es_systems.cfg` - This file contains a list of our "emulators". We will add a new system "native" to this file.
225
225
*`/etc/emulationstation/themes/es-theme-nes-box/` - Contains themes for the various emulators. We want to add a theme for our "native" system. If you are using another theme, you will want to modify the destination.
226
226
227
-
To simplify this, enter the `scripts` sub directery of this repository and run the script `install-native-emulator.sh` as follows:
227
+
To simplify this, enter the `scripts` sub directery of this repository and run the script `install-native-emulator.py` as follows:
228
228
229
229
```
230
230
cd ~/git/r36-programming/scripts
@@ -245,6 +245,12 @@ And if you enter it, you will see the c++ sdl program listed as a "game".
245
245
246
246
The "native" theme images were created by me and are free to use and copy.
247
247
248
+
## Installing files in native roms directory
249
+
250
+
To install additional programs in native, you need to copy them to your roms directory, either `/roms/native` or `/roms2/native`. In addition, you must give it the extension `.exec`. On Linux, the extension of a binary doesn't have any meaning, as the properties are determined inside the file through the first few bytes of the file, also known as a "magic number". However, EmulationStation needs an adentifier for its "Roms", and I chose the `.exec` extension.
251
+
252
+
EmulationStation will pick up your binaries next time you restart it. Either by rebooting the system, or by Option→Quit→Restart Emulation System.
253
+
248
254
# Final thoughts
249
255
250
256
First of all, this repository, and this article is work in progress. I hope to expand it as time allows.
0 commit comments