Peixoto's patches for a few old games

Schedules and announcements about program releases.

Re: Peixoto's patches for a few old games

Postby Peixoto » 2018-7-26 @ 14:11

DJ Full wrote:
Xpresso wrote:when I want to run any Tomb Raider I get Unable to find or load C/: Users/... /Peixoto/peixoto.dll-126
Hello there. Windows 10 Home 64, GeForce GTX-670, Ryzen 1700.
Got a similar issue with Tomb 2 but slightly different, maybe it can cast some more light on it.
First I get "Failed to load D3Dx9_43.dll, some features will not work, make sure DirectX is up to date"
then I get "Unable to find or load (here my folder path to peixoto)\peixoto.dll-126"
I downloaded the patch few times, installed vcredist 2008, both x86 and x64, pasted d3dx9_43.dll.
I see tomb2.exe window opens but it closes as soon as I dismiss those error messages.
I read in earlier posts directx files are now a part of windows sdk, should I do something with that?

EDIT: OK I just noticed I got the link from this thread here, I thought it would be the latest one.
Now got one from tombraiderforums and it seems to work. However this happens instead.
https://youtu.be/fGT4s7CCOlg


Any link on the Tomb Raider foruns that doesn't link to this thread is not up to date.
Dependencies of the current version are are:
- vc redist 2010 (you probablly already have)
- vc redist 2015
- DirectX june 2010 or latter (That it not part of windows 10. Win 10 has some DirectX APIs, but not all of them)
Failure to load peixoto.dll is either becuse you are missing vc 2015 or your antivirus has quarentined it
If the problem in the video is the missing textures, thats because you are activating the texture search function: "i" or "u" by default (i don'r remember).
Change the key binds for the texture search function or in the game
User avatar
Peixoto
Member
 
Posts: 167
Joined: 2013-6-13 @ 23:48

Re: Peixoto's patches for a few old games

Postby Sieis » 2018-8-04 @ 19:41

Love the work you've done here Peixoto.

But I have a question about the Deinterlaced FMV feature for TR3. Is there something I have to enable for this to work? As it is, the patch isn't doing anything to the FMV in-game (aside from allowing me to scale it, which produces even worse looking scanlines) so I'm not sure if I'm doing something wrong. The patch is working with regards to everything else though (widescreen etc)

Ordinarily I would simply replace the FMV with higher quality mp4 versions rendered by members of the TR community (as I have done with TR2) but unfortunately all of the TR3 efforts exhibit sound desyncing issues.

Of course there is the chance that I have misunderstood all of this and that the ability to replace the FMVs with mp4 files actually IS what the "deinterlaced FMVs" feature means?

Cheers.
Sieis
Newbie
 
Posts: 3
Joined: 2018-8-04 @ 19:32

Re: Peixoto's patches for a few old games

Postby Peixoto » 2018-8-06 @ 00:11

Sieis wrote:Love the work you've done here Peixoto.

But I have a question about the Deinterlaced FMV feature for TR3. Is there something I have to enable for this to work? As it is, the patch isn't doing anything to the FMV in-game (aside from allowing me to scale it, which produces even worse looking scanlines) so I'm not sure if I'm doing something wrong. The patch is working with regards to everything else though (widescreen etc)

Ordinarily I would simply replace the FMV with higher quality mp4 versions rendered by members of the TR community (as I have done with TR2) but unfortunately all of the TR3 efforts exhibit sound desyncing issues.

Of course there is the chance that I have misunderstood all of this and that the ability to replace the FMVs with mp4 files actually IS what the "deinterlaced FMVs" feature means?

Cheers.


Deinterlaced FMVs is ON by default, post your log please.

A for HQ FMVs, see this:
viewtopic.php?f=24&t=53121&start=380#p683958
User avatar
Peixoto
Member
 
Posts: 167
Joined: 2013-6-13 @ 23:48

Re: Peixoto's patches for a few old games

Postby Sieis » 2018-8-06 @ 10:21

LOG as requested.

Peixotos's patch remote settings:
#args: setup
32bit: 1
;compatlayer: WinXPSp2
AF: 1
CompatLayer: HIGHDPIAWARE
Controller: 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.15;
D3D: 2
D3D_Driver: C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_38c9bee769f9ef1f\nvldumd.dll
dshow: 1
EDMFix: 1
error_log: C:\Users\Sie\Desktop\Peixoto\error.log
FMV_scale: 2.2
HD: 1
injector_dir: C:\Users\Sie\Desktop\Peixoto
max_4x3_res: 1280x960
modspath: C:\Users\Sie\Documents\Games\TombRaider3\mods
Mydocs: C:\Users\Sie\Documents
NEFS: 1
os_version: 10.000000
resolutions_list: 640x480 720x480 720x576 800x600 1024x768 1152x864 1176x664 1280x720 1280x768 1280x800 1280x960 1280x1024 1360x768 1366x768 1600x900 1600x1024 1680x1050 1768x992 1920x1080 1440x900
script: scripts\Tomb2.ahk
script_hwnd: 0x180d50
singlecore: 1
target: F:\Tomb Raider Classics\Tomb Raider III\tomb3.exe
target_dir: F:\Tomb Raider Classics\Tomb Raider III
target_name: tomb3.exe
Textswap: path=C:\Users\Sie\Documents\Games\TombRaider3\Textures;samples=4;thumbnail=256;Next=];Prev=[;dump=p;Switch=i;color_switch=o;mips=1;

CreateProcessA Hook: 0
CreateProcessW Hook: 0
Succedeed to create the DirectShow interfaces
Succeeded to hook IVideoWindow::SetWindowPosition
Succeeded to hook IMediaControl::Run
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 IDirectInputDeviceW::GetDeviceState
Succeeded to hook IDirectInputDevice8W::GetDeviceState
Succeeded to hook IDirectInputDeviceA::GetCapabilities
Desktop 1920x1080
Direct3D user mode driver implemented in C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_38c9bee769f9ef1f\nvldumd.dll
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
Succeeded to hook IDirectDraw::CreateSurface
Succeeded to hook IDirectDrawSurface::restore
Succeeded to hook IDirect3DDevice2::EndScene
Succeeded to hook IDirect3D2::CreateDevice
Succeeded to hook IDirectDrawSurface::Blt
Succeeded to hook IDirectDrawSurface::Lock
Succeeded to hook IDirectDrawSurface::UnLock
Succeeded to hook IDirect3DTexture2::GetHandle
Succeeded to hook IDirect3DTexture2::Release
Succeeded to hook IDirect3DTexture2::Load
Succeeded to hook IDirect3DDevice2::SetRenderState
Succeeded to hook IDirectDraw::EnumDisplayModes
Succeeded to hook IDirectDraw::SetDisplayMode
Succeeded to hook IDirectDraw2::SetDisplayMode
Succeeded to hook IDirect3DViewport2::SetViewPort2
Succeeded to hook IDirect3DViewport2::Clear
Succeeded to hook IDirect3DDevice2::DrawPrimitive
Succeeded to hook IDirectDraw::GetDisplayMode
Succeeded to hook IDirectDrawSurface::QueryInterface
Succeeded to hook IDirectDrawSurface::GetPixelFormat
Succeeded to hook IDirectDrawSurface::GetSurfaceDesc
Succeeded to hook IDirectDrawSurface::GetDC
Succeeded to hook IDirectDrawSurface::ReleaseDC
Succeeded to hook IDirectDrawSurface::SetPalette
Succeeded to hook IDirectDrawPalette::SetEntries
Succeeded to hook IDirectDrawPalette::GetEntries
Succeeded to unhook IDirectDrawSurface::Lock
Succeeded to unhook IDirectDrawSurface::UnLock
Succeeded to hook IDirectDrawSurface::Lock
Succeeded to hook IDirectDrawSurface::UnLock
Succeeded to hook IDirectDrawSurface::Bltfast
Succeeded to hook IDirectDraw::SetCooperativeLevel
Succeeded to hook IDirectDraw2::SetCooperativeLevel
Succeeded to hook IDirectDrawSurface::flip
Succeeded to hook IDirectDrawSurface::GetAttachedSurface
FileHooks 0
CreateFileA_Hook Hook : 0 <- 0 means no error
IDirect3DDevice2::DrawPrimitive is already hooked
IDirectDrawSurface::QueryInterface is already hooked
Method BeginScene is not hooked yet
Succeeded to hook IDirect3DDevice2::BeginScene
Releasing Clipper 0
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::Blt
Dev 68913704 se 68774552 sx 304 68774552
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Releasing Clipper 0
Releasing Clipper 0
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::Blt
Dev 69051704 se 68774672 sx 304 68774672
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Releasing Clipper 0
Releasing Clipper 0
Releasing Clipper 0
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::Blt
Dev 69125344 se 68774672 sx 304 68774672
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::Blt
Dev 69159296 se 68774528 sx 304 68774528
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::lock
Succeeded to hook IDirectDrawSurface::Unlock
Succeeded to hook IDirectDrawSurface::Blt
Dev 69164512 se 68774624 sx 304 68774624


As you'll see in the log, I've used an FMV scale of 2.2 here just to highlight the issue a bit easier. Here is a screenshot of what they look like in-game.

Image
Sieis
Newbie
 
Posts: 3
Joined: 2018-8-04 @ 19:32

Re: Peixoto's patches for a few old games

Postby Peixoto » 2018-8-08 @ 02:13

Sieis wrote:LOG as requested.

As you'll see in the log, I've used an FMV scale of 2.2 here just to highlight the issue a bit easier. Here is a screenshot of what they look like in-game.

Image


Well, at 1st i thought it was a problem with the pixel shader, but its not. Try the half pixel offset option. On the weekend i'll try some more to see if i can reproduce this bug
User avatar
Peixoto
Member
 
Posts: 167
Joined: 2013-6-13 @ 23:48

Re: Peixoto's patches for a few old games

Postby Sieis » 2018-8-08 @ 13:32

Peixoto wrote:Well, at 1st i thought it was a problem with the pixel shader, but its not. Try the half pixel offset option. On the weekend i'll try some more to see if i can reproduce this bug


Just tried with the half pixel option enabled with no luck. The scanlines remain.
Sieis
Newbie
 
Posts: 3
Joined: 2018-8-04 @ 19:32

Previous

Return to Release Announcements

Who is online

Users browsing this forum: No registered users and 2 guests