VOGONS


Peixoto's patches for a few old games

Topic actions

Reply 740 of 890, by Peixoto

User metadata
Rank Member
Rank
Member
LonerHero wrote on 2020-06-26, 00:09:

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.

Not that i know

Reply 741 of 890, by giovannips123

User metadata
Rank Newbie
Rank
Newbie

i'm having troubles with non exclusive fullscreen on Tomb Raider 2. When i activate it the song skips a bit and the controls are irresponsive. Lara starts walking or spinning all of her own after some seconds of imput lag on the controls. This doesn't happen when non-exclusive fullscreen is deactivated but then i can't play the fmvs

Reply 742 of 890, by mannalo

User metadata
Rank Newbie
Rank
Newbie

Hi,

New member here, having problems loading Tom Raider 2, the game does not launch, i have included the error log file, any idea what i have done wrong?

Peixotos's patch remote settings:
#args: setup
32bit: 1
CompatLayer: WinXPSp2
D3D: 2
D3D_Driver: C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_9dc776be3e13ad6d\igdumdim32.dll
DDRefcountfix: 1
dshow: 1
dsk: 1920x1080
error_log: D:\Peixoto\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.000000;
injector_dir: D:\Peixoto
J2K: u=False;a=Up,Down,Left,Right,end,alt,space,ctrl,del,PgDn,shift,numpad0,esc,/,8,9,Up,Down,Left,Right;dz=0.25;
max_4x3_res: 1400x1050
MCI: 1
Mydocs: E:
os_version: 10.000000
path: E:\Games\Tomb Raider\TR2\
rlst: 320x200 320x240 400x300 512x384 640x400 640x480 800x600 1024x768 1152x864 1280x600 1280x720 1280x768 1280x800 1280x960 1280x1024 1360x768 1366x768 1400x1050 1440x900 1600x900 1680x1050 1920x1080
script: Scripts\Tomb2.ahk
script_hwnd: 0x290a6c
singlecore: 1
svs: 1
target: C:\Program Files (x86)\GOG.com\Tomb Raider 1 2 3\Tomb Raider 2\Tomb2.exe
target_dir: C:\Program Files (x86)\GOG.com\Tomb Raider 1 2 3\Tomb Raider 2
target_name: Tomb2.exe
Textswap: path=Textures\VOKSI;s=4;sz=256;n=];p=[;d=p;sw=i;c=o;q=q;l=0;
z24: 1

isobject 1
isobject 1
Collection size 0
isobject 1
Collection size 0
isobject 1
Collection size 0
Collection size 0
FileHooks 0
CreateFileA_Hook Hook : 0 <- 0 means no error
CreateProcessA Hook: 0
CreateProcessW Hook: 0
ShellExecuteA Hook :0
Succeeded to create the DirectInput Interfaces
Succeeded to create the DirectInput Interfaces
Succeeded to create the DirectInput8 Interfaces
Succeeded to create the DirectInput8 Interfaces
Succeeded to hook IDirectInputDevice8W::GetDeviceState
Succeeded to hook IDirectInputDeviceW::GetDeviceState
Succeeded to hook IDirectInputDeviceA::GetCapabilities
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 IDirectDraw::Release
Succeeded to hook IDirectDraw4::CreateSurface
Succeeded to hook IDirectDraw2::CreateSurface
Succeeded to hook IDirectDraw::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
Succeeded to hook IDirectDraw4::SetDisplayMode
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
Succeeded to hook IDirectDraw4::GetDisplayMode
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 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 IDirect3DDevice::Execute
Succeeded to hook IDirectDraw::SetCooperativeLevel
Succeeded to hook IDirectDraw2::SetCooperativeLevel
Succeeded to hook IDirectDraw4::SetCooperativeLevel
Succeeded to hook IDirect3DDevice2::BeginScene
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 73120088 use 73203192 sz 17120 hwnd 73203192
ptr 73067152 use 73202464 sz 4252 hwnd 73202464
ptr 73071448 use 73202688 sz 652 hwnd 73202688
ptr 73284904 use 73202240 sz 532 hwnd 73202240
ptr 73287328 use 73192296 sz 676 hwnd 73192296
ptr 72886248 use 73191680 sz 696 hwnd 73191680
ptr 73195016 use 73192408 sz 136 hwnd 73192408
ptr 73194304 use 72876208 sz 296 hwnd 72876208

Succeeded to unhook IDirect3DTexture2::Load
Succeeded to hook IDirect3DTexture2::Load

Reply 743 of 890, by Nonjojålol

User metadata
Rank Newbie
Rank
Newbie

Hi, Peixoto. Your work is amazing! I wouldn't mind giving you a donation for your hard work. (Found it!)

I got a problem with your patch and Tomb Raider 3 (regular CD version and I have applied the patch). I used it to get the FMVs to work and they did! 2K resolution worked, too. but no keys work. There is an error sound when I boot the game but there's no error window visible. There's also an error sound everytime I press tab. I can't skip the videos (I can if I tab in and out of the game) and I can't move the menu or enter anything. I have a small suspecion and where the problem stems from. I initially had a problem with dashing since it uses the / key and my Norwegian keyboard don't have that. I know however from DOSBox experience that certain keys hide behind the ÆØÅ keys, such as / and ;. When I press Æ it crashes the game. I went to edit user keys in the game and then saw the numpad pattern. I could press 1 to dash but I made one edit to a key. Maybe your injector program don't get controls to work because a file is no longer default. I don't know, this is beyond me but it's a suspicion.

edit: I reinstalled the game and deleted the leftover files. The game still have a problem with keyboard input. I checked the controls in regular mode and it's back to default. Looking at the features there's mention of a glitch being fixed on the title screen. Is it that weird line one Lara? It's still there. There's also some errors in the error log. I'll attach it. I'm using 64 bit Windows 10N.

Peixotos's patch remote settings:
#args: setup
32bit: 1
D3D: 2
D3D_Driver: C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_e92a0ac2e05fb2ca\nvldumd.dll
dshow: 1
dsk: 2560x1440
DSR: 2560x1440
error_log: C:\Users\Pink Towel\Documents\Peixoto\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.150000;
HD: 1
injector_dir: C:\Users\Pink Towel\Documents\Peixoto
max_4x3_res: 1920x1440
Mydocs: C:\Users\Pink Towel\Documents
os_version: 10.000000
Path: C:\Users\Pink Towel\Documents\Games\Tomb Raider\TR3\
READ: 1
rlst: 640x480 720x480 720x576 800x600 1024x768 1152x864 1176x664 1280x720 1280x768 1280x800 1280x960 1280x1024 1360x768 1366x768 1600x900 1600x1024 1600x1200 1680x1050 1768x992 1920x1080 1920x1200 1920x1440 2560x1440 1440x900
script: scripts\Tomb2.ahk
script_hwnd: 0x33044a
singlecore: 1
svs: 1
target: C:\Program Files (x86)\Core Design\Tomb Raider III\tomb3.exe
target_dir: C:\Program Files (x86)\Core Design\Tomb Raider III
target_name: tomb3.exe
Textswap: path=Textures\VOKSI;s=4;sz=256;n=];p=[;d=p;sw=i;c=o;q=q;l=0;

isobject 1
isobject 1
Collection size 0
isobject 1
Collection size 0
isobject 1
Collection size 0
Collection size 0
FileHooks 0
CreateFileA_Hook Hook : 0 <- 0 means no error
CreateProcessA Hook: 0
CreateProcessW Hook: 0
ShellExecuteA Hook :0
Succeeded to create the DirectInput Interfaces
Succeeded to create the DirectInput Interfaces
Succeeded to create the DirectInput8 Interfaces
Succeeded to create the DirectInput8 Interfaces
Succeeded to hook IDirectInputDevice8W::GetDeviceState
Succeeded to hook IDirectInputDeviceW::GetDeviceState
Succeeded to hook IDirectInputDeviceA::GetCapabilities
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 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
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 IDirect3DDevice2::BeginScene
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 88909440 use 88756568 sz 17120 hwnd 88756568
ptr 88897576 use 88756616 sz 4252 hwnd 88756616
ptr 88893976 use 88756616 sz 652 hwnd 88756616
ptr 88893856 use 88756472 sz 532 hwnd 88756472

Last edited by Nonjojålol on 2020-07-13, 14:29. Edited 2 times in total.

Reply 744 of 890, by Kreeep

User metadata
Rank Newbie
Rank
Newbie

Thanks for all your work Peixoto. Very much appreciated 😀

Sorry to be another post for you to reply to Peixoto. When attempting to use your LBA2 patches in conjunction with dgVoodoo it just crashes back to desktop. Any ideas why this might be the case? Thaanks 😀

Reply 745 of 890, by Peixoto

User metadata
Rank Member
Rank
Member
giovannips123 wrote on 2020-07-05, 05:26:

i'm having troubles with non exclusive fullscreen on Tomb Raider 2. When i activate it the song skips a bit and the controls are irresponsive. Lara starts walking or spinning all of her own after some seconds of imput lag on the controls. This doesn't happen when non-exclusive fullscreen is deactivated but then i can't play the fmvs

There will be a new player in the future that won't require non exclusive fullscreen

mannalo wrote on 2020-07-09, 12:41:

Hi,

New member here, having problems loading Tom Raider 2, the game does not launch, i have included the error log file, any idea what i have done wrong?

Nonjojålol wrote on 2020-07-13, 13:44:

Hi, Peixoto. Your work is amazing! I wouldn't mind giving you a donation for your hard work. (Found it!)

I got a problem with your patch and Tomb Raider 3 (regular CD version and I have applied the patch). I used it to get the FMVs to work and they did! 2K resolution worked, too. but no keys work. There is an error sound when I boot the game but there's no error window visible. There's also an error sound everytime I press tab. I can't skip the videos (I can if I tab in and out of the game) and I can't move the menu or enter anything. I have a small suspecion and where the problem stems from. I initially had a problem with dashing since it uses the / key and my Norwegian keyboard don't have that. I know however from DOSBox experience that certain keys hide behind the ÆØÅ keys, such as / and ;. When I press Æ it crashes the game. I went to edit user keys in the game and then saw the numpad pattern. I could press 1 to dash but I made one edit to a key. Maybe your injector program don't get controls to work because a file is no longer default. I don't know, this is beyond me but it's a suspicion.

edit: I reinstalled the game and deleted the leftover files. The game still have a problem with keyboard input. I checked the controls in regular mode and it's back to default. Looking at the features there's mention of a glitch being fixed on the title screen. Is it that weird line one Lara? It's still there. There's also some errors in the error log. I'll attach it. I'm using 64 bit Windows 10N.

Nothing wrong with either the log. Try different settings

Kreeep wrote on 2020-07-13, 14:19:

Thanks for all your work Peixoto. Very much appreciated 😀

Sorry to be another post for you to reply to Peixoto. When attempting to use your LBA2 patches in conjunction with dgVoodoo it just crashes back to desktop. Any ideas why this might be the case? Thaanks 😀

For a lot of reasons combining with dgVoodoo is not possible

Reply 746 of 890, by VenxFox34

User metadata
Rank Newbie
Rank
Newbie

Hey Peixoto, I've been using this patch for the classic Tomb Raider games for a while now, you've done some incredible work! Recently though I have found an issue whenever I start up Tomb Raider 5, everything is fine except for the FMV's. When they load up, there are pink squares that appear as the FMV's play, I know it's not a huge issue, though it makes it very difficult to watch the FMV's as most of the video is covered by these pink squares. I'm not sure what the cause of the issue could be, so I wanted to ask you here, as I've also not seen any posts from other people who have had this issue.

Reply 747 of 890, by FabiTRgamer

User metadata
Rank Newbie
Rank
Newbie

Hi guys!

I just wanted to share with you all a solution to a problem I had. No matter what I tried, I wasn't able to make my controller work in the Peixoto. But I finally figured it out and I'm super excited!!! All you have to do is:

- Make sure your controller works on your computer;
- Download a tool that allows your controller to emulate your keyboard and mouse, such as JoyCur. Scan the file for viruses (that one was safe for me).
- Extract the files and run "joycur.exe" (or whatever tool you chose) as administrator (it won't work otherwise).
- Map the keys as you wish;
- In the Peixoto, disable the "DirectInput to Xinput translation" option;
- Click on Start.

And there you go. I hope it works for you too!
And Peixoto, thank you so much for providing us with such an incredible software. It's amazing! <3

Last edited by FabiTRgamer on 2020-08-13, 01:02. Edited 15 times in total.

Reply 748 of 890, by pepodmc

User metadata
Rank Newbie
Rank
Newbie

Hello Peixoto.

Can you add custom texture replacement support for the game Carmageddon 2 Carpocalypse now?

ss_67d0d91d52680d7fdbb72b620575659462e4394b.1920x1080.jpg?t=1588593961

I always wanted to do texture replacement in this game but never had a program to be able to do that. I want to revamp the entire game.

Its a directx 7 game.

Even today, people still make car mods or stage mods for this game. And if this game has custom texture replacement support, it would be huge for the mod scene of the game.

PD: Thanks for adding the 24bits Z-buffer in the last release, it helped star wars episode 1 racer.

Reply 749 of 890, by Peixoto

User metadata
Rank Member
Rank
Member
VenxFox34 wrote on 2020-07-21, 18:01:

Hey Peixoto, I've been using this patch for the classic Tomb Raider games for a while now, you've done some incredible work! Recently though I have found an issue whenever I start up Tomb Raider 5, everything is fine except for the FMV's. When they load up, there are pink squares that appear as the FMV's play, I know it's not a huge issue, though it makes it very difficult to watch the FMV's as most of the video is covered by these pink squares. I'm not sure what the cause of the issue could be, so I wanted to ask you here, as I've also not seen any posts from other people who have had this issue.

Post the contents of your error.log file, please

pepodmc wrote on 2020-07-24, 13:07:

Hello Peixoto.

Can you add custom texture replacement support for the game Carmageddon 2 Carpocalypse now?

I just tested the demo and both texture replacement and forced resolution work. Just use the "create new" button and chose DirectX 1-6

The game is Direct3D 2 (DirectX 5)

Reply 750 of 890, by Nonjojålol

User metadata
Rank Newbie
Rank
Newbie
Peixoto wrote on 2020-07-21, 16:30:

Nothing wrong with either the log. Try different settings

Tomb Raider 3 decided to respond to my keyboard.
I've been trying to get HQ FMVs to work to no avail. Non-exclusive fullscreen didn't work either. Also tried using K-Lite Codec and the fix but nothing. The FMVs are BIK files. Could VLC be the problem?
But it's not that big of a deal to me. A bigger issue to me is that the game stretches in widescreen. Mars on the menu is a good way to see if the image is stretched. Best resolution I can use is 1920x1440 but to use it I must have Forced Resolution off.

Going back and forth between settings and your patch and playing without it have not been without issues. Sometimes I can't boot and I get a message telling me to check the setup. Doing that fixes the problem. I think it happens when I have Forced Resolution on after using 1920x1440 last. And for some reason pressing up or down doesn't work with the regular game anymore while the inventory have a white background with the patch. It's fixed with Forced Resolution on. If I change the resolution whith a map loaded the models are zoomed and a restart is needed to fix it. Too bad I can't have both a fixed inventory and 1440 resolution

Reply 751 of 890, by pepodmc

User metadata
Rank Newbie
Rank
Newbie
Peixoto wrote on 2020-07-26, 22:54:
Post the contents of your error.log file, please […]
Show full quote
VenxFox34 wrote on 2020-07-21, 18:01:

Hey Peixoto, I've been using this patch for the classic Tomb Raider games for a while now, you've done some incredible work! Recently though I have found an issue whenever I start up Tomb Raider 5, everything is fine except for the FMV's. When they load up, there are pink squares that appear as the FMV's play, I know it's not a huge issue, though it makes it very difficult to watch the FMV's as most of the video is covered by these pink squares. I'm not sure what the cause of the issue could be, so I wanted to ask you here, as I've also not seen any posts from other people who have had this issue.

Post the contents of your error.log file, please

pepodmc wrote on 2020-07-24, 13:07:

Hello Peixoto.

Can you add custom texture replacement support for the game Carmageddon 2 Carpocalypse now?

I just tested the demo and both texture replacement and forced resolution work. Just use the "create new" button and chose DirectX 1-6

The game is Direct3D 2 (DirectX 5)

I cant make "Texture dumping" work in the final version.

Can you test with the release version, please? Forced resolution doesnt do anything also.

Perhaps im doing something wrong.

Can you tell me step by step what to do?

Reply 752 of 890, by Peixoto

User metadata
Rank Member
Rank
Member
pepodmc wrote on 2020-07-29, 20:03:
I cant make "Texture dumping" work in the final version. […]
Show full quote
Peixoto wrote on 2020-07-26, 22:54:
Post the contents of your error.log file, please […]
Show full quote
VenxFox34 wrote on 2020-07-21, 18:01:

Hey Peixoto, I've been using this patch for the classic Tomb Raider games for a while now, you've done some incredible work! Recently though I have found an issue whenever I start up Tomb Raider 5, everything is fine except for the FMV's. When they load up, there are pink squares that appear as the FMV's play, I know it's not a huge issue, though it makes it very difficult to watch the FMV's as most of the video is covered by these pink squares. I'm not sure what the cause of the issue could be, so I wanted to ask you here, as I've also not seen any posts from other people who have had this issue.

Post the contents of your error.log file, please

pepodmc wrote on 2020-07-24, 13:07:

Hello Peixoto.

Can you add custom texture replacement support for the game Carmageddon 2 Carpocalypse now?

I just tested the demo and both texture replacement and forced resolution work. Just use the "create new" button and chose DirectX 1-6

The game is Direct3D 2 (DirectX 5)

I cant make "Texture dumping" work in the final version.

Can you test with the release version, please? Forced resolution doesnt do anything also.

Perhaps im doing something wrong.

Can you tell me step by step what to do?

post your error.log, please

edit: Just tested the full version and everything works. You can even create a Direct3D 9 entry and use it with nglide. That's good because there is no fog on Direct3D

Please read the documentation carefully

Last edited by Peixoto on 2020-07-31, 16:11. Edited 1 time in total.

Reply 753 of 890, by Peixoto

User metadata
Rank Member
Rank
Member
Nonjojålol wrote on 2020-07-27, 23:22:

Tomb Raider 3 decided to respond to my keyboard.
I've been trying to get HQ FMVs to work to no avail. Non-exclusive fullscreen didn't work either. Also tried using K-Lite Codec and the fix but nothing. The FMVs are BIK files. Could VLC be the problem?

VLC is not the problem. The current player is. Another one (based on VLC, by the way) will be released in the future

Nonjojålol wrote on 2020-07-27, 23:22:

A bigger issue to me is that the game stretches in widescreen. Mars on the menu is a good way to see if the image is stretched.

The menu background and "load screens" will stretch. If anything else stretches, its a bug, please let me know

Nonjojålol wrote on 2020-07-27, 23:22:

Going back and forth between settings and your patch and playing without it have not been without issues. Sometimes I can't boot and I get a message telling me to check the setup. Doing that fixes the problem.

When you enabled forced resolution , the game will see resolutions it normally doesn't . When you disable it, the game may try to run on a resolution the display normally doesn't supports and then it fails to start,

Nonjojålol wrote on 2020-07-27, 23:22:

And for some reason pressing up or down doesn't work with the regular game anymore

There is a text file in the game directory with the default keyboard config. That file gets "messed up" sometimes, i don't know why. Try deleting it

Nonjojålol wrote on 2020-07-27, 23:22:

while the inventory have a white background with the patch. It's fixed with Forced Resolution on.

I reproduced and will try to fix it

Nonjojålol wrote on 2020-07-27, 23:22:

If I change the resolution whith a map loaded the models are zoomed and a restart is needed to fix it.

Don' t do it then

Nonjojålol wrote on 2020-07-27, 23:22:

Too bad I can't have both a fixed inventory and 1440 resolution

You can. Just configure the game to run at 640x480

Reply 754 of 890, by pepodmc

User metadata
Rank Newbie
Rank
Newbie
Peixoto wrote on 2020-07-30, 17:24:
post your error.log, please […]
Show full quote
pepodmc wrote on 2020-07-29, 20:03:
I cant make "Texture dumping" work in the final version. […]
Show full quote
Peixoto wrote on 2020-07-26, 22:54:

Post the contents of your error.log file, please

I just tested the demo and both texture replacement and forced resolution work. Just use the "create new" button and chose DirectX 1-6

The game is Direct3D 2 (DirectX 5)

I cant make "Texture dumping" work in the final version.

Can you test with the release version, please? Forced resolution doesnt do anything also.

Perhaps im doing something wrong.

Can you tell me step by step what to do?

post your error.log, please

edit: Just tested the full version and everything works. You can even create a Direct3D 9 entry and use it with nglide. That's good because there is no fog on Direct3D

Please read the documentation carefully

yeah , it works, thanks!!

Did the game runs in widescreen in your computer with the nglide method?

Because in my computer runs with two blacks bars at the sides.

Reply 755 of 890, by Nonjojålol

User metadata
Rank Newbie
Rank
Newbie
Nonjojålol wrote on 2020-07-27, 23:22:

A bigger issue to me is that the game stretches in widescreen. Mars on the menu is a good way to see if the image is stretched.

The menu background and "load screens" will stretch. If anything else stretches, its a bug, please let me know

Nonjojålol wrote on 2020-07-27, 23:22:

And for some reason pressing up or down doesn't work with the regular game anymore

There is a text file in the game directory with the default keyboard config. That file gets "messed up" sometimes, i don't know why. Try deleting it

Thanks for the info! I found the config file in my appdata and that fixed the keys for regular TR3. The problem remains in your patch. Not sure where the config file is supposed to be. I found one in my games folder in my documents but the config file wasn't recreated. Maybe the problem is that the patch isn't generating a new file

Reply 756 of 890, by Peixoto

User metadata
Rank Member
Rank
Member
pepodmc wrote on 2020-07-31, 18:47:
yeah , it works, thanks!! […]
Show full quote
Peixoto wrote on 2020-07-30, 17:24:
post your error.log, please […]
Show full quote
pepodmc wrote on 2020-07-29, 20:03:
I cant make "Texture dumping" work in the final version. […]
Show full quote

I cant make "Texture dumping" work in the final version.

Can you test with the release version, please? Forced resolution doesnt do anything also.

Perhaps im doing something wrong.

Can you tell me step by step what to do?

post your error.log, please

edit: Just tested the full version and everything works. You can even create a Direct3D 9 entry and use it with nglide. That's good because there is no fog on Direct3D

Please read the documentation carefully

yeah , it works, thanks!!

Did the game runs in widescreen in your computer with the nglide method?

Because in my computer runs with two blacks bars at the sides.

The game requests 640x480 and my program always preserves the aspect ratio

Reply 757 of 890, by Peixoto

User metadata
Rank Member
Rank
Member
Nonjojålol wrote on 2020-07-31, 18:47:
The menu background and "load screens" will stretch. If anything else stretches, its a bug, please let me know […]
Show full quote
Nonjojålol wrote on 2020-07-27, 23:22:

A bigger issue to me is that the game stretches in widescreen. Mars on the menu is a good way to see if the image is stretched.

The menu background and "load screens" will stretch. If anything else stretches, its a bug, please let me know

Nonjojålol wrote on 2020-07-27, 23:22:

And for some reason pressing up or down doesn't work with the regular game anymore

There is a text file in the game directory with the default keyboard config. That file gets "messed up" sometimes, i don't know why. Try deleting it

Thanks for the info! I found the config file in my appdata and that fixed the keys for regular TR3. The problem remains in your patch. Not sure where the config file is supposed to be. I found one in my games folder in my documents but the config file wasn't recreated. Maybe the problem is that the patch isn't generating a new file

Disable the file redirection option in the file system tab, i've left it enabled in the release version by accident

Reply 758 of 890, by rradersma

User metadata
Rank Newbie
Rank
Newbie

Having difficulty getting my Xinput controller to work with Tomb Raider 2. When I DISABLE the "Support for Xinput controllers" option in Help.exe, both the keyboard and controller work normally except that the game doesn't recognize my triggers. However, when I ENABLE "Support for Xinput controllers", the game will not recognize any input in the main menu from either the keyboard or the controller (although, I am able to skip the intro movies using both. But after that, nothing.) Below is my error log from when I have the support option ENABLED. I also have joysticks enabled in Tomb2.exe -setup, and I have translation and keyboard emulation settings disabled in Help.exe. Let me know if you need more info! Thanks in advance

UPDATE: My current workaround is using JoyToKey for controller input. It seems like both your Xinput support and Keyboard Emulation settings are not working - Xinput disables input completely, and keyboard emulation results in a "stuck key" type problem after a few moments in gameplay. Previous versions of your patch (I found one dated May 2018) have a different issue in keyboard emulation where certain keys remain bound to multiple actions at once.

Peixotos's patch remote settings:
#args: setup
32bit: 1
<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.00;
CompatLayer: WinXPSp2
D3D: 2
D3D_Driver: C:\WINDOWS\System32\DriverStore\FileRepository\nvami.inf_amd64_72390dc4652f28fa\nvldumd.dll
dshow: 1
dsk: 3840x2160
error_log: C:\Users\Ryan\Downloads\Peixoto\error.log
HD: 1
HDPI: 1
injector_dir: C:\Users\Ryan\Downloads\Peixoto
J2K: u=False;a=Up,Down,Left,Right,end,alt,space,ctrl,del,PgDn,shift,numpad0,esc,/,8,9,Up,Down,Left,Right;dz=0.25;
K2K: t0e=False;
max_4x3_res: 2048x1536
MCI: 1
Mydocs: C:\Users\Ryan\Documents
NEFS: 1
os_version: 10.000000
path: C:\Users\Ryan\Documents\Games\Tomb Raider\TR2\
rlst: 640x480 800x600 1024x768 1152x864 1176x664 1280x720 1280x960 1280x1024 1366x768 1400x1050 1600x900 1600x1024 1600x1200 1768x992 1920x1080 1920x1200 1920x1440 2048x1536 2560x1440 2560x1600 3840x2160 4096x2160 720x480 720x576
script: Scripts\Tomb2.ahk
script_hwnd: 0x170668
singlecore: 1
svs: 1
target: D:\Games\SteamLibrary\steamapps\common\Tomb Raider (II)\Tomb2.exe
target_dir: D:\Games\SteamLibrary\steamapps\common\Tomb Raider (II)
target_name: Tomb2.exe
Textswap: path=Textures\VOKSI;s=4;sz=256;n=];p=[;d=p;sw=i;c=o;q=q;l=0;
WHKS: 1
z24: 1

isobject 1
isobject 1
Found fileC:\Users\Ryan\Documents\Games\Tomb Raider\TR2\\saves\Dumps\dump0.dds
Collection size 1
isobject 1
Collection size 0
isobject 1
Collection size 0
Collection size 0
FileHooks 0
CreateFileA_Hook Hook : 0 <- 0 means no error
CreateProcessA Hook: 0
CreateProcessW Hook: 0
ShellExecuteA Hook :0
Desktop 3840x2160
OpenAdapter Hook 0
DDraw.dll : C:\WINDOWS\SYSTEM32\DDRAW.dll
DirectDrawCreate Hook : 0
Succeeded to create DirectDraw
Succeeded to create Direct3D
Succeeded to hook IDirectDraw4::CreateSurface
Succeeded to hook IDirectDraw2::CreateSurface
Succeeded to hook IDirectDraw::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
Succeeded to hook IDirectDraw4::SetDisplayMode
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
Succeeded to hook IDirectDraw4::GetDisplayMode
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
Succeeded to hook IDirectDraw2::SetCooperativeLevel
Succeeded to hook IDirectDraw4::SetCooperativeLevel
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 IDirect3DDevice2::BeginScene

Resolution\Viewport:
Requested : 1920 x 1080
Real : 3840 x 2160
Correction : 2.000000
Viewport width correction : 0.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 47799448 use 48359520 sz 17120 hwnd 48359520
ptr 48129264 use 48358904 sz 4252 hwnd 48358904
ptr 47430360 use 48359128 sz 652 hwnd 48359128

Reply 759 of 890, by pepodmc

User metadata
Rank Newbie
Rank
Newbie
Peixoto wrote on 2020-07-30, 17:24:
post your error.log, please […]
Show full quote
pepodmc wrote on 2020-07-29, 20:03:
I cant make "Texture dumping" work in the final version. […]
Show full quote
Peixoto wrote on 2020-07-26, 22:54:

Post the contents of your error.log file, please

I just tested the demo and both texture replacement and forced resolution work. Just use the "create new" button and chose DirectX 1-6

The game is Direct3D 2 (DirectX 5)

I cant make "Texture dumping" work in the final version.

Can you test with the release version, please? Forced resolution doesnt do anything also.

Perhaps im doing something wrong.

Can you tell me step by step what to do?

post your error.log, please

edit: Just tested the full version and everything works. You can even create a Direct3D 9 entry and use it with nglide. That's good because there is no fog on Direct3D

Please read the documentation carefully

Hello, im having a problem.

Im using the Nglide wrapper to dx9 method. And you can dump and replace textures and works Ok in the first race.
But if you restart the race, then the replaced textures are in places you didnt put them. Sometimes its after restarting the race once , or after restarting 3 or 4 times, but it will happen. Sometimes when you go from one race to another too. Sometimes break some text in the race selection screen too.

Can you fix it? I will give you a link with some textures dumped and replaced so you can try to replicate the bug (its from the first race of the game)

https://drive.google.com/file/d/1DWMBZWen8gfL … iew?usp=sharing