The file format is slightly different for client_gamelogic.dat.
There is another layer of sub-directory. The files themselves are totally different.
Normally you have the following:
Header gives a pointer to the directory.
The directory gives several pointers towards subdirectories.
A subdirectory gives pointers towards file lists.
A file list points towards files with the file name, size and a few other things.
And a file starts with it's name.
For client_gamelogic you have the following:
The header points towards a directory
the directory gives pointers towards sub-directories
the sub-directories gives pointers towards another set of sub-directories
that second set of sub-directories gives pointers towards the file list
the file list is unchanged (filename, file pointer, file size and a few other things)
Files start with 01. They are not DWord aligned and contain comments. Some of them are interesting:
Quote:Ninja Spies can use shortswords.
Whirling Steel Strike lets monks use longswords.
Rangers treat scimitars as light when dual wielding.
[...]
High tier Tempest treats Scimitar as a light weapon?
Do all of these need to be persistent?
...Yes - we want to remove it if you respec your enhancements or cease dual wielding. Except the weapon type - that's unlikely to change on the fly.
Is .script OK for this?
...Yes - it could freely go into a .sscript, but there's no swords-specific sscript.
Is eq_sword.script ok for this?
...Yes - it could also go into eq_shared, but that's bloated enough as is.
Does this persistence stop the rest of the script from running?
...No - this is a dead-end switch. If it was in a sequence then it would do horrible, terribad things.
[...]
FIXME: Remove when new enhancement system goes live
The above text comes from several fields in the same file. The last one is towards the end of the file.