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

Risen .PAK

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
JeffT
n00b
Posts: 12
Joined: Tue Jun 16, 2009 9:15 am

Risen .PAK

Post by JeffT »

The contents of this post was deleted because of possible forum rules violation.
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Risen .PAK

Post by OrangeC »

This the 360 or PC version?
JeffT
n00b
Posts: 12
Joined: Tue Jun 16, 2009 9:15 am

Re: Risen .PAK

Post by JeffT »

PC
Csimbi
veteran
Posts: 108
Joined: Thu Nov 06, 2008 9:29 pm
Has thanked: 10 times
Been thanked: 22 times

Re: Risen .PAK

Post by Csimbi »

File:
Header[48];
RawData [variable size];
FileInfoHdr[4];
FileInfos[variable size];

Header:
int32 version; // = 1
char [4] string; // = "G3V0"
int64 unknown1; // = 0
int64 unknown2; // = 1
int64 address; // address (not offset!) where the data starts = 0x30
int64 offset; // offset from current position (0x20) to FileInfoHdr
int64 filesize; // size of the file
NOTE: all the above int64s may actually be int32s - but the more significant bytes are all zero, so it's hard to tell.

FileInfoHdr:
int32 unknown; // For the first glance it seemed like the number of FileInfos, but some files have a different number here

FileInfo:
TBD
______
Csimbi
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Risen .PAK

Post by aluigi »

the following is a quickbms script made on the fly:

*edit* watch the next posts

tell me if it works also with the other files
Last edited by aluigi on Thu Oct 01, 2009 7:35 pm, edited 1 time in total.
Cryptonia
advanced
Posts: 46
Joined: Wed Aug 19, 2009 5:11 pm

Re: Risen .PAK

Post by Cryptonia »

Bugtest wrote:the following is a quickbms script made on the fly:

Code: Select all

get DUMMY long
idstring G3V0
goto 0x20
get INFO_OFF long
get DUMMY long
get MAX_OFF long

goto INFO_OFF
getdstring DUMMY 36

for
    savepos INFO_OFF
    if INFO_OFF >= MAX_OFF
        cleanexit
    endif

    get DUMMY long
    get NAMESZ long
    math NAMESZ += 1
    getdstring NAME NAMESZ
    get OFFSET long
    getdstring DUMMY 40
    get ZSIZE long
    get SIZE long

    if ZSIZE == SIZE
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next
tell me if it works also with the other files

testet with german.pak, still not work
Image
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Risen .PAK

Post by aluigi »

nice image for a blind person...
how much is big this particular pak file?
Cryptonia
advanced
Posts: 46
Joined: Wed Aug 19, 2009 5:11 pm

Re: Risen .PAK

Post by Cryptonia »

The contents of this post was deleted because of possible forum rules violation.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Risen .PAK

Post by aluigi »

ok done, practically the problem was in the name of the folders.
note that the folders will be not extracted so the files are extracted all in the output folder without subdirectories.

*edit* watch my next posts
Last edited by aluigi on Fri Oct 09, 2009 11:44 pm, edited 1 time in total.
Csimbi
veteran
Posts: 108
Joined: Thu Nov 06, 2008 9:29 pm
Has thanked: 10 times
Been thanked: 22 times

Re: Risen .PAK

Post by Csimbi »

Seems very similar to the Gothic 3 format.
Get g3pak from here:
http://www.bendlins.de/nico/gothic3/
and read the format description there.
The source (Delphi) is available for that tool at the same link - anyone willing to update it?
Thank you.
______
Csimbi
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Risen .PAK

Post by aluigi »

I have given a look at that documentation but except for the header all the rest is completely different.
anyway the following bms script extracts everything included the subfolders:
http://aluigi.org/papers/bms/risen.bms
jbeckman
advanced
Posts: 43
Joined: Wed May 16, 2007 5:13 am
Has thanked: 6 times
Been thanked: 5 times

Re: Risen .PAK

Post by jbeckman »

http://www.bendlins.de/nico/risen/

Similar to the authors G3Pak utility, different tools to unpack files and then stuff inside them like the string table (text and stuff) file plus converting textures from ximg to dds (or tga) and sound files. :)
(Game doesn't read unpacked data however but the hotfix patch works similar to Gothic 3 with .pak for the main archive followed by .p00 to p99 or something for addon data, of course it's a bit cumbersome and there's no re-packer yet but it gives a nice overview of the game engine and files although just like Gothic 3 it isn't easy to modify.)
michalss
Moderator
Posts: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Risen .PAK

Post by michalss »

jbeckman wrote:http://www.bendlins.de/nico/risen/

Similar to the authors G3Pak utility, different tools to unpack files and then stuff inside them like the string table (text and stuff) file plus converting textures from ximg to dds (or tga) and sound files. :)
(Game doesn't read unpacked data however but the hotfix patch works similar to Gothic 3 with .pak for the main archive followed by .p00 to p99 or something for addon data, of course it's a bit cumbersome and there's no re-packer yet but it gives a nice overview of the game engine and files although just like Gothic 3 it isn't easy to modify.)
Hi,

Do you know how can i contact author please ?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
Post Reply