Recommended Posts

RoboPhred    154
On 5/6/2019 at 8:00 AM, Boothzor said:

Thanks for all your work with this.

With the previous version, it was possible to adjust the values of items and objects e.g. batteries. Is this still possible in the updated version, as I can't see an option to drill down into?

 

Something like that still exists, although the UI needs a lot of work.  Click on the "Raw Editor" option.  Along the top will be drop downs to access various parts of the save file.  Click on the "Save Game" text along the top to go to the root of the file, then select "gameObjects" from the dropdown.  The next dropdown to appear will let you select from the various categories of game objects.

Share this post


Link to post
Share on other sites

 image.thumb.png.7e167a598c27cf100c2a8dc9dd4c3401.png\

Hey, the "save" button isn't showing up. Any way to fix this?

10 minutes ago, prof_biscuit said:

 image.thumb.png.7e167a598c27cf100c2a8dc9dd4c3401.png\

Hey, the "save" button isn't showing up. Any way to fix this?

Nevermind, seems that something with the file got weird, and now it's fixed

Share this post


Link to post
Share on other sites
RoboPhred    154

The "Example" indicator at the top right shows that you clicked the "Load Example" button, rather than the "Load File" button.  This loads some dummy data that I use for testing everything.  The example data cannot be saved since it is missing a lot of the data a real save will have.

Share this post


Link to post
Share on other sites
habuky    45
Posted (edited)

I have problems saving the attributes. Especially after lowering them. Often changes are not detected and the editor doesn't show the "modified"-flag. when changing the attributes.  Forcing the modified-flag by changing the hair didn't help.

E.g. I decrease cooking to 0, save the file and reload it in the editor, but then cooking skill is still there with 1 instead of 0.
Increasing works more or less after several saving and reloading attempts but also unreliable.  

I tried in Firefox.(+ Save Mode w/o add-ons). Refresh site. in IE11 the editor won't load. - Nothing helped.

And am I too stupid or can't we rename dupes in the editor any more?

Thanks!

File enclosed
 

Edit: it is possible to change the settings using the raw editor

SaveGame > gameObjects >  Minion > gameObjects >  [Dupe ID] > behaviors >Klei.AI.AttributeLevels

 

 

edit.sav

Edited by habuky

Share this post


Link to post
Share on other sites
Posted (edited)

I am attempting to write a program or two based on your work, but I prefer to write in C++. Trying to duplicate what you've done with oni-save-parser. Do you have a basic outline of what the save file looks like other than what's coded?

Edited by mosquitobait

Share this post


Link to post
Share on other sites
RoboPhred    154
On 6/3/2019 at 7:07 PM, mosquitobait said:

I am attempting to write a program or two based on your work, but I prefer to write in C++. Trying to duplicate what you've done with oni-save-parser. Do you have a basic outline of what the save file looks like other than what's coded?

Unfortunately not.  I had that goal in mind when I started the rewrite, but did not follow up on it.

I might start writing documentation for it now that I know someone is interested in it, but I can't commit to much right now.  I am always willing to answer any questions you have though, or give you pointers if you get stuck.

Share this post


Link to post
Share on other sites
suxkar    96
Posted (edited)

Hello! First of all, thank you for your work!

I was wondering, is it possible to edit the planets in the starmap? I tried browsing the raw code but it's kinda like a needle in a haystack..

EDIT: It would be enough for me to be pointed into the direction.. Since the editor is online I can't/don't know how to even search for like "planet1" in the code.

Edited by suxkar

Share this post


Link to post
Share on other sites
mathmanican    2,290
Posted (edited)
25 minutes ago, suxkar said:

is it possible to edit the planets in the starmap?

Here is a mod which allows you to add planets. 

Edited by mathmanican

Share this post


Link to post
Share on other sites
RoboPhred    154

I explored the idea of a planet editor before, but didn't make much progress on it.  Currently, the UI has read-only support for planets, but the save parser itself can modify them.

To get to the planets, load your save file and navigate to `#/planets` by typing in the url manually, ex `https://robophred.github.io/oni-duplicity/#/planets`.

 

In the code, each planet is rendered by PlanetListItem and edited by AbstractPlanet.  AbstractPlanet already has an edit function (onPlanetModify), so the only thing left is for the UI to support changing the planet type and updating the planet content.

If you change the planet type without changing the planet's content, the game will wipe the content that does not match and you will likely be left with a planet that doesn't contain anything.  You will need to update the content of the planet to match what that planet type should have.

Share this post


Link to post
Share on other sites
suxkar    96
Posted (edited)
10 hours ago, mathmanican said:

Here is a mod which allows you to add planets. 

Thanks! I'll take a look!

8 hours ago, RoboPhred said:

I explored the idea of a planet editor before, but didn't make much progress on it.  Currently, the UI has read-only support for planets, but the save parser itself can modify them.

To get to the planets, load your save file and navigate to `#/planets` by typing in the url manually, ex `https://robophred.github.io/oni-duplicity/#/planets`.

 

In the code, each planet is rendered by PlanetListItem and edited by AbstractPlanet.  AbstractPlanet already has an edit function (onPlanetModify), so the only thing left is for the UI to support changing the planet type and updating the planet content.

If you change the planet type without changing the planet's content, the game will wipe the content that does not match and you will likely be left with a planet that doesn't contain anything.  You will need to update the content of the planet to match what that planet type should have.

Oh! Thanks for the quick reply! I can see the planets but I'm not sure how to edit them since the url offers a UI and not code. How do I get to the raw code?
Well.. may be what I'm saying doesn't even make sense.. May be I don't know enough about this stuff :?

Edited by suxkar

Share this post


Link to post
Share on other sites
Merkury90    4

Are there any plans to update this amazing tool for new test branch of the game?

Or are you going to wait till it is released as stable?

Share this post


Link to post
Share on other sites
MF99K    2,056

I'm guessing it's best to keep it stable instead of updated for now.

Share this post


Link to post
Share on other sites
Merkury90    4

Well, the release version is out now so maybe it would be possible to update the editor? :>

Would really like to mess around with superduper dupes :D

  • Haha 1

Share this post


Link to post
Share on other sites
Raldoron    5

Thanks for the Awesome Editor @RoboPhred Can we get a update to Launch game Version 7.11 Plz and thank you.

Share this post


Link to post
Share on other sites
Sue_xee    0

Thanks for the great work! Now 7.11 is out any possibility we get an update?

Share this post


Link to post
Share on other sites
Raldoron    5

Yes but right now the editor doesn't support launch version 7.11 so you can't use it till Robophred updates the editor so it can be compatible for launch version. Which who knows when it get updated. If he is still playing the game or paying attentions or life stuff will allow him to have free time to do the update.

Share this post


Link to post
Share on other sites
badgamer123    100

am I need to unsubscribe from mod or just disable them?it going to be a bit hard to finding them later on.

Share this post


Link to post
Share on other sites
Raldoron    5

Sorry, i didn't read the part of modding i don't know about that part. Again, sorry for giving you a answer i don't know for your question.Thought you was talking in general use of the editor.

Share this post


Link to post
Share on other sites
Raldoron    5

Wish i had a file for you but cant wait for it to be done and running. Thanks for the wrok and time.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now