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

Impossible Creatures - terrain shadow issues #66

Open
WinterSnowfall opened this issue Nov 20, 2022 · 3 comments · May be fixed by #184
Open

Impossible Creatures - terrain shadow issues #66

WinterSnowfall opened this issue Nov 20, 2022 · 3 comments · May be fixed by #184
Labels
bug Something isn't working

Comments

@WinterSnowfall
Copy link

The game crashes on start, works fine with WineD3D and d3d8to9 + dxvk. May need msvcp70,msvcr70=n overrides to start properly with latest Wine.

Software information

Impossible Creatures

System information

  • GPU: Nvidia GTX 1080
  • Driver: 515.65.01
  • Wine version: 7.21 Staging
  • DXVK version: 16a25a2

Apitrace file(s)

IC.trace.tar.xz

Log files

@AlpyneDreams AlpyneDreams added bug Something isn't working game labels Nov 24, 2022
@WinterSnowfall WinterSnowfall changed the title Impossible Creatures crashes on start Impossible Creatures - missing textures Dec 18, 2022
@WinterSnowfall
Copy link
Author

WinterSnowfall commented Dec 18, 2022

The game now starts up fine with d8vk 0.10 🎉 , but there are some missing textures in game. I'll record a relevant trace shortly.

Edit: I've replaced the initial trace with one that reproduces the problem (same link will work). There are a lot of memcpy: dest buffer overflow warnings when playing back the trace, so not sure what is going on there, but it doesn't look good...

@AlpyneDreams
Copy link
Owner

The textures could be due to it trying to CopyRects from MANAGED to DEFAULT which is not implemented yet.

Not sure what is going on with the vertex buffers though lol

image

@AlpyneDreams AlpyneDreams removed the game label Feb 23, 2023
@WinterSnowfall WinterSnowfall changed the title Impossible Creatures - missing textures Impossible Creatures - terrain shadow issues Apr 17, 2023
@WinterSnowfall
Copy link
Author

The underlying problem is with whatever the game is using to render terrain shadows (namely of trees and other non-movable objects, since dynamic object shadows will behave correctly).

Disabling all shadows fixes the problem, while enabling any type of shadows (even spot shadows) will make it manifest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants