RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.64k stars 1.92k forks source link

DX12: Hatsune Miku Project DIVA Dreamy Theater 2nd Vertex Shader Issue #1850

Closed Nezarn closed 7 years ago

Nezarn commented 8 years ago

Shaders+Logs: https://www.dropbox.com/s/cgmbuymbmid1mf9/dreamy%20theater.zip?dl=0

Note: Game can boot with Null renderer (i hear the SEGA logo), also opengl doesn't work either but since that is WIP and i guess still missing some stuff (so i didn't upload logs regarding OGL)

OGL shader and logs: https://www.dropbox.com/s/wfl3mrv2a5mh88e/rpcs3.zip?dl=0

Nezarn commented 8 years ago

Dreamy Theater 1 is the same https://www.dropbox.com/s/40biumwof99lgfl/dreamy%20theater1.zip?dl=0

dbz400 commented 8 years ago

It should be the same missing vertex texture support (the log shows same error as the gcm sample) https://github.com/RPCS3/rpcs3/issues/1842

dbz400 commented 8 years ago

In summary,

DX12

{rsx::thread} RSX: VS build failed:D:\rpcs3\VertexProgram.hlsl(136,11-38): error X3037: constructors only defined for numeric base types

GL

{rsx::thread} class gl::glsl::compilation_exception thrown: compilation failed: '0(48) : error C7623: implicit narrowing of type from "vec4" to "float"

Vulkan

{rsx::thread} RSX: Warning, version 450 is not yet complete; most version-specific features are present, but some are missing. ERROR: 0:71: 'vtex0' : undeclared identifier ERROR: 0:71: 'texture' : no matching overloaded function found ERROR: 2 compilation errors. No code generated.

kd-11 commented 8 years ago

OGL vtexture fetch swizzle issue has been reported here: https://github.com/RPCS3/rpcs3/issues/1899.

ghost commented 8 years ago

I would test out Dreamy Theater and report on the bug, but whenever I try to launch it, it gives me an std_trap error.

Nezarn commented 8 years ago

@Bryceless you need to use libresc + librtc + libspurs_jq + libsre. Also theres nothing else to report, since its still not working.

ghost commented 8 years ago

Thanks for the info Nezarn! I tried it out, and it remedied the std_trap error, but there is a CELL_GAME_ERROR_FAILURE. As of right now, the game is unplayable and won't boot up completely.

Nezarn commented 8 years ago

@Bryceless if you use NULL renderer, it will. (if you read my opening comment, you would've know.) If its still not booting up, then your backup copy is bad.

ghost commented 8 years ago

@Nezarn I managed to download DT 2nd (Instead of Extend), and it is throwing me the "Failed to compile Shader" error.

Nezarn commented 8 years ago

@Bryceless rpcs3 doesn't support piracy. (also its the same with all 3 game)

Nezarn commented 8 years ago

log+shaders with reverted ogl renderer: https://www.dropbox.com/s/otstfa0qq35qljf/rpcs3_DT_oldogl.zip?dl=0

ghost commented 8 years ago

@Nezarn What I meant to say is that I used PSX Download Helper to download a legitimate copy from my PSN account.

Anyways, you are correct that the NULL renderer make the game boot.

kd-11 commented 8 years ago

Common decompiler is missing some minor fixes to enable vertex textures. Its not implemented atm for any backend.

kd-11 commented 8 years ago

Now that GL and vulkan share decompiler, I think I can start work on vertex textures. Hopefully i'll be done with this soon.

ghost commented 8 years ago

I managed to get to the title screen, but other than that, I have nothing to report on. image

The logo and title runs at nearly full speed using an AMD Athlon X4 860K and a GTX 750ti, but dips down to 25 - 45FPS when at the main menu. It could just be my CPU that is causing the framerate issues, so I plan on upgrading to an Intel i5 or i7 pretty soon.

Nezarn commented 8 years ago

@raven02 can you remove ogl and vulkan label? (since this only true for DX12 only now, since theres no vertex texture support there yet)

kd-11 commented 8 years ago

https://github.com/kd-11/rpcs3/commit/7f4a20e8e4cb9f229529b44d63353a429fa92c2c implements vertex textures partially, but I kept messing up the resource binding due to the way the backend has been optimized, so no texture is actually bound to the vertex shader. This means the game still wont run. Hopefully someone will reimplement it or finish it.

ghost commented 8 years ago

I've noticed that on the latest build, when trying to load up a PV in Dreamy Theater 2nd, it throws the Vertex Issue, but when at the main menu it works perfectly fine.

Nezarn commented 8 years ago

Both 2nd and Extend are working fine on latest master. (with ogl and vulkan, and by fine, i mean they can run, and i already opened an issue for the graphical bug)

AniLeo commented 7 years ago

Seems like the issue here was fixed, the games are going ingame, will now close the issue