Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

You must be 18+ to view this content

Strive for Power may contain content you must be 18+ to view.

Are you 18 years of age or older?

or Return to itch.io

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

How do I modify saves?

A topic by Kazama created Jul 25, 2018 Views: 24,958 Replies: 18
Viewing posts 1 to 11

When opening a save as text, with wordpad, I know how to change what details I want. However, afterwards I cant re-save as a filetype that Strive for Power will recognize.

Any suggestions on what program I could use to do this?

(I have a slave stuck at 100 toxicity)

Any text editor should be fine, as long as you save the file in UTF-8 format.

where did you find the save file?

Thanks for the quick response. I'll download a word program with better file format support.

(And my demon wont have a roulette of body parts every day)

A good, free text editor is Notepad++. You may use it as it is, or you may download an additional plugin, JSToolNpp, which is quite useful with Strive for Power. First, install Notepad++; then extract the JSMinNPP.dll addon and put it into the "plugins" directory. Once you've restarted Notepad++, click Plugins -> JSTool -> JSformat to format your save as a tree.

Alternative solution for people who don't want to install additional software: jsoneditoronline.org

(it's preposterous that Wordpad can't save in UTF-8 format, while even Notepad can)

Thanks again, that plugin is ace. Finally got the edited save to load using Notepad++

(It's not just Wordpad that doesn't work well. A surprising amount of programs will recognize UTF-8, but somehow mess up and make an unreadable file)

Can you tell me the location of the saves? i cant find them

It's next to the bodies and portraits folders.

(Your username)>AppData>Roaming>Strive>saves

How can i add traits or siblings etc? When i have more than one trait or specialization or even sibling! Its not working/destroying save... And i only want to have all specs and add one more trait and three siblings...

The saves are in json, so you can open up the save file as json and edit it.  Ideally something that formats it into something more readable by a human.  You can go somewhere like https://jsoneditoronline.org/  and paste the content of your save file into the left side, then click the arrow pointing to the right, now the right side is a more easily viewable/editable chunk. Including options to duplicate sections, which will be more reliable to not break the save. Once done, can click arrow to left to generate new json. This is more likely to generate a valid save the game will load, but again you can do something it doesn't expect and break things still.  If you run the game via a command prompt, or just look at the console prompt when loading, it might point to what chunk of the save it doesn't like, especially if you also examine the loading code.

For siblings, i'm not sure, you'd need to get an idea of how the game implements that via the code potentially, or at least look at how it's setup for emily/tisha maybe.

I know how to do it cause im using notepad ++ with plugins, buts its hard to change something like traits. And as i see i can only make it to have one sibling, but maybe if some character will have it more i will know how to change it. Sadly i wanted to play as mage/alchemist spec but i cant. And its hard to add another traits.

For traits, it's trivially simple, it's just an array you add text to, but you're talking about specialization, not traits if you're mentioning mage/alchemist.  And yes, the game supports only 1 specialization, you would need a mod to allow for multiple, as it's a single text field and the game only expects a single text field in all the locations it applies the specialization's attributes.

For siblings, you can add as many as you want, the game's code looks like this:

if entry.siblings.size() > 0:
text += '\n[center]Siblings[/center]\n'
for i in entry.siblings:
entry2 = relativesdata[i]
if entry2.state == 'fetus':
continue
if entry2.sex == 'male':
text += "Brother: " else:
text += "Sister: "
text += getentrytext(entry2) + "\n"

So to add a sibling, you just need to edit the state.relativesdata appropriately, primarily you need to:

1. add id to siblings array for each slave.
2. Make very sure that the id you enter does exist in the relativesdata object, and has all expected variables defined. For mother/father, that can be -1 to say they're unknown. However, every id you reference in any entry in relativesdata has to have an associated object for that id that is valid.

Oh yes i saw that, and i tried to copy arrays in relatives data in my save game, but as i said welp. Not even close xD. So what should code look for adding more traits than one?

Well first off, stop calling them traits! They're Specializations. The game has traits and they mean something else entirely.

To make it support this, you'd have to find every reference of .spec and see if/how it should be updated. Exactly how it changes depends. Yould for one need to make newly created characters define this as an array, and for loading to convert it from an array. Or you'd need to make the code handle if it was an array or just a plain string.  Then maybe a helper function to check for a given spec. Then every place that checks for a spec would need to be update to use said function.

If you're asking this question, then I don't think you're up for making the necessary changes. You're looking at changing somewhere around 92 places in code and at least several of those are non-trivial changes.

Nah im not speaking about specs for now, just normal traits : / Like bisexual for girls etc

You don't need to modify anything for traits, it's already an array in the file. Just add whatever traits you want, only need to make sure you type it exactly as the game wants, as i believe it's case sensitive on it. For example, here's the traits for one of my slaves:

"traits": ["Submissive", "Infertile", "Pervert", "Masochist", "Likes it rough", "Bisexual"],

Ah i see! Its like this! thanks : D.

I noticed that traits that affect stats and have some sort special effect (i.e. -20% magic resistance) don't seem to work when i add them via editing. I'm guessing there's something else I have to do to properly implement it?

So i havent found a save folder anywhere. im assuming they are in Json format but i have no idea where to find them. so could somone point me in the right direction please?