Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Risen .PAK
-
- veteran
- Posts: 108
- Joined: Thu Nov 06, 2008 9:29 pm
- Has thanked: 10 times
- Been thanked: 22 times
Re: Risen .PAK
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
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
Csimbi
- aluigi
- 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
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
*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.
Re: Risen .PAK
Bugtest wrote:the following is a quickbms script made on the fly:tell me if it works also with the other filesCode: 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
testet with german.pak, still not work
- aluigi
- 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:
- aluigi
- 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
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
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.
-
- veteran
- Posts: 108
- Joined: Thu Nov 06, 2008 9:29 pm
- Has thanked: 10 times
- Been thanked: 22 times
Re: Risen .PAK
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.
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
Csimbi
- aluigi
- 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
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
anyway the following bms script extracts everything included the subfolders:
http://aluigi.org/papers/bms/risen.bms
-
- advanced
- Posts: 43
- Joined: Wed May 16, 2007 5:13 am
- Has thanked: 6 times
- Been thanked: 5 times
Re: Risen .PAK
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.)
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.)
-
- Moderator
- Posts: 954
- Joined: Sun Mar 27, 2011 8:42 pm
- Has thanked: 10 times
- Been thanked: 161 times
Re: Risen .PAK
Hi,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.)
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/
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0
Downloads from DropBox : https://dl.dropboxusercontent.com/u/