Skip to content

Commit 9f4d0b2

Browse files
authored
Merge pull request #51 from MegaBitmap/test-25-10-26
Update to neutrino v1.7.0-30-g607309e
2 parents a633357 + 195b4de commit 9f4d0b2

File tree

14 files changed

+72
-58
lines changed

14 files changed

+72
-58
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Name of loaded config, to show to user
2+
name = "ATA HDD BDM driver - with network support"
3+
4+
# Drivers this driver depends on (config file must exist)
5+
depends = ["i_bdm", "i_dev9_ns"]
6+
7+
# Modules to load
8+
[[module]]
9+
file = "ata_bd.irx"
10+
env = ["LE", "EE"]
11+
12+
# Modules of the game that are faked/blocked
13+
[[fake]]
14+
file = "ATAD.IRX"
15+
name = "atad_driver"
16+
version = 0x0207
17+
loadrv = 0 # 0=ok, -xxx=error code (module not loaded)
18+
startrv = 1 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END

XEBPLUS/APPS/neutrinoLauncher/config/bsd-ata.toml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,9 @@
22
name = "ATA HDD BDM driver"
33

44
# Drivers this driver depends on (config file must exist)
5-
depends = ["i_bdm", "i_dev9_ns"]
5+
depends = ["i_bdm", "i_dev9_hidden"]
66

77
# Modules to load
88
[[module]]
99
file = "ata_bd.irx"
1010
env = ["LE", "EE"]
11-
12-
# Modules of the game that are faked/blocked
13-
[[fake]]
14-
file = "ATAD.IRX"
15-
name = "atad_driver"
16-
version = 0x0207
17-
startrv = 0 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END

XEBPLUS/APPS/neutrinoLauncher/config/bsd-udpbd.toml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,3 @@ depends = ["i_bdm", "i_dev9_hidden"]
99
file = "smap_udpbd.irx"
1010
args = ["ip=192.168.1.10"]
1111
env = ["LE", "EE"]
12-
13-
# Faking strategy
14-
# ---------------
15-
# To prevent games from trying to use networing:
16-
# - we try to simulate that there is no dev9 hardware present:
17-
# - dev9 returns NO_RESIDENT_END, module is hidden
18-
# - all modules depending on dev9 fail to load becouse dev9 is not resident
19-
[[fake]]
20-
file = "ENT_SMAP.IRX"
21-
name = "ent_smap"
22-
version = 0x021f
23-
loadrv = -200 # KE_LINKERR becouse dev9 does not exist
24-
startrv = 1 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END
25-
[[fake]]
26-
file = "SMAP.IRX"
27-
name = "INET_SMAP_driver"
28-
version = 0x0219
29-
loadrv = -200 # KE_LINKERR becouse dev9 does not exist
30-
startrv = 1 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END

XEBPLUS/APPS/neutrinoLauncher/config/bsd-usb-debug.toml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,3 @@ file = "USBD.IRX"
4747
name = "USB_driver"
4848
version = 0x0204
4949
startrv = 2 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END
50-
51-
# Faking strategy
52-
# ---------------
53-
# To prevent games from trying to use networing:
54-
# - we try to simulate that there is no dev9 hardware present:
55-
# - dev9 returns NO_RESIDENT_END, module is hidden
56-
# - all modules depending on dev9 fail to load becouse dev9 is not resident
57-
[[fake]]
58-
file = "ENT_SMAP.IRX"
59-
name = "ent_smap"
60-
version = 0x021f
61-
loadrv = -200 # KE_LINKERR becouse dev9 does not exist
62-
startrv = 1 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END
63-
[[fake]]
64-
file = "SMAP.IRX"
65-
name = "INET_SMAP_driver"
66-
version = 0x0219
67-
loadrv = -200 # KE_LINKERR becouse dev9 does not exist
68-
startrv = 1 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END

XEBPLUS/APPS/neutrinoLauncher/config/compat.toml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ cdvdman.fs_sectors = 8
4747
# Array if 2 integers.
4848
# First is for reboot mode on EELOAD (when starting a new ELF)
4949
# Second is for reboot mode in IOP reset by the game
50+
# Third is an extra compatibility mode
5051
#
5152
# IOP reboot mode on EELOAD:
5253
# 1: Fast mode:
@@ -72,13 +73,17 @@ cdvdman.fs_sectors = 8
7273
# - reboot IOP + neutrino modules
7374
# - reboot IOP + neutrino modules + IOPRP
7475
#
76+
# Compatibility mode
77+
# 0: No
78+
# 1: Ignore duplicate IOP resets
79+
#
7580
# Note that not all combinations make sense. The following do:
76-
#eecore.irm = [1, 1] # Fast mode (1 or 2 IOP reboots)
77-
eecore.irm = [2, 2] # Normal mode (2 IOP reboots)
78-
#eecore.irm = [3, 3] # Compatibility mode 1 (3 IOP reboots)
79-
#eecore.irm = [1, 4] # Compatibility mode 2 (3 or 4 IOP reboots)
80-
#eecore.irm = [2, 4] # Compatibility mode 2 (4 IOP reboots)
81-
#eecore.irm = [3, 4] # Compatibility mode 2 (5 IOP reboots)
81+
#eecore.irm = [1, 1, 0] # Fast mode (1 or 2 IOP reboots)
82+
eecore.irm = [2, 2, 0] # Normal mode (2 IOP reboots)
83+
#eecore.irm = [3, 3, 0] # Compatibility mode 1 (3 IOP reboots)
84+
#eecore.irm = [1, 4, 0] # Compatibility mode 2 (3 or 4 IOP reboots)
85+
#eecore.irm = [2, 4, 0] # Compatibility mode 2 (4 IOP reboots)
86+
#eecore.irm = [3, 4, 0] # Compatibility mode 2 (5 IOP reboots)
8287

8388
# EECORE: module base address
8489
# This is where all IOP modules are stored
@@ -140,10 +145,12 @@ MODE9 = {name = "Compat MODE9: NOP (user configurable)"}
140145
"SLUS_209.77" = {name = "Virtua Quest", eecore.mod_base = 0x01fc7000}
141146
"SLPM_656.32" = {name = "Virtua Fighter Cyber Generation: JSNY", eecore.mod_base = 0x01fc7000}
142147
"SCUS_971.96" = {name = "Twisted Metal Black Online", eecore.mod_base = 0xA7000}
143-
"SLUS_200.77" = {name = "Donald Duck - Goin' Quackers", eecore.irm = [2, 4]}
144-
"SLES_500.48" = {name = "Donald Duck - Quack Attack", eecore.irm = [2, 4]}
148+
"SLUS_200.77" = {name = "Donald Duck - Goin' Quackers", eecore.irm = [2, 4, 0]}
149+
"SLES_500.48" = {name = "Donald Duck - Quack Attack", eecore.irm = [2, 4, 0]}
145150
"SLES_549.45" = {name = "DragonBall Z Budokai Tenkaichi 3", cdvdman.fs_sectors = 64} # Optimization
146-
#"SLUS_202.30" = {name = "Max Payne", default_elf = "cdrom0:\\MAIN.RUN;1"} # for USB on non-DECKARD only! Fix freezing at rockstar logo
151+
"SLUS_202.30" = {name = "Max Payne", eecore.irm = [2, 2, 1]}
152+
"SLES_503.25" = {name = "Max Payne", eecore.irm = [2, 2, 1]}
153+
"SLES_503.26" = {name = "Max Payne", eecore.irm = [2, 2, 1]}
147154

148155
# Workarounds, need to find a better solution
149156
"SLPM_622.48" = {name = "Love - Mahjong!", cdvdman.flags = ["FAST_READ", "SYNC_READ", "SYNC_CB"]}

XEBPLUS/APPS/neutrinoLauncher/config/i_dev9_hidden.toml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,32 @@ name = "DEV9 hidden driver"
66
file = "dev9_hidden.irx" # hidden version to hide from the game
77
env = ["LE", "EE"]
88

9-
# Modules of the game that are faked/blocked
9+
# Faking strategy
10+
# ---------------
11+
# We simulate that there is no dev9 hardware present:
12+
# - dev9 returns NO_RESIDENT_END, module is hidden
13+
# - all modules depending on dev9 fail to load becouse dev9 is not resident
1014
[[fake]]
1115
file = "DEV9.IRX"
1216
name = "dev9"
1317
version = 0x0208
1418
loadrv = 0 # 0=ok, -xxx=error code (module not loaded)
1519
startrv = 1 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END
20+
[[fake]]
21+
file = "ATAD.IRX"
22+
name = "atad_driver"
23+
version = 0x0207
24+
loadrv = -200 # KE_LINKERR becouse dev9 does not exist
25+
startrv = 1 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END
26+
[[fake]]
27+
file = "ENT_SMAP.IRX"
28+
name = "ent_smap"
29+
version = 0x021f
30+
loadrv = -200 # KE_LINKERR becouse dev9 does not exist
31+
startrv = 1 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END
32+
[[fake]]
33+
file = "SMAP.IRX"
34+
name = "INET_SMAP_driver"
35+
version = 0x0219
36+
loadrv = -200 # KE_LINKERR becouse dev9 does not exist
37+
startrv = 1 # 0=RESIDENT_END, 1=NO_RESIDENT_END, 2=REMOVABLE_END

XEBPLUS/APPS/neutrinoLauncher/config/i_dev9_ns.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ name = "DEV9 no-shutdown driver"
66
file = "dev9_ns.irx" # no-shutdown version, to prevent games shutting down the dev9
77
env = ["LE", "EE"]
88

9-
# Modules of the game that are faked/blocked
9+
# Faking strategy
10+
# ---------------
11+
# To allow games to use the hdd or network:
12+
# - dev9 (no-shutdown) is resident, and can be used
1013
[[fake]]
1114
file = "DEV9.IRX"
1215
name = "dev9"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Name of loaded config, to show to user
2+
name = "Patch Max Free Memory 1M"
3+
4+
# These games allocate ALL available IOP memory
5+
# Load patch module that returns a limited amount of free IOP memory
6+
[[module]]
7+
file = "patch_freemem.irx"
8+
args = ["1024"] # 1MiB max free memory
9+
env = ["EE"]
0 Bytes
Binary file not shown.
2.13 KB
Binary file not shown.

0 commit comments

Comments
 (0)