Giter Club home page Giter Club logo

d2r-multibox's Introduction

D2R-Multibox

A helper utility to streamline launching of D2R multibox.

NOTE: This only works on Windows.

Background

In order to support multi-boxing (i.e. multiple instances of D2R running simultaneously), you need to kill the following \Sessions\3\BaseNamedObjects\DiabloII Check For Other Instances.

Many folks are doing this manually using tools like Process Explorer:

Image of Process Explorer

This script looks to automate that process, by iterating through all the processes and closing this handle.

Dependencies

Required installations:

  • Python 3
  • The following python modules:
python -m pip install pywin32
python -m pip install ctypes

Optional installations:

To make a fresh exe, also install pyinstaller:

python -m pip install pyinstaller

Internal Deps

Run

Downloading the standalone EXE

You can download the latest release here: https://github.com/mrhappyasthma/D2R-Multibox/releases/tag/Latest

Running the script manually

To run the script, simply run:

python multibox_d2r.py

d2r-multibox's People

Contributors

mrhappyasthma avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

d2r-multibox's Issues

Occasionally the tool fails to close the handle

I'm not sure how to repro, but I've had a few instances where after running for a while and closing the game to jump between regions, the tool is running but doesn't find any handle.

However if I open Process Explorer, I see the D2R.exe and the handle and can still close it manually.

There must be some subtle bug in the logic.

One theory I had was that this may occur if you keep D2R running but exit out of the Battle.net application? Maybe in that instance my process iteration logic won't find it.

[Feature Request] Create an executable version that runs in the background

This script still has to be run manually every time you open a new D2R. Ideally this should be a background process that triggers whenever a new D2R is launched and automatically closes that file handle.

Then you can just have this run on startup and run in the background, and it will just auto-magically allow you to seamlessly launch multiple clients.

App crashes sometimes

The app crashes sometimes. I need to run the script for a while and try to repro to make the code more fault tolerant.

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.