@@ -76,7 +76,7 @@ def block(source, start, end):
7676 'batman-arkham-city-goty' , 'trails-in-the-sky-1st-chapter' , 'subnautica-2' , 'rdr1-steam' , 'resident-evil-requiem' , 'resident-evil-requiem-demo' ,
7777 'life-is-strange-remastered' , 'life-is-strange-2' , 'project-zomboid' , 'spiderheck' , 'rounds' , 'plateup' ,
7878 'final-fantasy-tactics-ivalice-chronicles' , 'jetboard-joust' , 'dead-as-disco' , 'tung' , 'sekiro-shadows-die-twice' , 'stardew-valley' ,
79- 'glyphica-typing-survival' , 'the-adventures-of-elliot' , 'the-escapists-2' , 'garrys-mod' }
79+ 'glyphica-typing-survival' , 'the-adventures-of-elliot' , 'the-escapists-2' , 'garrys-mod' , 'persona-3-reload' }
8080assert set (presets ) == {'rdr2-steam' , 'rdr2-other' , 'gta5e-steam' , 'gta5e-other' , 'gta5l-steam' , 'gta5l-other' , 'gta4-steam' ,
8181 'ghost-of-tsushima' , 'god-of-war' , 'horizon-zero-dawn' , 'horizon-forbidden-west' , 'ratchet-clank-rift-apart' ,
8282 'crysis-remastered' , 'crysis-2-remastered' , 'crysis-3-remastered' , 'rockstar-launcher' , 'rockstar-launcher-setup' ,
@@ -168,8 +168,8 @@ def block(source, start, end):
168168 if ident in ('dark-souls-remastered' , 'dark-souls-iii' ):
169169 p ['tested' ], p ['fork' ] = [line for line in p ['lines' ][2 :] if not line .startswith ('#' )], []
170170 continue
171- # The Fallout lists are the standard one plus a switch: the games ran with it.
172- if ident in ('standard' , 'fallout-new-vegas' , 'fallout-3' , 'black-ops-1' , 'black-ops-2' , 'borderlands-2' ):
171+ # The Fallout lists are the standard one plus a switch: the games ran with it. Persona 3 Reload's is the list as it ran.
172+ if ident in ('standard' , 'fallout-new-vegas' , 'fallout-3' , 'black-ops-1' , 'black-ops-2' , 'borderlands-2' , 'persona-3-reload' ):
173173 assert not set (FORK_DEFAULTS ) & set (p ['lines' ]), (ident , "the standard list has none of madeira-bcd's defaults" )
174174 p ['tested' ], p ['fork' ] = p ['lines' ][2 :], []
175175 continue
@@ -422,8 +422,8 @@ def settings(lines):
422422assert got ['switches' ] == ('avx: true, nvidia: true, wineVCRT: false, fastSync: true, semaphoreFastPath: false, '
423423 'resolution: "1280x720", display: "fit"' ), got ['switches' ]
424424assert not any (line .startswith (('view-census' , 'typed-view-align' , 'typed-view-shadow' ))
425- for p in presets .values () if p not in (hzd , got , hfw ) for line in p ['lines' ]), \
426- 'the typed-view fix is HZD\' s, GoT\' s and HFW \' s only'
425+ for p in presets .values () if p not in (hzd , got , hfw , presets [ 'persona-3-reload' ] ) for line in p ['lines' ]), \
426+ 'the typed-view fix is HZD\' s, GoT\' s, HFW \' s and Persona 3 Reload \' s only'
427427# Horizon Forbidden West, version 5 (community builds 517-534): AVX and NVIDIA on, frees released at once,
428428# programs from their own image, the swap file and a 3 GB budget with events, the typed-view fix with the
429429# large table, float3 copies (typed-view-rgb32) and MipLevels 0 as the full chain (mip0-full).
@@ -804,7 +804,9 @@ def settings(lines):
804804 "The Escapists 2 by App ID, folder and program")
805805check(id(steam + #"\GarrysMod"#, 4000) == "garrys-mod" && id(steam + #"\GarrysMod\bin\win64\gmod.exe"#) == "garrys-mod"
806806 && id(steam + #"\GarrysMod\hl2.exe"#) == "garrys-mod", "Garry's Mod by App ID, folder and program, both branches")
807- check(R.steamTitles.count == 51 && R.all.count == 77, "51 merged titles, 77 lists")
807+ check(id(steam + #"\P3R"#, 2161700) == "persona-3-reload" && id(steam + #"\P3R\P3R\Binaries\Win64\P3R.exe"#) == "persona-3-reload",
808+ "Persona 3 Reload by App ID, folder and program")
809+ check(R.steamTitles.count == 52 && R.all.count == 78, "52 merged titles, 78 lists")
808810check(id(#"C:\Games\Foo\foo.exe"#) == "none" && id(steam + #"\Portal 2"#, 620) == "none", "other games")
809811check(id("") == "none" && id("C:\\") == "none", "no path")
810812print("PASS: Steam games by App ID or steamapps\\common folder, GTA V Enhanced and RDR2 inside and outside Steam, GoT, GoW, the Horizon games, Rift Apart and the three Crysis Remastered games by their programs, GTA V Legacy outside Steam, the 51 merged Steam titles, others none")
0 commit comments