Giter Site home page Giter Site logo

mxve / alterware-launcher Goto Github PK

View Code? Open in Web Editor NEW
87.0 87.0 4.0 526 KB

AlterWare.dev updater & launcher | Call of Duty mods

Home Page: https://alterware.dev

Rust 100.00%
alterware call-of-duty callofduty iw4 iw4x iw5 iw6 iw6-mod iw6x rust rust-lang s1 s1-mod s1x

alterware-launcher's People

Contributors

dependabot[bot] avatar diamante0018 avatar mxve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

alterware-launcher's Issues

IW4x (and IW4-sp) always auto-update and install the same files but never launch the game

As the title says, whenever i try to launch this game using the alterware launcher or double clicking from the files, it just goes to auto-update and install the same files, they are:

-IW4x_00.iwd
-IW4x_01.iwd
-iw4x/html/script.js
-zone/patch/iw4x_patch_mp.ff
-zone/patch/iw4x_localized_english.ff
-zone/patch/iw4x_code_post_gfx_mp.ff
-zone/patch/iw4x_ui_mp.ff
-iw_dlc10-00.iwd

even after waiting for these files to download, the game seemingly never launches at all, is there any solution?

crash on open

Error:
IO(Custom { kind: InvalidData, error: WebPKIError(UnknownIssuer) })', src\http.rs:12:13
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

[http]: Investigate generic IO error

Some users get this error:

Error:
Could not get body from http://cdn.alterware.ovh/games.json, got:
Error: IO error

When asked to manually use Powershell and curl or their web browser we can find out they can access the site just fine.

The user that got the launcher error ran Curl as admin:
https://cdn.discordapp.com/attachments/1145456435518525611/1207803408082534549/333.png

And on their browser as non-admin, I hope:
https://cdn.discordapp.com/attachments/1145456435518525611/1207801266730700880/img.png

I think this means there is no AV interference, no ISP interference, and no VPN of any kind because they can access the site with basic programs like Curl.

We need to find out if the rust library we use is trolling or not

Windows Defender

When agreeing to "Download bonus content" in the launcher, Windows Defender flags iw4-sp.exe as :"Trojan:Win32/Wacatac.H!ml"

image

[http]: Investigate why some users got generic TLS error

Even though we switched the CDN to plain HTTP protocol, that should be regarded as a temporary solution.
It's clear to me there is something very fishy going on with the dependencies this project uses for HTTPs queries.

Ideally, we would need to find a library that can be tweaked like Curl on C++

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);

https://curl.se/libcurl/c/CURLOPT_PROXY_SSL_VERIFYHOST.html

I suspect that when the old XLabs launcher used these settings no one ever had the issue the AW launcher has.

Any HTTPS/TLS library in Rust that can promise to tweak these settings (equivalent from Curl) should be used and tried so we can go back to HTTPS.

[IW4x]: Only download iw4x-sp.exe If SP is selected

If a user presses 1 (IW4x) should not get downloaded at all to prevent AVs from complaining.
Since the client is only used by a sub portion of users it will drive down the number of people complaining.

consider new name for .iw4xrevision

The file should be hidden by default on Linux because of the dot in the name.
Consider replacing the dot with a new character like an exclamation mark

[to investigate] files listed under the sha1 checksum file are not re-acquired after deletion

It seems that deleting files listed under the sha1 checksum files does not automatically re-trigger a download.

I tried deleting iw4x_code_post_gfx_mp.ff and after restarting the launcher it was not re-downloaded.

I think that even if a file is listed under the checksum file it should be simply checked every restart if it still exists before continuing (or re-download it if missing)

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.