VOGONS


Peixoto's patches for a few old games

Topic actions

Reply 720 of 741, by Peixoto

User metadata
Rank Member
Rank
Member
Cattaneo wrote on 2020-05-18, 22:57:
Peixoto wrote on 2020-05-17, 12:21:

When that error happens the error file is not updated, Try renaming the executable

Do you mean the game executable or one/both of the patch pieces?

The game executable

Reply 722 of 741, by Peixoto

User metadata
Rank Member
Rank
Member
Max__FC wrote on 2020-05-20, 07:12:

Hello,the mod is wonderfull,but when i change tomb 5 resolution i get msg,failed stup directx,anny fix for this?thx.

I've experienced this but and it will be fixed on the next update (tomorrow). Set win 98 compatibility (CPU tab) also fixes it

Reply 723 of 741, by ZellSF

User metadata
Rank Oldbie
Rank
Oldbie
Peixoto wrote on 2020-05-20, 18:32:
Max__FC wrote on 2020-05-20, 07:12:

Hello,the mod is wonderfull,but when i change tomb 5 resolution i get msg,failed stup directx,anny fix for this?thx.

I've experienced this but and it will be fixed on the next update (tomorrow). Set win 98 compatibility (CPU tab) also fixes it

Will the ability to force 24bit zbuffer be in tomorrow's update? It was said to come in the next update regarding Star Wars Ep 1 Racer a few months ago, but I'm hoping it will be an universal option and not just for that game.

Reply 724 of 741, by Peixoto

User metadata
Rank Member
Rank
Member
ZellSF wrote on 2020-05-20, 19:25:
Peixoto wrote on 2020-05-20, 18:32:
Max__FC wrote on 2020-05-20, 07:12:

Hello,the mod is wonderfull,but when i change tomb 5 resolution i get msg,failed stup directx,anny fix for this?thx.

I've experienced this but and it will be fixed on the next update (tomorrow). Set win 98 compatibility (CPU tab) also fixes it

Will the ability to force 24bit zbuffer be in tomorrow's update? It was said to come in the next update regarding Star Wars Ep 1 Racer a few months ago, but I'm hoping it will be an universal option and not just for that game.

Yes, it will

Reply 726 of 741, by Cattaneo

User metadata
Rank Newbie
Rank
Newbie
Peixoto wrote on 2020-05-19, 02:07:
Cattaneo wrote on 2020-05-18, 22:57:
Peixoto wrote on 2020-05-17, 12:21:

When that error happens the error file is not updated, Try renaming the executable

Do you mean the game executable or one/both of the patch pieces?

The game executable

Unfortunately changing Asylum to sntrm hasn't fixed it and I'm still getting the same dll injection problem. Is there another log or output file I could paste, or other information I could give that may be useful?

Reply 727 of 741, by Max__FC

User metadata
Rank Newbie
Rank
Newbie

Hollo bois,can you tell me what option in the mod remove the side black borders on tomb raider 4/5?I tested i think,all option,but none worked and some of them just crash the game,thank you for the update.

Reply 728 of 741, by ENunn

User metadata
Rank Newbie
Rank
Newbie

Trying to get Slave Zero working properly. I got it working about 10 minutes ago but a restart of the game basically broke everything. I can't move my mouse and the game is taking up two of my monitors. Does anyone know what to do? Looks like it's ignoring my monitor's resolution and it's running at a forced 4K.

Spoiler

VkG8nzp.jpg

Log:

Spoiler
Peixotos's patch remote settings:
32bit: 1
<Textswap>: s=4;sz=256;path=Textures\VOKSI;n=[;p=];d=home;sw=end;c=del;q=Shift;l=0;
D3D: 3
D3D_Driver: C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_d5216eae94436d77\nvldumd.dll
DDRefcountfix: 1
dsk: 2560x1440
error_log: C:\Users\spide\Downloads\Peixoto\Peixoto\error.log
Gamma: 1
HBdr: 1
HD: 1
injector_dir: C:\Users\spide\Downloads\Peixoto\Peixoto
max_4x3_res: 1920x1440
Mydocs: C:\Users\spide\Documents
os_version: 10.000000
Path: C:\Users\spide\Documents\Games\Slave Zero\
rlst: 640x480 720x480 720x576 800x600 1024x768 1152x864 1280x720 1280x768 1280x800 1280x960 1280x1024 1360x768 1366x768 1600x900 1600x1024 1600x1200 1680x1050 1920x1080 1920x1200 1920x1440 2560x1440 1440x900
script_hwnd: 0x7078a
target: C:\games\Slave Zero\d3d_SlaveZero.exe
target_dir: C:\games\Slave Zero
target_name: d3d_SlaveZero.exe
WFG: 1
WSTL: 1
z24: 1

CreateProcessA Hook: 0
CreateProcessW Hook: 0
ShellExecuteA Hook :0
Desktop 2560x1440
OpenAdapter Hook 0
DDraw.dll : C:\WINDOWS\SYSTEM32\DDRAW.dll
DirectDrawCreate Hook : 0
Succeeded to create DirectDraw
Succeeded to create Direct3D
Succeeded to hook IDirectDraw::Release
Succeeded to hook IDirectDraw4::CreateSurface
Succeeded to hook IDirectDraw2::CreateSurface
Failed to hook IDirectDraw::CreateSurface - detours error 1
Succeeded to hook IDirectDrawSurface::restore
Succeeded to hook IDirect3DDevice::EndScene
Succeeded to hook IDirect3DDevice3::EndScene
Succeeded to hook IDirect3D3::CreateDevice
Succeeded to hook IDirect3D2::CreateDevice
Succeeded to hook IDirectDraw::SetDisplayMode
Succeeded to hook IDirectDraw2::SetDisplayMode
Failed to hook IDirectDraw4::SetDisplayMode - detours error 1
Succeeded to hook IDirectDraw4::EnumDisplayModes
Succeeded to hook IDirect3DViewport3::SetViewPort2
Succeeded to hook IDirect3DViewport3::GetViewPort2
Succeeded to hook IDirect3DViewport3::Clear
Succeeded to hook IDirect3DViewport3::Clear2
Succeeded to hook IDirect3DViewport::SetViewPort
Succeeded to hook IDirect3DViewport::GetViewPort
Succeeded to hook IDirectDrawSurface::flip
Succeeded to hook IDirectDrawSurface4::EnumAttachedSurfaces
Succeeded to hook IDirectDrawSurface::EnumAttachedSurfaces
Succeeded to hook IDirectDrawSurface4::GetSurfaceDesc
Succeeded to hook IDirectDraw::GetDisplayMode
Failed to hook IDirectDraw4::GetDisplayMode - detours error 1
Succeeded to hook IDirectDrawSurface::GetPixelFormat
Show last 48 lines
Succeeded to hook IDirectDrawSurface::GetSurfaceDesc
Succeeded to hook IDirectDrawSurface::AddAttachedSurface
Succeeded to hook IDirectDrawSurface::GetPalette
Succeeded to hook IDirectDrawSurface::SetPalette
Succeeded to hook IDirectDrawPalette::SetEntries
Succeeded to hook IDirectDrawPalette::GetEntries
Succeeded to hook IDirectDrawSurface::QueryInterface
Succeeded to hook IDirectDrawSurface4::Lock
Succeeded to hook IDirectDrawSurface4::UnLock
Succeeded to hook IDirectDrawSurface::UnLock
Succeeded to hook IDirectDrawSurface4::Blt
Succeeded to hook IDirectDrawSurface4::Bltfast
Succeeded to hook IDirectDrawSurface4::GetDC
Succeeded to hook IDirectDrawSurface4::ReleaseDC
Succeeded to hook IDirect3DViewport3::TransformVertices
Succeeded to hook IDirect3DDevice3::DrawPrimitive
Succeeded to hook IDirect3DDevice3::DrawIndexedPrimitive
Succeeded to hook IDirect3DDevice3::DrawPrimitiveVB
Succeeded to hook IDirect3DDevice3::DrawIndexedPrimitiveVB
Succeeded to hook IDirect3DDevice2::DrawPrimitive
Succeeded to hook IDirect3DDevice2::DrawIndexedPrimitive
Succeeded to hook IDirect3DDevice::Execute
Succeeded to hook IDirectDraw::SetCooperativeLevel
Failed to hook IDirectDraw2::SetCooperativeLevel - detours error 1
Failed to hook IDirectDraw4::SetCooperativeLevel - detours error 1
Succeeded to hook IDirectDrawGammaControl::SetGammaRamp

Resolution\Viewport:
Requested : 640 x 480
Real : 2560 x 1440
Correction : 3.000000
Viewport width correction : 320.000000
Succeeded to hook IDirectDrawSurface4::blt
Succeeded to hook IDirectDrawSurface2::blt
Succeeded to hook IDirectDrawSurface::blt
Succeeded to hook IDirectDrawSurface4::lock
Succeeded to hook IDirectDrawSurface4::Unlock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface2::lock
Succeeded to hook IDirectDrawSurface2::Unlock
ptr 243145856 use 242865896 sz 17120 hwnd 242865896
ptr 243133408 use 242866184 sz 4252 hwnd 242866184
ptr 243129840 use 242865728 sz 652 hwnd 242865728
ptr 243129496 use 242866160 sz 532 hwnd 242866160
z id 238931048
IDirect3dDevice3 0 D3DERR_OK

the

Reply 729 of 741, by Peixoto

User metadata
Rank Member
Rank
Member
ENunn wrote on 2020-06-05, 16:50:
Trying to get Slave Zero working properly. I got it working about 10 minutes ago but a restart of the game basically broke every […]
Show full quote

Trying to get Slave Zero working properly. I got it working about 10 minutes ago but a restart of the game basically broke everything. I can't move my mouse and the game is taking up two of my monitors. Does anyone know what to do? Looks like it's ignoring my monitor's resolution and it's running at a forced 4K.

Spoiler

VkG8nzp.jpg

Log:

Spoiler
Peixotos's patch remote settings:
32bit: 1
<Textswap>: s=4;sz=256;path=Textures\VOKSI;n=[;p=];d=home;sw=end;c=del;q=Shift;l=0;
D3D: 3
D3D_Driver: C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_d5216eae94436d77\nvldumd.dll
DDRefcountfix: 1
dsk: 2560x1440
error_log: C:\Users\spide\Downloads\Peixoto\Peixoto\error.log
Gamma: 1
HBdr: 1
HD: 1
injector_dir: C:\Users\spide\Downloads\Peixoto\Peixoto
max_4x3_res: 1920x1440
Mydocs: C:\Users\spide\Documents
os_version: 10.000000
Path: C:\Users\spide\Documents\Games\Slave Zero\
rlst: 640x480 720x480 720x576 800x600 1024x768 1152x864 1280x720 1280x768 1280x800 1280x960 1280x1024 1360x768 1366x768 1600x900 1600x1024 1600x1200 1680x1050 1920x1080 1920x1200 1920x1440 2560x1440 1440x900
script_hwnd: 0x7078a
target: C:\games\Slave Zero\d3d_SlaveZero.exe
target_dir: C:\games\Slave Zero
target_name: d3d_SlaveZero.exe
WFG: 1
WSTL: 1
z24: 1

CreateProcessA Hook: 0
CreateProcessW Hook: 0
ShellExecuteA Hook :0
Desktop 2560x1440
OpenAdapter Hook 0
DDraw.dll : C:\WINDOWS\SYSTEM32\DDRAW.dll
DirectDrawCreate Hook : 0
Succeeded to create DirectDraw
Succeeded to create Direct3D
Succeeded to hook IDirectDraw::Release
Succeeded to hook IDirectDraw4::CreateSurface
Succeeded to hook IDirectDraw2::CreateSurface
Failed to hook IDirectDraw::CreateSurface - detours error 1
Succeeded to hook IDirectDrawSurface::restore
Succeeded to hook IDirect3DDevice::EndScene
Succeeded to hook IDirect3DDevice3::EndScene
Succeeded to hook IDirect3D3::CreateDevice
Succeeded to hook IDirect3D2::CreateDevice
Succeeded to hook IDirectDraw::SetDisplayMode
Succeeded to hook IDirectDraw2::SetDisplayMode
Failed to hook IDirectDraw4::SetDisplayMode - detours error 1
Succeeded to hook IDirectDraw4::EnumDisplayModes
Succeeded to hook IDirect3DViewport3::SetViewPort2
Succeeded to hook IDirect3DViewport3::GetViewPort2
Succeeded to hook IDirect3DViewport3::Clear
Succeeded to hook IDirect3DViewport3::Clear2
Succeeded to hook IDirect3DViewport::SetViewPort
Succeeded to hook IDirect3DViewport::GetViewPort
Succeeded to hook IDirectDrawSurface::flip
Succeeded to hook IDirectDrawSurface4::EnumAttachedSurfaces
Succeeded to hook IDirectDrawSurface::EnumAttachedSurfaces
Succeeded to hook IDirectDrawSurface4::GetSurfaceDesc
Succeeded to hook IDirectDraw::GetDisplayMode
Failed to hook IDirectDraw4::GetDisplayMode - detours error 1
Succeeded to hook IDirectDrawSurface::GetPixelFormat
Show last 48 lines
Succeeded to hook IDirectDrawSurface::GetSurfaceDesc
Succeeded to hook IDirectDrawSurface::AddAttachedSurface
Succeeded to hook IDirectDrawSurface::GetPalette
Succeeded to hook IDirectDrawSurface::SetPalette
Succeeded to hook IDirectDrawPalette::SetEntries
Succeeded to hook IDirectDrawPalette::GetEntries
Succeeded to hook IDirectDrawSurface::QueryInterface
Succeeded to hook IDirectDrawSurface4::Lock
Succeeded to hook IDirectDrawSurface4::UnLock
Succeeded to hook IDirectDrawSurface::UnLock
Succeeded to hook IDirectDrawSurface4::Blt
Succeeded to hook IDirectDrawSurface4::Bltfast
Succeeded to hook IDirectDrawSurface4::GetDC
Succeeded to hook IDirectDrawSurface4::ReleaseDC
Succeeded to hook IDirect3DViewport3::TransformVertices
Succeeded to hook IDirect3DDevice3::DrawPrimitive
Succeeded to hook IDirect3DDevice3::DrawIndexedPrimitive
Succeeded to hook IDirect3DDevice3::DrawPrimitiveVB
Succeeded to hook IDirect3DDevice3::DrawIndexedPrimitiveVB
Succeeded to hook IDirect3DDevice2::DrawPrimitive
Succeeded to hook IDirect3DDevice2::DrawIndexedPrimitive
Succeeded to hook IDirect3DDevice::Execute
Succeeded to hook IDirectDraw::SetCooperativeLevel
Failed to hook IDirectDraw2::SetCooperativeLevel - detours error 1
Failed to hook IDirectDraw4::SetCooperativeLevel - detours error 1
Succeeded to hook IDirectDrawGammaControl::SetGammaRamp

Resolution\Viewport:
Requested : 640 x 480
Real : 2560 x 1440
Correction : 3.000000
Viewport width correction : 320.000000
Succeeded to hook IDirectDrawSurface4::blt
Succeeded to hook IDirectDrawSurface2::blt
Succeeded to hook IDirectDrawSurface::blt
Succeeded to hook IDirectDrawSurface4::lock
Succeeded to hook IDirectDrawSurface4::Unlock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface2::lock
Succeeded to hook IDirectDrawSurface2::Unlock
ptr 243145856 use 242865896 sz 17120 hwnd 242865896
ptr 243133408 use 242866184 sz 4252 hwnd 242866184
ptr 243129840 use 242865728 sz 652 hwnd 242865728
ptr 243129496 use 242866160 sz 532 hwnd 242866160
z id 238931048
IDirect3dDevice3 0 D3DERR_OK

Well, I only have one monitor.

The only recommendation i can give is disconnect the other monitor when you want to play

Reply 730 of 741, by LonerHero

User metadata
Rank Newbie
Rank
Newbie

Hey Peixoto,

Wonderful wonderful work on the patch for various game. I was trying to get onimusha work but I ended up having very frustrating results which later on made me discover that of why such thing is happening. I believe the coding needs to be re-approached.

I discovered many things of why I get such strange graphical result like this:

unknown.png

unknown.png

First of all, the way this port is heavily coded to detect what display using rather than GPU. So the display part is handled entirely by the iCPU, which easily makes sense on a desktop, it's just plugging the cables from GPU <--> Monitor instead of CPU (iGPU) <--> Monitor.

unknown.png

unknown.png

The problem with the laptop is that we can't do that because the output of the Intel GPU is feeding the Display.

unknown.png

I tried most possible solutions through NIVIDIA control panel and there is no luck at all. Is there any possible chance that you could work on this and patch ? I am trying pretty much making this port favourable to everyone due to one of the only ports that includes cut-scene skip. So the speedrun community can finally run the game without any additional hassle.

I talked with people that I worked with to make this patch work:
- When the game installed fresh without any patch it worked through fortinbras but encountered an issue that drops fps heavily along with graphical bugs.
- After using official normal patches which is 1.01 and 1.02, the game worked well FPS issues with souls on screen gone. graphical bugs like vanishing body parts are gone too up until fortinbras crash.
- After the attempt of using your patch, they couldn't go through starting a new game and it just sits at a blackscreen. Furthermore, just straight crashes instead of launching.

Is it also possible if we could keep in touch together through Discord ? So we can keep the communication pretty much frequent ?

Reply 731 of 741, by tanyaaynat

User metadata
Rank Newbie
Rank
Newbie

Hi peixoto, please tell me how to fix this. This only occurs at bartolli's hideout. There are a lot of missing textures, all black. i tried using arsunt's exe hoping it could fix it, but still it occurred. Please help. Thanks in advance, your patch is amazing btw.

Attachments

Reply 732 of 741, by tribble01

User metadata
Rank Newbie
Rank
Newbie

Hello Peixoto,

I have a Problem with Tomb Raider IV and your Patch. I had installed the new HD-Videos from LeonDeka and at first they ran perfectly. I played the first four Levels. But now after a couple of hours I would launch the game again and it didn't start. There is only a Black Screen and the Message "Failed to Setup DirectX". What is wrong? The Strange Thing is, it had worked a couple of hours ago. It is a Miracle for me. Maybe you can help me.

My error.log is:
Peixotos's patch remote settings:
#args: setup
32bit: 1
compatlayer: FaultTolerantHeap
D3D: 3
D3D_Driver: C:\WINDOWS\System32\DriverStore\FileRepository\nvmoi.inf_amd64_b25c5f9c51bd7ed9\nvldumd.dll
dshow: 1
dsk: 1920x1080
error_log: D:\Spiele\Peixoto's Patch\error.log
GPad: A=1;B=2;X=3;Y=4;LEFT_SHOULDER=5;RIGHT_SHOULDER=6;bLeftTrigger=7;bRightTrigger=8;start=9;back=10;LEFT_THUMB=11;RIGHT_THUMB=12;deadzone=0.25;
HD: 1
injector_dir: D:\Spiele\Peixoto's Patch
max_4x3_res: 1280x960
Mydocs: C:\Users\C-3PO\Documents
NEFS: 1
os_version: 10.000000
path: C:\Users\C-3PO\Documents\Games\Tomb Raider\TR4\
resolutions_list: 640x480 720x480 720x576 800x600 1024x768 1152x864 1280x720 1280x768 1280x800 1280x960 1280x1024 1360x768 1366x768 1600x900 1600x1024 1680x1050 1920x1080
script: Scripts\Tomb4.ahk
script_hwnd: 0x840cda
singlecore: 1
svs: 1
target: D:\Spiele\Tomb Raider\Tomb Raider IV - Die letzte Offenbarung\tomb4.exe
target_dir: D:\Spiele\Tomb Raider\Tomb Raider IV - Die letzte Offenbarung
target_name: tomb4.exe
Textswap: path=Textures\VOKSI;s=4;sz=256;n=];p=[;d=o;sw=i;c=u;q=q;l=0;
WSTL: 1

FileHooks 0
CreateFileA_Hook Hook : 0 <- 0 means no error
CreateProcessA Hook: 0
CreateProcessW Hook: 0
Desktop 1920x1080
OpenAdapter Hook 0
DDraw.dll : C:\WINDOWS\SYSTEM32\DDRAW.dll
DirectDrawCreate Hook : 0
Succeeded to create DirectDraw
Succeeded to create Direct3D
Succeeded to hook IDirectDraw2::CreateSurface
Failed to hook IDirectDraw::CreateSurface - detours error 1
Succeeded to hook IDirectDraw4::CreateSurface
Succeeded to hook IDirectDrawSurface::restore
Succeeded to hook IDirect3DDevice::EndScene
Succeeded to hook IDirect3DDevice3::EndScene
Succeeded to hook IDirect3D3::CreateDevice
Succeeded to hook IDirect3D2::CreateDevice
Succeeded to hook IDirectDraw::SetDisplayMode
Succeeded to hook IDirectDraw2::SetDisplayMode
Failed to hook IDirectDraw4::SetDisplayMode - detours error 1
Succeeded to hook IDirectDraw4::EnumDisplayModes
Succeeded to hook IDirect3DViewport3::SetViewPort2
Succeeded to hook IDirect3DViewport3::GetViewPort2
Succeeded to hook IDirect3DViewport3::Clear
Succeeded to hook IDirect3DViewport3::Clear2
Succeeded to hook IDirect3DViewport::SetViewPort
Succeeded to hook IDirect3DViewport::GetViewPort
Succeeded to hook IDirectDrawSurface4::GetSurfaceDesc
Succeeded to hook IDirectDraw::GetDisplayMode
Failed to hook IDirectDraw4::GetDisplayMode - detours error 1
Succeeded to hook IDirectDrawSurface::GetPixelFormat
Succeeded to hook IDirectDrawSurface::GetSurfaceDesc
Succeeded to hook IDirectDrawSurface::AddAttachedSurface
Succeeded to hook IDirectDrawSurface::GetPalette
Succeeded to hook IDirectDrawSurface::SetPalette
Succeeded to hook IDirectDrawPalette::SetEntries
Succeeded to hook IDirectDrawPalette::GetEntries
Succeeded to hook IDirectDrawSurface::QueryInterface
Succeeded to hook IDirectDrawSurface4::Lock
Succeeded to hook IDirectDrawSurface4::UnLock
Succeeded to hook IDirectDrawSurface::UnLock
Succeeded to hook IDirectDrawSurface4::Blt
Succeeded to hook IDirectDrawSurface4::Bltfast
Succeeded to hook IDirectDrawSurface4::GetDC
Succeeded to hook IDirectDrawSurface4::ReleaseDC
Succeeded to hook IDirect3DViewport3::TransformVertices
Succeeded to hook IDirect3DDevice3::DrawPrimitive
Succeeded to hook IDirect3DDevice3::DrawIndexedPrimitive
Succeeded to hook IDirect3DDevice3::DrawPrimitiveVB
Succeeded to hook IDirect3DDevice3::DrawIndexedPrimitiveVB
Succeeded to hook IDirect3DDevice2::DrawPrimitive
Succeeded to hook IDirect3DDevice2::DrawIndexedPrimitive
Succeeded to hook IDirect3DDevice::Execute
Succeeded to hook IDirect3DTexture2::Release
Succeeded to hook IDirect3DTexture2::Load
Succeeded to hook IDirect3DDevice3::SetTexture
Succeeded to hook IDirectDrawSurface4::Release
Succeeded to hook IDirect3DTexture2::GetHandle
Succeeded to hook IDirect3DDevice2::SetRenderState
Succeeded to hook IDirect3DTexture::Load
Succeeded to hook IDirect3DTexture::GetHandle
Succeeded to hook IDirect3DTexture::Release
Succeeded to hook IDirectDraw::SetCooperativeLevel
Failed to hook IDirectDraw2::SetCooperativeLevel - detours error 1
Failed to hook IDirectDraw4::SetCooperativeLevel - detours error 1
Succeeded to hook IDirectDrawSurface::flip
Succeeded to hook IDirectDrawSurface4::GetAttachedSurface
Succeeded to hook IDirectDrawSurface4::EnumAttachedSurfaces
Succeeded to hook IDirectDrawSurface::GetAttachedSurface
Succeeded to hook IDirectDrawSurface::EnumAttachedSurfaces
Succeeded to hook IDirect3DDevice3::BeginScene
IDirect3DDevice3::DrawPrimitive is already hooked
Succeeded to hook IDirectDrawSurface4::blt
Succeeded to hook IDirectDrawSurface2::blt
Succeeded to hook IDirectDrawSurface::blt
Succeeded to hook IDirectDrawSurface4::lock
Succeeded to hook IDirectDrawSurface4::Unlock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface2::lock
Succeeded to hook IDirectDrawSurface2::Unlock
ptr 186945024 use 186927368 sz 17120 hwnd 186927368
ptr 186932752 use 186927008 sz 4252 hwnd 186927008
ptr 186928840 use 186927200 sz 652 hwnd 186927200
ptr 186929448 use 186927392 sz 948 hwnd 186927392
Succeeded to unhook IDirect3DTexture::Release

Resolution\Viewport:
Requested : 640 x 480
Real : 1920 x 1080
Correction : 2.250000
Viewport width correction : 240.000000
Succeeded to hook IDirectDrawSurface4::blt
Succeeded to hook IDirectDrawSurface2::blt
Succeeded to hook IDirectDrawSurface::blt
Succeeded to hook IDirectDrawSurface4::lock
Succeeded to hook IDirectDrawSurface4::Unlock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::Unlock

Reply 733 of 741, by Peixoto

User metadata
Rank Member
Rank
Member
LonerHero wrote on 2020-06-16, 20:22:

...

The onimusha entry is for path 1.2 only, it crashes with other versions. The crash in the end of the game with patch 1.2 is caused by a bad file on the patch: room404b.xsb, but the original file form the CDRom works, is included with my program in the folder patches\onimusha, and you won't even have the trouble of copying it to the game folder because the program has an option to force the game to use that file. All of this is described on the help

As for the problem on the pictures, please post the contents of your error.log file and also try to create a new entry with the create new button, chose DirectX 8, enable the forced resolution option and tell me what happens (and post the log)

There was another guy who had the same problem as you and a suggested him to combine my program with this: https://github.com/crosire/d3d8to9
but it probably won't work with the current version of my program

tanyaaynat wrote on 2020-06-20, 10:25:

Hi peixoto, please tell me how to fix this. This only occurs at bartolli's hideout. There are a lot of missing textures, all black. i tried using arsunt's exe hoping it could fix it, but still it occurred. Please help. Thanks in advance, your patch is amazing btw.

I'll see if can reproduce that Try to load the level from another save file

tribble01 wrote on 2020-06-22, 23:41:

Hello Peixoto,

I have a Problem with Tomb Raider IV and your Patch. I had installed the new HD-Videos from LeonDeka and at first they ran perfectly. I played the first four Levels. But now after a couple of hours I would launch the game again and it didn't start. There is only a Black Screen and the Message "Failed to Setup DirectX". What is wrong? The Strange Thing is, it had worked a couple of hours ago. It is a Miracle for me. Maybe you can help me.

Hold shift when you start the game to run it's setup. It will probably work again

The FMVs are unsupported by the time, until i write another player

Reply 734 of 741, by LonerHero

User metadata
Rank Newbie
Rank
Newbie
Peixoto wrote on 2020-06-24, 18:23:

The onimusha entry is for path 1.2 only, it crashes with other versions. The crash in the end of the game with patch 1.2 is caused by a bad file on the patch: room404b.xsb, but the original file form the CDRom works, is included with my program in the folder patches\onimusha, and you won't even have the trouble of copying it to the game folder because the program has an option to force the game to use that file. All of this is described on the help

I am using this version, would that work ? https://community.pcgamingwiki.com/files/file … ixotos-patches/

Another question is that is there way that I can force the game to run in windowed ?

I will be working on it from today and see what kind of results I will get.

Reply 735 of 741, by Peixoto

User metadata
Rank Member
Rank
Member
LonerHero wrote on 2020-06-24, 19:33:
I am using this version, would that work ? https://community.pcgamingwiki.com/files/file … ixotos-patches/ […]
Show full quote
Peixoto wrote on 2020-06-24, 18:23:

The onimusha entry is for path 1.2 only, it crashes with other versions. The crash in the end of the game with patch 1.2 is caused by a bad file on the patch: room404b.xsb, but the original file form the CDRom works, is included with my program in the folder patches\onimusha, and you won't even have the trouble of copying it to the game folder because the program has an option to force the game to use that file. All of this is described on the help

I am using this version, would that work ? https://community.pcgamingwiki.com/files/file … ixotos-patches/

Another question is that is there way that I can force the game to run in windowed ?

I will be working on it from today and see what kind of results I will get.

Maybe, but 1st you should try the current version

Reply 736 of 741, by LonerHero

User metadata
Rank Newbie
Rank
Newbie
Peixoto wrote on 2020-06-24, 19:37:

Maybe, but 1st you should try the current version

Okay so this is what I got. I replaced room404b.xsd and d3d8.dll. Everything seems to worked splendidly

Peixotos's patch remote settings:
CompatLayer: WinXPSp3
D3D: 8
D3D_Driver: C:\Windows\System32\DriverStore\FileRepository\nvami.inf_amd64_c807de6afd0e45f0\nvldumd.dll
dshow: 1
dsk: 1360x768
error_log: C:\Users\User\Desktop\Peixoto\error.log
FMV: 1
GPad: A=4;B=3;X=1;Y=2;LEFT_SHOULDER=6;RIGHT_SHOULDER=5;bLeftTrigger=11;bRightTrigger=7;start=9;back=10;LEFT_THUMB=12;RIGHT_THUMB=8;deadzone=0.25;ff=True;
HD: 1
injector_dir: C:\Users\User\Desktop\Peixoto
max_4x3_res: 1400x1050
Mydocs: C:\Users\User\Documents
oni_macros: 1
os_version: 10.000000
Path: C:\Users\User\Documents\Games\Onimusha\Warlords\
rlst: 320x200 320x240 400x300 512x384 640x400 640x480 720x480 720x576 800x600 1024x768 1152x864 1280x600 1280x720 1280x768 1280x800 1280x960 1280x1024 1360x768 1366x768 1400x1050 1440x900 1600x900 1680x1050 1920x1080
script: Scripts\Onimusha.ahk
script_hwnd: 0x210e02
SVS: 1
SXTY: 1
SYNC: 1
target: C:\Program Files (x86)\CAPCOM\Onimusha\OnimuPC.exe
target_dir: C:\Program Files (x86)\CAPCOM\Onimusha
target_name: OnimuPC.exe
Textswap: s=4;sz=256;path=Textures\VOKSI;n=];p=[;d=home;sw=del;c=c;q=shift;

isobject 1
Collection size 0
FileHooks 0
CreateProcessA Hook: 0
CreateProcessW Hook: 0
ShellExecuteA Hook :0
Direct3DCreate8 Hook: 0
OpenAdapter Hook 0
Succeeded to create Direct3D8
Succeeded to hook IDirect3D8::CreateDevice
Succeeded to hook IDirect3DDevice8::EndScene
Succeeded to hook IDirect3DSurface8::LockRect
Succeeded to hook IDirect3DSurface8::UnLockRect
Succeeded to hook IDirect3DTexture8::LockRect
Succeeded to hook IDirect3DTexture8::UnLockRect
Succeeded to hook IDirect3DDevice8::CreateTexture
Succeeded to hook IDirect3DDevice8::SetTexture
Succeeded to hook IDirect3DTexture8::Release
Succeeded to hook IDirect3DTexture8::GetSurfaceLevel
Failed to hook IDirect3DSurface8::Release - detours error 1
Max Primitives 16777215
Succeeded to hook IDirect3DDevice8::SetRenderTarget
Succeeded to hook IDirect3DDevice8::GetRenderTarget
Succeeded to hook IDirect3DDevice8::GetDepthStencilSurface
Succeeded to hook IDirect3DDevice8::GetBackBuffer
Succeeded to hook IDirect3DDevice8::Present
Succeeded to hook IDirect3DDevice8::SetViewPort
Succeeded to hook IDirect3DDevice8::GetViewPort
Succeeded to hook IDirect3DDevice8::Reset
Succeeded to hook IDirect3DDevice8::Clear
Failed to hook IDirect3DSurface8::LockRect - detours error 1
Failed to hook IDirect3DSurface8::UnLockRect - detours error 1
Succeeded to hook IDirect3DSurface8::GetDesc
Succeeded to hook IDirect3DDevice8::SetVertexShader
Succeeded to hook IDirect3DDevice8::SetStreamSource
Succeeded to hook IDirect3DDevice8::DrawPrimitiveUp
Succeeded to hook IDirect3DDevice8::DrawPrimitive
Succeeded to hook IDirect3DDevice8::CreateVertexBuffer
Failed to hook IDirect3DSurface8::Release - detours error 1
Succeeded to hook IDirect3DDevice8::CopyRects
IDirect3DDevice8::Present is already hooked
Succeeded to hook IDirect3DDevice8::DrawIndexedPrimitive

Resquested 640 x 480
Proxie: color buffer: 0
Proxie: color buffer level 0: 0
Proxie: z buffer: 0
Proxie: z buffer level 0: 0
Proxie: color buffer: 0
Proxie: color buffer level 0: 0
Proxie: color buffer: 0
Proxie: color buffer level 0: 0
Proxie: z buffer: 0
Proxie: z buffer level 0: 0
Proxie: color buffer: 0
Proxie: color buffer level 0: 0
ptr 49900664 use 49833656 sz 532 hwnd 49833656
Proxie: color buffer: 0
Proxie: color buffer level 0: 0
Proxie: z buffer: 0
Proxie: z buffer level 0: 0
Release clr surface 1
Release z surface 1
Release clr texture 0
Release z texture 0
ptr 49946096 use 49865360 sz 224 hwnd 49865360

Release clr surface 1
Release clr texture 0
Release clr surface 5809
Release z surface 1
Release clr texture 5808
Release z texture 0
Release clr surface 1
Release clr texture 0
Release clr surface 1
Release z surface 1
Release clr texture 0
Release z texture 0
Resquested 1360 x 768
Proxie: color buffer: 0
Proxie: color buffer level 0: 0
Proxie: z buffer: 0
Proxie: z buffer level 0: 0
Proxie: color buffer: 0
Proxie: color buffer level 0: 0
Proxie: color buffer: 0
Proxie: color buffer level 0: 0
Proxie: z buffer: 0
Proxie: z buffer level 0: 0
Proxie: color buffer: 0
Proxie: color buffer level 0: 0
ptr 49926928 use 49864968 sz 532 hwnd 49864968
Release clr surface 1
Release clr texture 0
Release clr surface 1
Release z surface 1

-----------------------------------------------------------------------------

The issue so far is that the game easily crashes if I do alt-tab. And I can't seem to find windowed options.

Reply 737 of 741, by Peixoto

User metadata
Rank Member
Rank
Member
LonerHero wrote on 2020-06-24, 20:32:

The issue so far is that the game easily crashes if I do alt-tab. And I can't seem to find windowed options.

It's not meant for windowed mode, but better alt-tab can come eventually

Reply 738 of 741, by LonerHero

User metadata
Rank Newbie
Rank
Newbie
Peixoto wrote on 2020-06-24, 20:51:

It's not meant for windowed mode, but better alt-tab can come eventually

A shame for windowed mode tbh. I do look forward for future release for more improvements. Much appreciated for the fix though. d3d8.dll and room404b.xsd certainly helped.

Reply 739 of 741, by LonerHero

User metadata
Rank Newbie
Rank
Newbie

Sorry for the double post but is there anyway to edit gamepad setting for Onimusha without patch ? One of my friends preferred to hard fix this

I have been trying Xinputplus DS4Windows or x360ce no such luck. Buttons are working fine but my issue goes to sticks which is the movement. Since the game uses tank control I had no luck setting it up to detect on d-pad.