dxwrapper icon indicating copy to clipboard operation
dxwrapper copied to clipboard

Battle of Heroes

Open TicTac7x opened this issue 2 years ago • 10 comments

I am unable to get a old game that uses DirectX8 to run. It has weird pink graphics issues and is unplayable.

The iso of the game can be found from the published link of old games from the web arhive: https://archive.org/details/eestikeelsed_arvutimangud

To download the correct iso file, its downloadable from here: https://archive.org/download/eestikeelsed_arvutimangud/BH.iso

I also tried to run the game in linux with wine, but the game crashes with stack trace related to d3d8.

When i inserted the d3d8.dll into the game folder, i managed to navigate the menus the get into the campaign, but all the graphics are still disorted.

Help? :D

TicTac7x avatar Sep 06 '22 20:09 TicTac7x

Can you attach your log file and your dxwrapper.ini files?

elishacloud avatar Sep 06 '22 21:09 elishacloud

I renamed the .ini and .log files to .txt for uploading.

dxwrapper.txt dxwrapper-battle.txt

TicTac7x avatar Sep 06 '22 21:09 TicTac7x

It looks like you are running this game in Windows 98 compatibility mode. Try removing all compatibility options from this game and trying again.

6740 00:24:14.364 Environment variable __COMPAT_LAYER = "DWM8And16BitMitigation RunAsAdmin Win98 Installer"

elishacloud avatar Sep 06 '22 21:09 elishacloud

Still the same, this time it crashed as well

dxwrapper-battle.txt

image

TicTac7x avatar Sep 06 '22 21:09 TicTac7x

It looks like the game is trying to run in 16bit graphics but Direct3D is rendering it at 32bit. I will need to look into this more.

elishacloud avatar Sep 06 '22 21:09 elishacloud

Alright, thank you for the feedback, looking forward to getting this working, this game is a gem <3

TicTac7x avatar Sep 06 '22 22:09 TicTac7x

I have a old PC with windows xp, where the game runs, can this be somehow be helpful for debugging?

I tried to run it with dxwrapper logging, but get error The procedure entry point K32EnumProcessModules could not be located in the dynamic link library KERNEL32.dll.

TicTac7x avatar Sep 11 '22 12:09 TicTac7x

Any hope on getting this looked at?

TicTac7x avatar Feb 06 '23 13:02 TicTac7x

https://stackoverflow.com/questions/29208637/entry-point-not-found-error-in-vista-os It's probably coming from https://github.com/FunkyFr3sh/cnc-ddraw/commit/550588fe55dcf5467b5d9b9cd28a396095f22236

mirh avatar Feb 06 '23 16:02 mirh

I have a old PC with windows xp, where the game runs, can this be somehow be helpful for debugging?

I tried to run it with dxwrapper logging, but get error The procedure entry point K32EnumProcessModules could not be located in the dynamic link library KERNEL32.dll.

This is because dxwrapper was not supported on Windows XP. However, I created a build that works on Windows XP. Everything should be working except DDrawCompat and DisableHighDPIScaling, neither of which should be needed on XP.

dxwrapper.zip

elishacloud avatar Oct 25 '23 18:10 elishacloud