-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Shadow Man 2 - Broken textures #64
Comments
Please follow this template for a proper bug report: https://github.com/PCSX2/pcsx2/wiki/How-to-create-useful-and-valid-issues |
Yep, this is on my list to check. The textures never worked and various attempts at hacking GSdx didn't help at all. It might come out wrong from PCSX2 or the GS plugin is using bad texture pointers or similar. |
I suspect it's a core problem as it looks the same in both hardware and software and in ZeroGS it is the same I believe. |
Could you test the SW renderer on latest git ? A couple of bug were fixed so maybe yours. |
It's unchanged. |
As a bonus the first cutscene has SPS too now. Textures are still unchanged too. |
The first cutscene has always had SPS, the only way to stop it happening is to not make the VU's run instantly but then it slows games down and people moan :P |
yeah, the VIF Stalls will fix the SPS issues in shadow man. I have checked it before myself on the |
Yup, I believe I even commented it about Shadowman 2 Edit: Yep i did :p
|
Yup, that's what made me test it. just to verify it :p |
Yeah, doesn't quite work tho :P Something is going wrong causing other games (such as FFX) to freak out. Was trying to think of a sneeky way to make the games run quicker without the hack |
I am still waiting for the day this will be fixed :) |
so are we :P |
It's still a total mystery. |
@MrCK1 |
Yes I know, there's more details on the forum ;) |
An interresting OpenPS2Loader commit for this game. Apparently it has a bug in the CDVD buffered reader. |
That is great but what is this Open-PS2-Loader and how it interacts with PCSX2? Or you have to implement the same workaround for PCSX2 as well? |
Does anyone know what can be cause that SPS fix not work anymore? Line 52 in ed6ac00
Since texturing problem can be fixed by IOP or disc patch, SPS seems to be last issue that game have. It would be nice to fix it, specially that looks at some point that code worked. ps. Texturing bug turned out to be IOP issue, and SPS looks to be VIF (by that comment). So is not exactly GSDX issue as label suggest. |
@kozarovv Since the game doesn't suffer SPS at start and there are certain trigger points which cause the SPS (like the car accident in first cutscene) may be you can track down what changes these trigger points are causing which result in SPS? |
@prafullpcsx2 SPS seems to be cause by something in TextureCache (game engine texture cache, not pcsx2). I don't know exactly what it is. Maybe they not reserve enough memory like with that irx which broke textures. Hard to tell. I tried to increase cache size in TC_InitTextureCache, but that won't make any difference. Not sure that was good idea anyway, since cache is on bss so it will overwrite something else. I found two patches that can later turnout to be helpful, but still don't have any solution to make it really playable. First patch require to create save state on loading before cutscene, because it remove promoting new textures in cache. So it will just hang like on first movie.
Second patch also remove SPS, but make some textures not load. More precisely it will clean them from GS pool before they are used. If you are desperate enough, you can probably finish game like that.
Like you can see on both, SPS is not there. And additionally on first movie textures are untouched, like they should. This make me sure that some kind of texture cache (in game) overflow is cause of that. |
IIrc, the SPS fix within PCSX2 had to to with the cycle delays for VIF1. Some kind of fixed cycle delay would prevent the SPS but cause some other issues. |
Is this likely to ever be playable? |
Greetings, i'm a totally noob about pcsx2..so reading this post it's not that easy...but what i understand is that there is no solution yet for the texture and possibly gamebreaking bugs that can happen playing the game. am i right? or there is a aptch that let this game be played?? if onoy they relesed it for PC..uff thanks |
You can fix textures by patching game image (bin) directly in hex editor. Code for SLUS (US) version of game, but should be the same for others. Find: Replace to: No way to make stable patch for IOP for that game, so disc need to be patched directly. |
Hi kozarovv, can you elaborate on the IOP patch? Why do you think the broken textures are an IOP bug? What on the IOP could be causing this behavior? Could it be bad CDVD emulation, or is it something else? |
I just ported that ps2homebrew/Open-PS2-Loader@f70090c According to patch author (sp193):
Patch for OPL is required only for SMB mode which is most IOP memory demanding mode. Problem is in SOUNDREL.IRX, luckily company left also debug version of that module on disc, at least on US version of game. It was long time ago so i don't have offsets for edited values, but you should easily find them by searching for hex i gave above. |
I can confirm that patching the Europan version "SLES-50446" with your string fixes the texture corruptions. |
Not sure that helps anyhow but bios from emulators used in PS3 use setting called CDVD_READ_DELAY with 0x80600 value for that game. That is internal PPC setting from PS2 bios to emulated IOP, similar to what Deckard/xparam config do on real PS2 for other games. Since sp193 mentioned CDVD reads, maybe is somehow related to that issue. Default value is 0x80000 for that setting. Just idea, not sure is really related. |
so how to patch the image? i need some sort of program??There are many filkes and no one labeled as textures..what file i need to edit with hex program? and what is this SPS many mentined here?? i'm totally noob, cxan you pls me explain if i can fix and play this game finally?? thanks all |
Can someone please xplain how this guy has managed to get this working? hes linked us here but i have no clue what im doing. i just wwant to play shadowman with no polygon issues or texture issues.. its been like 10 years how has no one explained this yet? |
For support on how to manually edit the game via hex editor I suggest you try asking at https://forums.pcsx2.net/. This ticket is for discussing the issue and workarounds, etc. Not for teaching you how to use a hex editor. |
I've managed to edit the game in hex editor, the problems still occur however. Have you read the thread and watched the links people prior have provided? The link I've provided shows someone has it in working order in full 4k. How has he done it? I've done the trings in hex edit I didn't get the same results.. I got a beaten up version of it that works better but not to standard |
Did you try reading the video description which has a long explanation of how he did it? That might be a start. Again, this is not the place to teach you. Please move to the forums. |
https://forums.pcsx2.net/Thread-Shadowman-2nd-Coming--65318?highlight=shadow+man |
Should be fixed with PR #3877 |
so what i need to do to finally play shadowman 2 without issues? what file si needs to download? i'm not used at all to Github...i find it very confusing and not userfriendly like discord...thanksa for help |
It won't be completely without issues yet, it will still have the spikey 3d models in the cutscenes. What you need to do is go to that PR, go down to the bottom and the box at the bottom click "show all checks" in the top right, then click "Details" to the right of "Windows Build / windows-2019-Win32 (pull_request)", then in there click "artifacts" in the top right, then select the win32 build. Alternatively you can wait for it to be merged and grab it from the build bot |
The textures in Shadowman 2 are not rendering correctly at all, this happens in all backends.. DX11/GL in both Hardware and Software.
The text was updated successfully, but these errors were encountered: