Ok I see a ton of request threads in the Models section and I'd like to show people how to do it themselves instead of being so lazy.
Tools:
(optional) The RSMV - Xaves - http://www.rune-server.org/runescape...41-models.html
The itemDef dump - Josh - UppIT - Free File Sharing - ItemConfiguration.rar
The model grabber - Galkon - http://www.rune-server.org/runescape...l-grabber.html
~Getting the Models~
Ok, the current RS revision is 667. In the model grabber, edit Export New Cache and replace it with this:
Code:
@ECHO OFF
COLOR 1F
CLS
ECHO.
ECHO Exporting New Cache Files.
ECHO.
java -cp ./data/CacheExport2.jar cacheexport2.Main ./data/667.dat
ECHO.
pause
Now go into the data folder and make a new .dat file and name it 667.
Inside of 667, add:
Code:
#
# This File defines the Rules for extraction of runescape files
#
# I cant really be fucked documenting this so heres some quickies:
#
# input=(location of cache files)
# output=(destination to output files)
# data=(input filename), (number of indexes)
# index(input filename), (title), (extension)
#
# -----------
#
# New Runescape Rules
#
# -----------
input=C:\Users\-----\Desktop\RSPS Tools\Public Model Grabber\Public Model Grabber\667 Cache\
output=./newcache/
version=2
data=main_file_cache.dat2,16
index=main_file_cache.idx7,models,dat
In this above, change the input path and output path to yours.
Now load the current revision of RuneScape (just by loading the game up until the login screen).
Now go to C:/.jagex_cache_32/runescape/
Copy all of the main_file_cache.dat files.
Now go back to your model grabber and make a new folder in the main directory and call it 667 Cache.
Now paste all of the main_file_cache.dat files in that folder.
After you're finished that, start Export New Cache.
It should start to extract the models from the cache.
You now have all of the latest models from RuneScape.
Getting the itemDef Configs
Now open the new ItemConfiguration dump that you were given above (it is only up to revision 666 however).
Find the item name you would like to add to your client.
A lot of these have useless code in them that you do not need to have in your "ints".
You gotta do some renaming now (PI).
Base yours off of this one:
Code:
if (i == ****) {
itemDefinition.femaleOffset = 0;
itemDefinition.value = 20000;
itemDefinition.membersObject = true;
itemDefinition.femaleEmblem = -1;
itemDefinition.certTemplateId = -1;
itemDefinition.femaleArm = -1;
itemDefinition.maleModel = ****;
itemDefinition.maleHat = -1;
itemDefinition.scaleX = 128;
itemDefinition.groundActions = new int[5];
itemDefinition.groundActions[2] = "Take";
itemDefinition.offsetX = 3;
itemDefinition.femaleHat = -1;
itemDefinition.groundModel = ****;
itemDefinition.maleDialogue = -1;
itemDefinition.stackable = false;
itemDefinition.description = "It's a ****";
itemDefinition.certId = 21791;
itemDefinition.modelZoom = 900;
itemDefinition.shading = 0;
itemDefinition.maleEmblem = -1;
itemDefinition.maleArm = ****;
itemDefinition.inventoryActions = new int[5];
itemDefinition.inventoryActions[1] = "Wear";
itemDefinition.inventoryActions[4] = "Drop";
itemDefinition.rotationY = 165;
itemDefinition.scaleY = 128;
itemDefinition.scaleZ = 128;
itemDefinition.offsetY = -7;
itemDefinition.lightness = 0;
itemDefinition.femaleDialogue = -1;
itemDefinition.rotationX = 99;
itemDefinition.femaleModel = -1;
itemDefinition.team = 0;
itemDefinition.scaleInventory = 0;
itemDefinition.maleOffset = 0;
itemDefinition.lendID = ****;
itemDefinition.lentItemID = -1;
}
Code:
case ****:
itemDef.name = "****";
itemDef.modelid = ****;
itemDef.modelZoom = 900;
itemDef.modelRotationY = 165;
itemDef.modelRotationX = 99;
itemDef.modelOffset1 = 3;
itemDef.modelOffset2 =-7;
itemDef.anInt165 = ****;
itemDef.anInt200 = ****;
itemDef.itemActions = new String[5];
itemDef.itemActions[1] = "Wear";
itemDef.description = "****";
break;
Now go into your your model grabber and find the model that the item you want needs (it will specify in the dump the models needed).
Take those models and place them into your Raw folder. Place your ints into your itemDef and compile.
If there is any problems or it needs clarification, tell me.
~If Xaves, Josh or Galkon don't want their work on this thread I will remove it.~
Good luck, if this helped, rep/thanks is nice.
~Depending on the amount of replies, the feedback, etc. determines the life-span of this thread.~