Moonkis

[TOOL] OnionPatcher

39 posts in this topic

It's still working without any problems.

I've replaced the Assembly-CSharp.dll with the original version for the Thermal Update to get the geysers working and then ran the OnionPatcher. It kept making the same world (the default seed 404 is actually pretty decent :)) and then changed the WorldGen settings piece by piece until I got the layout I liked.
Then generated the world, shuffled Dupes until they had decent stats and finally exited the game and put the original Assembly-CSharp.dll from the last update back in. Worked perfectly.

Edit: Still works with the current TU-210794, at least the Force Seed option. The seed is in the WorldGenDataSave.dat at offsets 933h to 936h.

Edited by Methusalem

Share this post


Link to post
Share on other sites
On 2017-03-13 at 9:14 AM, Yuno_Gasai said:

I couldn't find any kind of 'managed' file or folder, only my save and autosave folders.  Is this outdated already, or am I looking in the wrong place?

 

On 2017-03-18 at 9:36 PM, ShamPeiN said:

first on OxygenNotIncluded_Data

possibly outdated after 208689, those dlls have changed

 

17 hours ago, Yuno_Gasai said:

That file does not exist for me, so yeah, I'd say outdated.

I did a full re-install (uninstall + delete the folder manually) and opted in for the Thermal Update, the files are there for me, and as far as I know, the patches still works, I'm currently not at home, but I will test it asap.

EDIT:
So I tested the patches, and they all seem to work just fine (seed, debug, free camera). Forcing world size seems to be working as indented, but I'm not 100% sure, need to do some further testing to confirm.

EDIT 2:
I can now confirm that forcing world-size still works (in conclusion, all the patches still works and are NOT outdated, unless I am missing something?). The tiniest size I tried to generate was 128x128.

Edited by Moonkis

Share this post


Link to post
Share on other sites
10 hours ago, Methusalem said:

It's still working without any problems.

I've replaced the Assembly-CSharp.dll with the original version for the Thermal Update to get the geysers working and then ran the OnionPatcher. It kept making the same world (the default seed 404 is actually pretty decent :)) and then changed the WorldGen settings piece by piece until I got the layout I liked.
Then generated the world, shuffled Dupes until they had decent stats and finally exited the game and put the original Assembly-CSharp.dll from the last update back in. Worked perfectly.

Edit: Still works with the current TU-210794, at least the Force Seed option. The seed is in the WorldGenDataSave.dat at offsets 933h to 936h.

Thanks for testing! Glad to hear I'm not the only one the patches still work for :D

Share this post


Link to post
Share on other sites

sadly i crashed multiple times trying create new game on smaller map

Edited by ShamPeiN

Share this post


Link to post
Share on other sites
4 hours ago, ShamPeiN said:

sadly i crashed multiple times trying create new game on smaller map

What size are you trying? The algorithm that generates the map doesn't play nicely with super small maps (Smallest I have managed is 128x128, the game crashes with 96x96).

 

3 hours ago, Too-DAMN-Much said:

looks nice, wanted extra zoom out option :)

It's handy for showing of your colony!

Share this post


Link to post
Share on other sites
On 2/25/2017 at 11:01 PM, Targa_X said:

Awesome! I had posted a suggestion that the devs allow map seed exchange. The tool is a little clunky, and if possible I'd like to see the following improvements:

You've already done this: Warn the user to backup Assembly-CSharp.dll (not too big of a deal, really, because verifying game integrity with Steam will fix it).

For a more streamlined end-user experience, I'd say after making a backup, rename the original Assembly-CSharp.dll to something else very specific, like Onion.dll. Then run the program, select your desired function and click the Patch button. The program looks for Onion.dll and uses it to create a patched Assembly-CSharp.dll. If a file named Assembly-CSharp.dll already exists, the program moves it to the recycle bin. This would make trying different seeds much easier, as the user wouldn't have to keep deleting a patched Assembly-CSharp.dll and putting a copy of the original back, then deleting it after the patch is created and renaming Assembly-CSharp.onion.dll every time. If it worked as I just described, I'd simply be able to type in a new seed and click Patch after every try.

Either that or figure out a way to patch a patched Assembly-CSharp.dll. Once you patch in a new seed value, re-patching the modified file doesn't work. It keeps giving you the first seed's map.

It would also be nice if the program remembered where the game directory is located after the user locates it the first time, rather than having to do that every time you run it.

I don't know how in the world I missed this, but I did, I'm so sorry! Great advice, thank you!

Share this post


Link to post
Share on other sites
2 minutes ago, PickPay said:

Would love to be able to change world settings (and more) in a GUI thanks keep it up !

You and me both, and it is being worked on (not only by me).

Share this post


Link to post
Share on other sites

okay, made it to work. nice job by the way.

few tips for others: using Listary can select in patcher an opened folder. zipping original dll in place can save few clicks backing up/restoring.

 

Edited by ShamPeiN

Share this post


Link to post
Share on other sites

Is it still working? I tried to gen a bigger map(600x600) but cant say if its working. If the world are bigger, is the starting area the same size or is it bigger as normal? Because the starting area dont feel any bigger and the "better" materials like iron are not that more far away as normal.

Share this post


Link to post
Share on other sites
On 3/24/2017 at 8:26 PM, 656379_1452791410 said:

Is it still working? I tried to gen a bigger map(600x600) but cant say if its working. If the world are bigger, is the starting area the same size or is it bigger as normal? Because the starting area dont feel any bigger and the "better" materials like iron are not that more far away as normal.

yes its working, try multipliers of 64 like 512. keep ratio too (2x3 w/h). starting area should be 70x70 anyway sharing wall with next biome. only time it was bigger when next biome had no space. not sure but sometimes looks like rombus shape (144x144). iron is purple biome. 

Share this post


Link to post
Share on other sites
On 3/24/2017 at 7:26 PM, 656379_1452791410 said:

Is it still working? I tried to gen a bigger map(600x600) but cant say if its working. If the world are bigger, is the starting area the same size or is it bigger as normal? Because the starting area dont feel any bigger and the "better" materials like iron are not that more far away as normal.

 

22 minutes ago, ShamPeiN said:

yes its working, try multipliers of 64 like 512. keep ratio too (2x3 w/h). starting area should be 70x70 anyway sharing wall with next biome. only time it was bigger when next biome had no space. not sure but sometimes looks like rombus shape (144x144). iron is purple biome. 

Yes it's still working, and it's still being worked on!
I just finished up re-writing all so it uses an external file for settings, this means NO re-patching to change seed, world-size, debug, free camera. I'll merge it into the patcher tomorrow and release it. That together with a few other changes (remembering path of the Assembly-CSharp.dll) and other QoL changes.

Share this post


Link to post
Share on other sites
3 minutes ago, Moonkis said:

 

 (remembering path of the Assembly-CSharp.dll) and other QoL changes.

A God amoung men.

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