Skip to content

Commit

Permalink
fix release version, better mset9.py clarity, tidy up build
Browse files Browse the repository at this point in the history
  • Loading branch information
zoogie committed Oct 11, 2023
1 parent 61696ec commit 335c214
Show file tree
Hide file tree
Showing 51 changed files with 14 additions and 17 deletions.
9 changes: 6 additions & 3 deletions MSET9_installer_script/mset9.py
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
#!/usr/bin/python3
import os,sys,platform,time,shutil,binascii
VERSION="v3beta"
VERSION="v1.0"

p=platform.system()
if p == 'Windows': #0-win, 1-lin, 2-mac, x-win lol go with the market leader i guess
Expand Down Expand Up @@ -293,7 293,10 @@ def reapply_cwd():
for i in id0_list:
print(i)
print("")
assert(id0_count == 1)
if id0_count != 1:
print("You don't have 1 ID0 in your Nintendo 3DS folder, you have %d!" % id0_count)
print("Consult:\nhttps://3ds.hacks.guide/troubleshooting#installing-boot9strap-mset9\nfor help!")
sys.exit(0)

if OPSYS == 0: #windows
_ = os.system('cls')
Expand All @@ -307,7 310,7 @@ def reapply_cwd():
print("1. Setup MSET9")
print("2. Inject trigger file %s" % trigger)
print("3. Delete trigger file %s" % trigger)
print("4. Remove MSET9, restore original ID1")
print("4. Remove MSET9, DO NOT FORGET to run this after you finish the exploit!")
print("5. Exit")

while 1:
Expand Down
5 changes: 0 additions & 5 deletions _build_delete-file.bat

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions _insert-file.bat

This file was deleted.

5 changes: 5 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 1,5 @@
cd ID1gen && make clean && make && cd..
python id1gen.py
cd usr2arm9ldr && make clean && make && cd ..
cp usr2arm9ldr/build/arm9.bin out/b9
pause
3 changes: 0 additions & 3 deletions id1gen.bat

This file was deleted.

4 changes: 2 additions & 2 deletions id1gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 21,8 @@

print("length of path: %d" % len(path)) #always be 32 chars

os.mkdir(path)
os.mkdir("out/" path)

with open("haxID1_output.txt","w") as f:
with open("out/haxID1_output.txt","w") as f:
f.write(path.encode('utf-16le').hex().upper())
f.write("\n\nTo be placed in var id1_haxstr, in mset9.py")
File renamed without changes.
Binary file added out/b9
Binary file not shown.

0 comments on commit 335c214

Please sign in to comment.