Join also our Discord channel! Click here.

[Request] Metroid: Samus Returns (.PKG) ?

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
hallinbirch
ultra-n00b
Posts: 5
Joined: Sun Sep 25, 2016 4:51 pm
Has thanked: 1 time

[Request] Metroid: Samus Returns (.PKG) ?

Post by hallinbirch » Sun Jan 28, 2018 10:56 pm

Hello.
I know that you guys have a lot of stuff to do, but if you are up to help this may be a good challenge or not (depending on your skill level)
long story short I bought this game and dumped the files and was immediately annoyed that instead of loose files I could easily manage they were all locked up inside these packs and I am not that experienced with package reversing.
so if you could help an old N008 that would be awesome
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1287
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2436 times
Been thanked: 753 times

[3DS] Metroid: Samus Returns (.PKG)

Post by Acewell » Mon Jan 29, 2018 4:48 pm

here is bms script to unpack the files in your varia.pkg sample, the other had nothing in it :D

Code: Select all

get FOLDER basename
get HEADER_SZ long
get DATA_SZ long
get FILES long
for i = 1 to FILES
	get HASH long
	get OFFSET long
	get SIZE long
	savepos TMP
	math SIZE - OFFSET
	goto OFFSET
	getdstring EXT 4
	string NAME p "%s\%08x_%d.%s" FOLDER HASH i EXT 
	log NAME OFFSET SIZE
	goto TMP
next i

Post Reply