Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blog:retrogaming [2023/12/02 21:35] – [Redream] johnblog:retrogaming [2023/12/04 19:54] (current) – [Disable swap] john
Line 48: Line 48:
 <code> <code>
 sudo swapoff -a sudo swapoff -a
 +sudo systemctl disable swapfile.swap
 sudo systemctl disable swap.target sudo systemctl disable swap.target
 </code> </code>
Line 99: Line 100:
   - Click 'Add'   - Click 'Add'
   - Name is 'EmulationStation Desktop Edition'   - Name is 'EmulationStation Desktop Edition'
-  - Command is (click 'Browse', then navigate to your 'bin' folder and the 'emulationstation' file, downloaded above)+  - Command is: <code>/home/user/bin/emulationstation</code> 
   - Comment 'Starts ES DE'   - Comment 'Starts ES DE'
  
Line 138: Line 139:
 mkdir .mame/ mkdir .mame/
 cd src/mame cd src/mame
-cp -a artwork ~user/bin/mame-data +cp -a artwork /path/to/your/mame/artwork/directory 
-cp -a bgfx ~user/bin/mame-data+cp -a bgfx /user/bin/mame-data
 </code> </code>
  
Line 157: Line 158:
 rompath /path/to/your/mame/roms/directory rompath /path/to/your/mame/roms/directory
 samples /path/to/your/mame/samples/directory samples /path/to/your/mame/samples/directory
-artwork /home/user/bin/mame-data/artwork+artwork /path/to/your/mame/artwork/directory
 bgfx    /home/user/bin/mame-data/bgfx bgfx    /home/user/bin/mame-data/bgfx
 +skip_gameinfo 1
 video   bgfx video   bgfx
 window  0 window  0
Line 206: Line 208:
 <code> <code>
 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
 </code> </code>
  
-There are optional OpenGL shader effects available, as [[https://mednafen.github.io/documentation/|described in the Mednafen documentation]], but my personal preference is no shaders and just basic scanlines, or it starts to look a little artificial.+There are optional OpenGL shader effects available, as [[https://mednafen.github.io/documentation/|described in the Mednafen documentation]], but my personal preference for the PC-Engine is no shaders and just basic scanlines, or it starts to look a little artificial. On later systems the 'goat' shader can look quite nice.
 ==== Redream ==== ==== Redream ====
  
Line 275: Line 297:
 ===== 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 'quit' option. This means that in 99% of situations, we never even need a keyboard.+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 'quit' option. This means that in 99% of situations, we never even need a keyboard. We've seen that we can remap it directly in Redream, but a lot of emulators just use Escape as the quit key, so if we can get it to replicate that behaviour, then we don't need to remap it in most use cases.
  
-The [[https://github.com/AntiMicroX/antimicrox|AntiMicroX utility]] can map USB controller inputs to arbitrary keyboard codes, so we will use that to turn the central Xbox Guide button to an escape key.+Fortunately the [[https://github.com/AntiMicroX/antimicrox|AntiMicroX utility]] can map USB controller inputs to arbitrary keyboard codes, so we will use that to turn the central Xbox Guide button to an escape key.
  
 First install the requirements to build it: First install the requirements to build it:
Line 303: Line 325:
 Scroll down to the Guide button, click it: Scroll down to the Guide button, click it:
  
-{{:blog:antimicrox-1.jpg?200|}}+{{:blog:antimicrox-1.jpg?300|}}
  
 ... 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:
  
-{{:blog:antimicrox-2.jpg?200|}}+{{:blog:antimicrox-2.jpg?300|}}
  
 Now, select the //Options// menu, click the //Settings// entry, set the  the 'close to tray', 'minimize to taskbar', 'autoload last profile' and 'launch in tray' checkboxes: Now, select the //Options// menu, click the //Settings// entry, set the  the 'close to tray', 'minimize to taskbar', 'autoload last profile' and 'launch in tray' checkboxes:
  
-{{:blog:antimicrox-3.jpg?200|}}+{{:blog:antimicrox-3.jpg?300|}}
  
 Save your profile (I called it 'xpad-settings' in my user home directory) and then add antimicrox to your startup applications list: Save your profile (I called it 'xpad-settings' in my user home directory) and then add antimicrox to your startup applications list:
  
   * Name: Antimicrox   * Name: Antimicrox
-  * Command: /home/user/bin/antimicrox --profile /home/user/xpad-settings.gamecontroller.amgp+  * Command: <code>/home/user/bin/antimicrox --profile /home/user/xpad-settings.gamecontroller.amgp</code>
   * Comment: Game controller keyboard mapping   * Comment: Game controller keyboard mapping
  
  • blog/retrogaming.1701552957.txt.gz
  • Last modified: 2023/12/02 21:35
  • by john