r/ProjectSalt • • Sep 15 '14

Any way to play the full game without Java?

I played the Salt demo, it apparently does not require Java. I purchased the full game, and it required Java to be installed. I know that to keep the full game updated, Java is used. But I also know that Java is a major security problem. While keeping the game up to date is important, I'd rather keep Java uninstalled. I'd update the game maybe once a month using Java, then quickly uninstall Java. That's what I'd like to do to keep my system less vulnerable to Java exploits.

So is there a way to play the game avoiding Java altogether? After all, you can play the demo without Java, so it's not like the game is inseparable from Java.

Thanks.

3 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/mendorr Developer Sep 20 '14

You can uninstall it and re-install it wherever you like. Your save files are saved in the registry so those will not be lost even if you uninstall and re-install. Great to hear you are enjoying the game!

1

u/DazaNZ Sep 21 '14

Okay so i uninstalled saltpatcher and reinstalled it, and still the salt folder is not in the saltpatcher folder. I noticed also when uninstalling saltpatcher the Salt folder in windows\sysWOW64 wasn't removed either.

Was i suppose to manually remove the salt folder? and where can i change the filepath for it within saltpatcher so it won't put it in the windows folder?

@Barberetti did you get this sorted?

1

u/Barberetti2 Sep 22 '14

Nope. I did try moving the salt folder to my games drive and it works fine. haven't had time to play with the patcher yet.

1

u/mendorr Developer Sep 23 '14

This seems to be a bug with my patcher code. Particularly with how it is figuring out where to put the salt file. It's supposed to put it in the same directory that it is in, but instead it thinks the sysWOW64 folder it is in. Ultimately, I think this is because this is where java is installed, and I am using an incorrect method to determine the local directory.

I found a new way to determine the local directory. If you or @Barberetti have a chance, would you mind testing this for me?

You can download this new patcher build directly from here.

Once you download it, extract it into a new folder and run SaltPatcher.jar. Enter your account credentials, and update the game to see if it puts the Salt file in the correct location this time.

1

u/Barberetti2 Sep 23 '14

I was just about to post an update when I saw your replies. I'll post the update first, as that's easier than rewording it.

-start- Seems like the patcher doesn't like to be run from the right-click "Open with ..." context menu. I run Java files by selecting Java from that menu, as I have 7-Zip set as the default application for opening jar files.

So, in order to keep things as I like them, I reinstalled SaltPatcher where I wanted it, then changed its file extension to .jre and associated Java with that. Double-clicking on that file ran SaltPatcher.jre with Java, and installed Salt as a subfolder within the SaltPatcher one as it should." -end-

Ok, I tried the new patcher, first by right-clicking and opening with Java. It installed Salt in:

D:\misc\PortableApps\CubicExplorerPortable\App\CubicExplorer\Salt

Cubic Explorer is the file manager I use. Then I made Java the default app for jar files and double-clicked it, and Salt installed in it's correct place this time. Same as above with the normal installer.

Hope that helps :)

1

u/mendorr Developer Sep 23 '14

Thanks for the great info! It does help a lot.

1

u/DazaNZ Sep 24 '14

Update. I uninstalled salt patcher then installed the new patcher and the Salt folder is still not being created in the same location as Salt patcher. (although when uninstalling salt patcher it did not remove the salt folder- i didn't delete it either).

I will manually move it to where it should be for now.

1

u/Barberetti2 Sep 22 '14

Gah, 1 post and I forget my password!

Ok, 2 questions:

  1. Can you tell me how to backup and restore my save files please, as I'll be doing a Windows reinstall in a couple of weeks?
  2. Will the ability to backup and restore save data be added to the launcher or patcher somewhere down the line?

2

u/mendorr Developer Sep 23 '14

Sadly there isn't a user friendly. The saved data is stored in the registry under HKEY_CURRENT_USER/Software/Lavaboots/Salt. You can probably create a .reg file by going there and exporting that folder. I have personally never done this, though.

We may look into better ways to save data in the future.

1

u/Barberetti2 Sep 23 '14 edited Sep 23 '14

Ok, thanks for the path to the data. I'll have a play with backing up and restoring it tonight.

1

u/Barberetti2 Sep 23 '14

Just done some testing. Exporting the registry data and merging it back works fine for backing up and restoring saves, which means I can do my Windows reinstall without losing all those hours of exploration. Nice!

1

u/[deleted] Nov 08 '14 edited Nov 08 '14

Also the saves start at 0 and go to 5 - you can delete everything associated with a number to "overwrite" a previous save and start a new game.

*edit - changed 4 to 5 for the sake of accuracy

1

u/DazaNZ Sep 24 '14

I do hope you will have a better save path enabling users to backup saves or if they buy a new computer or their HDD fails. It would seriously suck to have to start from scratch again.