Skip to content
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

Codename - Outbreak #226

Open
rickomax opened this issue Sep 16, 2023 · 11 comments
Open

Codename - Outbreak #226

rickomax opened this issue Sep 16, 2023 · 11 comments

Comments

@rickomax
Copy link

image
Codename - Outbreak textures are recognizing black color as transparent when it shouldn't.

@elishacloud
Copy link
Owner

I don't have the ability to test this game right now. However, last time I tested this game it required CreateExecuteBuffer, which I have not implemented yet. Can you attach your log file for this?

@rickomax
Copy link
Author

Sure!

11084 22:50:10.787 Starting DxWrapper v1.0.6542.21
11084 22:50:10.787 Running from: E:\GOG Games\Codename - Outbreak\dxwrapper.dll
11084 22:50:10.787 Reading config file: E:\GOG Games\Codename - Outbreak\dxwrapper.ini
11084 22:50:10.788 Gigabyte Technology Co., Ltd. A520M DS3H Default string (Desktop)
11084 22:50:10.788 Gigabyte Technology Co., Ltd. A520M DS3H x.x (Desktop)
11084 22:50:10.788 NVIDIA GeForce GTX 1060 6GB
11084 22:50:10.788 Windows 10 Enterprise 64-bit (10.0.19041)
11084 22:50:10.788 "OutBreak.exe" (PID:13788)
11084 22:50:10.792 Environment variable __COMPAT_LAYER = "DisableThemes HighDpiAware"
11084 22:50:10.793 Disabling High DPI Scaling...
11084 22:50:10.793 Loaded library: user32.dll
11084 22:50:10.793 Loaded library: shcore.dll
11084 22:50:10.793 DxWrapper loaded!
11084 22:50:37.024 Quiting DxWrapper
11084 22:50:37.024 Unloading libraries...
11084 22:50:37.024 Reseting screen resolution
11084 22:50:37.033 Reseting font smoothing
11084 22:50:37.035 DxWrapper terminated!

@rickomax
Copy link
Author

After getting some info about the original engine, looks like it uses DDRAW 5.
Trying to use dxHwnd to run it, opens the menu screen, then produces a crash:

@eddmanx
Copy link

eddmanx commented Sep 18, 2023

It's a D3D7 game, not just DDraw. dxwrapper doesn't yet properly support D3D2-7. You have to use a different wrapper like dgvoodoo2.

@elishacloud
Copy link
Owner

Trying to use dxHwnd to run it, opens the menu screen, then produces a crash:

DxWnd is a different tool. You may want to ask the author of that tool. I hope to have support for this game at some point, but I don't at this time.

@Mitradis
Copy link

Mitradis commented Sep 26, 2023

this game use D3DImm.dll and DDraw.dll for wrapped. This files need in case with dgVoodoo.

@elishacloud
Copy link
Owner

dxwrapper includes functions for both D3DImm.dll and DDraw.dll. However, there is still limited support for 3D games. This one is not yet supported with the dd7to9 function yet.

@Mitradis
Copy link

Mitradis commented Jan 25, 2024

need restore this in game config after config close.
TextureFormat1=32 0 0 0 64 0 0 0 0 0 0 0 16 0 0 0 0 248 0 0 224 7 0 0 31 0 0 0 0 0 0 0
TextureFormat2=32 0 0 0 65 0 0 0 0 0 0 0 32 0 0 0 0 0 255 0 0 255 0 0 255 0 0 0 0 0 0 255
this is default values for this parameters. Config.exe drop this values to zero all.

@elishacloud
Copy link
Owner

Yes, I have seen this type of issue with other games, where the config gets messed up. I am not sure if it is caused by something in dxwrapper or a difference in how a newer OS responds to the API calls the older game makes. I suspect the latter.

@elishacloud
Copy link
Owner

Can you try with the latest release build and send me the log files if it does not work?

@elishacloud
Copy link
Owner

I just tested this game and it uses Direct3D interface version 1, which is not yet supported by dxwrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants