Author Topic: How do you .PK3/.BIN's? (mac)  (Read 5208 times)

Jalaco

  • Posts: 58
  • Turrets: +4/-1
How do you .PK3/.BIN's? (mac)
« on: May 10, 2008, 02:36:15 am »
I have a question, does anyone know how to make .Pk3's on a mac? All the ways I try aren't be read. Even if someone can tell me how to make a .Bin on a mac that would work to. Thanks in advance all!

\\^// Jalaco \\^//

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Re: How do you .PK3/.BIN's? (mac)
« Reply #1 on: May 10, 2008, 06:13:54 am »
A .pk3 file is the same as a '.zip' file. The extension is just changed. A '.bin' file is completely different, try Stuffit (or comparable free utility).

I'm assuming this is for mapping. If you want to learn the structure for a '.pk3' file for mapping, check out the Tremulous mapping Wiki. Or, rename a map's '.pk3' file to make the extension '.zip', unzip it, and check it out.

googles

  • Posts: 219
  • Turrets: +30/-19
Re: How do you .PK3/.BIN's? (mac)
« Reply #2 on: May 10, 2008, 04:01:58 pm »
Jally, BIN files are binary files, aka programs, pk3's are zip files renamed use by tremulous(and other quake mods) that load maps/other elements of the game

Rocinante

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
Re: How do you .PK3/.BIN's? (mac)
« Reply #3 on: May 10, 2008, 08:44:45 pm »
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

Jalaco

  • Posts: 58
  • Turrets: +4/-1
Re: How do you .PK3/.BIN's? (mac)
« Reply #4 on: May 10, 2008, 11:29:30 pm »
A .pk3 file is the same as a '.zip' file. The extension is just changed. A '.bin' file is completely different, try Stuffit (or comparable free utility).

I tried doing that first, but it doesnt work the archive tool codes the Zips weird or something. I cant figure out how to get Stuffit to zip for me it just unzips.

I think that mac reads the files as .Bins because thats what icon it has for them (its not the generic white paper for things it cant identify) and it says on the description MacBinary Encoded File.

I even tried making a Dmg and changing its extension to Pk3 that didnt work either.  :-\

\\^// Jalaco \\^//

Rocinante

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
Re: How do you .PK3/.BIN's? (mac)
« Reply #5 on: May 11, 2008, 12:12:05 am »
If you're not afraid of the commandline, open Terminal and use 'zip'.  For example:

Code: [Select]
milton:~/tmp$ find .
.
./.DS_Store
./bar
./bar/barfile1
./bar/barfile2
./baz
./baz/bazfile
./foo
./foo/foofile
milton:~/tmp$ zip -r foo.pk3 foo bar baz
  adding: foo/ (stored 0%)
  adding: foo/foofile (stored 0%)
  adding: bar/ (stored 0%)
  adding: bar/barfile1 (stored 0%)
  adding: bar/barfile2 (stored 0%)
  adding: baz/ (stored 0%)
  adding: baz/bazfile (stored 0%)

You'll have to combine that information with the other posts around here that describe the layout of a pk3, because I don't have it committed to memory and don't care to look for it right now :>
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Re: How do you .PK3/.BIN's? (mac)
« Reply #6 on: May 11, 2008, 07:16:33 am »
A simple 'ls -a' would have sufficed, Rocinante ;)

Jalaco

  • Posts: 58
  • Turrets: +4/-1
Re: How do you .PK3/.BIN's? (mac)
« Reply #7 on: May 11, 2008, 08:18:23 am »
I tried changing the code around and stuff for my user but every time I get "not such directory" or "Nothing to do!" I'm confused....

\\^// Jalaco \\^//

Rocinante

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
Re: How do you .PK3/.BIN's? (mac)
« Reply #8 on: May 11, 2008, 06:01:01 pm »
A simple 'ls -a' would have sufficed, Rocinante ;)

'ls -a' would have shown the directories and hidden files in the current working directory.  'find .' showed their contents as well, which was the point :>

I tried changing the code around and stuff for my user but every time I get "not such directory" or "Nothing to do!" I'm confused....

Much like in many other things, paraphrasing the error that you get is not going to help anyone figure out what the problem is and hopefully provide a solution.  Please use a [code] block to paste the command you tried and the error you received, with some context of what you wanted to do.
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"