Coder Social home page Coder Social logo

Comments (15)

programneer avatar programneer commented on August 19, 2024

I tried running both Wine and Proton on Arch Linux with exact same config, same issue.

from dxwrapper.

elishacloud avatar elishacloud commented on August 19, 2024

I am not sure it is crashing or just exiting early. It seems like dxwrapper was returning an error message to the game and the game could not handle it. It seems like dxwrapper had a error with a flag.

Try this one: dxwrapper.zip

from dxwrapper.

programneer avatar programneer commented on August 19, 2024

Your fixed version solves that problem, but this time it crashes after trying to start the mission saying that it couldn't get mipmaps.

from dxwrapper.

elishacloud avatar elishacloud commented on August 19, 2024

Yeah, this project does not technically support mipmaps. However, I put a hack in that may allow the game to run thinking that mipmaps will work

Try this update: dxwrapper.zip

from dxwrapper.

programneer avatar programneer commented on August 19, 2024

Now it freezes the game after, again, trying to start the mission without error messages, i don't know what causes that, not even log file says so.

It seems Project I.G.I's engine is a bit too old to work properly on modern computers using these wrappers like dxwrapper.

from dxwrapper.

elishacloud avatar elishacloud commented on August 19, 2024

There are a lot of older games that work with dxwrapper. However, this is a 3D game and I am still working on adding support for those. I think I know why it is freezing. Try this update: dxwrapper.zip

from dxwrapper.

programneer avatar programneer commented on August 19, 2024

Tested on demo version, works like an charm but with somewhat screwed up textures (excluding UI).
igi-demo-dxwrapper-screenshot
The game somehow doesn't allow me to use discrete GPU and instead uses integrated one which results in poor performance (i'm using laptop).
Also when alt-tabbing out and in the game, it crashes with error that wasn't able to flip the surface.

On the full version, it does allow to use discrete one which i previously saw on your previous versions, but crashes with invaild FPU rounding mode error, yet again, starting the mission, possibly an game issue?
I'm using Europe version.

from dxwrapper.

elishacloud avatar elishacloud commented on August 19, 2024

The reason the textures are messed up is because this build does not support MIPMAPs and I just put a hack in to allow the game to think I support MIPMAPs. I can see this on other games that use MIPMAPs. This is the first game I have seen that requires MIPMAPs though. Can you try disabling them in the game settings?

As far as using a discrete GPU you can enable the GraphicsHybridAdapter option in the dxwrapper.ini file.

The FPU rounding error is seen on other games, but there should be a fix for that. I guess this game checks it at other times. It might be related to a bug with how the game uses DirectSound.

from dxwrapper.

programneer avatar programneer commented on August 19, 2024

Unfortunately, there is no option in game settings, not even in demo, and changing Graphics detail (Performance Level in demo) one-by-one, it's forced enabled unless someone have to modify the executable itself or make an new ASI/DLL file.

The game doesn't use DirectSound as far as i know, yet i put IndirectSound on it and somehow detected it, but doesn't mean it can use.

FPU rounding error is NOT caused by the lack of mipmaps, i even tried alt-tabbing out and in the game (only in full version, demo is fine) and yet i still get exact same error.

I even tried to use built-in windowed mode igi.exe window but i got "primary surface couldn't update" error, using dxwrapper's one is fine.

Is there any other solutions for all of that?

from dxwrapper.

elishacloud avatar elishacloud commented on August 19, 2024

Unfortunately, there is no option in game settings

Ok, I will need to add full support for MipMaps for this game.

FPU rounding error is NOT caused by the lack of mipmaps

Yes, that is caused by some other error in the game, I assume.

One thing you could try is to just enable DDrawCompat rather than dd7to9.

from dxwrapper.

elishacloud avatar elishacloud commented on August 19, 2024

@programneer, I added partial MipMap support into this build. It should fix most or all of the messed up textures. Take a look at let me know how it works.

Here is the build: dxwrapper.zip

from dxwrapper.

programneer avatar programneer commented on August 19, 2024

Tested on demo, still broken.
Disabling dd7to9 and using DDrawCompat only displays gray screen but using DDrawCompat21 or below fixes that, happens on both demo and full version.
Tested on full version with dd7to9 instead, still the same error message.

from dxwrapper.

elishacloud avatar elishacloud commented on August 19, 2024

I added full support for MipMap. If this does not work, you can play around with the following options: HandleExceptions, SingleProcAffinity and DdrawEmulateLock. One or more of these options may help.

Here is the latest build: dxwrapper.zip

from dxwrapper.

programneer avatar programneer commented on August 19, 2024

This time, it immediately gives me an FPU error at startup on either of these versions with dedicated GPU, and neither of these options don't work, maybe caused by the latest version of NVIDIA driver?

However, when i swapped back to integrated, both of them have blit surface error at starting the mission.
Seems random to me.

from dxwrapper.

programneer avatar programneer commented on August 19, 2024

You know what? I'm closing as this seems near-impossible to fix anyway.

from dxwrapper.

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.