Skip to content

Commit be5e5ca

Browse files
Align IRX lookup paths with README
1 parent b10ca2a commit be5e5ca

2 files changed

Lines changed: 65 additions & 6 deletions

File tree

README.md

Lines changed: 63 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ These require the matching `*_ENABLE=1` INI key.
202202

203203
Runtime-loaded IRX modules are searched in this order:
204204

205-
1. `mc0:/SYS-CONF/PS2BBL/<IRX>`
206-
2. `mc1:/SYS-CONF/PS2BBL/<IRX>`
205+
1. `mc0:/SYS-CONF/<IRX>`
206+
2. `mc1:/SYS-CONF/<IRX>`
207207
3. `mc?:/SYS-CONF/<IRX>`
208208

209209
---
@@ -217,7 +217,7 @@ MX4SIO_ENABLE=1
217217
MMCE_ENABLE=1
218218
XFROM_ENABLE=1
219219
220-
LOAD_IRX_E1=mc0:/SYS-CONF/PS2BBL/FSCK.IRX
220+
LOAD_IRX_E1=mc0:/SYS-CONF/FSCK.IRX
221221
222222
LK_AUTO_E1=mc0:/BOOT/BOOT.ELF
223223
LK_AUTO_E2=mc0:/BOOT/BOOT2.ELF
@@ -229,7 +229,66 @@ LOGO_DISPLAY=2
229229
```
230230

231231
Required IRX files must exist under:
232-
`mc0:/SYS-CONF/PS2BBL/` (or fallback memory-card paths).
232+
`mc0:/SYS-CONF/` (or fallback memory-card paths).
233+
234+
---
235+
236+
## Additional CONFIG.INI Examples
237+
238+
### Memory-card-only boot (no runtime devices)
239+
240+
```
241+
; Keep the boot fast and deterministic
242+
HDD_ENABLE=0
243+
MX4SIO_ENABLE=0
244+
MMCE_ENABLE=0
245+
XFROM_ENABLE=0
246+
247+
; Simple key bindings
248+
LK_AUTO_E1=mc0:/BOOT/BOOT.ELF
249+
LK_START_E1=mc0:/APPS/ULE.ELF
250+
251+
; Skip branding to reduce boot time
252+
SKIP_PS2LOGO=1
253+
```
254+
255+
### HDD runtime with embedded USB/BDM IRX
256+
257+
```
258+
; Enable HDD after config parsing
259+
HDD_ENABLE=1
260+
261+
; Expect additional drivers to be loaded from memory card
262+
LOAD_IRX_E1=mc0:/SYS-CONF/ATAD.IRX
263+
LOAD_IRX_E2=mc0:/SYS-CONF/DEV9.IRX
264+
265+
; Primary launcher lives on HDD
266+
LK_AUTO_E1=hdd0:__sysconf:pfs:/PS2BBL/BOOT.ELF
267+
268+
; Fallback to memory card if HDD is missing
269+
LK_AUTO_E2=mc0:/BOOT/BOOT.ELF
270+
271+
; Show logo but reduce wait
272+
KEY_READ_WAIT_TIME=2000
273+
LOGO_DISPLAY=1
274+
```
275+
276+
### MX4SIO mass-storage first, memory card rescue second
277+
278+
```
279+
MX4SIO_ENABLE=1
280+
281+
; Preferred launchers on MX4SIO
282+
LK_AUTO_E1=massX:/PS2BBL/LOADER.ELF
283+
LK_AUTO_E2=massX:/RESCUE.ELF
284+
285+
; Rescue path if MX4SIO is absent or fails
286+
LK_AUTO_E3=mc0:/BOOT/BOOT2.ELF
287+
288+
; Keep tray closed and use a longer key-read window
289+
EJECT_TRAY=0
290+
KEY_READ_WAIT_TIME=8000
291+
```
233292

234293
---
235294

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -897,8 +897,8 @@ static int __attribute__((unused)) LocateExternalIRXPath(const char *filename, c
897897
{
898898
size_t i;
899899
static const char *const search_templates[] = {
900-
"mc0:/SYS-CONF/PS2BBL/%s",
901-
"mc1:/SYS-CONF/PS2BBL/%s",
900+
"mc0:/SYS-CONF/%s",
901+
"mc1:/SYS-CONF/%s",
902902
"mc?:/SYS-CONF/%s",
903903
};
904904

0 commit comments

Comments
 (0)