View Full Version : Reintegrating files into assets0.pk3 HELP!!!!!!
I know how to extract a file and edit it, but instead of creating a new skin (as per the posted guide) i would like to overwrite the existing skin. However, after editing the files i want, i try to add it back into assets0.pk3 - which goes fine - but when i launch the game i get errors associated with filename length. The number of characters in the path are too long.
How do i get around this?
04-06-2002, 02:14 PM
i think the game looks for filesize, so you'll need to make sure the edit is the same filesize (i remember hearing about programs that automate this, but you could reduce colours or something along those lines.
if i'm being unclear, mail me and i'l help you
Even if all you're editing is a text file?
04-06-2002, 02:53 PM
You're preserving the directory hierarchy too I hope?
If you got the file from /models/players/lando/face.jpg, you have to preserve that structure in the pk3 file.
04-06-2002, 02:58 PM
here's where i'm going to ask you to clear things up for me :)
you're replacing a skin, but you're editing a textfile?
you're not setting the .skin file to point at another skin are you?
because, well, there's more to it then that
sorry if i'm not getting it, please explain in detail
"you're not setting the .skin file to point at another skin are you?
because, well, there's more to it then that "
Um.... that's exactly what i'm doing. I was telling the model_default for kyle to point to luke for some torso, leg, arm stuff... so that i'd essentially have kyle's face (later to become lando's face the same way) with the black suit that Luke wears. So what am i doing wrong?
Thanks in advance.
The way i did it was i extracted model_default to the base dir, so in base dir i had models/players/kyle/model_default.skin.
Then i edited the file with wordpad and added it back to assets0.pk3. And like i said, when i tried to launch the game, i got error with filename length.
04-06-2002, 06:16 PM
why don't you just put it into a seperate pk3 file instead of re-integrating it? or can you not do that when making a new skin, i haven't looked at the tutorials for adding new skins.
04-06-2002, 06:27 PM
just add it (the edited file) to a seperate pk3 file, but make sure the heiarchy is the same, it will auto load the new one
What do you mean? create a whole new assets0.pk3? 'Cause i tired that and the problem is the same.
hmmm.. you mean give the file its own pk3... what should i call it?
I think it reads the pk3s in alphanumeric order. So maybe call it "user-somedistinctname.pk3" or just start the file name with a z.
I would never recommend putting an edited file back into the original game pk3. You could have trouble joining the pure servers.
Thanks for the help, guys... sincerely!!
I actually got it to work!! I just added the models folder to models.zip, renamed to pk3 and no problem. Now i got a Kyle in black...
Now to add lando's head...
04-06-2002, 07:31 PM
sorry i got this so late but um.. yeah, everything's been said :D
hope you'll get the head to work as well.
and um.. glad to have been of *no* help :)
No worries, you probably did the most important thing of all by bumping it a couple times, and getting people to look at it. :-)
The head is a tad trickier... it doesn't seem to look right, even though i re-routed configstrings for head, face, and mouth_eyes... must be something else i'm missing.
Also, if i just delete the config lines for his "extras" (e.g. shoulder pad), will they simply not appear, or will it screw with the model?
OK, one last question: what's the torso_fade.tga for?
vBulletin®, Copyright ©2000-2014, Jelsoft Enterprises Ltd.