Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blog:retrogaming [2023/12/02 21:19] – [XBox 360 Controller] john | blog:retrogaming [2023/12/04 19:54] (current) – [Disable swap] john | ||
---|---|---|---|
Line 48: | Line 48: | ||
< | < | ||
sudo swapoff -a | sudo swapoff -a | ||
+ | sudo systemctl disable swapfile.swap | ||
sudo systemctl disable swap.target | sudo systemctl disable swap.target | ||
</ | </ | ||
Line 99: | Line 100: | ||
- Click ' | - Click ' | ||
- Name is ' | - Name is ' | ||
- | - Command is (click ' | + | - Command is: < |
- Comment ' | - Comment ' | ||
Line 138: | Line 139: | ||
mkdir .mame/ | mkdir .mame/ | ||
cd src/mame | cd src/mame | ||
- | cp -a artwork | + | cp -a artwork /path/ |
- | cp -a bgfx ~user/ | + | cp -a bgfx /user/ |
</ | </ | ||
Line 157: | Line 158: | ||
rompath / | rompath / | ||
samples / | samples / | ||
- | artwork /home/user/bin/mame-data/artwork | + | artwork /path/to/your/ |
bgfx / | bgfx / | ||
+ | skip_gameinfo 1 | ||
video bgfx | video bgfx | ||
window | window | ||
Line 206: | Line 208: | ||
< | < | ||
video.fs 1 | video.fs 1 | ||
+ | |||
+ | # PC-Engine | ||
pce.scanlines 25 | pce.scanlines 25 | ||
+ | pce.shader none | ||
+ | pce.special nn2x | ||
+ | pce.stretch aspect | ||
+ | |||
+ | # Megadrive | ||
md.scanlines 25 | md.scanlines 25 | ||
+ | md.shader none | ||
+ | md.special nn2x | ||
+ | md.stretch aspect | ||
+ | |||
+ | # SNES | ||
snes.scanlines 25 | snes.scanlines 25 | ||
+ | snes.shader goat | ||
+ | snes.special nn2x | ||
+ | snes.stretch aspect | ||
+ | |||
+ | # Saturn | ||
+ | ss.special none | ||
+ | ss.shader goat | ||
ss.scanlines 25 | ss.scanlines 25 | ||
+ | ss.strech aspect | ||
</ | </ | ||
- | There are optional OpenGL shader effects available, as [[https:// | + | There are optional OpenGL shader effects available, as [[https:// |
==== Redream ==== | ==== Redream ==== | ||
Line 256: | Line 278: | ||
Ensure that your // | Ensure that your // | ||
+ | |||
+ | If you are using a 360 controller and want the Guide button to work as a quit key, then whilst playing Redream: | ||
+ | |||
+ | Press Escape to bring up the Redream menu and select Input from the top menu: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Click on your 360 controller in Port A and move the cursor down to the ' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now press the Guide button (joy8, according to Redream): | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Exit Redream to save the new config. The Guide button on the controller will then quit the game from that point onwards. | ||
===== XBox 360 Controller ===== | ===== XBox 360 Controller ===== | ||
- | The typical Xbox 360 controller works fine out of the box on most Linux systems, but we can make better use of it by mapping the normally unused Guide button to the escape key on the keyboard - which most emulators use as a ' | + | The typical Xbox 360 controller works fine out of the box on most Linux systems, but we can make better use of it by mapping the normally unused Guide button to the escape key on the keyboard - which most emulators use as a ' |
- | The [[https:// | + | Fortunately the [[https:// |
First install the requirements to build it: | First install the requirements to build it: | ||
Line 287: | Line 325: | ||
Scroll down to the Guide button, click it: | Scroll down to the Guide button, click it: | ||
- | {{: | + | {{: |
... and then select the Esc key on the virtual keyboard that pops up: | ... and then select the Esc key on the virtual keyboard that pops up: | ||
- | {{: | + | {{: |
Now, select the //Options// menu, click the // | Now, select the //Options// menu, click the // | ||
- | {{: | + | {{: |
Save your profile (I called it ' | Save your profile (I called it ' | ||
* Name: Antimicrox | * Name: Antimicrox | ||
- | * Command: / | + | * Command: |
* Comment: Game controller keyboard mapping | * Comment: Game controller keyboard mapping | ||