GithubHelp home page GithubHelp logo

Comments (6)

elishacloud avatar elishacloud commented on June 7, 2024

I am running the GOG version of the game on Windows 10 and it seems to work fine. I am not getting any crashes when task switching. Which version of the game are you using?

Also can you try this version of d3d8to9: d3d8.zip

from d3d8to9.

Xan05 avatar Xan05 commented on June 7, 2024

I'm using the DVD version. Same issue with the file you posted.

The error message:

UT2004 Build UT2004_Build_[2005-11-23_16.22]

OS: Windows NT 6.1 (Build: 7601)
CPU: GenuineIntel PentiumPro-class processor @ 3410 MHz with 4095MB RAM
Video: NVIDIA GeForce GTX 1060 6GB (9836)

General protection fault!

History: SetViewport <- UD3DRenderDevice::Lock <- UViewport::Lock <- UWindowsViewport::Lock <- UGameEngine::Draw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- Level Untitled <- UpdateWorld <- MainLoop <- FMallocWindows::Free <- FMallocWindows::Realloc <- 10910191 0 FArray <- FArray::Realloc <- 0*2 <- FMallocWindows::Free

from d3d8to9.

crosire avatar crosire commented on June 7, 2024

This sounds like pCurrentRenderTarget is destroyed when leaving the game and upon reentering d3d8to9 tries to access that in D3D8Device::SetViewport (since it is not nullptr) which crashes. We probably need to set pCurrentRenderTarget to nullptr in D3D8Device::Reset.

from d3d8to9.

CookiePLMonster avatar CookiePLMonster commented on June 7, 2024

We probably need to set pCurrentRenderTarget to nullptr in D3D8Device::Reset.

That sounds logical IMO.

from d3d8to9.

crosire avatar crosire commented on June 7, 2024

Try this: d3d8.zip.

from d3d8to9.

Xan05 avatar Xan05 commented on June 7, 2024

Issue fixed with the new version.

from d3d8to9.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.