Giter Club home page Giter Club logo

Comments (5)

Koriebonx98 avatar Koriebonx98 commented on July 16, 2024

In theory wouldn’t adding it to steam and then using proton work? I don’t have a steam deck myself to try it out

from iw7-mod.

jperezu avatar jperezu commented on July 16, 2024

I have been struggling with this issue since yesterday as well, I have compiled a guide of the workarounds that I needed in order to make it work:
Note that this is not a guide on how to make the IW7-Mod work specifically on the Steam Deck, but rather for those who, like me, just want to enjoy zombies on the go.

  1. The most significant issue with the mod is that the current function automatically detecting the Steam installation path works only for Windows. Therefore, you need to disable Steam client support from the mod. You can easily do that by going to ".\src\client\component\steam_proxy.cpp" and commenting/removing the last line on the file REGISTER_COMPONENT(steam_proxy::component).
  2. Another known issue is that the mod detects the Deck version as incompatible, resulting in the infamous "Unsupported Call of Duty: Infinite Warfare version." To bypass this check, you can simply comment/remove the verify_binary_version() invocation under the post_load() override in the system_check component class under ".\src\client\component\system_check.cpp".
  3. The final issue I encountered is regarding the splash screen not rendering correctly and causing the program to stall infinitely during game mode and, under some scenarios, in desktop mode as well. Two components are involved. Firstly, you can disable the resources component by commenting/removing the registration REGISTER_COMPONENT(resources::component) in ".\src\client\component\resources.cpp". Secondly, I recommend also disabling (unregistering) the splash art component by following the same approach in ".\src\client\component\splash.cpp". I tested it, and it works fine, but better safe than sorry.
  4. Build the project and simply copy the "iw7-mod.exe" and "runner.exe" to the game installation folder on your Deck.
  5. Finally, you're ready to add the game to your Steam library following the usual process. Don't forget to force the use of a compatibility tool and choose Proton Experimental (this one works nicely; I encountered crashes with other versions).
  6. Boot your game and have fun. Console commands still work; just open the Steam virtual keyboard and press "`" to input a command.
    You can probably disable other components not used in offline mode as well, but those are the primary ones causing the crashing problems

from iw7-mod.

Koriebonx98 avatar Koriebonx98 commented on July 16, 2024

That’s a very helpful guide, in theory could you use an older version of the mod that didn’t have the steam check? And then add that to steam 🤷🏻‍♂️ Hopefully there will be offline support for situations like this

from iw7-mod.

yaboi-zombies avatar yaboi-zombies commented on July 16, 2024

I have been struggling with this issue since yesterday as well, I have compiled a guide of the workarounds that I needed in order to make it work: Note that this is not a guide on how to make the IW7-Mod work specifically on the Steam Deck, but rather for those who, like me, just want to enjoy zombies on the go.

  1. The most significant issue with the mod is that the current function automatically detecting the Steam installation path works only for Windows. Therefore, you need to disable Steam client support from the mod. You can easily do that by going to ".\src\client\component\steam_proxy.cpp" and commenting/removing the last line on the file REGISTER_COMPONENT(steam_proxy::component).
  2. Another known issue is that the mod detects the Deck version as incompatible, resulting in the infamous "Unsupported Call of Duty: Infinite Warfare version." To bypass this check, you can simply comment/remove the verify_binary_version() invocation under the post_load() override in the system_check component class under ".\src\client\component\system_check.cpp".
  3. The final issue I encountered is regarding the splash screen not rendering correctly and causing the program to stall infinitely during game mode and, under some scenarios, in desktop mode as well. Two components are involved. Firstly, you can disable the resources component by commenting/removing the registration REGISTER_COMPONENT(resources::component) in ".\src\client\component\resources.cpp". Secondly, I recommend also disabling (unregistering) the splash art component by following the same approach in ".\src\client\component\splash.cpp". I tested it, and it works fine, but better safe than sorry.
  4. Build the project and simply copy the "iw7-mod.exe" and "runner.exe" to the game installation folder on your Deck.
  5. Finally, you're ready to add the game to your Steam library following the usual process. Don't forget to force the use of a compatibility tool and choose Proton Experimental (this one works nicely; I encountered crashes with other versions).
  6. Boot your game and have fun. Console commands still work; just open the Steam virtual keyboard and press "`" to input a command.
    You can probably disable other components not used in offline mode as well, but those are the primary ones causing the crashing problems

I can confirm that this works! I would add that you should make sure to launch vanilla IW once as well for the install scripts to run. I had just moved to a new sd card and it wouldn’t run the mod until I did

from iw7-mod.

mjkzy avatar mjkzy commented on July 16, 2024

we supported Wine on h1-mod by fixing all the code above. will do so here too

from iw7-mod.

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.