GithubHelp home page GithubHelp logo

Comments (7)

Iiridayn avatar Iiridayn commented on August 15, 2024 1

That is odd - I keep mine in ~/Games/guild-wars-2/drive_c/Program Files/Guild Wars 2/d3d11.dll. Ah - do you have the line export WINEDLLOVERRIDES="d3d11=n,b;winemenubuilder=" (not sure if the menubuilder thing is required) in your setup or otherwise have the wineprefix configured for d3d11.dll overrides? I believe that's a standard step in setting up ArcDPS in wine, which might not have been replicated in the alt setup.

from gw2-linux-multibox-launcher.

Iiridayn avatar Iiridayn commented on August 15, 2024

Nice, also running i3wm in arch w/an AMD GPU :).

The filename difference is legitimate - windows is not case sensitive, and I had a similar problem with the GW2-64.exe file a couple years ago (was or now is Gw2-64.exe or something); not sure how to best fix that offhand, but we should definitely address it if possible. Looks like my work computer uses Gw2-64.exe and GFXSettings.Gw2-64.exe.xml, while my home computer uses GW2-64.exe and GFXSettings.GW2-64.exe.xml, so I should have a test case when I have time to fix it.

Can run gw2-alt.sh -c 01 02 03 04 05 all at once; the script launches each one at a time in order. If you've already done gw2-alt.sh -c 01 there's no reason to do gw2-alt.sh -c 01 02 - can just do gw2-alt.sh -c 02 if you'd like to mount and run each individually.

When first configuring accounts, did you follow the steps at https://github.com/Iiridayn/gw2-linux-multibox-launcher#initial-setup? In particular, you have to launch each with -o to be able to change saved usernames and passwords or settings, and can only launch one at a time to do that.

from gw2-linux-multibox-launcher.

Iiridayn avatar Iiridayn commented on August 15, 2024

Okay, didn't take that long. Fixed the GFXSettings file thing to check the executable name first.

from gw2-linux-multibox-launcher.

nick3white avatar nick3white commented on August 15, 2024

Nice - your fix was definitely more elegant than the one I wrote.

When first configuring accounts, did you follow the steps at https://github.com/Iiridayn/gw2-linux-multibox-launcher#initial-setup? In particular, you have to launch each with -o to be able to change saved usernames and passwords or settings, and can only launch one at a time to do that.

I did, and then I didn't ;) I read the list steps and then didn't read the paragraph text after, which was kinda important.

I'm still having trouble with the startup though - last night i didn't have time to dig in, but I keep getting the error where it just hangs indefinitely while trying to start the first account. I'll try to spend some time with it tonight get more info.

from gw2-linux-multibox-launcher.

Iiridayn avatar Iiridayn commented on August 15, 2024

It's possibly waiting for the PID file, which might be getting dropped in the wrong directory. I'll double check that I removed all the hard-coded paths.

from gw2-linux-multibox-launcher.

Iiridayn avatar Iiridayn commented on August 15, 2024

Try uncommenting lines 147 and 150; if you're not getting a PID, that'd be the problem; line 161 would then be in an infinite loop.

Flow is: enter from top of script, $OPT_RUN is true so execute the if body from 263. This runs setsid, effectively forking the script, then calls waitrun, which loops once a second at line 161 waiting for the forked instance to create the pid file.

The setsid forked instance starts w/the test on line 209, which calls runwithpid; this calls run in the background which runs your $WINE variable (defaults to just wine) with the game executable path...

I've updated the game executable path to ensure it uses the same case as the actual file, though that's not been an issue for me yet.

The setsid forked instance runs your $WINE variable with the correct game executable path, then loops once a second waiting for ps to show the process running in the same session created by setsid. If you echo the session on line 147, you can run the first part of line 149 manually to see if the game is failing to launch - ps -s <session id>.

I suspect $WINE might be wrong; maybe double check your ~/.config/gw2alts/config.sh file? That file should have any environment variables needed from your working CLI launch script when just running your main alone. If you don't have one of those working, poke me on Discord for interactive support.

from gw2-linux-multibox-launcher.

nick3white avatar nick3white commented on August 15, 2024

Ok, I was finally able to dig into this last night. The first thing I did was to start from scratch, to follow the instructions again, since there was obviously at least one bit I had missed. After deleting everything and starting fresh, I was able to start up all accounts with the simple ./gw2-alts 1 2 3... line.

The issue I was having with it failing to get a PID - that was weird, because it would work if I started with -c or -o or -co - but it seems to be fine now. It didn't happen for all accounts, so I think it was related to which accounts I initiated correctly and which ones I didn't.

One last question (unless this acts up again!!) do you know where should I put the .dll for Arc DPS? I only really want it on my main account - but it didn't load when I put it in the "default" location (~/Games/guild-wars-2/drive_c/Program Files/Guild Wars 2) or the version from this script (~/config/gw2alts/main/drive_c/Program Files/Guild Wars 2).

from gw2-linux-multibox-launcher.

Related Issues (1)

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.