PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.35k stars 1.58k forks source link

Mafia - City of Lost Heaven (TLB misses) #1496

Open Blackbird88 opened 8 years ago

Blackbird88 commented 8 years ago

-PCSX2 version: 1.5.0 GIT

-PCSX2 options: Defaults + the game relies on EE Timing Hack otherwise it hangs on Start menu.

-Plugins used: GSdx, SPU2-X, LilyPad

-Plugin settings: Defaults, no settings modifications affect the issue

-Description: TLB misses after finishing The Running Man mission. image Full log

-How to replicate: Finish the The Running Man mission and let Molotov Party to load.

-Last known version to work: Never worked

Memorycard save http://www.mediafire.com/download/g532hvi59vptbkw/Mcd002.zip Save state http://www.mediafire.com/download/mp9azhi2t1n5hrm/SLUS-20671_%28B67F4F9E%29.00.zip

FlatOutPS2 commented 8 years ago

Did you play the game from the original DVD?

Blackbird88 commented 8 years ago

Yes. There is no issue with the dump or the DVD. It's a bug that needs to be fixed. http://forums.pcsx2.net/Thread-Mafia-SLUS-20671-U--28711?pid=290511#pid290511

FlatOutPS2 commented 8 years ago

And just to be safe, did you try playing without widescreen patches enabled too?

Blackbird88 commented 8 years ago

Yes. Also no. Fiddling with settings is waste of time. Been there, done that. As you can see from the link I reported this bug ages ago and tested every possible thing I can think of. Just realized now it's never been reported cause noone cared enough :(

FlatOutPS2 commented 8 years ago

I'm sure you tried everything, but widescreen patches (and cheats) are the cause of most TLB miss issues, and as they're turned on in the log you posted I had to ask.

I added the memorycard save from the compatibility report to the first post, so it's easier for others to test and fix it.

Blackbird88 commented 8 years ago

I will test them one more time then! But it's unlikely. :( EDIT: Yep still crashes. Like I said it's a bug. I wouldn't create issue due to my stupidity :D Not to mention there were no WS fixes in 2014 (as seen in General Plot's pic) soo... Also good idea. I hadn't though of that. Thanks! Oh I am NOKIAMAN. I forgot to mention!

prafullpcsx2 commented 8 years ago

Can you also post a savestate before the crash point in case memory card save is far away? I will have a look at this and try to find a solution.

Blackbird88 commented 8 years ago

Sure. Added to first post. Just skip the FMVs and let the Molotov Party load. Thanks for taking an interest!

prafullpcsx2 commented 8 years ago

@Blackbird88 Can you try this patch? I am little short on time tonite so can't check fully myself.

http://forums.pcsx2.net/attachment.php?aid=60672

The patch should work but it may result in some camera problems (other problems too). Can you please play the game a bit and may be even finish this level with the patch enabled?

Blackbird88 commented 8 years ago

Worked without problems to me (as far as I could see). Played the whole mission and the crash is gone. Amazing work! EDIT: Finished Molotov Party and Ordinary Routine loaded fine

ramapcsx2 commented 8 years ago

patch=1,EE,003e2bb4,word,00000000

What are you nop'ing there and why? :)

Blackbird88 commented 8 years ago

Okay so I was trying to run the game without the patch and it seems to happen in certain missions too meaning this patch fixes more than just Molotov Party I will try finishing the story mode ASAP EDIT: I spoke too soon. Another TLB misses in The Priest when escaping the church https://gist.github.com/Blackbird88/4d28e98ec32a09b09eaa18e71bd42264

prafullpcsx2 commented 8 years ago

@Blackbird88 : Savestate before the crash please :)

Blackbird88 commented 8 years ago

Here http://www.mediafire.com/download/ad3dw1c8he2wsdd/SLUS-20671_%28B67F4F9E%29.00_THEPRIEST.zip

prafullpcsx2 commented 7 years ago

@Blackbird88 : Can you try this patch and report back?

http://forums.pcsx2.net/attachment.php?aid=61010

Blackbird88 commented 7 years ago

Yup, works. Just finished the mission. Thanks!

prafullpcsx2 commented 7 years ago

Good to hear that. Let me know if you run into further problems with the game. Also check whether the patch creates problems in some other part of game. If you manage to finish the game, do update the compatibility report on the forums.

Blackbird88 commented 7 years ago

Juts finished the main storyline with no crashes. Need to test Racing mode too just in case (doubt it's broken tho since Freeride is also fine) image

gregory38 commented 7 years ago

Is the issue still valid/open ?

Blackbird88 commented 7 years ago

Well I'm not sure if the game is playable from start to end with both of those patches since I only tested them on the fly.

MrCK1 commented 6 years ago

@Blackbird88 When you have some free time, can you do a playthrough with Prafull's patch again just to confirm the status? I also added a link to the patch on the game's wiki page.

Blackbird88 commented 6 years ago

I'll do it I promise. It's just that I didn't get around it yet due to IRL stuff :/

Davo6233 commented 6 years ago

Hello Blackbird88, I have same problem but these solutions dont work for me. Maybe because I'm new for PCSX2. Can you please upload somewhere whole folder with PCSX2 and Your mafia game and share it with me ?? Because I cant solve the problem. Or explain the solution more detailed. Thank you of reply ! :-)

MrCK1 commented 6 years ago

@Davo6233 Please redirect your questions to forums.pcsx2.net. This is not a place for for general support. Thanks!

Krusher97 commented 6 years ago

I have a US copy of the game myself. To test this do I need to apply both the patches and complete the game from the beginning to end?

Blackbird88 commented 6 years ago

Yes. There are two known crashes.

MrCK1 commented 6 years ago

@Krusher97 The most recent patch should do: http://forums.pcsx2.net/attachment.php?aid=61010

Ideally from beginning to end would be best, since the game crashes randomly. Also, It would be a great help if you could update the compatibility report in the forums when you're finished ;)

You can find the compatibility thread for this game here: https://forums.pcsx2.net/Thread-Mafia-SLUS-20671-U--28711?pid=377219&highlight=mafia#pid377219

Krusher97 commented 6 years ago

Does it matter if I update the thread or the wiki?

MrCK1 commented 6 years ago

The thread would be nice better :)

Davo6233 commented 6 years ago

SOLVED!! Thx guys, i totaly forgot that I need an USA version of the game. (Cuz I had EU version) So now it works!, thank you again.

Krusher97 commented 6 years ago

Finished the game from beginning to end with no crashes or freezes with the two cheats enabled. One weird thing of note was how the Software renderer always ran better than the hardware one no matter what Internal resolution.

I will update the compatibility thread when these fixes get merged.

MrCK1 commented 6 years ago

@Krusher97 Perfect. Thank you! ;)

Oh by the way, you don't have to wait for the fixes to get merged. You can still make a report and link to the patches there as well as add them to the wiki page.

ghost commented 6 years ago

Hum, Just for the curiosity, this PR don't solve the issue? https://github.com/PCSX2/pcsx2/pull/1783

Also, EE interpreter + cache has been tested?

Blackbird88 commented 6 years ago

It doesn't. Still crashes when loading Molotov Party. Exact same log.

FlatOutPS2 commented 6 years ago

And it shouldn't either. It's a completely different issue and warning.

ghost commented 3 years ago

I am not in favor of closing that issue. Yes there is a patch but it makes loading screens longer compared to a real console and break the loading bar (minor but a bug is a bug).

As a side note, that issue is common accros every single ps2 emulators so far.

refractionpcsx2 commented 1 year ago

Can somebody check this on the latest master? (1.7.4486 or higher)

I'm curious if it still crashes without the patch. Apparently both just before the Molotov Party and The Priest Mission (whatever that is) are both broken.

Remember to enable advanced settings and untick Compatibility Patches, so it doesn't enable the patch :)

Blackbird88 commented 1 year ago

Can somebody check this on the latest master? (1.7.4486 or higher)

I'm curious if it still crashes without the patch. Apparently both just before the Molotov Party and The Priest Mission (whatever that is) are both broken.

Remember to enable advanced settings and untick Compatibility Patches, so it doesn't enable the patch :)

Still crashes if the patch is disabled.

refractionpcsx2 commented 1 year ago

bummer, ah well, was worth a shot. Thanks for testing!