This is a translation of a post by
Barnabus in the german forum, who was assisted by
Flash with a lot of the detail on locations. It describes how to change your character's position (using a hex editor to alter information stored in a file in the saved game folder), which will even let you return to Rivertown from the wastelands. Original post;
Hex - HexereienNOTE: Either there is a data format difference between the English and German game versions, or Barnabus and myself do not entirely agree on the definition of horizontal and vertical. The coordinates taken from that post are listed here in the opposite order.
Please read this post through before attempting, and make sure you follow the steps below carefully.You will need a hex editor for this, such as the freeware program
Hackman (though for that editor you'll need to stick to verion 7.x; later freeware versions have a low file size limit).
Warning
- A mistake, typo or out-of-range value when editing the data file can cause the game to either crash to desktop or completely lock up, forcing a re-boot. Make a backup before hex editing anything.
- The data.000 file basically defines your character (stats, skills, experience points, class, gender, etc.) and keeps track of all NPC locations and status, in addition to storing your own location. Without a valid, working data.000 file, the saved game will be useless.
If you use this technique to explore, it could be handy to take both teleporter stones with you. If you end up in a place you shouldn't be, you may be able to toss a teleporter somewhere and teleport out. In some cases, it may not make sense to carry both, or it may not be possible.
Procedure1)
Save the game under a new name before attempting this, or make a copy of the saved game folder. It couldn't hurt to also make a backup of the data.000 file in the new saved/copied game folder.
2) Browse to the saved game folder you wish to modify '
..\Divine Divinity\Run\savegames\NameOfSave', and open the
data.000 file in a hex editor.
3) Search for the text string
AgentsV (ASCII mode search), hex value
41 67 65 6E 74 73 56.
4) Just a bit below this will be the text string
new npc; click on the '
c' and the corresponding hex value will be highlighted as well.
5) Immediately after this value is a constant
00 03 00 00 00. The next two bytes,
00 28, show the horizontal (east-west) position of your character, then a constant
00 00, followed by two bytes,
30 E4, showing the vertical (north-south) position.
- The origin of the coordinate system used by the game is in the north west corner of the map, with the Y axis (vertical) being positive downwards. Increasing the value of the X coordinate (horizontal) will move your character to the east, while increasing the Y coordinate (vertical) will move south.
- In each two byte pair of data, the second byte has a much greater effect on position than the first. This allows the game to store exact character positions, but if you are just trying get past a wall, etc. you may not need the worry about the first byte at all.
6) The value that indicates which map you are on is further down in the file. In Hackman click on the arrow button at the bottom of the scroll bar to move down the file one 'page' at a time; don't try to drag the scroll bar or click below it, you will go past the spot you need.
A couple pages below the
new npc will be two lines of
FF. After the second line, there will be a constant
00 00 00 00, followed by a repeat of the X and Y character positions.
Do not change these values, or the game will crash. This is followed by a constant
00 00 and then the map indicator
00.
- 00 - Farmlands
- 01 - Verdistis and Council Hall
- 02 - Dark Forest
- 03 - Black Ring dungeon
- 04 - Wastelands
7) After making the required changes, save and close the file. You do not have to shut down the hex editor if you want to play around with this, but you should
close the file so the editor and game are not trying to access the file at the same time.
8) Start Divinity (if required) and load the game. If all went according to plan, you should now be somewhere else, hopefully where you were aiming. :winkwink:
And since a picture is worth a thousand words.....
![[Linked Image]](https://images2.imgbox.com/c2/fd/3RQhJGzi_o.png)
Below are the maximum values of the coordinates for each corner of each map. You will not be able to use every value between these, and trying to exceed them will cause the game to crash. The underground level of the wastelands and the ground level of the Black Ring dungeon are not used in the game.
Maximum X,Y coordinates for the NW, NE, SW and SE corners of each map are shown in the corresponding corners of the map's cell (NW=top left, etc.). Map . | Ground Level | Underground |
00 | X: 00 03 Y: 50 02 | X: 00 7E Y: 50 02 | X: 60 03 Y: 90 7D | X: E0 7D Y: B0 7D |
| X: 60 03 Y: F0 7E | X: E0 7D Y: F0 7E | X: 60 03 Y: F0 FD | X: 00 7E Y: F0 FD |
|
01 | X: 60 03 Y: 50 02 | X: E0 7D Y: 50 02 | X: 60 03 Y: 30 7A | X: 00 7E Y: 30 7A |
| X: 60 03 Y: F0 7D | X: E0 7D Y: F0 7D | X: 60 03 Y: F0 FD | X: 00 7E Y: F0 FD |
|
02 | X: 80 03 Y: 50 02 | X: E0 7D Y: 30 02 | X: 80 03 Y: 50 7D | X: 00 7E Y: 90 7D |
| X: 80 03 Y: 10 80 | X: 00 7E Y: F0 7F | X: 80 03 Y: F0 FD | X: 00 7E Y: F0 FD |
|
03 | X: 20 03 Y: 10 03 | X: A0 7C Y: 10 03 | X: 00 03 Y: 50 7D | X: C0 7C Y: 50 7D |
| X: 00 03 Y: 10 03 | X: A0 7C Y: 10 03 | X: 00 03 Y: 50 7D | X: A0 7C Y: 50 7D |
|
04 | X: 20 03 Y: 30 03 | X: E0 7D Y: 30 03 | X: 20 03 Y: B0 7E | X: E0 7D Y: B0 7E |
| X: 80 03 Y: D0 81 | X: 00 7E Y: 90 81 | X: 60 03 Y: F0 FD | X: E0 7D Y: F0 FD |
|
A few locations;
Map 00 ; X=20 61 ; Y=30 B5 ->
DreamworldMap 00 ; X=60 4B ; Y=F0 38 -> small treasure room in the castle
Map 00 ; X=40 76 ; Y=F0 8B -> and the church has to hide something after all

Map 01 ; X=40 28 ; Y=D0 82 -> cellar in the house of Dante
Map 01 ; X=60 15 ; Y=F0 84 -> cellar room beneath Verdistis guard house
Map 01 ; X=40 11 ; Y=30 84 -> Cellar room under house of Martin
Map 01 ; X=40 0D ; Y=D0 86 -> cellar room under Lucius
Map 01 ; X=A0 0C ; Y=90 84 -> cellar room south of Corinna's house
Map 01 ; X=40 E0 ; Y=70 83 -> cellar room above Dante's house
Map 01 ; X=C0 32 ; Y=10 81 -> cellar room in Patrick's house
Map 01 ; X=60 2C ; Y=30 96 -> Penumbras SM-Studio

Map 04 ; X=40 25 ; Y=00 8A -> a dungeon in the Wastelands
Other locations, mostly mundane.
Some of these are intended as an alternate method for the bugs described in;
FIX for the Missing Catacombs Portal.
Map | X | Y | Location |
00 | 20 6E | 90 1E | Ars Magicana teleporter |
40 18 | 90 99 | catacombs portal, at stairs down to level 2 |
C0 3B | 90 3E | castle armoury (dragon shield) |
A0 70 | 70 26 | Elrath's house, inside door, front room |
A0 5D | 70 89 | Elrath's house, down stairs |
00 58 | D0 8C | Elrath's house, down stairs, lab |
80 13 | 50 14 | Mardaneus' house, inside front door |
E0 4F | 70 29 | Nericons garden, inside gate |
00 53 | D0 87 | Nericons garden, treasure room (portal) |
~ |
01 | 80 16 | 10 8B | Ducal inn, under hatch |
A0 1C | 50 8B | Ducal inn, past the thieves' guild door |
20 6C | 70 E0 | gong, in the council hall |
00 32 | F0 2F | imp world, entrance (bee / wasp garden) |
80 41 | 90 1F | imp's house, inside |
C0 55 | F0 60 | Verdistis teleporter |
~ |
02 | 80 33 | D0 0C | easter egg, at portal stone |
80 39 | 70 09 | treasure cave entrance |
40 57 | B0 3D | warrior's guild teleporter |
~ |
03 | 20 3E | 50 D5 | black ring, down the stairs at entrance |
~ |
04 | 60 75 | 10 77 | black ring entrance |
80 6D | B0 7A | past swamp, SW corner of island |
A0 1C | 90 2D | wastelands, start location |