ThirteenAG / d3d9-wrapper

The Unlicense
102 stars 24 forks source link

Windowed Mode Not Working #23

Open caryyu opened 1 month ago

caryyu commented 1 month ago

Here's my config setup, I just compiled you launcher btw, It always shows the full screen on my Windows 10 OS:

[MAIN]
FPSLimit=0
FPSLimitMode=2
FullScreenRefreshRateInHz=0
DisplayFPSCounter=1
ForceWindowedMode=1

[FORCEWINDOWED]
UsePrimaryMonitor=0
CenterWindow=1
AlwaysOnTop=0
DoNotNotifyOnTaskSwitch=0
ForceWindowStyle=0

[LAUNCHER]
AppExe=
AppArgs=

My command: .\launcher.exe "C:\Program Files\RXCQ2003\mClient.exe"

caryyu commented 1 month ago

My gut-feeling is the DLL injection can't do the trick for the target exe because of the the sub thread as the game will run on the main thread, so it may be required to insert ASM code to the target exe for loading the library.