Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to save Mod.io OAuth Token returns http request error (os error 66) #185

Open
al-al-le opened this issue Jun 4, 2024 · 5 comments
Labels
C-bug Category: bug, defects O-macos OS: macOS P-modio Provider: mod.io

Comments

@al-al-le
Copy link

al-al-le commented Jun 4, 2024

Every time I try to save my Mod.io OAuth token Mint returns with this error:

http request error: Request error: error sending request for url (https://api.mod.io/v1/games/2475/mods?id=0) error trying to connect: tcp connect error: Bad device type. (os error 66)

I'm running Mint on a version of Apple's GPTK and Wine through the Whisky wrapper on MacOS so I'm guessing that's the main part of the issue.

Any help is appreciated!

@trumank
Copy link
Owner

trumank commented Jun 5, 2024

Don't know much about that setup (but I'd be very curious to if DRG runs well with it!) I recall running into similar issues running it through WINE on Linux, but there are native Linux builds so I haven't bothered to figure out why.

Testing again (on Linux), I'm running into rust-lang/rust#94092 with the current release, but seems to be gone when building from master.

The particular error you're running into seems to be https://bugs.winehq.org/show_bug.cgi?id=50520 which apparently has since been fixed in WINE so you may need to upgrade WINE.

I have not bothered trying to build for MacOS for a while since I assumed DRG wasn't playable on it, but if that's not the case I can see about supporting it again.

@al-al-le
Copy link
Author

al-al-le commented Jun 5, 2024

Quite the fast response, and from the man himself!

I read through the Wine article and yea it does seem like a similar issue. Unfortunately, Whisky is limited to versions of Wine 7.0 and I can't really update it outside of that.

But hey, I'd love to see what you'll do with a MacOS build if one ever does come out! For now, I guess i'll stick to that crappy in-game mod launcher...

@jieyouxu
Copy link
Collaborator

jieyouxu commented Jun 5, 2024

FWIW, I work on mint on macOS, I just can't be bothered to setup the cross-compilation toolchain (or never got it to work) for cross-compiling the hook. Might be possible.

@trumank
Copy link
Owner

trumank commented Jun 5, 2024

Actually it's closer to working than I thought. The only thing missing is oodle compression for repak (which is only necessary for a handful of mods). Assuming all the necessary packages and cross compiler are installed, it can be built with cargo build --no-default-features --features=hook.

@jieyouxu jieyouxu added C-bug Category: bug, defects P-modio Provider: mod.io O-macos OS: macOS labels Jun 6, 2024
@jieyouxu
Copy link
Collaborator

Actually yes I can repro the build on macOS after setting up relevant dependencies, only blocked on reqwest invalid certificate thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug, defects O-macos OS: macOS P-modio Provider: mod.io
Projects
None yet
Development

No branches or pull requests

3 participants