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

Sengoku Musou 3 Z Special: Popup error dialog box when select custom character #12512

Closed
leoxxx opened this issue Dec 14, 2019 · 37 comments · Fixed by #18369
Closed

Sengoku Musou 3 Z Special: Popup error dialog box when select custom character #12512

leoxxx opened this issue Dec 14, 2019 · 37 comments · Fixed by #18369
Labels
GE emulation Backend-independent GPU issues
Milestone

Comments

@leoxxx
Copy link
Contributor

leoxxx commented Dec 14, 2019

As shown in the picture.
1

Not error in blank unit. If you watched a existing unit, then move up another existing unit, it pop up the error dialog box .


Critical

Can't have both THROUGH and USE_HW_TRANSFORM together!

Try to continue?

是(Y) 否(N)

It will force close when you select Y or N.

https://img.vim-cn.com/89/eb73da81a019749e64576813803a1bb6cf8283.gif

@unknownbrackets
Copy link
Collaborator

Just to be 100% sure: if you clear out your cache (on Android, the app cache by long pressing on it, on Windows the PSP/SYSTEM/CACHE folder), does this still happen?

This is very interesting because we want to find the cause of this error, but it can also be caused by cached shaders.

Another interesting thing would be to create a save state right before the error, and then trigger the error. Does it happen if you load the save state right after loading the game? This would confirm if it has to do with other shaders - if possible, clear the cache before reloading the game too.

-[Unknown]

@leoxxx
Copy link
Contributor Author

leoxxx commented Dec 27, 2019

Try to clear the cache, don't popup the error dialog, but game freeze.
Another interesting thing, if you move the selection box fast enough (no display character model ), it don't trigger!
Create and load state are O.K. Then try to trigger the error, the game freeze. Maybe clear the cache is caused it don't trigger.
This error may be related to #12386.

@unknownbrackets
Copy link
Collaborator

It's very interesting that it doesn't trigger in some cases. It could still be related to #9993 - that indicates somehow the game gets into bad display list ram or misunderstands a BJUMP command.

If you enable software rendering (it will be very slow), does it freeze/crash? I recommend using a save state to get near it.

Also, it might help if you can upload your save state here.

-[Unknown]

@leoxxx
Copy link
Contributor Author

leoxxx commented Jan 1, 2020

PPSSPP_STATE.zip
0=disable software rendering.
1=enable software rendering.

0 Now it must be frozen the game, but ppsspp is O.K.
1 In this mode, the game lag sometimes. The map have some error and it is blur. It must be force close ppsspp.

@RobertSVG15
Copy link

Hello! The same error occurs in different parts of the game menus.

When I try to change an outfit from the DLCs; the same happens.

You can find the DLCs here https://cdromance.com/sony-psp-dlc-list-psp-downloadable-content/

Please, help

@RobertSVG15
Copy link

@hrydgard please take a look to this issue, it's been a while (around 4 years) since this error was found, and until now nobody has checked into it. I don't know how to, so I please you for your help in this matter. Once again, please don't forget.

Thank you.

@hrydgard hrydgard added this to the v1.10.0 milestone Mar 3, 2020
@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Mar 3, 2020
@RobertSVG15
Copy link

Update:

1) The error reported by @leoxxx can be avoided by removing the other created characters and leaving only 1 of them (the one to be used). But of course, that's only a partial solution.

A

2) The same type of critical error occurs when trying to change the costume of an official character using DLCs in the Story Mode and Free Mode menu.

This is the menu. If you have the DLCs installed and press square; you access in the costume change menu:

B

C

But, if you press R or L to change the costume, PPSSPP stops working or the game stops working and then PPSSPP does.

D

It reads:

"PPSSPP has stopped working"
"Restart the application"

3) The same error occurs randomly in certain areas of the game menus.

The rest of the game runs perfectly! I've explained my device's system in #12742

@unknownbrackets
Copy link
Collaborator

Interesting. Does that crash still occur if you disable fast memory? That isn't a fix (and indicates it's still working incorrectly), but it would help us understand the crash better.

-[Unknown]

@RobertSVG15
Copy link

RobertSVG15 commented Mar 23, 2020

Interesting. Does that crash still occur if you disable fast memory? That isn't a fix (and indicates it's still working incorrectly), but it would help us understand the crash better.

-[Unknown]

Hello!

Yes, it does

@leoxxx
Copy link
Contributor Author

leoxxx commented Mar 23, 2020

Update:

1) The error reported by @leoxxx can be avoided by removing the other created characters and leaving only 1 of them (the one to be used). But of course, that's only a partial solution.

A

2) The same type of critical error occurs when trying to change the costume of an official character using DLCs in the Story Mode and Free Mode menu.

This is the menu. If you have the DLCs installed and press square; you access in the costume change menu:

B

C

But, if you press R or L to change the costume, PPSSPP stops working or the game stops working and then PPSSPP does.

D

It reads:

"PPSSPP has stopped working"
"Restart the application"

3) The same error occurs randomly in certain areas of the game menus.

The rest of the game runs perfectly! I've explained my device's system in #12742
1
#12512 (comment)
Look this comment.

Another interesting thing, if you move the selection box fast enough (no display character model ), it don't trigger!

I create 3 custom characters. They are in slot 2, 3&16.(not must in these slots, but can't in slot 1) I can play them all by the method.
https://img.vim-cn.com/0c/dcd929b26bad87b3a63eefd85cec0f724ef062.gif

You can play 2 custom characters if you don't use my method and can't in slot1.

@RobertSVG15
Copy link

Hi, I found a way to use all 16 slots. You must go to Samurai Residence and look for the menu that has a rooster. There you install the Game Data (it looks invisible went you go to this option). By doing that I managed to avoid the bug. However, the problem persists with DLCs, it bothers me.

I found that the problem indeed has to do with the inserted stick memory and the frames, I have tried several options but none worked. The PPSSPP memory options seem to help but do not solve the problem.

@leoxxx

I just want to fix the DLC issue, but I can't... At least by myself.

@hrydgard hrydgard modified the milestones: v1.10.0, Future May 31, 2020
@leoxxx
Copy link
Contributor Author

leoxxx commented Jun 28, 2020

It's not freeze in v1.10, but still have error.
Black screen in free mode and green screen in history mode, but still can push the button. After mission start, it will be fine.

@RobertSVG15
Copy link

@hrydgard hello! This game has been working better after all this time.

But, there is only one big problem about it.

When I try to use the DLC to change the officer's outfits; the game crashes.

Please help, any idea about what's going on? What should I do?

@hrydgard
Copy link
Owner

hrydgard commented Dec 2, 2020

Hard to say, probably no way to work around it right now. Might be some emulator bug with DLC handling, I don't know..

@IrfanH495
Copy link

IrfanH495 commented Dec 24, 2021

The DLC works well, but if I choose a costume too long it will freeze to 0/0 100 fps.
https://drive.google.com/file/d/11T5TRzlhd1xjOdP0le-oCIKzZ52zDh-h/view?usp=drivesdk
I added it in compat.ini
[ForceUMDDelay]
戦国無双3 Z Special
ULJM06024 = true
what else should be added to fix it.?

@IrfanH495
Copy link

I don't know which to add or remove from the list above.
please check it

@leoxxx
Copy link
Contributor Author

leoxxx commented Dec 24, 2021

PPSSPP\assets\compat.ini ?

@IrfanH495
Copy link

PPSSPP\assets\compat.ini ?

yes

@IrfanH495
Copy link

IrfanH495 commented Dec 24, 2021

change costumes at the time of the fan image. if you don't want fc I've tried it it worked
Screenshot_20211224-092252
If it's too late press x/o If you don't want fc
Screenshot_20211224-091953

what else should be added to fix it.?

@IrfanH495
Copy link

2021_12_24_10_02_35

@IrfanH495
Copy link

PPSSPP\assets\compat.ini ?

i don't know if on pc, i play on android PSP/SYSTEM/compat.ini

@IrfanH495
Copy link

As shown in the picture. 1

Not error in blank unit. If you watched a existing unit, then move up another existing unit, it pop up the error dialog box .

Critical

Can't have both THROUGH and USE_HW_TRANSFORM together!

Try to continue?

是(Y) 否(N)

It will force close when you select Y or N.

https://img.vim-cn.com/89/eb73da81a019749e64576813803a1bb6cf8283.gif

like in this video there is a fan image before loading the character
https://youtu.be/Cw3c8q7WMWQ

@unknownbrackets
Copy link
Collaborator

It sounds like the original issue here is potentially fixed, but there may still be an issue (potentially related, potentially completely separate.)

The new issue happens when you wait on that screen for a while. If you confirm the costume quickly, it doesn't crash. Is that correct?

Have you tried switching backends (i.e. Vulkan vs OpenGL) in settings?

-[Unknown]

@IrfanH495
Copy link

IrfanH495 commented Dec 25, 2021

@unknownbrackets
yes
i have tried both opengl & vulkan both work for me
opngl
https://drive.google.com/file/d/12Gy_GpzREnM6oSNxCQIwd3gE5mACw5p5/view?usp=drivesdk
vulkan
https://drive.google.com/file/d/12FqC8G7z0XWpOXXN-XPqP128fXVpPRF5/view?usp=drivesdk
wait it's not finished, there's still something I need to record again

@IrfanH495
Copy link

IrfanH495 commented Dec 25, 2021

As shown in the picture. 1

Not error in blank unit. If you watched a existing unit, then move up another existing unit, it pop up the error dialog box .

Critical

Can't have both THROUGH and USE_HW_TRANSFORM together!

Try to continue?

是(Y) 否(N)

It will force close when you select Y or N.

https://img.vim-cn.com/89/eb73da81a019749e64576813803a1bb6cf8283.gif

as reported by @leoxxx above
it gets better even after loading the character it's not fc
vulkan
https://drive.google.com/file/d/12V-6k8JlnxPCz3lEyaEcHe61ma6hZxiC/view?usp=drivesdk
opengl
https://drive.google.com/file/d/12ZpAaQr4XygAHEU5epKJexRvCLTeRePj/view?usp=drivesdk

I just added it in compat.ini
[ForceUMDDelay]
戦国無双3 Z Special
ULJM06024 = true
if force change character after loading it sometimes fc I don't know maybe my device is not very strong
Screenshot_20211224-091953
like this sometimes FC/Freezes
https://drive.google.com/file/d/1349EI0b9oxW_rsPwRh7kXH8O3L6qtsWs/view?usp=drivesdk

@kotarofumafan
Copy link

Hello everyone i'm on a phone and i want to have DLC sengoku musou 3z i have put the file ULJM on the file psp/game but i can't play with DLC please help me . sorry for m'y poor english i'm french

@kotarofumafan
Copy link

And same for musou orochi 2

@IrfanH495
Copy link

Hello everyone i'm on a phone and i want to have DLC sengoku musou 3z i have put the file ULJM on the file psp/game but i can't play with DLC please help me . sorry for m'y poor english i'm french

try this one
https://youtu.be/g3ZBYmjUo-Y

@Zh4ngl1ao
Copy link

Hello everybody i have a problem with the dlc of Sw3z i extract the file ULJM on PSP/games but when i go on story mode or free i don't have the square touch please help me

@Zh4ngl1ao
Copy link

I have the square touch i take the app Zarchiver and it's good ^^

@IrfanH495
Copy link

IrfanH495 commented Nov 19, 2022

[v1.13.2-1944-g3e481634a]
i set cpu clock to 38 it doesn't experience fc and freezes but fps drops 30/30, 25/25, 23/23.
if i use compact ForceUM Delay ULJM06024 = true and cpu clock 38. fps is better 30/30, 28/28. the game doesn't freeze /fc.
I didn't make that video, but it works fine both vulkan and opengl
this also helps
#9993

@leoxxx
Copy link
Contributor Author

leoxxx commented Nov 19, 2022

Setting CPU to 38HZ is O.K. But more lag.

@IrfanH495
Copy link

@leoxxx sorry I didn't know when the game started it would be like this
Screenshot_20221119-201023_PPSSPP

@IrfanH495
Copy link

IrfanH495 commented Nov 22, 2022

ppsspp-v1.13.2-1998-g5c2663e37-android
black screen, after changing costume.
not using compat , all default settings
GE frame
ULJM06024.zip

@unknownbrackets
Copy link
Collaborator

Something (a cheat?) has executed a corrupted display list here (which is about what I'd expect from the previous notes about a crash.) It has the logic op flag enabled, but the enable is garbage - 28323235. This probably means one of:

  • A cheat broke things.
  • A GE block transfer overwrote memory.
  • A GE list writing cache/timing problem.

Without the corruption, it looks like this:
image

This is what I forced off to make it look like that, just for future reference:

	if ((gstate.cullfaceEnable & 0x00FFFFFF) == 0x00191414)
		gstate.cullfaceEnable &= 0xFF000000;
	if ((gstate.fogEnable & 0x00FFFFFF) == 0x001c1c14)
		gstate.fogEnable &= 0xFF000000;
	if ((gstate.stencilTestEnable & 0x00FFFFFF) == 0x001d1d19)
		gstate.stencilTestEnable &= 0xFF000000;
	if ((gstate.logicOpEnable & 0x00FFFFFF) == 0x00323235)
		gstate.logicOpEnable &= 0xFF000000;
	if ((gstate.texmapmode & 0x00FFFFFF) == 0x00b31b62)
		gstate.texmapmode &= 0xFF000000;

Is that how you'd expect it to work?

Is it possible to get to this same screen using only save data (no save state) and no cheats? Does it still happen then?

If yes, it'd help to also try using the software renderer. Does it also happen when using the software renderer?

-[Unknown]

@IrfanH495
Copy link

no cheat, all default setting, no save state,No save data
opengl games freeze
Vulkan games freeze
software renderer games freeze
Screenshot_20221124-125731_PPSSPP
Screenshot_20221124-130422_PPSSPP
Screenshot_20221124-130452_PPSSPP
opengl & vulkan 2xpsp
Screenshot_20221124-130644_PPSSPP
Screenshot_20221124-130655_PPSSPP
Screenshot_20221124-130701_PPSSPP

@IrfanH495
Copy link

IrfanH495 commented Jun 29, 2023

Is it possible to get to this same screen using only save data (no save state) and no cheats? Does it still happen then?

Impossible to get costume without dlc.
there is a picture that is almost similar only this
Screenshot_20230630-042421_PPSSPP
the screen turns white or blue, if used software renderer
No cheat,No DLC, No Save State,no save data
Screenshot_20230630-043000_PPSSPP

GE frame, software renderer
ULJM06024 (1) Sengoku mosou 3z.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GE emulation Backend-independent GPU issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants