Space Haven

Ask about cheats/tables for single player games here
haarfus
Cheater
Cheater
Posts: 48
Joined: Sat Feb 08, 2020 12:16 pm
Reputation: 6

Space Haven

Post 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]

Kaedus
Expert Cheater
Expert Cheater
Posts: 282
Joined: Thu Aug 10, 2017 2:22 pm
Reputation: 42

Space Haven

Post 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.

Re0dDai
Noobzor
Noobzor
Posts: 7
Joined: Sat May 23, 2020 12:41 pm
Reputation: 1

Space Haven

Post by Re0dDai »

+1

Kostick
Noobzor
Noobzor
Posts: 7
Joined: Sat May 23, 2020 2:32 pm
Reputation: 0

Space Haven

Post by Kostick »

+1

hanzo9283
Noobzor
Noobzor
Posts: 5
Joined: Sun Dec 17, 2017 3:49 am
Reputation: 0

Space Haven

Post by hanzo9283 »

+1

kh4b4r4kh
Noobzor
Noobzor
Posts: 6
Joined: Sun Sep 08, 2019 11:05 am
Reputation: 0

Space Haven

Post 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
Last edited by kh4b4r4kh on Tue May 18, 2021 5:31 pm, edited 5 times in total.

Abbadon
What is cheating?
What is cheating?
Posts: 1
Joined: Sun May 24, 2020 11:07 am
Reputation: 0

Space Haven

Post by Abbadon »

Thank you for idea. This quite barbaric, but works.

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








































































Last edited by Abbadon on Sun May 24, 2020 1:17 pm, edited 6 times in total.

User avatar
The Mogician
Table Makers
Table Makers
Posts: 728
Joined: Sat Mar 04, 2017 12:00 am
Reputation: 520

Space Haven

Post by The Mogician »

To add to the ones above, attr is for attributes.

iplaygames
Expert Cheater
Expert Cheater
Posts: 59
Joined: Mon May 20, 2019 5:57 am
Reputation: 1

Space Haven

Post 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...

Laiko1
Noobzor
Noobzor
Posts: 7
Joined: Wed Jul 17, 2019 3:15 am
Reputation: 0

Space Haven

Post 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

lemaun
Expert Cheater
Expert Cheater
Posts: 218
Joined: Mon May 22, 2017 6:13 pm
Reputation: 23

Space Haven

Post by lemaun »

+1

lemaun
Expert Cheater
Expert Cheater
Posts: 218
Joined: Mon May 22, 2017 6:13 pm
Reputation: 23

Re: Space Haven

Post by lemaun »

+1

User avatar
BringChaos
Table Makers
Table Makers
Posts: 60
Joined: Tue Mar 13, 2018 9:45 pm
Reputation: 32

Re: Space Haven

Post 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 726 times
It's a pretty tiny swing program. Anyone interested in the game could easily expand on it.
Last edited by BringChaos on Tue Feb 23, 2021 3:00 am, edited 2 times in total.

yang33
What is cheating?
What is cheating?
Posts: 2
Joined: Fri Sep 18, 2020 10:18 pm
Reputation: 0

Re: Space Haven

Post 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 ?

User avatar
BringChaos
Table Makers
Table Makers
Posts: 60
Joined: Tue Mar 13, 2018 9:45 pm
Reputation: 32

Re: Space Haven

Post 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.
Last edited by BringChaos on Thu Feb 11, 2021 4:07 am, edited 4 times in total.

Post Reply

Who is online

Users browsing this forum: azvameth254, dnd, JohnyXXX, Rotgut, Stazz