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
Copy file name to clipboardExpand all lines: docs/advanced/mgl.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,16 @@ Example MGL files:
40
40
</mistergamedescription>
41
41
```
42
42
43
+
```xml
44
+
<mistergamedescription>
45
+
<rbf>_Console/Gameboy</rbf>
46
+
<setnamesame_dir="1">GBC</setname>
47
+
</mistergamedescription>
48
+
```
49
+
43
50
*`rbf`: Relative path to the core's RBF file from the SD root, excluding its file extension and timestamp.
44
51
*`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
45
53
*`file`: The file to be loaded into the core and its launch arguments.
46
54
*`delay`: Amount of seconds to wait before load/mount.
47
55
*`type`: Either `f` for load file to memory or `s` for mount file.
@@ -51,11 +59,11 @@ Example MGL files:
51
59
*`delay`: Amount of seconds to wait before reset.
52
60
* `hold`
53
61
54
-
The `rbf`and `file` tags must be present.
62
+
The `rbf`tag must be present.
55
63
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.
57
65
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.
59
67
60
68
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).
0 commit comments