The Long Journey Home

The Long Journey Home

View Stats:
Eagles 6 Jul, 2017 @ 5:13am
Mods
hi guys really enjoy this even if it frustrating over times just wondering any plannes in the near future the game will get in the workshop?
< >
Showing 1-14 of 14 comments
MaGicBush 6 Jul, 2017 @ 4:19pm 
That would be awesome :steamhappy:.
japp_02 6 Jul, 2017 @ 4:27pm 
+1
I wouldn't mind flying around with a big marauder ship, the standard player ship is miniscule :)
><///> (DabFish) 6 Jul, 2017 @ 6:35pm 
Or an endurance mode, where everyone comes aboard :D
Eagles 6 Jul, 2017 @ 8:46pm 
i know there are players sitting on nails this moment and working on how to mod the game
hope the developers agree with it as well
Justin Darkness 6 Jul, 2017 @ 9:32pm 
Mmm... Ouch! nail in butt... Oh yes... being able to buy a drone or two... or adding a longer text adventure planet side :behind:
Eagles 7 Jul, 2017 @ 9:51am 
Thats right buddy have abit of advantage and variety wouldnt hurt so we can enjoy the game more
mensmans 4 Nov, 2017 @ 5:36pm 
Originally posted by Eagles:
Thats right buddy have abit of advantage and variety wouldnt hurt so we can enjoy the game more
If you have experience with hex editing you can modify the PAK files to create a ship and lander that exells in almost everything. Just search for the ship name and the first entry contains all the data. From there it is trial and error. Change something, start the game and see if there is a difference. It is not possible to add item slots or cargo bays, but you can make the bays you have larger, increase hull strength, fuel capacity, exotic fuel capacity, jump range and Maneuvrability. I copied all the strong points of each ship onto the Discovery which has most device slots, making it the best candidate. I did the same on the Pathfinder lander.
Data for the main ship is found in the large PAK file (10GB) and for the lander in the smaller one. (0.8GB)
Eagles 4 Nov, 2017 @ 8:24pm 
Thanks buddy ill look in to it but if somebody allready came up with a solution to all this the help will be welcome
VulcanTourist 9 Dec, 2018 @ 3:55am 
Originally posted by mensmans:
Hope this helps
http://www.filedropper.com/tljh
It's been a year, and though your file still exists - I notice you were careful to skirt DMCA issues by taking screenshots of what others *might* do for themselves - the suggested changes are apparently no longer valid for the current version of the PAK file. Further evidence is that elsewhere you mentioned a second PAK file to edit for the lander, but there is only a single monolithic PAK file now. I searched the entire file (took many hours) for the text "SHP_ShipModules" and found nothing.
mat8502 16 Dec, 2018 @ 10:35am 
Hi there, i ve been tinkering with the big PAK file myself and found you can change the ship and lander, you have to search for their names in the hexedit
kaylojames 19 Feb, 2019 @ 1:09pm 
If anyone knows more about how to do this and can chime in, I'd appreciate it. I managed to edit the stats myself so everything from fuel, to hull, etc. was maxed out on the Discovery in the ship selection page, but it doesn't actually change it to the value displayed in-game. So for instance max fuel capacity is still draining as fast as normal.

Changing the value for any ship seems to cause values to change on other unedited ships as well, so it's doing some sort of calculation of all ships' values. I have successfully maxed out storage rows to 5 each, which I'll likely stick with once I'm done testing, but the rest I can't get to work correctly.

This is a modified ship that displays max values, but again while playing the fuel loss and whatnot seems to be the original values. Jump range I also somehow managed to screw up despite not editing it, so my jump range is around half of normal.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1660878029

Edit:
Just want to add that I successfully added cargo space to both the lander and the Discovery, as well as EM storage to the Discovery. The Endurance I managed to add maneuverability, though it still seems to have more inertia and turn radius while accelerating is lower, though that makes sense; however, this broke the default ship's stats. Jump range doesn't seem to work, nor does fuel tank size. Hull strength I didn't really test. Though remember that even if the stat bars update, it doesn't necessarily mean it's working.

Still sucks though, because all I really wanted was more fuel on the Discovery. The rest is a consolation prize I suppose.
Last edited by kaylojames; 20 Feb, 2019 @ 5:38pm
arisian 5 Jun, 2019 @ 10:30am 
Okay, so I've been playing around with this today, and made a bit of progress on understanding the file format, which I thought I would share with others who might be interested. Among other things, I've gotten increasing fuel tank size and jump range to work! Keep in mind I haven't played through a long section of the game this way yet, but preliminary tests of all these things seem to work.

Firstly, on my system (Windows 10) the important information is in the subdirectory "tljh\Content\Paks" in the file "tljh-WindowsNoEditor.pak", which needs to be opened with a hex editor (I used HxD). As others have noted, the easiest way to find the ships is to do a search for "Ulysses"; for me, the first occurrence is at offset 2BA5AFA5 (hex). I recommend setting the columns displayed to 35, since that makes things line up nicely (see screenshot below).

Once you've found the right part of the file, the most important thing to understand is that the game encodes many of the relevant values as float32s (i.e. 32 bit floating point numbers). This means that each game value takes up 4 contiguous hex values (each hex value is 8 bits). So, for example, the hex string "00 00 48 44", which in ASCII looks something like "..HD", represents the floating point number "800.0".

So, by default the Ulysses has a fuel value of 10 (technically 9.99999237060547, but that's basically 10 for us humans), encoded in the hex string "F8 FF 1F 41" (in ASCII it looks like "øÿ.A"). The Endurance has a fuel value of 20, which encodes to "FA FF 9F 41". The Discovery has 6 fuel, or "EB FF BF 40".

Copying values seems to work, so it's easy to increase the fuel of the Discovery or Ulysses to match the stock value for the Endurance by just copy/pasting the "FA FF 9F 41" value. Additionally, it looks like just editing the values to whatever you want should work too, though there may be limits on this. I tried using "FA FF 9F 42", which is about 80, or around 4 times the fuel of the stock Endurance, and it seemed to work.

The fuel values are the easiest ones to find in the file, because they have non-zero values for all 4 bytes. Some of the other values end in the hex byte "40", which renders as "@" in ASCII, but not all of them. However, the spacing between them is consistently 70 bytes; that's why setting your Hex Editor to display 35 bytes per row makes life easier.

The value two "places" after fuel (i.e. 140 bytes after fuel) is EM drive fuel; set it to whatever you want. I tried using a value of 8 ("00 00 00 41"), and it seemed to work, though there's probably a limit to what the display can handle. Keep in mind that despite the fact that the actual numbers here are small-value integers (stock values are 3, 4, and 2), the actual encoding is still float32 (which is why "00 00 00 41" decodes to a value of 8).

The value before fuel seems to be hull strength; the stock values are 200, 300, and 150 for the different ships. Modifying it seems to work as expected.

Drive range seems to be controlled by 2 different values; the first value in the list controls the 'red' circle range, and the value 5 places after fuel controls the 'gray' circle range. By default, these values are the same. If you modify the first one only, you can jump to the new range, but there's a warning indicator and it looks like you take extra transit damage? If you modify just the second one, the gray circle does expand to the new range, but you can't actually jump past the red circle. Under normal circumstances, you can't see the red circle at all; presumably it's being covered up by the gray one. For best results, modify both values to be something matching. The stock default values are 800, 700, and 1200 for the three ships. There's another value immediately after the fuel one that has the values 800, 700, 1000; it's possible that this is related somehow too, but I'm not really sure (it's certainly not needed for long range jumps, but maybe it modifies jump damage or something?).

The last number, after the second jump range value, seems to be maneuverability; the default values are 3, 1, and 6, though I don't know exactly how the game interprets these values.

In between the initial 'jump range' value and the 'hull strength' value, there are several values that represent cargo hold space. The different ships have different numbers of values here, since there is one value per 'row' of hold space. These values encode how many spaces that section of hold has; as usual, this is a 4-byte floating point number that just happens to have a small integer value. For the Ulysses, there are 4 lines, each with the value "00 00 A0 40", which encodes to 5 (i.e. the hold is 4 rows, each with 5 slots). You can change the values and get more cargo slots that way, but changing the length of the .PAK file means the game won't start, so you're stuck with the number of rows of cargo space from stock (4, 5, and 3
for the different ships). Also note that the interface can only really handle 8 slots in a row; you can have more than that but you won't be able to see what's in them (i.e. only the first 8 (and a half) are displayed in the Resources interface).

I haven't found any way so far of changing the number of module slots, so you're stuck with the default for the ship there (2, 1, and 3 for the different ships).


As an example, here's a screenshot of me modifying the Discovery to have the hull strength and fuel capacity of the Endurance, giving it an EM tank that holds 6 jumps of fuel, and making each of the rows of cargo space hold 8 items:

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1761688542

And here's the in-game screenshot of the ship showing the new stats:

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1761688732
mat8502 11 Jun, 2021 @ 2:57pm 
Here is what you need for the lander. Open "tljh-WindowsNoEditor_P.pak" under hexedit, search for pathfinder, the values need to be exactly like in the screenshot.

https://imgur.com/ZTLB7Y6

And here is the result

https://gtm.steamproxy.vip/ugc/1761451533096417732/BDD16657F9260E21BDD24FD5358CCE28D669BC94/

Enjoy
Last edited by mat8502; 11 Jun, 2021 @ 3:08pm
< >
Showing 1-14 of 14 comments
Per page: 1530 50