ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Sep 18, 2018 5:06 pm

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Port Royale 2 .cpr
PostPosted: Sat Feb 17, 2018 11:24 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1143
Game: http://store.steampowered.com/app/12470/Port_Royale_2
Image
Image

Format Specifications Patrician game: http://wiki.xentax.com/index.php/Patrician
Code:
char {16}    - Header (ASCARON_ARCHIVE ) 
char {4}     - Version (V0.9)
byte {12}    - null
uint32 {4}   - Directory Length [-16] (including all these archive header fields and the 9 null padding)
uint32 {4}   - Directory Length [-15] (not including all these archive header fields or the padding)
uint32 {4}   - Number Of Files
uint32 {4}   - Unknown

// for each file

uint32 {4}   - Data Offset
uint32 {4}   - Raw File Length
uint32 {4}   - Unknown (1)
char {X}     - Filename
byte {1}     - null Filename Terminator

byte {9}     - null
byte {X}     - File Data

Someone script unpack/repack for quickbms?
Example: https://mega.nz/#!khQlgCyQ!O4ZvYaxi4L1t ... x1HT0CPsw0


Top
   
 Post subject: Re: Port Royale 2 .cpr
PostPosted: Sun Feb 18, 2018 10:50 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
I have fixed the xentax script (and many others) that was available on my website:
http://aluigi.org/bms/xentax_cs/CPR_ASCARON.bms


Top
   
 Post subject: Re: Port Royale 2 .cpr
PostPosted: Sun Feb 18, 2018 10:54 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
Anyway I suspect that the script is incomplete or there is something missing because pr2_arcd.cpr is only partially covered.


Top
   
 Post subject: Re: Port Royale 2 .cpr
PostPosted: Sun Feb 18, 2018 11:18 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8779
Confirmed, the script is incomplete... not the first time the xentax_cs scripts are incomplete...

This is my script:
http://aluigi.org/bms/ascaron_archive.bms


Top
   
 Post subject: Re: Port Royale 2 .cpr
PostPosted: Sun Feb 18, 2018 2:58 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1143
Thanks a lot aluigi!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited