{"id":15538579,"url":"https://github.com/squeek502/d2info","last_synced_at":"2026-02-26T16:49:43.584Z","repository":{"id":77410733,"uuid":"113835267","full_name":"squeek502/d2info","owner":"squeek502","description":"Tool for viewing/outputting various information about a running Diablo II game","archived":false,"fork":false,"pushed_at":"2020-12-08T22:02:36.000Z","size":53,"stargazers_count":18,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-09T12:32:30.076Z","etag":null,"topics":["diablo","diablo-ii","lua"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squeek502.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-11T08:54:36.000Z","updated_at":"2023-11-01T01:02:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"4419ec50-7ab2-487d-a3e4-c0db3575e7e2","html_url":"https://github.com/squeek502/d2info","commit_stats":{"total_commits":51,"total_committers":1,"mean_commits":51.0,"dds":0.0,"last_synced_commit":"4282fed93f065bb159a9fcedaff4d24dda90cd83"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/squeek502/d2info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2Fd2info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2Fd2info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2Fd2info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2Fd2info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squeek502","download_url":"https://codeload.github.com/squeek502/d2info/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squeek502%2Fd2info/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29865397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T16:38:37.846Z","status":"ssl_error","status_checked_at":"2026-02-26T16:37:58.932Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diablo","diablo-ii","lua"],"created_at":"2024-10-02T12:04:57.723Z","updated_at":"2026-02-26T16:49:43.565Z","avatar_url":"https://github.com/squeek502.png","language":"Lua","readme":"# d2info\n\n[![Build Status](https://github.com/squeek502/d2info/workflows/CI/badge.svg)](https://github.com/squeek502/d2info/actions)\n\nd2info is a tool for viewing/outputting various information about a running Diablo II game (by reading the memory used by the game).\n\nCurrently, it provides the following information:\n\n- Experience per minute over different time periods:\n  - Real time (since the character was first seen by the d2info process)\n  - In-game time (only includes time that the character is in a game, not paused, etc)\n  - Current game\n  - Last game (xp/min of the last game at the point of save+quit)\n- Estimated time until the next level, using the various exp/min readings\n- Number of runs finished, average xp/min per run, estimated runs until the next level\n- Number of experience 'ticks' gained (pixels filled in the experience bar)\n- Information about the current area, like monster level and % xp gain (unfinished, disabled by default; see `SHOW_AREA_INFORMATION` in the config)\n\nSupports Diablo II versions 1.13c, 1.13d, 1.14b, 1.14c, and 1.14d (D2SE and/or PlugY are also supported). It can also be used on LAN and private multiplayer servers (if it's allowed), however **it is not recommended to use it on Battle.net**, as it will most likely be considered a cheat and could result in a ban.\n\n## Installation\n\nSimply grab the [latest .exe build from the releases page](https://github.com/squeek502/d2info/releases/latest) and run it (as administrator).\n\n*Note: You'll probably want to put the .exe in its own folder, as it will output various files relative to its location*\n\n## Running using Lua\n\n- Clone this repository\n- Build [memreader](https://github.com/squeek502/memreader), [sleep](https://github.com/squeek502/sleep), [windcon](https://github.com/squeek502/lua-windcon), [luafilesystem](https://github.com/keplerproject/luafilesystem), and [LuaBitOp](http://bitop.luajit.org/) and make the resulting .dll's available to Lua's `package.cpath`.\n- Run `lua d2info.lua`\n\n## Output\n\nThe information is output to both the console window and to individual text files (in the directory `output`, relative to d2info) to allow the info to be easily added to stream overlays.\n\nConsole output example:\n```\nCharName (level 96 \u0026 32.85%)\n/players 8\n\nRun #6:\n 207.8k xp/min (734.2k xp in 3m32s)\n 13h until level 97 at this rate\n\nLast run:\n 160.7k xp/min (576.0k xp in 3m35s)\n 17h until level 97 at this rate\n\nAverage run:\n 165.0k xp/min (521.0k xp in 3m09s)\n 315 runs until level 97\n\nThis session:\n +1.6 ticks (+1.36%)\n Next tick in 675.2k xp\n 177.8k xp/min (3.3m xp in 19m19s)\n 15h until level 97 at this rate\n```\n\n### Tick Party\n\nThe file `output/tick-party.txt` can be used in conjunction with [the OBS script Txt Trigger](https://obsproject.com/forum/resources/txt-trigger.710/) to show OBS source(s) (video, audio, etc) whenever an experience tick is gained (i.e. when a new pixel is filled in).\n\n![Txt Trigger settings](https://www.ryanliptak.com/misc/txt-trigger.png)\n\nThe above settings will use the d2info config option `TICK_PARTY_DURATION` for the amount of time the source(s) are shown. Alternatively, you can uncheck 'Make source(s) visible for as long as file contents match' and set the duration in OBS.\n\n## Acknowledgements\n\n- [DiabloInterface](https://github.com/Zutatensuppe/DiabloInterface) for information about the memory layout of D2 and techniques for reading its memory\n- [PlugY](http://plugy.free.fr/en/index.html) for information about the memory layout of D2 and how to determine the version of the game process","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqueek502%2Fd2info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqueek502%2Fd2info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqueek502%2Fd2info/lists"}