Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Editing character files

A topic by Mayukitsune created Jun 01, 2019 Views: 6,070 Replies: 5
Viewing posts 1 to 5

How do you edit characters stats though notepad ++ like say the player character?

Yeah, as TheDarkn3ss said just search for your character's name in the save file. Search for agi_base afterwards and it will bring you to the stats block for your character. Agi is agility, str is strength, end is endurance, and maf is magic affinity. Max is the highest level you can level it up to, base is what level its leveled up to and  mod is just a bonus. You can also add things like traits but the stat effects from them are not retroactive.

Deleted 2 years ago

It helps to have a Java or JavaScript plugin for Notepad++. It can format the save file so searching is easier.Then, once you find the character's name finding the stat block is trivial.

I mean, this is my sort of thing and these .sav files are fairly forgiving and fun to rewrite.

... but you have to be able to read the data in the first place. it took me about eight hours to understand the format completely. 

even now the game thinks that every female relation is "my sister" 

anyway, you can just open save files in notepad. when you "save as", set to "any file type" and utf-8 format.

some easy changes are to give yourself more gold and other resources. I mostly used it to make all the women tall and to give my character a mother.

have fun, I am happy to share my knowledge if there are specific questions.

So im new to this editing game files thing, wanna tell me how one would go about doing such a thing?

(1 edit)

sure, man. the designer was thoughtful  enough to leave several ways to easily find the save file folder. 

when you are playing just hit [esc] > [save/load]> [open folder]

then, if you havent already done so, save your game as "TEST" or whatever

there are several ways to open the file, I tend to just click on it then select plain old notepad to open the file.

I would say a fun way to start is CRTL-F, and search for the amount of gold you have. it is probably a unique number.

feel free to change it. now, within notepad, select "save as", hopefully it automatically directs you back to the folder w the saves.

the window will be unpopulated, so switch from "text files" to "all files". make sure your format is set to utf-8

click on your TEST sav file. it might overwrite it with a single click or you might have to click save.

close your Notepad  window (we can always open it again later)

go back to Strive4powa, go ESC >load> TEST

if successful you will see that the amount of gold is what you typed directly into the save. if you so much as added a space or broke the syntax flow in any way you will get an empty load where everything is gone OR an error message OR some other unwanted result.

if so, no worries. delete the TEST sav file and try again.

right now I am working on adding custom items/icons to the game by the save file alone.

want to see some advanced "code"? (below)

as you will see, I made two mistakes. I added speed boost twice AND one of the bags was owned by one of my party instead of waiting in the inventory. the system forgave me. it stacked the speed boosts and left the bag where it was. however, the character was NOT getting a bonus AND when I removed the bag I triggered the games onequip rules. in removing the bag I triggered negative stats to be 'added' to her stat mods. I chose to go back in and manually remove the negatives stats from the save file. and make some other fixes as well. just remember everytime you change something it is a learning experience that makes you stronger and smarter. good luck!

"I1962":{"code":"acctravelbag","description":"A
great partner of any experienced adventurer. Despite minor wear, it
looks really sturdy. \nIncreases party's total carry weight by 20.
","effects":[{"descript":"[color=green]+1
Magic
affinity[/color]","effect":"maf","effectvalue":1,"type":"onequip"},{"descript":"[color=green]+3
Speed[/color]","effect":"speed","effectvalue":3,"type":"incombat"},{"descript":"[color=green]+8
Speed[/color]","effect":"speed","effectvalue":8,"type":"incombat"},{"descript":"[color=green]+3
Strength[/color]","effect":"stren","effectvalue":3,"type":"onequip"},{"descript":"[color=green]+7
Damage[/color]","effect":"damage","effectvalue":7,"type":"incombat"},{"descript":"[color=green]+3
Endurance[/color]","effect":"end","effectvalue":3,"type":"onequip"},{"descript":"[color=green]-5
Stress per
day[/color]","effect":"stress","effectvalue":5,"type":"onendday"}],"enchant":"basic","icon":"res://files/images/items/bag.png","id":"I1962","name":"Travelling
Bag","owner":null,"reqs":null,"type":"accessory","weight":5},"I1963":{"code":"acctravelbag","description":"A
great partner of any experienced adventurer. Despite minor wear, it
looks really sturdy. \nIncreases party's total carry weight by 20.
","effects":[{"descript":"[color=green]+1
Magic
affinity[/color]","effect":"maf","effectvalue":1,"type":"onequip"},{"descript":"[color=green]+3
Speed[/color]","effect":"speed","effectvalue":3,"type":"incombat"},{"descript":"[color=green]+8
Speed[/color]","effect":"speed","effectvalue":8,"type":"incombat"},{"descript":"[color=green]+3
Strength[/color]","effect":"stren","effectvalue":3,"type":"onequip"},{"descript":"[color=green]+7
Damage[/color]","effect":"damage","effectvalue":7,"type":"incombat"},{"descript":"[color=green]+3
Endurance[/color]","effect":"end","effectvalue":3,"type":"onequip"},{"descript":"[color=green]-5
Stress per
day[/color]","effect":"stress","effectvalue":5,"type":"onendday"}],"enchant":"basic","icon":"res://files/images/items/bag.png","id":"I1963","name":"Travelling
Bag","owner":"813","reqs":null,"type":"accessory","weight":5},"I1964":{"code":"acctravelbag","description":"A
great partner of any experienced adventurer. Despite minor wear, it
looks really sturdy. \nIncreases party's total carry weight by 20.
","effects":[{"descript":"[color=green]+1
Magic
affinity[/color]","effect":"maf","effectvalue":1,"type":"onequip"},{"descript":"[color=green]+3
Speed[/color]","effect":"speed","effectvalue":3,"type":"incombat"},{"descript":"[color=green]+8
Speed[/color]","effect":"speed","effectvalue":8,"type":"incombat"},{"descript":"[color=green]+3
Strength[/color]","effect":"stren","effectvalue":3,"type":"onequip"},{"descript":"[color=green]+7
Damage[/color]","effect":"damage","effectvalue":7,"type":"incombat"},{"descript":"[color=green]+3
Endurance[/color]","effect":"end","effectvalue":3,"type":"onequip"},{"descript":"[color=green]-5
Stress per
day[/color]","effect":"stress","effectvalue":5,"type":"onendday"}],"enchant":"basic","icon":"res://files/images/items/bag.png","id":"I1964","name":"Travelling
Bag","owner":null,"reqs":null,"type":"accessory","weight":5}