Change snippets usage and fixes

This commit is contained in:
auxbh
2025-05-29 08:14:32 +02:00
parent def11083c7
commit 9ff151cd26
8 changed files with 90 additions and 36 deletions

View File

@@ -69,10 +69,27 @@
## Configuring segatools
!!! tip ""
Since there is no graphical configuration tool for segatools, you will have to edit the
configuration file by hand. It is found in `App\bin\segatools.ini`.
--8<-- "docs/snippets/sega/common/segatools_stubs.md"
=== "[vfs]"
!!! tip ""
If you've been matching the file structure as described in the [Preparing data](#preparing-data)
section, you can fill in this section with the values below:
```ini
[vfs]
amfs=../../amfs
option=../../Option
appdata=../../AppData
```
--8<-- "docs/snippets/sega/common/segatools_vfs.md"
=== "[gfx]"

View File

@@ -63,10 +63,27 @@
## Configuring segatools
!!! tip ""
Since there is no graphical configuration tool for segatools, you will have to edit the
configuration file by hand. It is found in `App\bin\segatools.ini`.
--8<-- "docs/snippets/sega/common/segatools_stubs.md"
=== "[vfs]"
!!! tip ""
If you've been matching the file structure as described in the [Preparing data](#preparing-data)
section, you can fill in this section with the values below:
```ini
[vfs]
amfs=../../amfs
option=../../Option
appdata=../../AppData
```
--8<-- "docs/snippets/sega/common/segatools_vfs.md"
=== "[gfx]"

View File

@@ -71,10 +71,27 @@
## Configuring segatools
!!! tip ""
Since there is no graphical configuration tool for segatools, you will have to edit the
configuration file by hand. It is found in `App\bin\segatools.ini`.
--8<-- "docs/snippets/sega/common/segatools_stubs.md"
=== "[vfs]"
!!! tip ""
If you've been matching the file structure as described in the [Preparing data](#preparing-data)
section, you can fill in this section with the values below:
```ini
[vfs]
amfs=../../amfs
option=../../Option
appdata=../../AppData
```
--8<-- "docs/snippets/sega/common/segatools_vfs.md"
=== "[system]"

View File

@@ -17,7 +17,7 @@
📂package
📄firewall.cfg
📄game.bat
pwGetHwinfo.ini
pwGetHwinfo.exe
📄pxGetHwInfo.ini
📄system_config.json
```
@@ -131,11 +131,28 @@
## Configuring segatools
!!! tip ""
Since there is no graphical configuration tool for segatools, you will have to edit the
configuration file by hand. It is found in `App\Package\segatools.ini`.
--8<-- "docs/snippets/sega/common/segatools_stubs.md"
=== "[vfs]"
--8<-- "docs/snippets/sega/common/segatools_vfs.md"
!!! tip ""
If you've been matching the file structure as described in the [Preparing data](#preparing-data)
section, you can fill in this section with the values below:
```ini
[vfs]
amfs=../../amfs
option=../../Option
appdata=../../AppData
```
--8<-- "docs/snippets/sega/common/segatools_relative_directories.md"
??? tip "AquaMai"
@@ -146,7 +163,7 @@
## Setting launch options
!!! tip ""
Right click `App\package\start.bat`, select `Edit`. Locate the line that launches `sinmai` and edit it according to your preferences:
Right click `App\Package\start.bat`, select `Edit`. Locate the line that launches `sinmai` and edit it according to your preferences:
```bat hl_lines="6"
@echo off

View File

@@ -133,6 +133,18 @@
=== "[vfs]"
!!! tip ""
If you've been matching the file structure as described in the [Preparing data](#preparing-data)
section, you can fill in this section with the values below:
```ini
[vfs]
amfs=../../amfs
option=../../Option
appdata=../../AppData
```
--8<-- "docs/snippets/sega/common/segatools_vfs.md"
??? tip "mu3-mods"

View File

@@ -66,11 +66,16 @@
## Configuring segatools
!!! tip ""
Since there is no graphical configuration tool for segatools, you will have to edit the
configuration file by hand. It is found in `App\bin\segatools.ini`.
--8<-- "docs/snippets/sega/common/segatools_stubs.md"
=== "[vfs]"
!!! tip ""
!!! tip ""
If you've been matching the file structure as described in the [Preparing data](#preparing-data)
section, you can fill in this section with the values below:
@@ -81,21 +86,7 @@
appdata=../../AppData
```
??? info "Relative Directories"
The `../` in the above example represents the parent directory in a relative path. It is used to navigate up one level in the directory hierarchy.
For example, your segatools.ini is located at `/App/bin/segatools.ini` and your Option folder is located next to the App folder.
Since segatools.ini is in the `/bin/` folder, typing `../` would move you up to the App folder. Since the Option folder is next to the App folder, the second `../` takes you to `App`'s parent folder, which is the folder containing `App`, `Option`, etc.
The benefits of using this method include:
- Avoiding issues that arise when folders have spaces in their names.
- Being able to move your game folder without redefining the locations of your VFS folders.
- A cleaner and easier to read segatools.ini, making spotting issues simpler.
--8<-- "docs/snippets/sega/common/segatools_relative_directories.md"
## Connecting to a network

View File

@@ -1,15 +1,3 @@
!!! tip ""
If you've been matching the file structure as described in the [Preparing data](#preparing-data)
section, you can fill in this section with the values below:
```ini
[vfs]
amfs=../../amfs
option=../../Option
appdata=../../AppData
```
??? info "Relative Directories"
The `../` in the above example represents the parent directory in a relative path. It is used to navigate up one level in the directory hierarchy.

View File

@@ -1,8 +1,3 @@
!!! tip ""
Since there is no graphical configuration tool for segatools, you will have to edit the
configuration file by hand. It is found in `App\bin\segatools.ini`.
It is recommended that you follow along using a text editor with syntax highlighting such as [Notepad++](https://notepad-plus-plus.org/).
Each following sub-section will correspond to a section in `segatools.ini`. If any