Tremulous Forum
Mods => Mod Releases => Non-Gameplay Changing => Topic started by: GeneralScott 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...
-
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.
-
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
-
What search function? :-\
-
The box and the search button.
-
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.
-
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.
-
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.
-
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.
-
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.
-
The original .pk3 works just fine on my devmap
-
so you're sorted?
-
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... ???
-
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?
-
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.
-
Are you sure the directory structure is intact when you rezip it?
-
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)
-
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?
-
..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.
-
How large is the file? What are you using to zip up the file, how are you verifying that the structure is the same?
-
I'm not. I'm just assuming that the structure won't be changed when i zip it. Should I do something else?
-
You should not assume the structure does not change and actually check that it hasn't once it has been zipped.
-
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).
-
Yeah, mine too. Is there some program for Mac that you KNOW will work for this?
-
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.
-
How about you just upload the rezipped file somewhere and we can stop guessing.
-
The download always stalls in MediaFire, and the other uploaders I've tried don't work either. My internet isn't too good...
-
What about drop.io? Just how large is the file you're uploading?
-
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
-
You zipped the containing directory, rather than just the files and directories you were keeping in it, i have no idea if that's important but it seems that opening your zzz-wolfbrmodb5 directory and selecting everything inside before zipping the lot together is worth a shot, so that when you open the resulting zip you see gfx, models, scripts, etc. rather than a zzz-wolfbrmodb5 containing those.
-
Okay, right, I'll try that. However that's not how the actual mods unzip, so I doubt that would work.... I'm thinking someone whos done this before can decompile, recompile, and see if it works then to narrow out the actual construction of the file and onto my computer.
-
You zipped the containing directory, rather than just the files and directories you were keeping in it
This is how it should be done, yes.
Okay, right, I'll try that. However that's not how the actual mods unzip
Programs put all the unzipped files inside a folder so your current folder will not be littered with files that may or may not have come from the zip file.
Yes, it can be a little confusing if you don't know that.
-
Just open any zip file in whatever archive viewer you have, rather than extracting it, you'll see its structure.
-
Mac doesn't have one, unfortunately. Thanks for the HELP!
-
Heres your issue: when you change the extension, mac just adds it to the name and hides the .zip. you need to right click and click get info, where you can get rid of it alltogether.
-
Yeah, I got it all now. Thanks for the months long help.
-
Mac doesn't have one, unfortunately.
Seriously?
-
Mac doesn't have one, unfortunately.
Seriously?
Much like windows, it doesn't ship with one, but there are plenty to download
http://www.macupdate.com/app/mac/11088/archive-viewer
-
I'm fairly sure windows has shipped with one since XP.