Help:Oblivion Save/ESM/ESP Reader: Difference between revisions
(Created page with "The [https://github.com/valarnin/oblivion-save-reader/ Oblivion Save/ESM/ESP Reader] is an incredibly power tool for analyzing save file data, and for generating searchable databases containing Oblivion's various scripts. However, if you do not have experience working with a program like this, it can be a little overwhelming to figure out how to set up and use it. This guide aims to walk you through how to set up and use the save file reader, as well as how to generate/...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
==Setting up the Save File Reader== | ==Setting up the Save File Reader== | ||
The save file reader functionality is now built directly into the checklist page of the interactive guide. Simply drag and drop a .ess file into the checklist page to see its progress. | |||
If you instead want to run a local copy of the standalone save file reader, here is how: | |||
==Setting up the ESM/ESP Reader== | ==Setting up the ESM/ESP Reader== | ||
'''You will need [https://nodejs.org/en/ Node.js] in order for this work.''' | |||
# Download [https://github.com/valarnin/oblivion-save-reader/releases/tag/v1.3 oblivion-save-reader-v1.3.zip], which is the release containing the ESM/ESP reader. | |||
# Extract the zip file. | |||
# '''TODO: I can't remember how to actually set all this up in the most non-programmer friendly way possible and with the fewest downloads of external things like git.''' | |||
... | |||
# Run the following command, which excludes records you may not want that make the resulting file size much larger: | |||
#: <code>npm run esm_to_sqlite -- -f G:\Stuff\Games\SteamLibrary\steamapps\common\Oblivion\Data\Oblivion.esm -e 'GRAS,TREE,STAT,SOUN,LIGH'</code> | |||
# Wait for the program to finish running. This can take upwards of 15 to 20 minutes. | |||
# An Oblivion.db file has now been generated in the Data folder for the game. If you are playing on the steam version, the file path will usually be located here: | |||
#: <code>C:\Program Files (x86)\Steam\steamapps\common\Oblivion\Data\</code> | |||
# Download and run the [https://sqlitebrowser.org/ DB Browser for SQLite]. | |||
# Go to <code>File -> Open Database</code> and select the Oblivion.db file using the filepath noted previously. | |||
# You can now search through the database. The primary use-case is to browse scripts, which can be like so: | |||
## Go to the ''Browse Data'' tab and type <code>SCTX</code> into the ''type'' filter to show only scripts. | |||
## In the ''content'' tab, type whatever code snippet you are looking for within the scripts, and wait for results to apppear. | |||
## Click on the different ''content'' results to view them in the text box to the right. Settings ''Mode'' to <code>JSON</code> will make this slightly more readable. |
Latest revision as of 12:57, 20 February 2023
The Oblivion Save/ESM/ESP Reader is an incredibly power tool for analyzing save file data, and for generating searchable databases containing Oblivion's various scripts. However, if you do not have experience working with a program like this, it can be a little overwhelming to figure out how to set up and use it. This guide aims to walk you through how to set up and use the save file reader, as well as how to generate/navigate databases.
Setting up the Save File Reader
The save file reader functionality is now built directly into the checklist page of the interactive guide. Simply drag and drop a .ess file into the checklist page to see its progress.
If you instead want to run a local copy of the standalone save file reader, here is how:
Setting up the ESM/ESP Reader
You will need Node.js in order for this work.
- Download oblivion-save-reader-v1.3.zip, which is the release containing the ESM/ESP reader.
- Extract the zip file.
- TODO: I can't remember how to actually set all this up in the most non-programmer friendly way possible and with the fewest downloads of external things like git.
...
- Run the following command, which excludes records you may not want that make the resulting file size much larger:
npm run esm_to_sqlite -- -f G:\Stuff\Games\SteamLibrary\steamapps\common\Oblivion\Data\Oblivion.esm -e 'GRAS,TREE,STAT,SOUN,LIGH'
- Wait for the program to finish running. This can take upwards of 15 to 20 minutes.
- An Oblivion.db file has now been generated in the Data folder for the game. If you are playing on the steam version, the file path will usually be located here:
C:\Program Files (x86)\Steam\steamapps\common\Oblivion\Data\
- Download and run the DB Browser for SQLite.
- Go to
File -> Open Database
and select the Oblivion.db file using the filepath noted previously. - You can now search through the database. The primary use-case is to browse scripts, which can be like so:
- Go to the Browse Data tab and type
SCTX
into the type filter to show only scripts. - In the content tab, type whatever code snippet you are looking for within the scripts, and wait for results to apppear.
- Click on the different content results to view them in the text box to the right. Settings Mode to
JSON
will make this slightly more readable.
- Go to the Browse Data tab and type