• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

how to extract FPK files??

kwn2k

Landlubber
I've been reading the entire Pirates Modding forum for a tool to extract the FPK files and i found nothing..

so i will make this thread asking for a tool.. because i can see someone must have one since there are mods that change the clothes on people ingame...

please gimme a helping hand...
 
What you're after is this, over on the Addicted To Pirates! forum.

<a href="http://www.addictedtopirates.com/forum/viewtopic.php?t=922" target="_blank">http://www.addictedtopirates.com/forum/vie...topic.php?t=922</a>

Note it's a command line tool, so give a holler back if you need a hand to use it and I'm sure we'll all pitch in.
 
ok thanks...

i tried it... but it crashes every time i try...

fpk --file c:mysweetpack.fpk --exportdir c:123

what did i do wrong.. did what it say in the forum there..
 
the export directory has to exist in advance, otherwise it crashes.

Tip - create a directory for each PAK in advance. I emptied everything into the same folder and sorting through the files has become something of a chore. I should probably reextract it all again <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />

Also, try

fpk --help

It'll give you the parameters for the program. I think the ones you're using there are for making a new pak.
 
Infact, here's a quick lubbers guide to extracting your FPK files.

1. <a href="http://www.terrygoodkind.net/~rahly/fpk.exe" target="_blank">Download</a> and extract <b>FPK.EXE</b> (created by Rahly of ATP forum) into your <b>"Sid Meier's Pirates!Assets"</b> folder
2. Create a new folder for each .FPK in the folder. Specifically you need the folders
<b>lang0
pak0
pak1
pak2
pak3
pak4
pak5
pak6
pak7
pak8</b>
3. Open up a command prompt and navigate to your <b>"Sid Meier's Pirates!Assets"</b> folder.
4. type
<b>FPK --file lang0.fpk --exportdir lang0</b>
<b>FPK --file pak0.fpk --exportdir pak0</b>
<b>FPK --file pak1.fpk --exportdir pak1</b>
<b>FPK --file pak2.fpk --exportdir pak2</b>
<b>FPK --file pak3.fpk --exportdir pak3</b>
<b>FPK --file pak4.fpk --exportdir pak4</b>
<b>FPK --file pak5.fpk --exportdir pak5</b>
<b>FPK --file pak6.fpk --exportdir pak6</b>
<b>FPK --file pak7.fpk --exportdir pak7</b>
<b>FPK --file pak8.fpk --exportdir pak8</b>

You'll need to wait for each pak to be decompressed before typing the next command. Once everything is uncompressed into it's own folder, you can rename each folder so you know what area of the game each pertains to.

Feel free to let me know if you have any problems at any step. I might have mistyped something or just plain messed up.
 
The exportdirs do not have to exist before you give the command to extract. At least for me it worked perfectly and created the necessary folders automatically.
 
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" /> HOW does one open a command prompt in Win XP?
 
If you can stand the search, try google for fpkpacker

Can find a GUI interface version [that hates when you have the output file in the source directory (packing)]
 
<!--`QuoteBegin-v_Grimmelshausen`+--><div class='quotetop'>QUOTE(v_Grimmelshausen)</div><div class='quotemain'><!--QuoteEBegin--><img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" /> HOW does one open a command prompt in Win XP?[/quote]

Start > Run > Enter 'cmd' > Press Okay <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
Thank you, both rupert and Fred Bob <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
To make fpk.exe extract more readily open a notepad/wordpad file and paste:

<b>FPK --file lang0.fpk --exportdir lang0
FPK --file pak0.fpk --exportdir pak0
FPK --file pak1.fpk --exportdir pak1
FPK --file pak2.fpk --exportdir pak2
FPK --file pak3.fpk --exportdir pak3
FPK --file pak4.fpk --exportdir pak4
FPK --file pak5.fpk --exportdir pak5
FPK --file pak6.fpk --exportdir pak6
FPK --file pak7.fpk --exportdir pak7
FPK --file pak8.fpk --exportdir pak8</b>

Save the file as <b>fpkrun.bat</b> in the folder in which <b>fpk.exe</b> and your assets are. You may need to make the folders ready for fpk ie <b>new folder </b> then renamed l<b>ang0</b> etc.

double click the bat file and relax.
 
Back
Top