Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
docs: Add notes for troubleshooting parsing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaupin committed Feb 16, 2021
1 parent 76ad4f7 commit caf15c3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions wiki/troubleshooting.md
@@ -0,0 +1,11 @@
#### Troubleshooting parsing errors

1. Open civ5save-editor locally or the [deployed version](https://bmaupin.github.io/civ5save-editor/)

1. Open the browser dev tools (F12) and set it to pause on exceptions, including caught exceptions

1. Open the problematic save file

1. In the debugger select `_getProperties` to inspect the property name, byte offset, and values for previous properties

1. Using the [property definitions](https://github.com/bmaupin/js-civ5save/blob/master/src/Civ5SavePropertyDefinitions.js) as a guide, go through the save file to determine where the incorrect byte offset may be

0 comments on commit caf15c3

Please sign in to comment.