Giter Club home page Giter Club logo

autopd's Introduction

AutoPD

Automation for Perfect Dark Scrappy project made for some automation of the P2P program Perfect Dark.

I am not responsible for anything you download or accidentally download with this

I was lazy in memory searching, so it can/will take ages to do intial searching. It will also eat up bunch of memory when it does this so I hope you like paging.

###Things to make this work: ###

  • All automation is done in the top split section.
  • Updates to the PD can/will break this.
  • Setting the visual style in PD to "new style" is a requirement for functioning correctly.
  • PD cannot be minimized for this to work correctly, as it automates based on PostMessage to the window handle.
  • Could be improved to prevent focus pulling.
  • You must select the item in the search tree for the section to search/work on. It will not go through them.
  • The Filters are naive

This is a old project created in a weekend.
may(not) get updated.

###Memory stuff###

Offsets I use in memory in the table to get the item information
0x0 - Table Item Start
0x8 - 32 Bytes - hash little-endian format
0x28 - Byte - Selection, Not Selected = 0; Selected = 1; Mouse Down = 2;
0x34 - Byte - Status, (in search:0 = new; 1 = downloading;? > 1 = done;); 1 = downloading; 2 = completed(?)
0x35 - Byte - Face, 0 = Sleeping; 1 = Converting; 2 = Working; - ONLY ON DOWNLOAD
0x38 - 4 Bytes - Filename /w tags length
0x3C - 4 Bytes - Filename /wo tags length
0x50 - Variable String UNICODE - Start of Filename
0x258 - 4 Bytes - Size in bytes
0x268 - 4 Bytes - Count
0x2A8 - Float - Progress percentage

autopd's People

Contributors

mattish avatar

Stargazers

 avatar

Watchers

 avatar

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.