-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commandos 1 - behind enemy lines #225
Comments
Below is the latest build. I am getting close to releasing it. You can check it out to see if it works better. It shouldn't need fullscreen window mode any more.
Adding the dsound.dll is not needed and probably is not doing anything. You could try setting
I don't think this game supports alt+tab very well. You could try enabling Here is the update (I have already enabled |
Thanks so much, imma try and let you know |
Hi. Little update. I have tested ur files, and I can alt tab now, but it feels like if the game is fullscreen, cuz the alt tab is not inmediate. Thanks ^^ |
Yes, with this update the game is in fullscreen exclusive mode. You can do windowed mode in fullscreen using the
If you mean windowed mode (non-fullscreen), than not with this game. There is an option |
Oh I see... Im asking from the ignorance tho |
Yes, I am aware of cnc-ddraw. That is a great tool, and I have collaborated with the author on a couple of items. But it has a different purpose than this tool. There is a lot of code in there to support windowed mode: API hooks, mouse control, etc. These two tools work very differently. cnc-ddraw emulates DirectDraw 2D functions and then outputs them to GDI, Direct3D9 or OpenGL. Whereas dxwrapper's dd7to9 attempts to convert each DirectDraw function (2D and 3D) directly into Direct3D9. I do this in my spare time and don't have time to add those other items (namely universal window mode). It is enough for me now to just convert all the functions to Direct3D9. BTW: I also added many other functions into dxwrapper, including converting Direct3D8 to Direct3D9 and converting DirectInput1-7 into DirectInptu8. Most of these functions focus on compatibility. |
I see, thanks for your reply ^^ |
Can you test with the latest release? You need to use wsock32.dll for the stub and enable |
Hi. Thanks for remembering me ^^ Inside the ini, enable Dd7tod9, DdrawCreateDeviceEarly, DdrawOverrideBitMode and FullscreenWindowMode. Is that right? |
You need to set So it should look like this: ;; Config file for DirectX DLL Wrapper
;;
;; For details, see: https://github.com/elishacloud/dxwrapper/wiki/Configuration
;;
[General]
RealDllPath = AUTO
WrapperMode = AUTO
LoadCustomDllPath =
ExcludeProcess =
IncludeProcess =
RunProcess =
WaitForProcess = 0
DisableLogging = 0
[Plugins]
LoadPlugins = 0
LoadFromScriptsOnly = 0
[Compatibility]
Dd7to9 = 1
D3d8to9 = 0
DDrawCompat = 0
Dinputto8 = 0
DisableGameUX = 0
DxWnd = 0
EnableDdrawWrapper = 0
EnableD3d9Wrapper = 0
EnableDinput8Wrapper = 0
EnableDsoundWrapper = 0
HandleExceptions = 0
SingleProcAffinity = 0
[DDrawCompat]
DDrawCompat20 = 0
DDrawCompat21 = 0
DDrawCompat31 = 0
DDrawCompatDisableGDIHook = 0
DDrawCompatNoProcAffinity = 0
[ddraw]
ConvertToDirectDraw7 = 0
ConvertToDirect3D7 = 0
DdrawOverrideBitMode = 16
[Dd7to9]
DdrawAutoFrameSkip = 0
DdrawEmulateSurface = 0
DdrawFixByteAlignment = 0
DdrawRemoveScanlines = 0
DdrawRemoveInterlacing = 0
DdrawReadFromGDI = 0
DdrawWriteToGDI = 0
DdrawCreateDeviceEarly = 1
DdrawDisableDirect3DCaps = 0
DdrawLimitDisplayModeCount = 0
DdrawUseNativeResolution = 0
DdrawOverrideWidth = 0
DdrawOverrideHeight = 0
DdrawIntegerScalingClamp = 0
DdrawMaintainAspectRatio = 0
[d3d9]
AnisotropicFiltering = 0
AntiAliasing = 0
EnableVSync = 0
ForceVsyncMode = 0
OverrideRefreshRate = 0
LimitPerFrameFPS = 0
EnableWindowMode = 0
WindowModeBorder = 0
SetInitialWindowPosition = 0
InitialWindowPositionLeft = 0
InitialWindowPositionTop = 0
FullscreenWindowMode = 0
ForceExclusiveFullscreen = 0
ForceMixedVertexProcessing = 0
ForceSystemMemVertexCache = 0
ForceDirect3D9On12 = 0
GraphicsHybridAdapter = 0
[FullScreen]
FullScreen = 0
ForceWindowResize = 0
WaitForWindowChanges = 0
[dinput8]
FilterNonActiveInput = 0
[dsound]
Num2DBuffers = 0
Num3DBuffers = 0
ForceCertification = 0
ForceExclusiveMode = 0
ForceSoftwareMixing = 0
ForceHardwareMixing = 0
ForceHQ3DSoftMixing = 0
ForceNonStaticBuffers = 0
ForceVoiceManagement = 0
ForcePrimaryBufferFormat = 0
PrimaryBufferBits = 16
PrimaryBufferSamples = 44100
PrimaryBufferChannels = 2
AudioClipDetection = 0 |
Hello. Ive been playing it and few things happened. Maybe this has nothing to do with dxwrapper but imma still comment them. First, game default is 20 fps (if im not wrong), but when ever i move the mouse fps increase, reaching up to 500 fps. |
You could try setting this option
Yes, this is because the surface is lost when you alt+tab. To fix this you can emulate the surface by enabling |
Try with this latest update. I fixed some things that may help: dxwrapper.zip |
Hello. I have set dd7to9, fullscreenwindowmode and ddrawoverridebitmode to 16.
But game sound seems... weird. Sometimes it stops while narrator talking. So i randomly added dsound.dll, but idk if thats enough.
Also, is there a possibility so the game doesnt crash when i alt tab?
Sometimes it doesnt, and when it doesnt, all my windows desktop resolution is messed up. Anyway i could fix this?
The text was updated successfully, but these errors were encountered: