The documentation herein and linked to by this article is created and maintained by iSmokeDrow
(@gmail.com
). It is up-to-date to the best of the authors knowledge and so any bugs/issues found should be reported via github issues or via email.
Most of the instructions below assume you have an open and properly configured instance of Grimoire
The data.000 can be opened in a couple ways:
- Click the Load button
- In Windows Explorer locate the desired data.000 and drag it on-top of the data tab.
- Press the
CTRL + O
key combination
(Please note new data files will be created in the output folder, if backups is toggled than any existing data.xxx in this directory will be preserved, otherwise they will be overwritten)
- Open a new
Data
tab - Click
New
or press theCTRL + N
key combination - Select the folder containing a
dump
- The folder should contain files categorized by the extension
- e.g.
cob/dds/jpg
etc - Any files out of place will cause
File Not Found
exceptions. (e.g. a.nfe
file located in the /nfm/ directory!)
- Wait til complete!
- Open new
Data
tab - Open a data.000 index
- Click
Rebuild
or press theCTRL + R
key combination - Follow steps of the rebuild wizard
- Right click
All
in the extensions list and clickExport
or
- Locate the specific extension you want to export and right click it and click
Export
or
- Search for or otherwise scroll to and select (you may select more than 1) then right click after selecting desired files and click
Export
- Search for or scroll to the desired file
- Right click the file grid and click
Compare
!!! It should be noted, this currently will not function for rdb due to the header date changing! !!!
- Search for or scroll to the desired file (for delete)
- Right click the grid and select Insert/Delete
- Follow prompts
You can also simply drag new files (to be inserted) directly onto a loaded data index
Most of the instructions below assume you have an open and properly configured instance of Grimoire
RDB data can be loaded in multiple ways:
- Click the
Load
button - Click the
File
button and select the desired .rdb
or
- Locate the .rdb in in Windows Explorer
- Drag it onto a clean .rdb tab
or
- Press
CTRL + O
to open File Dialogue - Select the desired .rdb
or
- Locate client directory containing desired .rdb
- Load the index (data.000) in the same way a normal rdb would be loaded
- Select the desired RDB from the list of selectable rdb (contained in this client)
or
- Click the
Load
button - Click the
SQL
button
Before saving you should make sure you have (ascii) / encrypted (buttons on the toolbar of the rdb tab) are set properly.
- Click the
Save
button - Hover mouse over
File
- Select appropriate type to save as.
or
- Press the
CTRL + S
key combination
To find a specific value in a specific field, simply press CTRL + F
. Select the desired field and enter the desired value to be matched, then press OK. If the value exists, it will be automatically selected.
Click the column header to sort, clicking it again will reverse the sort order.
Grimoire has the ability to launch the Bit Flag Utility from within an rdb tab instance, to enable this simply see the example given in the ItemResource72.lua (structure)
{"item_use_flag", INT32, flag=BIT_FLAG, opt={ "use_flags_under_81" }},
The bit flag utility accepts any 4 byte integer as a value, so if you have a field such as the "item_use_flag" who has the fieldtype "INT32" you can add the flag "BIT_FLAG" to it, this specifies that when you right click on this field in a loaded RDB tab, you can then click "Open w/ Flag Editor"
You can go further than this by specifying the opt variable and giving it the name of the default flag list (.txt) we want to be loaded to process the value in the current cell.
You should make sure you have properly configured the Hash Utility related settings
- Locate the 'Instant' group of controls. (Upper left hand corner of the tab)
- Enter a plain-text or hashed name
The opposite will be generated in the 'Output' textbox. (You can also use the flip button to flip the results)
You can load files to be converted into the Hash Utility in multiple ways:
- Locate the file'(s) in Windows Explorer
- Select the file'(s) and drag them onto the 'Multi-File' grid
- (If 'Auto-Convert' is not enabled) Right click the grid and hover over 'Convert'
- Click
All
or
- Locate the folder containing files to be hashed in Windows Explorerer
- Drag the folder onto the
Multi-File
grid - (If 'Auto-Convert' is not enabled) Right click the grid and hover over
Convert
- Click
All
During the name conversion (hashing) process, you can append (ascii) to all files being convert by simply enabling the 'Append (ascii)' radio button in the 'Name Options' groupbox.
- Open the Bit Flag Editor from the
Utilities
menu - Select the desired flag list
3 Modify flag selection as desired
- Copy output
- Paste flag into the
Input/Output
text box to decode
(Make sure that you have configured settings related to this utility before use!)
- Open the Dump Updater from the
Utilities
menu- Verify the
Dump Directory
is the desired directory
- Verify the
- Drag-N-Drop Folder (or files) onto the utility
- Check the listed files and remove any unwanted/accidental additions
- Click
Copy
then confirm you want to start the process!
- Open the SPR Generator from the
Utilities
menu - Select the type of SPR you want to generate
- Click
Generate
(The utility will compare item/skill/state icon listings in the database to the dump directory listed in your settings to determine if a matching icon actually exists. If a matching icon is not found the icon will not be listed in the generated spr!)
- Open the XOR Editor from the
Utilities
menu - Load XOR Key
- You can load the
Default
key, a key stored in akey file
or the key stored in yourConfig.json
if applicable
- You can load the
- Edit the key as desired
- The
unResourceEncodeKey
is updated in real time - If generating a new key for the sframe, you can right click the hex editor and click
Copy
and simply paste the copied output into theXORen.cpp::szResourceEncodeKey
(do the same for theunResourceEncodeKey
)
- The
- Save the key
- You can save the key directly to the
Config.json
as-well as akey file
(which can be shared with developers on your team) - Generated
key files
do not automatically save into theConfig.json
!!! (This goes for loading them as-well!)
- You can save the key directly to the
If you have modified the szResourceEncodeKey
/ unResourceEncodeKey
of your SFrame.exe
XORen.cpp
you will need to provide this modified key to Grimoire in order to create and load custom data.xxx files.