03-06-2016, 08:10 PM (This post was last modified: 03-06-2016, 08:14 PM by ZEROx.)
Some update on this game:
The first thing i want to say there's huge progress on OGL backend lately, thanks vlj and kd-11, GOW2 has some render too now
the second thing is i launched this games on hacked version, actual state of this game on recent master is Intro
there are few exeptions
Code:
{SPU[0x33] Thread (BP_MiscCellSpursKernel0)[0x02c28]} Exception: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file Emu\Cell\SPUThread.cpp:1132, in function SPUThread::set_ch_value)
{rsx::thread} Exception: Wrong format 158
(in file Emu\RSX\Common\TextureUtils.cpp:301, in function upload_placed_texture)
{PPU Thread[0xbb] (VideoDecoder[0xba] Thread)[0x00000000]} Exception: avcodec_open2() failed (err=0xffffffea, opts=0)
(in file Emu\SysCalls\Modules\cellVdec.cpp:340, in function vdecOpen::<lambda_9992141e4b0248d73b84600cc6f6aa4e>::operator ())
Please report this to the developers.
The second one was introduced in master brach not so long ago one of the recent commits (don't remember which one), and the third doesn't allow to see ingame video
03-07-2016, 05:53 AM (This post was last modified: 03-07-2016, 08:18 AM by BlackDaemon.)
Just tried to load using decrypted save from ps3. For some reason it works for me only, when using PPU Interpreter 1. Requires rpcs3/Emu/RSX/Common/TextureUtils.cpp editing (thanks to ZEROx for details)
change
Code:
case CELL_GCM_TEXTURE_DEPTH24_D8: // Opaque type ; ATM do not copy anything
return std::vector<MipmapLevelInfo>();
}
throw EXCEPTION("Wrong format %d", format);
to
Code:
case CELL_GCM_TEXTURE_DEPTH24_D8: // Opaque type ; ATM do not copy anything
return std::vector<MipmapLevelInfo>();
default:
return copy_texture_data<copy_unmodified_block_swizzled, false, 1>(as_span_workaround<u32>(mapped_buffer), reinterpret_cast<const u32*>(pixels), w, h, depth, layer, texture.mipmap(), texture.pitch());
}
//throw EXCEPTION("Wrong format %d", format);
(03-07-2016, 05:53 AM)BlackDaemon Wrote: Just tried to load using decrypted save from ps3. For some reason it works for me only, when using PPU Interpreter 1. Requires rpcs3/Emu/RSX/Common/TextureUtils.cpp editing (thanks to ZEROx for details)
change
Code:
case CELL_GCM_TEXTURE_DEPTH24_D8: // Opaque type ; ATM do not copy anything
return std::vector<MipmapLevelInfo>();
}
throw EXCEPTION("Wrong format %d", format);
to
Code:
case CELL_GCM_TEXTURE_DEPTH24_D8: // Opaque type ; ATM do not copy anything
return std::vector<MipmapLevelInfo>();
default:
return copy_texture_data<copy_unmodified_block_swizzled, false, 1>(as_span_workaround<u32>(mapped_buffer), reinterpret_cast<const u32*>(pixels), w, h, depth, layer, texture.mipmap(), texture.pitch());
}
//throw EXCEPTION("Wrong format %d", format);
Are there graphical bugs if you dont add the default clause? (Just removing the exception, i mean). Seems to be an unimplemented texture type upload.
Just replace the throw with return std::vector<MipmapLevelInfo> (like the one for depth24_d8) and it should compile.
The format 158 is CELL_GCM_TEXTURE_D8R8G8B8. Upload should be the same as A8R8G8B8 with a masked A component to 1. I'll submit a fix for some of the missing easy to fix formats later.