Skip to content

Commit 36ceafd

Browse files
authored
Merge pull request #53 from Count-Duckula-AU/patch-7
Add setname same_dir="1"
2 parents f189271 + e099e2e commit 36ceafd

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/advanced/mgl.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,16 @@ Example MGL files:
4040
</mistergamedescription>
4141
```
4242

43+
```xml
44+
<mistergamedescription>
45+
<rbf>_Console/Gameboy</rbf>
46+
<setname same_dir="1">GBC</setname>
47+
</mistergamedescription>
48+
```
49+
4350
* `rbf`: Relative path to the core's RBF file from the SD root, excluding its file extension and timestamp.
4451
* `setname`: Sets a core's name to this value, changing its games folder and config file.
52+
* `setname same_dir="1"`: Sets a core's name to this value, changing its config file while keeping the core's original games folder
4553
* `file`: The file to be loaded into the core and its launch arguments.
4654
* `delay`: Amount of seconds to wait before load/mount.
4755
* `type`: Either `f` for load file to memory or `s` for mount file.
@@ -51,11 +59,11 @@ Example MGL files:
5159
* `delay`: Amount of seconds to wait before reset.
5260
* `hold`
5361

54-
The `rbf` and `file` tags must be present.
62+
The `rbf` tag must be present.
5563

56-
The `file` tag can be used more than once in an MGL. Useful for cores that have multiple file slots.
64+
The `file` tag is optional. It can be used more than once in an MGL. Useful for cores that have multiple file slots.
5765

58-
The `setname` tag is optional. It will make a core temporarily point to a different games folder and config file. Useful for cores which play multiple systems, or often need to toggle between different configurations.
66+
The `setname` tag is optional. It will make a core temporarily point to a different games folder and config file. Useful for cores which play multiple systems, or often need to toggle between different configurations. `setname same_dir="1"` will make a core temporarily point to a different config file while still using the core's original games folder. Useful if you wish to load games from the core's normal games folder while having custom configuration.
5967

6068
The `type` and `index` attributes depend on what values were configured by the core's developer. See below for [how to check those](#finding-mgl-arguments).
6169

0 commit comments

Comments
 (0)