News:

Come Chat with us live! Learn how HERE!

Main Menu

Cannot compile PK3s

Started by GeneralScott, November 04, 2010, 11:13:32 AM

GeneralScott

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

Demolution

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/
Quote from: swamp-cecil on October 05, 2010, 09:04:04 PM
my brain > your brain.
and i am VERY stupid.

SlackerLinux

Quote from: Demolution 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.

+1
Slackware64 13.1
SlackersQVM/

GeneralScott


CreatureofHell

{NoS}StalKer
Quote<Timbo> posting on the trem forums rarely results in anything good

GeneralScott

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

where are you testing these mods servers with sv_pure enabled wont allow use of modified pk3's
Slackware64 13.1
SlackersQVM/

GeneralScott

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

UniqPhoeniX

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

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

#10
Quote from: SlackerLinux 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
Quote from: GeneralScott on November 05, 2010, 01:06:59 AM
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.

GeneralScott

The original .pk3 works just fine on my devmap

Tremulant

Quote from: Firstinaction on April 07, 2011, 03:36:46 AM
my knees by my face and my ass is being hammered

GeneralScott

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

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?
Quote from: Firstinaction on April 07, 2011, 03:36:46 AM
my knees by my face and my ass is being hammered

GeneralScott

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

Are you sure the directory structure is intact when you rezip it?
"The reports of my death are greatly exaggerated" ~Mark Twain

GeneralScott

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

#18
Quote from: Ingar on November 08, 2010, 03:35:34 PMIt 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?

GeneralScott

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

How large is the file? What are you using to zip up the file, how are you verifying that the structure is the same?
Quote from: Firstinaction on April 07, 2011, 03:36:46 AM
my knees by my face and my ass is being hammered

GeneralScott

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

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

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

Yeah, mine too. Is there some program for Mac that you KNOW will work for this?

Tremulant

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.
Quote from: Firstinaction on April 07, 2011, 03:36:46 AM
my knees by my face and my ass is being hammered

UniqPhoeniX

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

GeneralScott

The download always stalls in MediaFire, and the other uploaders I've tried don't work either. My internet isn't too good...

Tremulant

What about drop.io? Just how large is the file you're uploading?
Quote from: Firstinaction on April 07, 2011, 03:36:46 AM
my knees by my face and my ass is being hammered

GeneralScott

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