Skip to content

Commit 639e0bf

Browse files
committed
finalize_helper: get actual sha256
requested by helpers
1 parent edd2954 commit 639e0bf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

finalize_helper.gm9

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Scriptrunner for https://3ds.hacks.guide/finalizing-setup file copying operations
2-
# Ver. 1.10.1 - Last modified: 2024-12-31
2+
# Ver. 1.10.2 - Last modified: 2025-04-14
33

44
set PREVIEW_MODE "Finalizing Setup Helper Script\n> Copying SD files..."
55

@@ -77,8 +77,9 @@ if not find 0:/finalize.romfs NULL
7777
end
7878

7979
if not sha 0:/finalize.romfs FINALIZE_SHA256SUM
80+
shaget 0:/finalize.romfs ACTUAL_SHA256SUM
8081
set PREVIEW_MODE "Finalizing Setup Helper Script\n> Copying SD files... :("
81-
echo "Error #22: finalize.romfs is invalid\n \nThe file finalize.romfs is corrupt or unreadable.\nRe-download it, copy it to root of SD, and try again.\n \nExpected: FINALIZE_SHA256SUM"
82+
echo "Error #22: finalize.romfs is invalid\n \nThe file finalize.romfs is corrupt or unreadable.\nRe-download it, copy it to root of SD, and try again.\n \nExpected: FINALIZE_SHA256SUM\nReceived: $[ACTUAL_SHA256SUM]"
8283
poweroff
8384
else
8485
imgmount 0:/finalize.romfs

romfs/finalize/finalize.gm9

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Script for https://3ds.hacks.guide/finalizing-setup
2-
# Ver. 1.10.1 - Last modified: 2024-12-31
2+
# Ver. 1.10.2 - Last modified: 2025-04-14
33
# GodMode9 scripts can be dangerous!
44
# Visit https://github.com/hacks-guide/finalize/releases to verify the integrity of this script.
55
# Credits: GM9Megascript contributors ("Scripts from Plailect's Guide"), Mr. Burguers (SD card capacity check), ihaveamac (title.db stuff), J0n_b0 (MSET9 check), Naim2000 (better Nintendo 3DS folder check)

0 commit comments

Comments
 (0)