Giter VIP home page Giter VIP logo

rktlnch's People

Contributors

derrod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

masterscott

rktlnch's Issues

[Improvement] Generate localized BAT file for improved consistency.

As per my last Issue, my game would instantly crash with a "Your graphics card or driver does not support DirectX 11" (see closed Issue #2), and after a lot of scrapping and tinkering with Python (since I don't know Python), I crafted a solution. Admittedly, it's rather janky, but it should work 100% of the time. Rather than directly executing the game EXE with the arguments, I changed it to parse, modify, and push all that it needs into a BAT file which is then placed directly into the game folder containing the EXE. Every single time that I would run the BAT file outside of the Python program, it would work. Every time that I tried running the BAT file through a subprocess, it would fail. For some reason, saving the data into a BAT located in the same folder as the game EXE and then running it via subprocess.Popen works flawlessly.

I can upload my changes somewhere if the OA wants them.

Improve additional launch parameter handling

  1. Use parse_known_args() instead of parse_args() and pass on extra parameters to game
  2. Use shlex.split() to properly split parameters in manifest and command line
  3. Create list before calling Popen() to concatenate everything properly

Potential User-Agent Issue? Game crashes with error "Your graphics card does not support DX11".

So, I'm trying to use this with World War Z to see if it works online, but every time I launch the game via RktLnch, I get the following:

--Immediate error window (Title: ERROR) with "Your GPU does not support DirectX 11", with the game window black-screened behind it.
--A second error window (Title: Critical Error) that says it cannot launch the error reporting software due to a crash.
--CTD.

2700X and 1660Ti aside, this occurs regardless of the API that I choose (DX11 or Vulkan as graphical options in-game) and does not happen whether I launch the game officially or via the BAT-CMD string containing the user info.

Yes, I know, I use something other than Win10 (8.1 Pro), but after glancing through the source code, I found a user agent string that looks like it's trying to spoof my OS to a Win10 variant? Could totally be misreading it, but assuming that's what it does, how do you derive that user agent string? The launcher version is fine, I pulled the up-to-date string already, but I can't find out how you created the OS string. If you could tell me how to write it, I'll make the changes and compile it myself to test and see if that is the issue.

Assuming that you read this, thank you for your time and efforts. If I can get this to work, that's one less hassle that I have to worry about.

P.S. Sorry, thought the formatting would help for the bullet points.

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.