docs: move process, debug.ini and preserve.ini docs to docs/
This commit is contained in:
1 parent
f2230c79a7
commit
14be4646d0
5 files changed
+22
-21
No files matched your search
@@ -21,16 +21,16 @@ Based on [HATS-Installer-Payload](https://github.com/sthetix/HATS-Installer-Payl
|
|||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For detailed information about the installation process, see:
|
For detailed information about the installation process, see:
|
||||||
- **[INSTALLATION_PROCESS.md](INSTALLATION_PROCESS.md)** - Complete step-by-step breakdown of everything checked and done during installation/update
|
- **[docs/INSTALLATION_PROCESS.md](docs/INSTALLATION_PROCESS.md)** - Complete step-by-step breakdown of everything checked and done during installation/update
|
||||||
- **[DEBUG_INI.md](DEBUG_INI.md)** - Optional `sd:/config/omninx/debug.ini` parameters to skip install steps (for testing)
|
- **[docs/DEBUG_INI.md](docs/DEBUG_INI.md)** - Optional `sd:/config/omninx/debug.ini` parameters to skip install steps (for testing)
|
||||||
- **[PRESERVE_INI.md](PRESERVE_INI.md)** - Optional `sd:/config/omninx/preserve.ini` to skip deleting chosen paths in **update** mode
|
- **[docs/PRESERVE_INI.md](docs/PRESERVE_INI.md)** - Optional `sd:/config/omninx/preserve.ini` to skip deleting chosen paths in **update** mode
|
||||||
|
|
||||||
## Installation Modes
|
## Installation Modes
|
||||||
|
|
||||||
### Update Mode (OmniNX Detected)
|
### Update Mode (OmniNX Detected)
|
||||||
- Detected when version marker files (`1.0.0s`, `1.0.0l`, or `1.0.0oc`) are found
|
- Detected when version marker files (`1.0.0s`, `1.0.0l`, or `1.0.0oc`) are found
|
||||||
- Performs selective deletion of specific directories/files
|
- Performs selective deletion of specific directories/files
|
||||||
- Optional **`sd:/config/omninx/preserve.ini`**: user-listed `sd:/…` paths (with `=1`) are excluded from that cleanup (see [PRESERVE_INI.md](PRESERVE_INI.md))
|
- Optional **`sd:/config/omninx/preserve.ini`**: user-listed `sd:/…` paths (with `=1`) are excluded from that cleanup (see [PRESERVE_INI.md](docs/PRESERVE_INI.md))
|
||||||
- Preserves user data, savegames, and installed games
|
- Preserves user data, savegames, and installed games
|
||||||
- Updates only necessary CFW components
|
- Updates only necessary CFW components
|
||||||
|
|
||||||
@@ -114,7 +114,7 @@ Use hekate or another bootloader to launch the payload:
|
|||||||
7. Applies extras (RAM / Hekate-Pro choice) and removes the pack directory
|
7. Applies extras (RAM / Hekate-Pro choice) and removes the pack directory
|
||||||
8. Launches hekate (`sd:/bootloader/update.bin`)
|
8. Launches hekate (`sd:/bootloader/update.bin`)
|
||||||
|
|
||||||
Details: [INSTALLATION_PROCESS.md](INSTALLATION_PROCESS.md). Test runs can write a log via [`debug.ini`](DEBUG_INI.md) (`log=1`).
|
Details: [INSTALLATION_PROCESS.md](docs/INSTALLATION_PROCESS.md). Test runs can write a log via [`debug.ini`](docs/DEBUG_INI.md) (`log=1`).
|
||||||
|
|
||||||
## Variant Support
|
## Variant Support
|
||||||
|
|
||||||
@@ -130,24 +130,25 @@ The payload detects the pack variant from the staging directory presence and det
|
|||||||
|
|
||||||
```
|
```
|
||||||
OmniNX-Installer-Payload/
|
OmniNX-Installer-Payload/
|
||||||
├── source/ # Main source code
|
├── source/ # Payload source
|
||||||
│ ├── main.c # Entry point and main flow
|
│ ├── main.c # Entry point, detection, confirmation, launch
|
||||||
│ ├── version.c # Version/variant detection
|
│ ├── install.c / install.h # Install flow, progress lines, menus, extras, preserve/debug ini
|
||||||
│ ├── version.h
|
│ ├── install_update.c # Update mode: cleanup + move pack files
|
||||||
│ ├── install.c # Installation logic
|
│ ├── install_clean.c # Clean mode: backup, wipe, restore
|
||||||
│ ├── install.h
|
│ ├── deletion_lists_update.h # Paths removed in update mode
|
||||||
│ ├── backup.c # Backup/restore operations
|
│ ├── deletion_lists_clean.h # Paths removed in clean mode
|
||||||
│ ├── backup.h
|
│ ├── backup.c / backup.h # User data + HorizonOC config backup/restore
|
||||||
│ ├── deletion_lists.h # Arrays of paths to delete
|
│ ├── fs.c / fs.h # Delete/move/copy trees, logging
|
||||||
│ ├── fs.c # File system operations
|
│ ├── version.c / version.h # Installation + pack variant detection
|
||||||
│ ├── fs.h
|
│ ├── gfx.c / gfx.h # Console graphics
|
||||||
│ ├── gfx.c # Graphics utilities
|
│ ├── nx_sd.c / nx_sd.h # SD card mount
|
||||||
│ ├── gfx.h
|
│ ├── screenshot.c # Capture button screenshots
|
||||||
│ ├── nx_sd.c # SD card operations
|
|
||||||
│ ├── nx_sd.h
|
|
||||||
│ ├── link.ld # Linker script
|
│ ├── link.ld # Linker script
|
||||||
│ └── start.S # Startup assembly
|
│ └── start.S # Startup assembly
|
||||||
├── bdk/ # Blue Development Kit
|
├── bdk/ # Blue Development Kit
|
||||||
|
├── desktop/ # Windows desktop installer (C#)
|
||||||
|
├── tools/ # Deletion list generator/audit, RAM test payload
|
||||||
|
├── docs/ # Installation process, debug.ini, preserve.ini
|
||||||
├── Makefile # Build configuration
|
├── Makefile # Build configuration
|
||||||
├── VERSION # Version file
|
├── VERSION # Version file
|
||||||
└── README.md # This file
|
└── README.md # This file
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -16,7 +16,7 @@ typedef enum {
|
|||||||
// If a sub-menu aborts to Hekate / update.bin (does not return if launch succeeds)
|
// If a sub-menu aborts to Hekate / update.bin (does not return if launch succeeds)
|
||||||
void installer_launch_hekate_payload(void);
|
void installer_launch_hekate_payload(void);
|
||||||
|
|
||||||
// Main installation function (optional debug: see DEBUG_INI.md in repo root)
|
// Main installation function (optional debug: see docs/DEBUG_INI.md)
|
||||||
int perform_installation(omninx_variant_t pack_variant, install_mode_t mode);
|
int perform_installation(omninx_variant_t pack_variant, install_mode_t mode);
|
||||||
|
|
||||||
// Update mode operations (install_update.c)
|
// Update mode operations (install_update.c)
|
||||||
|
|||||||
Reference in new issue
Block a user