Join also our Discord channel! Click here.

Help with Apex .starpak files

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
Posts: 3
Joined: Fri Dec 13, 2019 2:14 am

Help with Apex .starpak files

Post by damndoe » Sun Dec 15, 2019 11:52 am

A tool called Legion used to unpak .rpak files easily and pulled all the assets, this tool has not been updated and is no longer working. I tried using
Bigchillghost's BMS script but it no longer works for the starpak files.
Here it is:

Code: Select all

idstring "SRPk" # starpak
goto -8 0 SEEK_END
savepos entryOffset
get entryCount longlong
set entrySize longlong entryCount
math entrySize * 0x10
math entryOffset - entrySize
log MEMORY_FILE entryOffset entrySize
get Path basename
for i = 0 < entryCount
	get Offset longlong MEMORY_FILE
	get Size longlong MEMORY_FILE
	goto Offset
	get Magic longlong
	set Flag longlong Size
	math Flag & 0x0FFF
	if Magic == 0x1800000007
		set Ext string ".msh"
	elif Flag == 0
		set Ext string ".tex"
		set Ext string ".dat"
	set Name string ""
	string Name p "%s/%08d%s" Path i Ext
	log Name Offset Size
next i
Does anyone have any updated information they can share or updated bms scripts to get these dang files open for apex legends?

Thank you.

User avatar
Posts: 28
Joined: Sat Jun 03, 2017 9:35 am
Location: Australia
Has thanked: 2 times

Re: Help with Apex .starpak files

Post by tschumann » Mon May 25, 2020 6:16 am

Which file? It doesn't look like the format has changed.

Post Reply