Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wreckless - The Yakuza Missions - SoftLock #1129

Open
theboy181 opened this issue Jun 28, 2022 · 14 comments
Open

Wreckless - The Yakuza Missions - SoftLock #1129

theboy181 opened this issue Jun 28, 2022 · 14 comments
Labels
bug Something isn't working

Comments

@theboy181
Copy link
Contributor

Title

https://xemu.app/titles/4156000a/#Wreckless-The-Yakuza-Missions
AV-010 [4156000a]

Bug Description

Game will softlock when entering the game and, or menus. Looking at the info registers_ and the games code it was a loop in the audio that locks up during after the test is called.

0x0012cd7b: testw $0x8000,0x12(%ecx)

Expected Behavior

Game should not lock up.

xemu Version

Version: 0.7.55
Branch: master
Commit: db389b1
Date: Sun Jun 26 05:58:57 UTC 2022

System Information

CPU: 12th Gen Intel(R) Core(TM) i9-12900KF
OS Platform: Windows
OS Version: Windows
Manufacturer: NVIDIA Corporation
GPU Model: NVIDIA GeForce RTX 3090/PCIe/SSE2
Driver: 4.0.0 NVIDIA 512.59
Shader: 4.00 NVIDIA via Cg compiler

Additional Context

As a workaround you can apply this patch to the xbe to get the game working.

Audio lock fix (find/replace hex)
FF FF 5E C9 C3 F6 41 12 01 74 08 66 F7 41 12 00 = FF FF 5E C9 C3 90 90 90 90 74 08 66 F7 41 12 00

@theboy181 theboy181 added the bug Something isn't working label Jun 28, 2022
@theboy181 theboy181 changed the title Wreckless - The Yakuza Missions Wreckless - The Yakuza Missions - SoftLock Jun 28, 2022
@Triticum0
Copy link

Triticum0 commented Jun 28, 2022

@theboy181
Copy link
Contributor Author

Where are these games hanging, and how do you know its audio loop? can you pinpoint where the issue is? I would like to take a look.
@Triticum0

@theboy181
Copy link
Contributor Author

Other games affected: Ultra Bust-A-Move #822 #579 Outlaw Golf #579 Outlaw Golf: 9 More Holes of X-Mas Kikou Heidan J-Phoenix +

Was unable to test the last game on this list, I don't think they are related to the softlock. Bust a move does has an issue loading into the games menu, but doesnt lock up, and I was unable to get the game to softlock in Outlaw Golf series.

@Triticum0
Copy link

Yeah your right, It was a while back when I last tested them. Sorry for the trouble.

@Triticum0
Copy link

Triticum0 commented Jun 29, 2022

I would redo the report for outlaw golf if it's fixed. Note: only affect Outlaw Golf: 9 More Holes of X-Mas none of the others in the series

@Triticum0
Copy link

@theboy181 Yeah, I think you're right with the games I said originally are unrelated. Sorry about that but https://xemu.app/titles/45530001/#Mad-Dash-Racing Is properly related look at the report.

@jorfgm
Copy link

jorfgm commented Jan 5, 2023

Work on my PC, my setting are Memory 128mb , AV PACK SCART, HARDFPU emulation enabled.
My PC, Ryzen 5 5600, 16gb ram ddr4 3200mhz, 1tb ssd adata, gtx 1060 6gb..
rom tested from archive(org)

@jorfgm
Copy link

jorfgm commented Jan 5, 2023

If I change my settings the game freezes in the menu.
With these settings the game does not work.

It freezes after choosing the level to play.
memory 64mb
AV Pack Scart (any other option)
HARD FPU Enable

It freezes as soon as it starts
memory 64mb
AV PACK Scart (any other option)
Hard FPU disable

It freezes as soon as you press a button.
Memory 128mb
AV PACK SCART (any other option)
Hard FPU Disable

@darkfalzx
Copy link

darkfalzx commented Jan 10, 2023

A weird observation:
While cold-booting the game will always lead to the same freeze on the difficulty select screen, starting any other game (I tried Tork, Castlevania CoD, Dino Crisis 3 and Burnout 3), saving or creating data in it (could be just menu options), THEN starting Wreckless may SOMETIMES get the game to pass the difficulty selection screen and get into the game-proper.
Retrying the mission from the pause menu works fine.
The game runs well, though with a few visual glitches (like incorrect drawing depth on some scenery and partially broken shadow maps).
Completing mission and starting another will always cause the freeze.
Restarting Wrickless will always cause the freeze.
SOMETIMES You can even restart the emulator between running another game and Wreckless - only as long as any game besides Wreckless wrote to the HDD image previously!

Maybe there is something to it, but maybe I'm just seeing a pattern where there is none.

@theboy181
Copy link
Contributor Author

I got the game booting with hacks over a year ago. However there seems to be no appetite for the devs to fix this game. Too bad as the game is still really good to look at.

@darkfalzx
Copy link

Please don't leave me hanging - where can I find said hacks?

@theboy181
Copy link
Contributor Author

I would take time to read this thread.

@Soxbrother
Copy link

Soxbrother commented Feb 4, 2024

With the latest Xemu 0.7.118 :
-Before the sound hex fix, it would freeze on the difficulty mode screen.
-After the hex fix, it goes beyond the difficulty screen and starts the game, but only black screen with sound.

So I then tried Xemu 0.7.55, because that's the version the fix was tested with :
-Bingo, game is playable, no more black screen !!

Thanks @theboy181 for the fix

Probably a version closer to the latest version is also playable, but that needs to be tested.
Somewhere along the way, the game went from playable to unplayable with the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants