Shop  •   Avatar  •   FAQ  •   Search  •   Memberlist  •   Usergroups  •   Profile  •   Log in to check private messages  •   Log in  •  Register 

Mod tool suite for mac
Post new topic   Reply to topic     Forum Index -> Customization & Modding
View previous topic :: View next topic  
Author Message
jlangsdo
Cutthroat
Posts: 398



11012 Gold -

PostPosted: Sat Dec 01, 2012 12:06 pm    Post subject: Mod tool suite for mac Reply with quote

Here's a tool suite for Mac.

The Assets folder is found at:
/Applications/Sid Meier\'s\ Pirates\!/PiratesData/Assets

The files to mod are combined together into the FPK files. It appears that the FPK format can be used to compress files, but that they are not compressed; there is just a table of contents listing the file names and locations, and then the files just appear one after another. Based on that insight, I wrote a simple script to dump out the contents of all of the FPK files into an Assets_UNPACKED directory:

smp_fpk_unpack.pl

The game will use a file if it appears in the Assets folder (or any of its subfolders) in preference to the one in the FPK file. This is how most of the mods on this site work, you just put the .dds file into the Assets folder and the game picks it up. This also means you never need to repack the FPK files.

These are some free tools I have downloaded which work for reading and editing files:

Gimp: http://www.gimp.org/downloads/
can edit most graphics formats: bmp, jpg, png

Aorta: http://sourceforge.net/projects/aorta/
converts dds files (used for character clothing, faces, etc) to png (for editing in Gimp) and back

Emacs: http://aquamacs.org/
is a text editor that can read and edit the .txt files (they aren't quite in plain text, perhaps uuencoded). If you are trying to edit text, remember that U.S. english names are in "*_enu.txt" not "*_eng.txt" versions.

HexEdit: http://hexedit.en.softonic.com/mac
for editing binary files

I haven't found an editor for nif files yet, which are the three dimensional shapes onto which the dds files are painted.

There are all sorts of neat files in here that no one has ever posted mods to before.....
Back to top
View user's profile Send private message
dogcigar
Swabbie
Posts: 82



542 Gold -

PostPosted: Thu Aug 15, 2013 4:46 pm    Post subject: Reply with quote

jlangsdo, I`m working on a new mod and want to unpack the fpks but I keep getting `permission denied` on the script. It`s funny as the patch script works perfectly. Any tips? I`m on snow leopard if it helps any
Back to top
View user's profile Send private message
dogcigar
Swabbie
Posts: 82



542 Gold -

PostPosted: Thu Aug 15, 2013 4:48 pm    Post subject: Reply with quote

double post

Last edited by dogcigar on Thu Aug 15, 2013 4:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
dogcigar
Swabbie
Posts: 82



542 Gold -

PostPosted: Thu Aug 15, 2013 4:48 pm    Post subject: Reply with quote

double post

Last edited by dogcigar on Thu Aug 15, 2013 4:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
dogcigar
Swabbie
Posts: 82



542 Gold -

PostPosted: Thu Aug 15, 2013 6:22 pm    Post subject: Reply with quote

Ah.. got it solved. Just needs to have the exact directory name Sid Meirs Pirates! .Sorry about the multiple posts everyone. system was in debug mode or sg and I was banging away at the submit key
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Customization & Modding All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group