hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.11k stars 2.16k forks source link

[GTA Liberty City Stories] Police/law enforcement AI too aggressive #13033

Open emmecii opened 4 years ago

emmecii commented 4 years ago

What happens?

Police/other law enforcement driving is too much aggressive compared to the original behaviour on PSP, car smashes very too fast and with a lot of more damage than expected resulting in impossible success of the mission. No cheats activated.

What should happen?

Police IA should be less aggressive driving cars during pursuits

What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.

OS: Ubuntu 18.04.4 LTS KERNEL: 5.3.0-59-generic CPU: Intel Core i5-6400 @ 2.70GHz GPU: Radeon RX 560 GPU DRIVER: 4.5 Mesa 19.2.8 RAM: 16 GB PPSSPP V. 1.7.0 from Ubuntu repository (no PPA)

unknownbrackets commented 4 years ago

Please try this from the latest git build or at least stable release. The Ubuntu releases are pretty outdated at this point. They also use system FFmpeg which is known to cause bugs, although shouldn't cause this type of bug.

Does this happen on ARM devices (such as a phone), if you're able to test?

If you turn off jit and use interpreter in developer tools, does it change anything?

Do you have a PSP to compare? To fix an issue like this, we really need a minimal scenario. Wide ranging things like, "if I play for 2 hours, my score is lower" are hard for anyone to make progress on. If we can find a place where something happens, relatively quickly and predictably, and it should not happen - that makes it far more likely to have a good solid fix figured out.

If it makes the game very hard, it's not impossible that this could be some cheat detection that is incorrectly triggering on PPSSPP.

-[Unknown]

emmecii commented 4 years ago

Please try this from the latest git build or at least stable release. The Ubuntu releases are pretty outdated at this point. They also use system FFmpeg which is known to cause bugs, although shouldn't cause this type of bug.

If you turn off jit and use interpreter in developer tools, does it change anything?

I will try with a git build

Do you have a PSP to compare? To fix an issue like this, we really need a minimal scenario. Wide ranging things like, "if I play for 2 hours, my score is lower" are hard for anyone to make progress on. If we can find a place where something happens, relatively quickly and predictably, and it should not happen - that makes it far more likely to have a good solid fix figured out.

Unfortunately i don't have anymore a working PSP to compare ( i have now a PSVita but i don't have the digital game fro the PS Store), but the difference it's very noticeable from the original because i'm really sure into the first missions police didn't throw my car away at 50 meters from the impact in a damn missile hit my car like on PPSSPP, and that behavior is repeated on every mission so is not isolated.

LunaMoo commented 4 years ago

So the problem there is cops are shooting the missle, or that the missle explosion throws car too far away?

Also you mention no cheats activated, but did you count FPS patch as well? Those would easily break things like that. Same for modified emulated PSP CPU clock - a game breaking setting some people abuse.

emmecii commented 4 years ago

So the problem there is cops are shooting the missle, or that the missle explosion throws car too far away?

Sorry, i write wrong that part, english is not my main language. Police cars him me with their cars during a pursuit with a force that they damage my car with only two hits and that throw my car like if was hit by an explosion

but did you count FPS patch as well? Those would easily break things like that. Same for modified emulated PSP CPU clock - a game breaking setting some people abuse.

I haven't touched that settings, i use only default setting a part for rendering and antialiasing

iota97 commented 4 years ago

As unknown said changing Settings > Tools > Developers Tools > CPU core to Interpreter and/or testing on a smartphone would help, also please always load a saved game and not a savestate for these test as a savestate could have the problem already saved in it.

Come già detto da unknown sarebbe utile provare a cambiare Impostazioni > Strumenti > Strumenti per sviluppatore > CPU core con Interpreter e/o testare su un cellulare per vedere se ci sono differenze, però usa sempre salvataggi in gioco e non savestate per questi test o i savestate potrebbero aver salvato anche il problema rendendo i test inutili.

NABN00B commented 4 years ago

Can you show us video footage?

Back2Life888 commented 3 years ago

I think I know what this is.. The 1 Star Wanted Level behaves like a 4 Star and the 2 Star behaves like a 5 Star.. The problem here is gotta be code mismatch..

emmecii commented 3 years ago

I'm sure even at 4-5 star wanted level the IA in the original version in a real PSP can't break my car in a manner that with only two hits is so damaged it exploded. It was like if they used the Rhino Tank in the Yakuza mission https://youtu.be/bOA8K0kU6zs

NABN00B commented 2 years ago

Can you write the CRC-32 sum of your ROM? Are you by chance using a compressed image file (.CSO)?

Also you should easily be able to record a video with those specs.