-
Notifications
You must be signed in to change notification settings - Fork 60
Organizing from Scratch
Pazaz edited this page Nov 24, 2023
·
1 revision
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.js
to turn the packed cache into workable files. - Execute
src/lostcity/tools/client/models/reorg.js
to organize models based on the types that link them. - Open
dump/src/scripts/all.obj
and regex-replace\n.*\ncertlink=.*\ncerttemplate=.*\n
withtradeable=yes\n
in 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.js
to prepend cert_ to all noted item names in the .pack file. - Execute
src/lostcity/tools/client/config/obj-reorg.js
to reorganize the order of some properties in obj configs. - Execute
src/lostcity/tools/client/sounds/reorg.js
to 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.