Organizing from Scratch - 2004Scape/Server GitHub Wiki
This page describes the process I took when starting the project.
Be sure to place the original client cache in dump/client.
- Execute
src/lostcity/tools/client/unpack/all.jsto turn the packed cache into workable files. - Execute
src/lostcity/tools/client/models/reorg.jsto organize models based on the types that link them. - Open
dump/src/scripts/all.objand regex-replace\n.*\ncertlink=.*\ncerttemplate=.*\nwithtradeable=yes\nin VS code. I didn't write a script for this. There might be things to manually fix as a cert is not always immediately following the linked object. - Execute
src/lostcity/tools/client/config/obj-remove-cert.jsto prepend cert_ to all noted item names in the .pack file. - Execute
src/lostcity/tools/client/config/obj-reorg.jsto reorganize the order of some properties in obj configs. - Execute
src/lostcity/tools/client/sounds/reorg.jsto rename sounds based on known OSRS matches (specific to rev <= 225). - post-step: Manually add in missing properties from OSRS/wiki. Obj needs wearpos/2/3, weight, (optional) category, (optional) params.
- post-step: Manually extract configs into grouped files e.g. from all.obj into .obj files.
- post-step: Manually give everything a name inside the config and .pack file.
To check the files into source control, move everything from dump/ into data/, minus the original cache.