Skip to content

Commit

Permalink
Support latest MEDS
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquegemignani committed Dec 5, 2022
1 parent e351e23 commit 5e0f174
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion open_dread_rando/patcher_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from construct import Container
from mercury_engine_data_structures.file_tree_editor import FileTreeEditor
from mercury_engine_data_structures.formats import BaseResource, Brfld, Brsa, ALL_FORMATS, Bmmap
from mercury_engine_data_structures.game_check import Game

T = typing.TypeVar("T")

Expand All @@ -22,7 +23,7 @@ class PatcherEditor(FileTreeEditor):
memory_files: dict[str, BaseResource]

def __init__(self, root: Path):
super().__init__(root)
super().__init__(root, target_game=Game.DREAD)
self.memory_files = {}

def get_file(self, path: str, type_hint: typing.Type[T] = BaseResource) -> T:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ classifiers =
[options]
packages = open_dread_rando
install_requires =
mercury-engine-data-structures>=0.17.0
mercury-engine-data-structures>=0.18.0
jsonschema>=4.0.0
ips.py>=0.1.2
keystone-engine>=0.9.2
Expand Down

0 comments on commit 5e0f174

Please sign in to comment.