mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Documentation update.
This commit is contained in:
parent
b3142edd0a
commit
83af3c7d23
|
@ -58,6 +58,7 @@ Many bugs have been fixed, and numerous features that were only partially implem
|
||||||
* Per-game launch command override, so that different cores or emulators can be used on a per-game basis (saved to gamelist.xml)
|
* Per-game launch command override, so that different cores or emulators can be used on a per-game basis (saved to gamelist.xml)
|
||||||
* The emulator core location can be defined relative to the emulator binary using the %EMUPATH% variable in es_systems.cfg (mostly useful on Windows)
|
* The emulator core location can be defined relative to the emulator binary using the %EMUPATH% variable in es_systems.cfg (mostly useful on Windows)
|
||||||
* Core locations can be searched from a configurable list of directories if defined in the es_systems.cfg file using the %COREPATH% variable (mostly useful on Unix where there are no standardized core directories)
|
* Core locations can be searched from a configurable list of directories if defined in the es_systems.cfg file using the %COREPATH% variable (mostly useful on Unix where there are no standardized core directories)
|
||||||
|
* Clear notifications and logging have been added for missing emulator binaries and cores when attempting to launch games
|
||||||
* Overhaul of the screensaver (the game info overlay now works correctly for instance)
|
* Overhaul of the screensaver (the game info overlay now works correctly for instance)
|
||||||
* Added support for jumping to the start and end of gamelists and menus using the controller trigger buttons (or equivalent keyboard mappings)
|
* Added support for jumping to the start and end of gamelists and menus using the controller trigger buttons (or equivalent keyboard mappings)
|
||||||
* Many additional quality of life improvements and removal of GUI inconsistencies
|
* Many additional quality of life improvements and removal of GUI inconsistencies
|
||||||
|
|
43
INSTALL.md
43
INSTALL.md
|
@ -944,49 +944,48 @@ It's possible to easily create a portable installation of ES-DE for Windows, for
|
||||||
For the sake of this example, let's assume that the removable media has the device name `f:\`.
|
For the sake of this example, let's assume that the removable media has the device name `f:\`.
|
||||||
|
|
||||||
* Copy the EmulationStation-DE installation directory to f:\
|
* Copy the EmulationStation-DE installation directory to f:\
|
||||||
* Create the directory `ES-Home` directly under f:\
|
* Create the directory `ES-DE_Home` directly under f:\
|
||||||
* Copy your game ROMs into `f:\ES-Home\ROMs`
|
* Copy your game ROMs into `f:\ES-DE_Home\ROMs`
|
||||||
* Copy your emulators to f:\ (such as the RetroArch directory)
|
* Copy your emulators to f:\ (such as the RetroArch directory)
|
||||||
* Create the file `start_es.bat` directly under f:\
|
* Create the file `start_es.bat` directly under f:\
|
||||||
|
|
||||||
Add the following lines to the start_es.bat file:
|
Add the following lines to the start_es.bat file:
|
||||||
```
|
```
|
||||||
@echo off
|
@echo off
|
||||||
EmulationStation-DE\EmulationStation.exe --home %CD:~0,3%ES-Home
|
EmulationStation-DE\EmulationStation.exe --home %CD:~0,3%ES-DE_Home
|
||||||
```
|
```
|
||||||
|
|
||||||
The contents of f:\ should now look something like this:
|
The contents of f:\ should now look something like this:
|
||||||
```
|
```
|
||||||
EmulationStation-DE
|
EmulationStation-DE
|
||||||
ES-Home
|
ES-DE_Home
|
||||||
RetroArch
|
RetroArch
|
||||||
start_es.bat
|
start_es.bat
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now run the batch script, ES should start and ask you to configure any attached controllers. Following this, check that everything works as expected, i.e. the gamelists are properly populated etc.
|
Now run the batch script, ES should start and ask you to configure any attached controllers. Following this, check that everything works as expected, i.e. the gamelists are properly populated etc.
|
||||||
|
|
||||||
You can optionally skip the configuration of the controllers by copying any existing es_input.cfg file to f:\ES-Home\\.emulationstation\\`
|
You can optionally skip the configuration of the controllers by copying any existing es_input.cfg file to `f:\ES-DE_Home\.emulationstation\`
|
||||||
|
|
||||||
Exit ES and modify the file `f:\ES-Home\.emulationstation\es_systems.cfg` to point to the emulators on the portable media.
|
Exit ES-DE and modify the file `f:\ES-DE_Home\.emulationstation\es_systems.cfg` to point to the emulators on the portable media.
|
||||||
|
|
||||||
For example, change from this:
|
For example, change from this:
|
||||||
```
|
```
|
||||||
<command>retroarch.exe -L "%EMUPATH%\cores\snes9x_libretro.dll" %ROM%</command>
|
<command>retroarch.exe -L %EMUPATH%\cores\snes9x_libretro.dll %ROM%</command>
|
||||||
```
|
```
|
||||||
|
|
||||||
To this:
|
To this:
|
||||||
```
|
```
|
||||||
<command>%ESPATH%\..\RetroArch\retroarch.exe -L "%EMUPATH%\cores\snes9x_libretro.dll" %ROM%</command>
|
<command>%ESPATH%\..\RetroArch\retroarch.exe -L %EMUPATH%\cores\snes9x_libretro.dll %ROM%</command>
|
||||||
```
|
```
|
||||||
|
|
||||||
The %ESPATH% variable is explained later in this document.
|
The %ESPATH% variable is explained later in this document.
|
||||||
|
|
||||||
Following this, optionally copy any existing gamelists and game media files to the removable media. By default these files should be located here:
|
Following this, optionally copy any existing gamelist.xml and game media files to the removable media. By default these files should be located here:
|
||||||
|
|
||||||
```
|
```
|
||||||
f:\ES-Home\.emulationstation\gamelists\
|
f:\ES-DE_Home\.emulationstation\gamelists\
|
||||||
f:\ES-Home\.emulationstation\downloaded_media\
|
f:\ES-DE_Home\.emulationstation\downloaded_media\
|
||||||
```
|
```
|
||||||
|
|
||||||
You now have a fully functional portable retro gaming installation!
|
You now have a fully functional portable retro gaming installation!
|
||||||
|
@ -1218,8 +1217,8 @@ Below is an overview of the file layout with various examples. For a real system
|
||||||
retroarch -L "~/my configs/retroarch/cores/snes9x_libretro.so" %ROM% -->
|
retroarch -L "~/my configs/retroarch/cores/snes9x_libretro.so" %ROM% -->
|
||||||
<command>retroarch -L ~/.config/retroarch/cores/snes9x_libretro.so %ROM%</command>
|
<command>retroarch -L ~/.config/retroarch/cores/snes9x_libretro.so %ROM%</command>
|
||||||
|
|
||||||
<!-- This example for Unix searches the pre-configured core directories for the snes9x_libretro RetroArch core, see more info about this below.
|
<!-- This example for Unix searches the pre-configured core directories for the snes9x_libretro RetroArch core, see more
|
||||||
Spaces are not allowed in the core file names. -->
|
info about this below. Spaces are not allowed in the core file names. -->
|
||||||
<command>retroarch -L %COREPATH%/snes9x_libretro.so %ROM%</command>
|
<command>retroarch -L %COREPATH%/snes9x_libretro.so %ROM%</command>
|
||||||
|
|
||||||
<!-- This is an example for macOS. It uses the %EMUPATH% variable to point to the RetroArch cores relative to the emulator binary.
|
<!-- This is an example for macOS. It uses the %EMUPATH% variable to point to the RetroArch cores relative to the emulator binary.
|
||||||
|
@ -1228,13 +1227,13 @@ Below is an overview of the file layout with various examples. For a real system
|
||||||
|
|
||||||
<!-- This is an example for Windows. The .exe extension is optional and both forward slashes and backslashes are allowed as
|
<!-- This is an example for Windows. The .exe extension is optional and both forward slashes and backslashes are allowed as
|
||||||
directory separators. As there is no standardized installation directory structure for this operating system, the %EMUPATH%
|
directory separators. As there is no standardized installation directory structure for this operating system, the %EMUPATH%
|
||||||
variable is used here to find the cores relative to the RetroArch binary. The emulator binary must be in the PATH environmental variable
|
variable is used here to find the cores relative to the RetroArch binary. The emulator binary must be in the PATH environmental
|
||||||
or otherwise the complete path to the retroarch.exe file needs to be defined. Batch scripts (.bat) are also supported. -->
|
variable or otherwise the complete path to the retroarch.exe file needs to be defined. Batch scripts (.bat) are also supported. -->
|
||||||
<command>retroarch.exe -L %EMUPATH%\cores\snes9x_libretro.dll %ROM%</command>
|
<command>retroarch.exe -L %EMUPATH%\cores\snes9x_libretro.dll %ROM%</command>
|
||||||
|
|
||||||
<!-- Another example for Windows. As can be seen here, the absolute path to the emulator has been defined, and there are spaces
|
<!-- Another example for Windows. As can be seen here, the absolute path to the emulator has been defined, and there are spaces
|
||||||
in the directory name, so it needs to be surrounded by quotation marks. As well the quotation marks are needed around the core
|
in the directory name, so it needs to be surrounded by quotation marks. Quotation marks around the %EMUPATH% entry are optional
|
||||||
configuration as the %EMUPATH% will expand to the path of the emulator binary, which will of course also include the spaces. -->
|
but in this example they're added. -->
|
||||||
<command>"C:\My Games\RetroArch\retroarch.exe" -L "%EMUPATH%\cores\snes9x_libretro.dll" %ROM%</command>
|
<command>"C:\My Games\RetroArch\retroarch.exe" -L "%EMUPATH%\cores\snes9x_libretro.dll" %ROM%</command>
|
||||||
|
|
||||||
<!-- An example for use in a portable Windows emulator installation, for instance on a USB memory stick. The %ESPATH% variable is
|
<!-- An example for use in a portable Windows emulator installation, for instance on a USB memory stick. The %ESPATH% variable is
|
||||||
|
@ -1268,11 +1267,11 @@ The following variables are expanded for the `command` tag:
|
||||||
|
|
||||||
`%BASENAME%` - Replaced with the "base" name of the path to the selected ROM. For example, a path of `/foo/bar.rom`, this tag would be `bar`. This tag is useful for setting up AdvanceMAME.
|
`%BASENAME%` - Replaced with the "base" name of the path to the selected ROM. For example, a path of `/foo/bar.rom`, this tag would be `bar`. This tag is useful for setting up AdvanceMAME.
|
||||||
|
|
||||||
`%EMUPATH%` - Replaced with the path to the emulator binary. This is expanded either using the PATH environmental variable of the operating system, or if an absolute emulator path is defined, this will be used instead. This variable is mostly useful to define the emulator core path for Windows, as this operating system does not have a standardized program installation directory structure.
|
`%EMUPATH%` - Replaced with the path to the emulator binary. This is expanded using either the PATH environmental variable of the operating system, or using an absolute emulator path if this has been defined.
|
||||||
|
|
||||||
`%ESPATH%` - Replaced with the path to the EmulationStation binary. Mostly useful for portable emulator installations, for example on a USB memory stick.
|
`%ESPATH%` - Replaced with the path to the ES-DE binary. Mostly useful for portable emulator installations, for example on a USB memory stick.
|
||||||
|
|
||||||
`%COREPATH%` - The core file defined after this variable will be searched in each of the directories listed in the setting EmulatorCorePath in es_settings.cfg. This is done until the first match occurs, or until the directories are exhausted and no core file was found. This makes it possible to create a more general es_systems.cfg file but still support the variation between different operating systems and different types of emulator installations (e.g. installed via the OS repository, via Snap, compiled from source etc.). This is primarily intended for Unix as well as for RetroArch but it can also be used on macOS and Windows and for other emulators that utilizes discrete emulator cores. For macOS and Windows the EmulatorCorePath setting is blank by default, and for Unix it's set to the following value: `~/.config/retroarch/cores:~/snap/retroarch/current/.config/retroarch/cores:/usr/lib/x86_64-linux-gnu/libretro:/usr/lib64/libretro:/usr/lib/libretro:/usr/local/lib/libretro:/usr/pkg/lib/libretro`. Note that colons are used to separate the directories on Unix and macOS and that semicolons are used on Windows. This path setting can be changed from within the GUI, as described in the [User guide](USERGUIDE.md#other-settings-1). Never use quotation marks around the directories for this setting. It's strongly adviced to not add spaces to directory names, but if still done, ES-DE will handle this automatically by adding the appropriate quotation marks to the launch command.
|
`%COREPATH%` - The core file defined after this variable will be searched in each of the directories listed in the setting EmulatorCorePath in es_settings.cfg. This is done until the first match occurs, or until the directories are exhausted and no core file was found. This makes it possible to create a more general es_systems.cfg file but still support the variation between different operating systems and different types of emulator installations (e.g. installed via the OS repository, via Snap, compiled from source etc.). This is primarily intended for Unix using RetroArch but it can also be used on macOS and Windows and for other emulators that utilize discrete emulator cores. For macOS and Windows the EmulatorCorePath setting is blank by default, and for Unix it's set to the following value: `~/.config/retroarch/cores:~/snap/retroarch/current/.config/retroarch/cores:/usr/lib/x86_64-linux-gnu/libretro:/usr/lib64/libretro:/usr/lib/libretro:/usr/local/lib/libretro:/usr/pkg/lib/libretro`. Note that colons are used to separate the directories on Unix and macOS and that semicolons are used on Windows. This path setting can be changed from within the GUI, as described in the [User guide](USERGUIDE.md#other-settings-1). Never use quotation marks around the directories for this setting. It's strongly adviced to not add spaces to directory names, but if still done, ES-DE will handle this automatically by adding the appropriate quotation marks to the launch command. You can also use the %EMUPATH% and %ESPATH% variables within the %COREPATH% definition, which leads to quite flexible configuration options.
|
||||||
|
|
||||||
Here are some additional real world examples of system entries, the first one for Unix:
|
Here are some additional real world examples of system entries, the first one for Unix:
|
||||||
|
|
||||||
|
@ -1311,7 +1310,7 @@ And one for Windows:
|
||||||
<fullname>Sega Mega Drive 32X</fullname>
|
<fullname>Sega Mega Drive 32X</fullname>
|
||||||
<path>%ROMPATH%\sega32x</path>
|
<path>%ROMPATH%\sega32x</path>
|
||||||
<extension>.bin .BIN .gen .GEN .smd .SMD .md .MD .32x .32X .cue .CUE .iso .ISO .sms .SMS .68k .68K .7z .7Z .zip .ZIP</extension>
|
<extension>.bin .BIN .gen .GEN .smd .SMD .md .MD .32x .32X .cue .CUE .iso .ISO .sms .SMS .68k .68K .7z .7Z .zip .ZIP</extension>
|
||||||
<command>retroarch.exe -L "%EMUPATH%\cores\picodrive_libretro.dll" %ROM%</command>
|
<command>retroarch.exe -L %EMUPATH%\cores\picodrive_libretro.dll %ROM%</command>
|
||||||
<platform>sega32x</platform>
|
<platform>sega32x</platform>
|
||||||
<theme>sega32x</theme>
|
<theme>sega32x</theme>
|
||||||
</system>
|
</system>
|
||||||
|
|
|
@ -489,10 +489,12 @@ ES-DE is a game browsing frontend and does not provide any emulation by itself.
|
||||||
|
|
||||||
Installation and configuration of RetroArch and other emulators is beyond the scope of this guide, but many good resources can be found online on how to do this.
|
Installation and configuration of RetroArch and other emulators is beyond the scope of this guide, but many good resources can be found online on how to do this.
|
||||||
|
|
||||||
In order to use the default es_systems.cfg file, you need to make sure that the emulator binary directory is in the operating system's path. On Unix systems this is normally not an issue as a package manager has typically been used to install the emulator, and even if compiled from source there is a standardized directory structure which should have you covered. Likewise on macOS, it's assumed that the emulator is installed under the Applications folder so everything should just work. But for Windows you may need to add the emulator directory to your %PATH% variable manually (Tip: open Settings and search for _path_). If on Windows, a simple test is to open a command window and type the name of the emulator and press enter, if the emulator is not found, then EmulationStation won't find it either and you need to update your %PATH% variable.
|
In order to use the default es_systems.cfg file, you need to make sure that the emulator binary directory is in the operating system's path. On Unix systems this is normally not an issue as a package manager has typically been used to install the emulator, and even if compiled from source there is a standardized directory structure which should have you covered. Likewise on macOS, it's assumed that the emulator is installed under the Applications folder so everything should just work. But for Windows you may need to add the emulator directory to your %PATH% variable manually (tip: open Settings from the Start menu and search for _path_).
|
||||||
|
|
||||||
As an alternative, if the emulator is not in your search path, you can either hardcode an absolute path in es_systems.cfg or use the %ESPATH% variable to set the emulator relative to the ES-DE binary location. Again, please refer to [INSTALL.md](INSTALL.md#es_systemscfg) for details regarding this.
|
As an alternative, if the emulator is not in your search path, you can either hardcode an absolute path in es_systems.cfg or use the %ESPATH% variable to set the emulator relative to the ES-DE binary location. Again, please refer to [INSTALL.md](INSTALL.md#es_systemscfg) for details regarding this.
|
||||||
|
|
||||||
|
In any instance, ES-DE will display an error notification if attempting to launch a game where the emulator binary is not found. Likewise it will notify if the defined emulator core is not installed. The es_log.txt file will also provide additional details.
|
||||||
|
|
||||||
|
|
||||||
## Scraping
|
## Scraping
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue