Cue Wrote:{ Apr 17 2012, 11:21:43 PM } - baal666 Wrote:{ Apr 17 2012, 09:21:40 PM } -
Quoting limited to 2 levels deep
Well, you're not stupid. That much I can tell. lol
Well ok.
First you should read the andy tutorials on how to hex edit character models.
In 2010 if you should replace data (change a model.pac) in a ch file you'd need to (the manual way with hex):
1. Find the data to replace, the old model.pac inside CH.pac.
2. Paste your new edited data (new model.pac) over the old model.pac inside CH.pac.
3. Update the index for size and offset in the ARC file for the edited model inside CH.pac.
4. Update the index for offset in the ARC file for ALL models inside CH.pac after the edited one since the new file will change the offset for the following models.
5. To make a completely non-corrupt CH file you should also make the same changes to the CH file that you did to the ARC.
That's why we always ADD data to the CH.pac and only update the arc file to point at the new data at the end of the old file. This will eventually though make the CH.pac file grow until it has grown so much that we will notice slowdowns in the game.
In 2006 if you should replace data (change a model.pac) in a ch file you need to (the manual way with hex):
1. Find the data to replace, the old model.pac inside CH.pac.
2. Paste your new edited data (new model.pac) over the old model.pac inside CH.pac.
3. Only update the index for size in the header of the CH file for the edited model inside CH.pac. Since offsets are not used it does not matter that the new file will change the offset for the following models.