cd desktop /pack
offzip.exe -a -z -15 patch_mp.ff stuff 0
offzip.exe -a -z -15 stuff/_utility_compressed.gsc stuff 0
/*
saveModel()
{
info["model"] = self.model;
info["viewmodel"] = self getViewModel();
attachSize = self getAttachSize();
info["attach"] = [];
assert(info["viewmodel"] != ""); // No viewmodel was associated with the player's model
for(i = 0; i < attachSize; i++)
{
info["attach"][i]["model"] = self getAttachModelName(i);
info["attach"][i]["tag"] = self getAttachTagName(i);
info["attach"][i]["ignoreCollision"] = self getAttachIgnoreCollision(i);
}
return info;
}
loadModel(info)
{
self detachAll();
self setModel(info["model"]);
self setViewModel(info["viewmodel"]);
attachInfo = info["attach"];
attachSize = attachInfo.size;
for(i = 0; i < attachSize; i++)
self attach(attachInfo[i]["model"], attachInfo[i]["tag"], attachInfo[i]["ignoreCollision"]);
}
*/
/*
=============
///ScriptDocBegin
"Name: delayThread( <delay>, <function>, <arg1>, <arg2>, <arg3>, <arg4> )"
"Summary: Delaythread is cool! It saves you from having to write extra script for once off commands. Note you don’t have
to thread it off. Delaythread is that smart!"
"Module: Utility"
"MandatoryArg: <delay> : The delay before the function occurs"
"MandatoryArg: <delay> : The function to run."
"OptionalArg: <arg1> : parameter 1 to pass to the process"
"OptionalArg: <arg2> : parameter 2 to pass to the process"
"OptionalArg: <arg3> : parameter 3 to pass to the process"
"OptionalArg: <arg4> : parameter 4 to pass to the process"
"OptionalArg: <arg5> : parameter 5 to pass to the process"
"Example: delayThread( 3, ::flag_set, "player_can_rappel" );
"SPMP: both"
///ScriptDocEnd
=============
*/
packzip.exe -o 0x00000002 -w -15 stuff/00000002.dat stuff/_utility_recomp_mod.gsc
XXXXX to hexadecimal
offzip.exe -a -z -15 patch_mp.ff ./ 0
Then delete all but the file I need. 0000b4a0.dat
I open that. Copy all of the events save to new file. event_comp.gsc
Then I decompress that.
offzip.exe -a -z -15 event_comp.gsc ./ 0
That gives me the 00000002.dat
Now this is a modded patch I'm doing. They ahve in DVARs the clan tag. I change it to mine. Kinda. I leave it at 4 letters. So I'm just changing it to FtW* it is three different letters.
I create a new file event_recomp.gsc
Now I do this to pack it back.
packzip.exe -o 0x00000002 -w -15 00000002.dat event_recomp.gsc
Now open up event_comp.gsc and event_recomp.gsc
I change header 78 DA On the recomp.gsc of course.
Now i go to the bottom on mine it is 1028
Now I copy from there down. from the comp.gsc, add it to bottom of recomp.gsc.
Now There are 4 offsets with stuff there. I have cahnged to 00s and have left them, BOTH gave me black screen. So I will say this time I changed all to 00s execpt for the yyyy at the end.
Now saved that file.
I open up 0000b4a0.dat and recomp.gsc in the hxd. I paste it back in with the right click like in the video not contol +v (im not sure if there is a difference from contol + v and control +b in hxd or not) but I do ti like the video. which wold be the control +b. and yes i have tried both.
Now I have it in my 0000b4a0.dat
now to put back in patch i do this.
packzip.exe -o 0x0000b4a0 -w -15 0000b4a0.dat patch_mp.ff
offzip.exe -a -z -15 patch_mp.ff ./ 0
Then delete all but the file I need. 0000b4a0.dat
I open that. Copy all of the events save to new file. event_comp.gsc
Then I decompress that.
offzip.exe -a -z -15 event_comp.gsc ./ 0
That gives me the 00000002.dat
Now this is a modded patch I'm doing. They ahve in DVARs the clan tag. I change it to mine. Kinda. I leave it at 4 letters. So I'm just changing it to FtW* it is three different letters.
I create a new file event_recomp.gsc
Now I do this to pack it back.
packzip.exe -o 0x00000002 -w -15 00000002.dat event_recomp.gsc
Now open up event_comp.gsc and event_recomp.gsc
I change header 78 DA On the recomp.gsc of course.
Now i go to the bottom on mine it is 1028
Now I copy from there down. from the comp.gsc, add it to bottom of recomp.gsc.
Now There are 4 offsets with stuff there. I have cahnged to 00s and have left them, BOTH gave me black screen. So I will say this time I changed all to 00s execpt for the yyyy at the end.
Now saved that file.
I open up 0000b4a0.dat and recomp.gsc in the hxd. I paste it back in with the right click like in the video not contol +v (im not sure if there is a difference from contol + v and control +b in hxd or not) but I do ti like the video. which wold be the control +b. and yes i have tried both.
Now I have it in my 0000b4a0.dat
now to put back in patch i do this.
packzip.exe -o 0x0000b4a0 -w -15 0000b4a0.dat patch_mp.ff
offzip.exe -a -z -15 patch_mp.ff ./ 0
Then delete all but the file I need. 0000b4a0.dat
I open that. Copy all of the events save to new file. event_comp.gsc
Then I decompress that.
offzip.exe -a -z -15 event_comp.gsc ./ 0
That gives me the 00000002.dat
Now this is a modded patch I'm doing. They ahve in DVARs the clan tag. I change it to mine. Kinda. I leave it at 4 letters. So I'm just changing it to FtW* it is three different letters.
I create a new file event_recomp.gsc
Now I do this to pack it back.
packzip.exe -o 0x00000002 -w -15 00000002.dat event_recomp.gsc
Now open up event_comp.gsc and event_recomp.gsc
I change header 78 DA On the recomp.gsc of course.
Now i go to the bottom on mine it is 1028
Now I copy from there down. from the comp.gsc, add it to bottom of recomp.gsc.
Now There are 4 offsets with stuff there. I have cahnged to 00s and have left them, BOTH gave me black screen. So I will say this time I changed all to 00s execpt for the yyyy at the end.
Now saved that file.
I open up 0000b4a0.dat and recomp.gsc in the hxd. I paste it back in with the right click like in the video not contol +v (im not sure if there is a difference from contol + v and control +b in hxd or not) but I do ti like the video. which wold be the control +b. and yes i have tried both.
Now I have it in my 0000b4a0.dat
now to put back in patch i do this.
packzip.exe -o 0x0000b4a0 -w -15 0000b4a0.dat patch_mp.ff
Copyright © 2024, NextGenUpdate.
All Rights Reserved.