Author Topic: Cannot compile PK3s  (Read 31244 times)

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Cannot compile PK3s
« on: November 04, 2010, 12:13:32 pm »
Okay, well like I recently did with my HUD, none of the other mods out there completely cut it for me, so I'm gonna try to mod an existing one to suit me better. Focuses on sounds and some textures.
1) How do I compile the PK3? Just compressing it into a .zip and renaming it doesn't seem to work for me (because I'm on a mac maybe?)
2) Thats about it... I can do it if I could only compile it properly...
« Last Edit: March 28, 2011, 01:04:05 pm by GeneralScott »

Demolution

  • Posts: 1198
  • Turrets: +157/-64
Re: Questions about Mod Making
« Reply #1 on: November 04, 2010, 02:27:54 pm »
Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function.

Clan [AC] - For all your air conditioning needs please visit: http://s1.zetaboards.com/AC_NoS/index/
my brain > your brain.
and i am VERY stupid.

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Questions about Mod Making
« Reply #2 on: November 04, 2010, 02:53:14 pm »
Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function. Use search function.

+1
Slackware64 13.1
SlackersQVM/

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #3 on: November 04, 2010, 08:19:55 pm »
What search function?  :-\

CreatureofHell

  • Posts: 2422
  • Turrets: +430/-126
    • Tremtopia
Re: Questions about Mod Making
« Reply #4 on: November 04, 2010, 10:08:45 pm »
The box and the search button.
{NoS}StalKer
Quote
<Timbo> posting on the trem forums rarely results in anything good

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #5 on: November 05, 2010, 01:09:42 am »
Meh. I already know what I'm SUPPOSED to do. It just won't work, even if I unzip a previously working pk3, and rezip the unzipped version and name it the same. The filesizes are also different. This is more about troubleshooting.

SlackerLinux

  • Spam Killer
  • *
  • Posts: 555
  • Turrets: +41/-62
Re: Questions about Mod Making
« Reply #6 on: November 05, 2010, 01:51:14 am »
where are you testing these mods servers with sv_pure enabled wont allow use of modified pk3's
Slackware64 13.1
SlackersQVM/

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #7 on: November 05, 2010, 02:06:59 am »
Devmap. I'm not a complete noob. I understand how it works.

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Questions about Mod Making
« Reply #8 on: November 07, 2010, 02:16:49 pm »
Any chance your OS is hiding the .zip extension? When you are re-zipping a file, are you selecting the folders named textures, scripts, vm, etc instead of the folder all those were extracted into (has to end up as z-mod.pk3/textures, not z-mod.pk3/z-mod/textures)? You could also try posting a 'broken' pk3 so we can see what is wrong with it.

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #9 on: November 07, 2010, 04:58:30 pm »
Sure, I'll post the PK3. Download it her.... Wait, I can't get any file hosting sites to work today for some reason... I'll post a link later.

Ingar

  • Tremulous Developers
  • *
  • Posts: 554
  • Turrets: +302/-7
    • Ingar's projects on the Web
Re: Questions about Mod Making
« Reply #10 on: November 08, 2010, 03:35:34 pm »
where are you testing these mods servers with sv_pure enabled wont allow use of modified pk3's
Devmap. I'm not a complete noob. I understand how it works.

Note that /devmap and /set sv_pure 0 are not the same. devmap enables cheats like
god mode and noclip while sv_pure, like SlackerLinux indicated, allows the server to use files
outside pk3's.

It is possible the pathnames inside the pk3 are wrong. Maybe they have a parent directory.
« Last Edit: November 09, 2010, 10:10:26 pm by Ingar »

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #11 on: November 08, 2010, 08:01:30 pm »
The original .pk3 works just fine on my devmap

Tremulant

  • Spam Killer
  • *
  • Posts: 1039
  • Turrets: +370/-58
Re: Questions about Mod Making
« Reply #12 on: November 10, 2010, 07:23:38 pm »
so you're sorted?
my knees by my face and my ass is being hammered

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #13 on: November 11, 2010, 12:25:13 am »
No, I want to make my own mod, same problem as before. Anyone know any good file hosting sites? Mediafire and a couple others are not working for this for some reason... ???

Tremulant

  • Spam Killer
  • *
  • Posts: 1039
  • Turrets: +370/-58
Re: Questions about Mod Making
« Reply #14 on: November 11, 2010, 12:34:48 am »
Oh, it's just that you said you knew what you were doing, which pk3 is it that stops working when you unzip and rezip it?
my knees by my face and my ass is being hammered

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #15 on: November 11, 2010, 03:31:07 am »
Wolf's mod. I don't change it at all but it doesn't work anymore when I rezip it. It's wierd. I was going to post the file so poeple could figure out what was wrong but I'm still looking for a decent file host.

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Questions about Mod Making
« Reply #16 on: November 11, 2010, 03:55:16 am »
Are you sure the directory structure is intact when you rezip it?
"The reports of my death are greatly exaggerated" ~Mark Twain

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #17 on: November 11, 2010, 11:16:03 am »
As far as I can tell, it is COMPLETELY identical. However, I do notice a small filesize difference between the original and the re-zipped. I was thinking that this was my computer not zipping it the same as it should be? (I'm on a mac)

Teapot

  • Posts: 85
  • Turrets: +11/-3
Re: Questions about Mod Making
« Reply #18 on: November 11, 2010, 01:11:52 pm »
It is possible the pathnames inside the pk3 are wrong. Maybe they have a parent directory.
Have you tried looking for this? What is the directory structure within the pk3 *before* extracting?
« Last Edit: November 12, 2010, 01:58:26 pm by Teapot »

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #19 on: November 11, 2010, 01:28:23 pm »
..I'm not really sure what you mean. But whatever it is, it is exactly the same is when it is rezipped. For some reason, whenever I try to upload it.... the download stalls.... I don't know if it's just too big or what.

Tremulant

  • Spam Killer
  • *
  • Posts: 1039
  • Turrets: +370/-58
Re: Questions about Mod Making
« Reply #20 on: November 11, 2010, 02:43:28 pm »
How large is the file? What are you using to zip up the file, how are you verifying that the structure is the same?
my knees by my face and my ass is being hammered

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #21 on: November 12, 2010, 12:02:30 am »
I'm not. I'm just assuming that the structure won't be changed when i zip it. Should I do something else?

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Questions about Mod Making
« Reply #22 on: November 12, 2010, 03:22:48 am »
You should not assume the structure does not change and actually check that it hasn't once it has been zipped.
"The reports of my death are greatly exaggerated" ~Mark Twain

F50

  • Posts: 740
  • Turrets: +16/-26
Re: Questions about Mod Making
« Reply #23 on: November 12, 2010, 08:41:31 am »
My guess is that you're using a compression algorithm (proprietary/unusual/not ZIP) that tremulous doesn't understand (since the file sizes are different).
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #24 on: November 12, 2010, 02:23:58 pm »
Yeah, mine too. Is there some program for Mac that you KNOW will work for this?

Tremulant

  • Spam Killer
  • *
  • Posts: 1039
  • Turrets: +370/-58
Re: Questions about Mod Making
« Reply #25 on: November 12, 2010, 02:45:33 pm »
It seems very odd that the default compression app on any platform would use anything besides standard zip compression when creating zip archives, hmm, well i suppose it is a mac... Did you manage to open the two zips in some kind of archive manager to compare directory structures yet. btw? If all else fails i suppose you might be able to open a terminal and use the zip command.
my knees by my face and my ass is being hammered

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Questions about Mod Making
« Reply #26 on: November 12, 2010, 04:05:38 pm »
How about you just upload the rezipped file somewhere and we can stop guessing.

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Questions about Mod Making
« Reply #27 on: November 12, 2010, 06:42:43 pm »
The download always stalls in MediaFire, and the other uploaders I've tried don't work either. My internet isn't too good...

Tremulant

  • Spam Killer
  • *
  • Posts: 1039
  • Turrets: +370/-58
Re: Questions about Mod Making
« Reply #28 on: November 12, 2010, 06:51:56 pm »
What about drop.io? Just how large is the file you're uploading?
my knees by my face and my ass is being hammered

GeneralScott

  • Posts: 291
  • Turrets: +3/-8
Re: Cannot compile PK3s
« Reply #29 on: March 28, 2011, 01:04:50 pm »
Yeah... I screwed with it some more.
I guess I had time so I figured I'd just do it now.

Here is the link. What's wrong with it?

http://www.mediafire.com/?5x3nwb3wf3z6qia