We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 230ebf5 commit e88655bCopy full SHA for e88655b
.gitignore
@@ -7,3 +7,4 @@ x
7
*.swp
8
*.idb
9
test/
10
+.venv/
scripts/emu.py
scripts/enigma-protector.py
@@ -0,0 +1,22 @@
1
+#! /usr/bin/env python3
2
+
3
+# python3 -m venv .venv
4
+# source .venv/bin/activate
5
+# pip install maturin
6
+# maturin develop -m pymwemu/Cargo.toml
+import pymwemu
+emu = pymwemu.init64()
11
+emu.load_maps('./maps64/')
12
+emu.load_binary('/Users/brandon/Desktop/enigma/surprise.dll')
13
14
+emu.set_verbose(0)
15
+emu.set_reg('rdx', 1)
16
+emu.spawn_console_at_pos(227871000)
17
+try:
18
+ emu.run()
19
+except Exception as e:
20
+ print(f"Error during emulation: {e}")
21
+finally:
22
+ emu.spawn_console()
scripts/enigma.sh
scripts/enigma2.sh
0 commit comments