Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Neocron PAK files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
phaseshift
ultra-n00b
Posts: 2
Joined: Sun Aug 28, 2005 8:43 pm

Neocron PAK files

Post by phaseshift »

Could you possibly add support for Neocron PAK files?

I've attached a small (96kb) sample PAK file.

There's a 101mb demo available here:
http://www.neocronnetwork.de/files/othe ... mo_eng.exe

And a utility here:
Site: http://www.geocities.com/d_evils_thrill/
DL: http://www.geocities.com/d_evils_thrill ... rowser.zip
It can open the files, but only extracts sounds and images (a built-in restriction of the utility). It uses zlib.dll (if that's of any help).

Thanks for your help! :)
You do not have the required permissions to view the files attached to this post.
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Post by Mr.Mouse »

Thanks, our team will take a look at it!
User avatar
PXR
VIP member
VIP member
Posts: 61
Joined: Wed Mar 23, 2005 7:55 pm
Location: ::1
Been thanked: 4 times

Post by PXR »

Code: Select all

uint32 {4}   - Unknown (1027968222)
uint32 {4}   - Number of files


// FOR EACH FILE

uint32 {4}   - Length of this "fileblock"
uint32 {4}   - Absolute File Offset
uint32 {4}   - Compressed File Length
uint32 {4}   - Decompressed File Length
uint32 {4}   - Filename Length
byte   {x}   - Filename (null-terminated)

byte   {x}   - File Data
If "Compressed file Length"=="Decompressed File Length", then the file is not compressed.
If the filename contains one or more backslash, then the filename is actually a relative path.

I think that should be it... :P
Marvey
n00b
Posts: 18
Joined: Wed Sep 03, 2003 1:12 pm
Has thanked: 6 times
Been thanked: 1 time

Post by Marvey »

yeah i would like to have this too...
great one
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Post by Mr.Mouse »

Code: Select all

ImpType Standard ;
ComType ZLib1 ;
Get DATE Long 0 ;
Get FileNum Long 0 ;
For T = 1 to FileNum ;
Get BlSize Long 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
SavePos UCSO 0 ;
Get UCS Long 0 ;
Get FNS Long 0 ;
GetDString FN FNS 0 ;
CLog FN FO FS FOO FSO UCS UCSO ;
Next T ;
This is the script that should open that file. And perhaps more. It will however assume compression. You can also replace resources in there!

Just go to "Run custom script on...", select the pak.bms file (see below) and then select the .pak file of interest. You MUST add it to an MRF file using the MRF Manager if you wish to import. (Create a new one, then add the pak.bms file to it, specify game name as Neocron) and then set the new MRF file as Base. Now when you select open archive you will only see the Neocron PAK format. Better still, copy the mc.mrf file in the data/config dir to another location and choose to ADD that mrf file to the MRF Base. Then add the BMS to THAT file and choose to set it as Base. Then you have all PLUS the new (custom) script. Importation should work then!!
You do not have the required permissions to view the files attached to this post.
phaseshift
ultra-n00b
Posts: 2
Joined: Sun Aug 28, 2005 8:43 pm

Post by phaseshift »

Works great. Thanks!
Post Reply