First download this: [Only registered and activated users can see links. ]
You will need to get a model dump yourself (preferably the same as what config you are using, for ex: #700 items, use #700 models, etc)
I'd suggest using Xaves suite ([Only registered and activated users can see links. ])
What this does is read the lines of a text file (which will store the model ids for the config you're going to use) and parses the data to a new folder.
Here's a base for how to create the text file with the model ids:
Then you add this to the bottom of your unpackConfig / parse method:
Code:
public static void unpackConfig(Archive archive) {
data = new Buffer(archive.getDataForName("obj.dat"));
Buffer data = new Buffer(archive.getDataForName("obj.idx"));
totalItems = data.readUnsignedWord();
streamIndices = new int[totalItems];
if(Config.debugPrint)
System.out.println("Loaded Items (obj): " + totalItems);
int i = 2;
for(int j = 0; j < totalItems; j++) {
streamIndices[j] = i;
i += data.readUnsignedWord();
}
cache = new ItemDefinition[50];
for(int k = 0; k < 50; k++)
cache[k] = new ItemDefinition();
writeConfig(0);
}
And run your client, and during startup a file should be created in the new folder "Dump" were your class files are.
Just copy the text file, put it in the "Config" folder and run it.
The extracted folder should then contain all the models in the text file, so all thats left to do is just compress and pack them to your cache. [Only registered and activated users can see links. ]