-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
For games or binaries which receive even occasional updates, it can be hard to keep a library which would use pyMHF up to date.
Games which also may have a "classic version" (or versions) and a more recent version also may need mutliple versions of a library to support multiple versions.
Currently a library which is written using pyMHF is written for a single version of the executable it is targeting.
To support multiple versions we would need to do the following things:
- Add a
--versioncommand possibly to allow switching or support other functionalities. - Implement some way of indicating what version of the exe the library supports. Likely solution for this is to hash the exe with
SHA1hashing algorithm and then compare this to some lookup. - The hash lookup/mapping would need to be "ordered" in some way so that if a new hash is found, we would likely assume that this is a newer version of the exe than the latest unless otherwise specified.
- The following objects/info would need to support versioning:
a) Offsets
b) func_defs
c) patterns
d) struct definitions
Note: This issue is a WIP/dumping ground for me to put ideas relating to this issue...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request