NeocoreGames (*.n2pk) bms script

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

NeocoreGames (*.n2pk) bms script

Post by Acewell »

i saw extractors for this archive type for Blender and Unpakke and on Github
but i didn't see a thread anywhere with a bms script so i made one for kicks :D

Code: Select all

# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get ARC_SIGN_SZ long
get ARC_SIGN unicode
savepos BASE_OFF
get TABLE_OFF long
math TABLE_OFF + BASE_OFF
goto TABLE_OFF
get UNK long
get UNK2 long
get FILES long
for i = 0 < FILES
   get UNK3 long
   get NAME_SZ long
   get NAME unicode
   get OFFSET long
   math OFFSET + 0x2c
   get ZERO long
   get SIZE long
   get ZERO2 long
   log NAME OFFSET SIZE   
next i

it should work on n2pk files from NeocoreGames games :)