* May 26, 2013, 07:51:54 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1] 2  All   Go Down
  Print  
Author Topic: Cannot compile PK3s  (Read 4054 times)
GeneralScott


Turrets: +3/-8
Posts: 291


« on: November 04, 2010, 11:13:32 AM »

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, 12:04:05 PM by GeneralScott » Logged

Demolution


Turrets: +157/-64
Posts: 1198


« Reply #1 on: November 04, 2010, 01: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.
Logged


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
*

Turrets: +41/-62
Posts: 555

Linux User!!


« Reply #2 on: November 04, 2010, 01: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
Logged

Slackware64 13.1
SlackersQVM/
GeneralScott


Turrets: +3/-8
Posts: 291


« Reply #3 on: November 04, 2010, 07:19:55 PM »

What search function?  Undecided
Logged

CreatureofHell


Turrets: +429/-123
Posts: 2351

Ash Nazg Durbatulūk, Ash Nazg Gimbatul.


WWW
« Reply #4 on: November 04, 2010, 09:08:45 PM »

The box and the search button.
Logged


Quote
<Timbo> posting on the trem forums rarely results in anything good
GeneralScott


Turrets: +3/-8
Posts: 291


« Reply #5 on: November 05, 2010, 12: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.
Logged

SlackerLinux
Spam Killer
*

Turrets: +41/-62
Posts: 555

Linux User!!


« Reply #6 on: November 05, 2010, 12:51:14 AM »

where are you testing these mods servers with sv_pure enabled wont allow use of modified pk3's
Logged

Slackware64 13.1
SlackersQVM/
GeneralScott


Turrets: +3/-8
Posts: 291


« Reply #7 on: November 05, 2010, 01:06:59 AM »

Devmap. I'm not a complete noob. I understand how it works.
Logged

UniqPhoeniX
Spam Killer
*

Turrets: +66/-32
Posts: 1376


« 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.
Logged

GeneralScott


Turrets: +3/-8
Posts: 291


« 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.
Logged

Ingar
Tremulous Developers
*

Turrets: +302/-7
Posts: 535


Doomsday device you say?


WWW
« 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, Reason: debug » Logged

GeneralScott


Turrets: +3/-8
Posts: 291


« Reply #11 on: November 08, 2010, 08:01:30 PM »

The original .pk3 works just fine on my devmap
Logged

Tremulant
Spam Killer
*

Turrets: +370/-58
Posts: 1037

It's not over 'til the tremulant sings...


« Reply #12 on: November 10, 2010, 07:23:38 PM »

so you're sorted?
Logged

my knees by my face and my ass is being hammered
GeneralScott


Turrets: +3/-8
Posts: 291


« 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... Huh?
Logged

Tremulant
Spam Killer
*

Turrets: +370/-58
Posts: 1037

It's not over 'til the tremulant sings...


« 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?
Logged

my knees by my face and my ass is being hammered
GeneralScott


Turrets: +3/-8
Posts: 291


« 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.
Logged

Celestial_Rage


Turrets: +120/-8
Posts: 623


« Reply #16 on: November 11, 2010, 03:55:16 AM »

Are you sure the directory structure is intact when you rezip it?
Logged

"The reports of my death are greatly exaggerated" ~Mark Twain
GeneralScott


Turrets: +3/-8
Posts: 291


« 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)
Logged

Teapot


Turrets: +11/-3
Posts: 84


« 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 » Logged
GeneralScott


Turrets: +3/-8
Posts: 291


« 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.
Logged

Tremulant
Spam Killer
*

Turrets: +370/-58
Posts: 1037

It's not over 'til the tremulant sings...


« 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?
Logged

my knees by my face and my ass is being hammered
GeneralScott


Turrets: +3/-8
Posts: 291


« 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?
Logged

Celestial_Rage


Turrets: +120/-8
Posts: 623


« 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.
Logged

"The reports of my death are greatly exaggerated" ~Mark Twain
F50


Turrets: +16/-26
Posts: 740


« 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).
Logged

"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law

GeneralScott


Turrets: +3/-8
Posts: 291


« 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?
Logged

Tremulant
Spam Killer
*

Turrets: +370/-58
Posts: 1037

It's not over 'til the tremulant sings...


« 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.
Logged

my knees by my face and my ass is being hammered
UniqPhoeniX
Spam Killer
*

Turrets: +66/-32
Posts: 1376


« Reply #26 on: November 12, 2010, 04:05:38 PM »

How about you just upload the rezipped file somewhere and we can stop guessing.
Logged

GeneralScott


Turrets: +3/-8
Posts: 291


« 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...
Logged

Tremulant
Spam Killer
*

Turrets: +370/-58
Posts: 1037

It's not over 'til the tremulant sings...


« Reply #28 on: November 12, 2010, 06:51:56 PM »

What about drop.io? Just how large is the file you're uploading?
Logged

my knees by my face and my ass is being hammered
GeneralScott


Turrets: +3/-8
Posts: 291


« Reply #29 on: March 28, 2011, 12: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
Logged

Pages: [1] 2  All   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!