Mercenary Kings .PBN

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
GoodConduct
Posts: 104
Joined: Fri Jan 20, 2017 10:25 am

Mercenary Kings .PBN

Post by GoodConduct »

Hello, was wondering if I could get some help extracting the .pbn files from the game Mercenary Kings.
http://www.mediafire.com/file/ak2q2lmcg ... FXPack.pbn
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Mercenary Kings .PBN

Post by aluigi »

Can you check if there are smaller files with a similar name and different extension?
Or maybe a small file with an index or idx extension/name.
I don't see headers or tails with information in that sample.
GoodConduct
Posts: 104
Joined: Fri Jan 20, 2017 10:25 am

Re: Mercenary Kings .PBN

Post by GoodConduct »

aluigi wrote:Can you check if there are smaller files with a similar name and different extension?
Or maybe a small file with an index or idx extension/name.
I don't see headers or tails with information in that sample.


I found this file along with the sound pbn.
http://www.mediafire.com/file/qkacfwc8t ... tings.zpbn
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Mercenary Kings .PBN

Post by aluigi »

No help but I figured out how the data is stored, I was expecting a table with information about the files while instead it was just a 32bit with the size of each audio sample (no "file", just raw pcm audio):
http://aluigi.org/bms/mercenary_kings_pbn.bms

The script automatically generates the RIFF header so you can play them without any problem and probably you can reimport them too (I remember to have worked on this stuff in the recent versions of quickbms)
GoodConduct
Posts: 104
Joined: Fri Jan 20, 2017 10:25 am

Re: Mercenary Kings .PBN

Post by GoodConduct »

aluigi wrote:No help but I figured out how the data is stored, I was expecting a table with information about the files while instead it was just a 32bit with the size of each audio sample (no "file", just raw pcm audio):
http://aluigi.org/bms/mercenary_kings_pbn.bms

The script automatically generates the RIFF header so you can play them without any problem and probably you can reimport them too (I remember to have worked on this stuff in the recent versions of quickbms)


Thank, you very much!