Page 1 of 2

Space Haven

Posted: Fri May 22, 2020 5:49 am
by haarfus
[B]Game Name:[/B] Space Haven

[B]Game Engine:[/B]

[B]Game Version:[/B] 0.8.16

[B]Options Required:[/B] Indicators of crew members (fatigue, hunger, etc.). Unlimited ship hp.

[B]Game/Steam Website:[/B] [URL]https://store.steampowered.com/app/979110/Space_Haven/[/URL]

Space Haven

Posted: Fri May 22, 2020 8:49 am
by Kaedus
+1. Max crew parameters, attributes and skills would be very nice.

ps Although attributes and skills can be changed in the save file.

Space Haven

Posted: Sat May 23, 2020 1:01 pm
by Re0dDai
+1

Space Haven

Posted: Sat May 23, 2020 2:32 pm
by Kostick
+1

Space Haven

Posted: Sat May 23, 2020 6:38 pm
by hanzo9283
+1

Space Haven

Posted: Sat May 23, 2020 9:38 pm
by kh4b4r4kh
As far as I know, due to the game being programed in Java, memory allocation isn't consistent, so any "regular" table won't work here. Only way I found to 'meddle' with the game is via Save Files, which are located in your game folder/savegames (not in My Documents or other weird folder, just where the game is installed).

Once there, you open the game file with notepad (yup, no file extension) and search for the parameters you want to change. So far I've only found how to alter Inventory and Crew stats.

For crew, just search for and you'll find several blocks which include all stats, ranging from name to Comfort, Oxygen, etc (Be careful tough, because Monsters also have a section, so maybe its easier to just look for which Monsters doesn't have at their section). At the end of each crew member, there is a block with the skills, which will look like this: Just edit the rightmost numer up to 10 and you're good. I haven't cared to find out which skill number (sk="x") is which, because I upped all to 10.



For Inventory, you're looking for a block of sentences like this:
s elementaryId="16" inStorage="22" onTheWayIn="0" onTheWayOut="2"

They're grouped by storage, and ATM I don't know how to identify each storage. It's quit descriptive, being elementaryId the Id of the resource and inStorage the quantity you've in that storage. Here's a list I've wrote of every item you can have at the beggining. You can have any quantity of the resource even if it surpass the storage limit (haven't tested the max quantity, but it counts towards the weight, so if you add too much of anything the ship won't move):

**IN EDITION**

Artificial Meat 707
Assault Rifle 725
Base Metals 157
Bio Matter 71
Carbon 170
[TD][RIGHT]170[/RIGHT][/TD]



[TD]Carbon[/TD]

[/TR]

[TR]

[TD][RIGHT]176[/RIGHT][/TD]



[TD]Chemicals[/TD]

[/TR]

[TR]

[TD][RIGHT]173[/RIGHT][/TD]



[TD]Electronics Component[/TD]

[/TR]

[TR]

[TD][RIGHT]158[/RIGHT][/TD]



[TD]Energium[/TD]

[/TR]

[TR]

[TD][RIGHT]1919[/RIGHT][/TD]



[TD]Energy Block[/TD]

[/TR]

[TR]

[TD][RIGHT]1926[/RIGHT][/TD]



[TD]Energy Cell[/TD]

[/TR]

[TR]

[TD][RIGHT]174[/RIGHT][/TD]



[TD]Energy Rod[/TD]

[/TR]

[TR]

[TD][RIGHT]1947[/RIGHT][/TD]



[TD]Energy Scrap[/TD]

[/TR]

[TR]

[TD][RIGHT]177[/RIGHT][/TD]



[TD]Fabrics[/TD]

[/TR]

[TR]

[TD][RIGHT]1932[/RIGHT][/TD]



[TD]Fibers[/TD]

[/TR]

[TR]

[TD][RIGHT]706[/RIGHT][/TD]



[TD]Fruits[/TD]

[/TR]

[TR]

[TD][RIGHT]1759[/RIGHT][/TD]



[TD]Hull Block[/TD]

[/TR]

[TR]

[TD][RIGHT]1886[/RIGHT][/TD]



[TD]Hull Scrap[/TD]

[/TR]

[TR]

[TD][RIGHT]985[/RIGHT][/TD]



[TD]Human Meat[/TD]

[/TR]

[TR]

[TD][RIGHT]178[/RIGHT][/TD]



[TD]Hyperfuel[/TD]

[/TR]

[TR]

[TD][RIGHT]172[/RIGHT][/TD]



[TD]Hyperium[/TD]

[/TR]

[TR]

[TD][RIGHT]40[/RIGHT][/TD]



[TD]Ice[/TD]

[/TR]

[TR]

[TD][RIGHT]1873[/RIGHT][/TD]



[TD]Infra Scrap[/TD]

[/TR]

[TR]

[TD][RIGHT]162[/RIGHT][/TD]



[TD]Infrablock[/TD]

[/TR]

[TR]

[TD][RIGHT]2058[/RIGHT][/TD]



[TD]IV Fluid[/TD]

[/TR]

[TR]

[TD][RIGHT]2053[/RIGHT][/TD]



[TD]Medical Supplies[/TD]

[/TR]

[TR]

[TD][RIGHT]984[/RIGHT][/TD]



[TD]Monster Meat[/TD]

[/TR]

[TR]

[TD][RIGHT]169[/RIGHT][/TD]



[TD]Noble Metals[/TD]

[/TR]

[TR]

[TD][RIGHT]1924[/RIGHT][/TD]



[TD]Optronics Component[/TD]

[/TR]

[TR]

[TD][RIGHT]760[/RIGHT][/TD]



[TD]Pistol[/TD]

[/TR]

[TR]

[TD][RIGHT]175[/RIGHT][/TD]



[TD]Plastics[/TD]

[/TR]

[TR]

[TD][RIGHT]179[/RIGHT][/TD]



[TD]Processed Food[/TD]

[/TR]

[TR]

[TD][RIGHT]1925[/RIGHT][/TD]



[TD]Quantronics Component[/TD]

[/TR]

[TR]

[TD][RIGHT]171[/RIGHT][/TD]



[TD]Raw Chemicals[/TD]

[/TR]

[TR]

[TD][RIGHT]15[/RIGHT][/TD]



[TD]Root Vegetables[/TD]

[/TR]

[TR]

[TD][RIGHT]127[/RIGHT][/TD]



[TD]Rubble[/TD]

[/TR]

[TR]

[TD][RIGHT]729[/RIGHT][/TD]



[TD]Shotgun[/TD]

[/TR]

[TR]

[TD][RIGHT]728[/RIGHT][/TD]



[TD]SMG[/TD]

[/TR]

[TR]

[TD][RIGHT]1921[/RIGHT][/TD]



[TD]Soft Block[/TD]

[/TR]

[TR]

[TD][RIGHT]1874[/RIGHT][/TD]



[TD]Soft Scrap[/TD]

[/TR]

[TR]

[TD][RIGHT]712[/RIGHT][/TD]



[TD]Space Food[/TD]

[/TR]

[TR]

[TD][RIGHT]1922[/RIGHT][/TD]



[TD]Steel Plates[/TD]

[/TR]

[TR]

[TD][RIGHT]1920[/RIGHT][/TD]



[TD]Superblock[/TD]

[/TR]

[TR]

[TD][RIGHT]930[/RIGHT][/TD]



[TD]Tech Block[/TD]

[/TR]

[TR]

[TD][RIGHT]1946[/RIGHT][/TD]



[TD]Tech Scrap[/TD]

[/TR]

[TR]

[TD][RIGHT]16[/RIGHT][/TD]



[TD]Water[/TD]

[/TR]

[/TABLE]



Hope any of this becomes helpful to someone with better skills than myself.



P.S.- Sorry if there is any 'typo' with the id list. I didn't have the time to check it thoroughly

Space Haven

Posted: Sun May 24, 2020 1:07 pm
by Abbadon
Thank you for idea. This quite barbaric, but works.

In save file "game" for infinite resourses just find string with









































































Space Haven

Posted: Tue May 26, 2020 3:07 am
by The Mogician
To add to the ones above, attr is for attributes.

Space Haven

Posted: Thu May 28, 2020 11:10 pm
by iplaygames
this game can be painstaking long as caution....



i was trying to transfer like 99 units of my item inventory to new ship and only got a couple units 1 day... if actually carried out , gonna take like forever...

Space Haven

Posted: Sun May 31, 2020 12:11 am
by Laiko1
[QUOTE="kh4b4r4kh, post: 136581, member: 32274"]

For crew, just search for [B][/B] and you'll find several blocks which include all stats, ranging from name to Comfort, Oxygen, etc (Be careful tough, because Monsters also have a section, so maybe its easier to just look for [B][/B] which Monsters doesn't have at their section). At the end of each crew member, there is a block with the skills, which will look like this: [B] [/B]Just edit the rightmost numer up to 10 and you're good. I haven't cared to find out which skill number (sk="x") is which, because I upped all to 10.

[/QUOTE]



You can also find your characters by going to Name="



And then whatever the name of the character is.



I did some editing and testing myself.



The attributes are also found in the same area(just above it) and are from top to bottom Bravery, Zest, intelligence, Perception

Respectively: 210, 214, 212, 213



Same thing with Skill 1-10 correspond to Piloting, Mining, etc. etc.



Be careful with setting attributes to max. i did that when I reset the priorities the game freaked out and set it all to Never do ever except logistics.



Other than that the game should operate fine

Space Haven

Posted: Tue Jun 09, 2020 3:59 pm
by lemaun
+1

Re: Space Haven

Posted: Sat Jan 02, 2021 1:13 pm
by lemaun
+1

Re: Space Haven

Posted: Tue Jan 26, 2021 10:05 pm
by BringChaos
I did make some scripts in cheat engine that worked sometimes in regards to resource amount, so it is possible but one would need to find a better function to inject into than I did. However I got bored and decided to play around with a java application to cheat the game instead.

Just place in the game folder and run the jar. Click "Get Instance" after a save has been loaded. This was made for Alpha 10 0.12.2 steam build 3. It might work on other versions but no promises. Didn't get very far into the game so there are some things I couldn't test or make functionality for.
Preview
Image
PW: spacehaven
Editor0.12.2.7_version_2.7z
Most Updated Version
(38.55 KiB) Downloaded 748 times
It's a pretty tiny swing program. Anyone interested in the game could easily expand on it.

Re: Space Haven

Posted: Sun Feb 07, 2021 1:14 pm
by yang33
BringChaos wrote:
Tue Jan 26, 2021 10:05 pm
I did make some scripts in cheat engine that worked sometimes in regards to resource amount, so it is possible but one would need to find a better function to inject into than I did. However I got bored and decided to play around with a java application to cheat the game instead.

Just place in the game folder and run the jar. Click "Get Instance" after a save has been loaded. This was made for Alpha 10 0.12.2 steam build 3. It might work on other versions but no promises. Didn't get very far into the game so there are some things I couldn't test or make functionality for.
Preview
Image
PW: spacehaven
editor0.12.2.7z

It's a pretty tiny swing program. Anyone interested in the game could easily expand on it.
Great work, but it's not working on gog version, can you share the source code maybe i can fix it ?

Re: Space Haven

Posted: Sun Feb 07, 2021 8:39 pm
by BringChaos
yang33 wrote:
Sun Feb 07, 2021 1:14 pm
Great work, but it's not working on gog version, can you share the source code maybe i can fix it ?
You tested it on a steam version and it worked? Not surprising it wouldn't work on a GOG version because the jar classes would be slightly different.

I can send you the IntelliJ project files but if you aren't confident in updating it yourself you can just DM me a GOG version of the "spacehaven.jar" and I should be able to quickly build a new editor for it.

I'll also try to make a version of my jar using reflection so perhaps this won't be an issue.