EE FPU question GT4
#1
Playing GT4 and changed the clamp mode to get times and such to show up. I still had to finish the last two license tests, so I turned it back to normal, yet the game still warned me that the EE FPU clamp mode wasn't set to normal, even though I just set it back to it. Licenses are borked and freeze now, and even setting things to default didn't fix it. What am I doing wrong for it to not go back to normal?
Reply

Sponsored links

#2
Please post the contents of the emulog.txt file after the problem occurs. The file can be found in "My Documents\PCSX2\logs" for the installer version or in "PCSX2\logs" for the portable/binary version.

Please make sure to enclose your emulog in code tags like so (remove the empty space on the closing code tag!):
[code]
Pasted emulog goes here
[ /code]
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
Reply
#3
There are special cheat patches from the user kozarovv that you can use. Leave the settings at default and add the following cheat patches to the .pnach file for the game (i will copy it out for you):

Quote:Fix text in race without need to touch pcsx2 FPU clamping settings (different settings, break different things).
This correctly hide "Ready to drive" text when needed, correctly show time differences, etc. when Clamping is set to default.
Probably need some more testing just in case. This code hook game loader, so you can't use old save state, better load game from memory card at least first time.

Old patch system:
Code:
// Hook loader
patch=1,EE,E0022cc4,extended,0101E84E
patch=1,EE,2101e840,extended,0803ff00
patch=1,EE,2101e844,extended,240f0008

// Clamp nan to flt_max 
patch=1,EE,000ffc00,double,3739ffff3c197fff
patch=1,EE,000ffc08,double,24187f7f8ca30000
patch=1,EE,000ffc10,double,a4b8000250790001
patch=1,EE,000ffc18,double,540ffffa25efffff
patch=1,EE,000ffc20,double,24a5ffe424a50004
patch=1,EE,000ffc28,double,08407a1278a30000
patch=1,EE,000ffc30,double,0000000024c6ffe0

New patch system:
Code:
[Hook loader]
patch=1,EE,E0022cc4,extended,0101E84E
patch=1,EE,2101e840,extended,0803ff00
patch=1,EE,2101e844,extended,240f0008

[Clamp nan to flt_max]
patch=1,EE,000ffc00,double,3739ffff3c197fff
patch=1,EE,000ffc08,double,24187f7f8ca30000
patch=1,EE,000ffc10,double,a4b8000250790001
patch=1,EE,000ffc18,double,540ffffa25efffff
patch=1,EE,000ffc20,double,24a5ffe424a50004
patch=1,EE,000ffc28,double,08407a1278a30000
patch=1,EE,000ffc30,double,0000000024c6ffe0

Of course, this is only a temporary solution. Smile
Reply
#4
(10-22-2023, 08:03 AM)jesalvein Wrote: Please post the contents of the emulog.txt file after the problem occurs. The file can be found in "My Documents\PCSX2\logs" for the installer version or in "PCSX2\logs" for the portable/binary version.

Please make sure to enclose your emulog in code tags like so (remove the empty space on the closing code tag!):
Code:
Pasted emulog goes here
[ /code][/quote]
[code]
[    0.0149] Couldn't find translation for system language en-US, using en instead
[    0.0152] Loaded translation file for language en
[    0.0158] PCSX2 Nightly - v1.7.5144 Compiled on Oct 21 2023
[    0.0158] Savestate version: 0x9a480000
[    0.0158]
[    0.0159] Host Machine Init:
[    0.0159] Operating System =  Microsoft Windows 10+
[    0.0159] Physical RAM    =  15776 MB
[    0.0159] CPU name        =  AMD Ryzen 9 5900HS with Radeon Graphics       
[    0.0159] Vendor/Model    =  AuthenticAMD (stepping 00)
[    0.0159] Logical Cores    =  16
[    0.0159] x86PType        =  Standard OEM
[    0.0159] x86Flags        =  178bfbff 7ed8320b
[    0.0159] x86EFlags        =  2fd3fbff
[    0.0159]
[    0.0159] x86 Features Detected:
[    0.0159] AVX AVX2
[    0.0159]
[    0.1911] SDLInputSource: Loaded 791 controller mappings from game_controller_db.txt.
[    0.2911] Scanning D:\Emulation\Games (recursively)
[    0.2956] (SDLInputSource) Controller 0 inserted
[    0.2959] (SDLInputSource) Opened game controller 0 (instance id 0, player id 0): XInput Controller
[    0.2959] (SDLInputSource) Rumble is supported on 'XInput Controller' via gamecontroller
[    1.0511] Current version: v1.7.5144
[    1.0511] Latest SHA: v1.7.5144
[    1.0511] Last Checked SHA: v1.7.5143
[    1.0511] No update needed.
[    3.7914] Loading BIOS...
[    3.7916] BIOS Found: USA    v01.60(07/02/2002)  Console 20020207-164243
[    3.7943] BIOS rom1 module not found, skipping...
[    3.7943] BIOS rom2 module not found, skipping...
[    3.7943] Opening CDVD...
[    3.7945] isoFile open ok: D:\Emulation\Games\Gran Turismo 4.iso
[    3.7945] Image type  = DVD
[    3.7945] isoFile: second layer found at sector 0x001418c0
[    3.7945]  * CDVD Disk Open: DVD, Double layer:
[    3.7945]  * * Track 1: Data (Mode 1) (2594960 sectors)
[    3.7952] [GameDB] Has not been initialized yet, initializing...
[    3.8270] [GameDB] 12791 games on record (loaded in 31.81ms)
[    3.8270] Disc changed to Gran Turismo 4.iso.
[    3.8270]  Name: Gran Turismo 4
[    3.8270]  Serial: SCUS-97328
[    3.8270]  Version: 1.01
[    3.8270]  CRC: 77E61C8A
[    3.8270] Loading game settings from 'D:\pcsx2-v1.7.4526-windows-64bit-Qt\gamesettings\SCUS-97328_77E61C8A.ini'...
[    3.8272] Applying settings...
[    3.8275] [Unsafe Settings] EE FPU Clamp Mode is not set to default, this may break some games.
[    3.8275] OSD [unsafe_settings_warning]:  EE FPU Clamp Mode is not set to default, this may break some games.
[    3.8437] Reopening memory cards...
[    3.8438] McdSlot 0 [File]: D:\pcsx2-v1.7.4526-windows-64bit-Qt\memcards\Game Saves.ps2
[    3.8439] McdSlot 1 [File]: D:\pcsx2-v1.7.4526-windows-64bit-Qt\memcards\Mcd002.ps2
[    3.8447] Opening GS...
[    3.8467] D3D: Found adapter 'NVIDIA GeForce RTX 3070 Laptop GPU'
[    4.0129] Creating a 3440x1344 windowed swap chain
[    4.0636] D3D12 Graphics Driver Info:
[    4.0637] D3D_FEATURE_LEVEL_11_0
[    4.0637] VID: 0x10DE PID: 0x249D
[    4.0637] NVIDIA GeForce RTX 3070 Laptop GPU
[    4.0637] Driver Version: 31.0.15.3713
[    4.0657] Opening SPU2...
[    4.0664] Initializing SndBuffer at sample rate of 48000...
[    4.0685] (Cubeb) 7.1 speaker expansion enabled.
[    4.0714] (Cubeb) Minimum latency: 10.00 ms (480 audio frames)
[    4.0957] Initializing Pad...
[    4.0957] Initializing SIO2...
[    4.0957] Initializing SIO0...
[    4.0957] Opening DEV9...
[    4.0987] Opening USB...
[    4.0987] Opening FW...
[    4.0987] EE/iR5900 Recompiler Reset
[    4.2456] VM subsystems initialized in 462.01 ms
[    4.2461] Processor count: 8 cores, 16 processors
[    4.2461] Cluster count: 1
[    4.2462] Ordered processor list: 0, 2, 4, 6, 8, 10, 12, 14, 1[SMT 1], 3[SMT 1], 5[SMT 1], 7[SMT 1], 9[SMT 1], 11[SMT 1], 13[SMT 1], 15[SMT 1]
[    4.4033] ELF Loading: cdrom0:\SCUS_973.28;1, Game CRC = 77E61C8A, EntryPoint = 0x01000008
[    4.6800] ELF cdrom0:\SCUS_973.28;1 with entry point at 0x16777224 is executing.
[    4.6801] ELF changed, active CRC 77E61C8A (cdrom0:\SCUS_973.28;1)
[    4.6804] Found 1 game patches in SCUS-97328_77E61C8A.pnach.
[    4.6806] Enabled patch: Widescreen 16:9
[    4.6806] OSD [LoadPatches]: 1 game patches are active.
[    4.6806] Applying core settings...
[    4.6808] [Unsafe Settings] EE FPU Clamp Mode is not set to default, this may break some games.
[    4.6808] OSD [unsafe_settings_warning]:  EE FPU Clamp Mode is not set to default, this may break some games.
[    4.6808] (GameDB) Changing VU0 clamp mode [mode=2]
[    4.6808] (GameDB) Changing VU1 clamp mode [mode=2]
[    4.6808] [GameDB] Enabled GS Hardware Fix: mipmap to [mode=2]
[    4.6808] [GameDB] Enabled GS Hardware Fix: trilinearFiltering to [mode=1]
[    4.6808] [GameDB] Enabled GS Hardware Fix: halfPixelOffset to [mode=1]
[    4.6808] [GameDB] Enabled GS Hardware Fix: getSkipCount to [mode=16]
[    4.6808] Updating CPU configuration...
[    4.6924] Updating GS configuration...
[    4.7065] EE/iR5900 Recompiler Reset
[    4.7595] (UpdateVSyncRate) Mode Changed to NTSC.
[    4.7596] (UpdateVSyncRate) Mode Changed to NTSC.
[    5.7807] [Pad] DS2 Config Finished - P1/S1 - AL: Off - AB: Usable - VS: Disabled - VL: Disabled - RB: D (0x00000000)
[  10.0358] (UpdateVSyncRate) Mode Changed to NTSC.
[  10.0358] (UpdateVSyncRate) Mode Changed to NTSC.
[  10.7190] (UpdateVSyncRate) Mode Changed to NTSC.
[  10.7190] (UpdateVSyncRate) Mode Changed to NTSC.
[  11.6032] [Pad] DS2 Config Finished - P1/S1 - AL: On - AB: Locked - VS: Normal - VL: Normal - RB: D+A+P (0x0003FFFF)
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000000 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000001 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000002 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000003 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000004 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000005 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000006 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000007 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000008 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000009 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200000a [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200000b [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200000c [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200000d [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200000e [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200000f [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000010 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000011 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000012 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000013 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000014 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000015 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000016 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000017 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000018 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000019 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200001a [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200001b [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200001c [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200001d [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200001e [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200001f [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000020 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000021 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000022 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000023 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000024 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000025 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000026 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000027 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000028 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x2000029 [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200002a [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200002b [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200002c [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200002d [load]
[  37.2467] TLB Miss, pc=0x5a47b0 addr=0x200002e [load]
[  37.2468] TLB Miss, pc=0x5a47b0 addr=0x200002f [load]
[  37.2468] TLB Miss, pc=0x5a47b0 addr=0x2000030 [load]
[  37.2468] TLB Miss, pc=0x5a47b0 addr=0x2000031 [load]
[  69.6593] (VMManager) Pausing...
[  71.3786] Add 68 seconds play time to SCUS-97328 -> now 153283
[  71.6001] Scanning D:\Emulation\Games (recursively)
[  75.9274] Releasing host memory for virtual systems...
Reply




Users browsing this thread: 1 Guest(s)