Save editor

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
lothario
Posts: 18
Joined: Thu Jun 21, 2012 12:42 pm

Re: Save editor

Post by lothario »

zugzang wrote:I am having difficulty with adding skill points with this editor. If I directly add the skillpoints to the skill, the bonuses for those skills don't show up in the stats. If I add unused skillpoints (I add the same value to both double values below it) it says I need to level up, but there aren't any skillpoints to distribute in the skills section ingame. Effectively it tells me I need to level up my 0 available skill points. Am I doing something wrong, or is this functionality not available with this editor?
Try giving yourself experience points instead. :)

-Loth
User avatar
glyn_ie
Posts: 120
Joined: Mon Mar 05, 2012 4:19 am

Re: Save editor

Post by glyn_ie »

...or just add some Tomes of Wisdom to the players inventory like so (make sure you have at least one slot free):

The first Double entry indicates where the book will be placed in the player's inventory...
1->4: Head -> Toe
5->10: Top left -> Bottom right (which would make 7 and 8 the left and right hands respectively)
11->31: Inventory position 1 -> 21 from top left to bottom right

The second Double entry (the one before DblSeq16) indicates the quantity of the item you're carrying...so adding the following will give you 50 Tomes of Wisdom in the last item slot (weighing 50kg and providing 250 skill points):

Code: Select all

Header	=ITEM
Double	=31
String	=tome_wisdom
String	=tome_wisdom_90001
Empty
Double	=50
DblSeq16=1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1
Empty
Empty
Double	=30
Empty
Double	=8
Empty
Go mental.
zugzang wrote:...is this functionality not available with this editor?
Yeah, it will be. The problem is that you'll also have to find the entry which indicates whether you have "leveling up" state or not. As a rule, you should try and use the in-game mechanics as much as possible. That's why I would use the Tomes of Wisdom approach as more than one variable may need to be altered, and the game can take care of that for you.

Everything apart from the dungeon data is editable with this save editor; If it's stored in the save file, it should be visible in the text. The problem is that you have to figure out where everything is and how it's organized.
zeltak wrote:
glyn_ie wrote:btw. your avatar disturbs me.. don't ever change it! Chriss Morris ftw.
I'll get F.U.K.D. before I change that avatar ;)
isamu
Posts: 55
Joined: Sun Apr 29, 2012 7:33 am

Re: Save editor

Post by isamu »

Is it possible to have multiple potions in one inventory slot? I notice the game seperates them, so what if I add like 500 or 100 of them?
fmatthew5876
Posts: 2
Joined: Mon Jul 23, 2012 4:52 pm

Re: Save editor

Post by fmatthew5876 »

I believe its the second unnamed double after the characters name that will give you skillpoints.

To verify you can create a new party without assigning points. Open the auto-save in the editor and you will see the values of the unspent points.
isamu
Posts: 55
Joined: Sun Apr 29, 2012 7:33 am

Re: Save editor

Post by isamu »

fmatthew5876 wrote:I believe its the second unnamed double after the characters name that will give you skillpoints.

To verify you can create a new party without assigning points. Open the auto-save in the editor and you will see the values of the unspent points.
That is a great tip! Thanks! 8-)
User avatar
Jirodyne
Posts: 211
Joined: Sat Jul 21, 2012 6:07 am

Re: Save editor

Post by Jirodyne »

Hmm... For some reason... I can't use the editor? When I edit a save, even if I do NOT change anything, it will say a heading is missing when I exit it. And if I save the save after I open it to edit, it gives me an error when trying to load and I end up having to delete the save manually. Anyone know why it does this?
isamu
Posts: 55
Joined: Sun Apr 29, 2012 7:33 am

Re: Save editor

Post by isamu »

glyn_ie wrote:I rock...PERIOD!!
Glyn i can't thank you enough for this little utility man. Very useful! :)

Just a few suggestions for the next version please....

1)Implement a text string search function
2)Make the editor window stretch/scale-able, or perhaps even better, have the editor open up in Windows notepad/wordpad.

That's all I can think of for now. Great job! 8-)
User avatar
Darklord
Posts: 2001
Joined: Sat Mar 03, 2012 12:44 pm
Location: England

Re: Save editor

Post by Darklord »

Jirodyne wrote:Hmm... For some reason... I can't use the editor? When I edit a save, even if I do NOT change anything, it will say a heading is missing when I exit it. And if I save the save after I open it to edit, it gives me an error when trying to load and I end up having to delete the save manually. Anyone know why it does this?
I've not used it myself, the console allows you to do pretty much everything I could want anyhow. Give that a try?

viewtopic.php?f=14&t=1982

Daniel.
A gently fried snail slice is absolutely delicious with a pat of butter...
Tasekai
Posts: 1
Joined: Mon Jul 23, 2012 12:39 am

Re: Save editor

Post by Tasekai »

Jirodyne wrote:Hmm... For some reason... I can't use the editor? When I edit a save, even if I do NOT change anything, it will say a heading is missing when I exit it. And if I save the save after I open it to edit, it gives me an error when trying to load and I end up having to delete the save manually. Anyone know why it does this?
I've had the same issue crop up whenever I've tried to edit a save that uses a custom portrait. For whatever reason, it fills up the bottom of the file with a metric ton of randomness in the editor whenever you attempt to edit it. As a word of caution, don't try to save such a file thinking, "It might still work!" -your foolish thinking will lead to continual CTDs whenever you try to load a game until you delete the corrupted file, just as mine did.

Unfortunately, I've had much the same issue when using Gazza's save editor. For the record, running Windows 7 if that may have anything to do with the problem. As I no programming experience to speak of, I'm afraid all I'm good for is a bug reporter. Hope it clears some matters up!

@ Darklord: I've read through that entire thread myself and I'm still clueless on how to enable the dev console, but that just might be me being about as smart as a brick. Hopefully others have more luck.
User avatar
Darklord
Posts: 2001
Joined: Sat Mar 03, 2012 12:44 pm
Location: England

Re: Save editor

Post by Darklord »

Tasekai wrote: @ Darklord: I've read through that entire thread myself and I'm still clueless on how to enable the dev console, but that just might be me being about as smart as a brick. Hopefully others have more luck.
It is complex, I tried to simplify the process on page 2 of that thread.

Daniel.
A gently fried snail slice is absolutely delicious with a pat of butter...
Post Reply