Hypnospace Outlaw

Hypnospace Outlaw

31 ratings
Enable Hypii on Linux (Ubuntu/Linux Mint)
By Alyxx the Rat
A guide to getting Hypii speaking on Ubuntu and Linux Mint
   
Award
Favorite
Favorited
Unfavorite
Requirements
Thanks to Tom.K on the Hypnospace Discord for creating the original guide and discovering this to begin with!

This guide is for Ubuntu and Linux Mint and other Debian based distros.

To get Hypii working on the Linux version of Hypnospace Outlaw, you'll need to install Speech Dispatcher. If you're on Ubuntu or Linux Mint then it's most likely already installed, but on some distros you will need to add it manually.

Open a terminal and do the following commands:
sudo apt install speech-dispatcher
sudo apt install speech-dispatcher-espeak-ng
speech-dispatcher


It should tell you that Speech Dispatcher is running.

To test if it's working, type the following:
spd-say "Your text here"

To get Speech Dispatcher working with Hypnospace Outlaw, simply open Properties and go to General->Launch options.
Add "--enable-speech-dispatcher" without the quotes in the field.

By default, Hypii's voice is disabled on Linux, so you will need to install some mods to get it working.
Enabling Hypii voice [Manual way]
If you're comfortable doing a little coding, you can do the mod yourself the following way. If you'd rather download the fully modded files instead, you may skip this section.

Go to "/Steam/steamapps/common/Hypnospace Outlaw". Make a backup copy of "package.nw", then open it with an archive manager. Extract data.js and open it in a text editor. Be mindful that most text editors might crash due to the size of the file, and some may add formatting that can screw up the file and make the game unable to start. I recommend opening a terminal and using "nano data.js" to edit the file, though beware the program will be slow to respond to input.

Search for "HypiiRobot". The first result should be this:
...[3,154,null,623024275741261,false,[[1,[2,"HypiiRobot"]],[7,[0,1]]]],[80,187,null,854277302118531,false,[[10,6],[3,1]]],[81,187,null,176678765389064,false,[[10,6],[3,1]]]...

Replace "HypiiRobot" with "HypiiRobotHack"*. Then change [3.1] to [3.0] after "854277302118531", and the same after "176678765389064".

Search again for "HypiiRobot" and on the second result, it should be:
...[3,154,null,694855591259663,false,[[1,[2,"HypiiRobot"]],[7,[0,1]]]]...
Again, replace "HypiiRobot" with "HypiiRobotHack"*.

* You can use anything you want here since it's just a matter of changing the original command.

Save the file and add it back to "package.nw", replacing the original file in the archive.

If you launch the game you will be able to disable Hypii's robot voice and have it talking, though you may notice the pronunciation is wrong, so we will have to set the language in a custom file.

Go to "/usr/share/speech-dispatcher/conf/clients", open the folder as root and make a new file entitled "hypnos.conf". Add the following text:
BeginClient "*:HypnOS:*"
DefaultLanguage "en"
EndClient


Also go to "/usr/share/speech-dispatcher/conf" and open "speechd.conf".
Search for "DefaultLanguage" and remove the # before it, then set it to:
DefaultLanguage "en"
Search for "DefaultModule" and remove the # before it and set it to:
DefaultModule espeak

Save the file and restart your PC. Hypii should now be working correctly.
Enabling Hypii voice [Easy way]
Go to "Steam/steamapps/common/Hypnospace Outlaw" and make a backup of "package.nw".

Download the modded package.nw file here[www.dropbox.com] and put it in the folder.

Now you can disable the Hypii Robot Voice in Hypnospace Outlaw and get Hypii talking, however you may notice the speech is a little off and pronounciations are wrong.

To fix this, go to "/usr/share/speech-dispatcher/conf/clients" and open the folder as root. Add this file[www.dropbox.com] after downloading it.

Then add this file[www.dropbox.com] to "/usr/share/speech-dispatcher/conf".

This should fix the problems. If it doesn't, try adding it to "/etc/speech-dispatcher/clients" as well, though this shouldn't be necessary.

Reboot your PC and Hypii should now be speaking normally. Now you can have your Hypii partner fully functional while exploring Hypnospace!
60 Comments
Alyxx the Rat  [author] Nov 16 @ 5:34pm 
I switched to Garuda Linux (Arch) a while back and now I can't get it working. I will make an update to the guide when I find a solution.
Alyxx the Rat  [author] Nov 16 @ 1:52pm 
The package.nw file has been updated with the most recent one.
DARK SOULS™ III Nov 13 @ 4:14pm 
anyone get this working on Fedora with the latest version of the game? the dropbox files are outdated and I have had no luck with the manual option:(
polocatfan Oct 2 @ 2:58am 
also made sure hypnos.conf and speechd.conf weren't in /usr/share/speech-dispatcher/conf
polocatfan Oct 2 @ 2:57am 
ok fixed it. what I did was I did the edits listed in the manual way to hypnos.conf and speechd.conf but I did them both in the /etc/speech-dispatcher folder, then I made sure these lines were in speechd.conf:
AddModule "espeak" "sd_espeak" "espeak.conf"
AddModule "espeak-ng" "sd_espeak-ng" "espeak-ng.conf"

DefaultModule espeak-ng

LanguageDefaultModule "en" "espeak-ng"
LanguageDefaultModule "en" "espeak"
polocatfan Oct 2 @ 2:48am 
@SuperCrankman nope. didn't work
polocatfan Sep 26 @ 8:53pm 
@Super recall doing that but I'll try again sometime
Alyxx the Rat  [author] Sep 23 @ 8:47am 
@Snout Flower Thank you for pointing out. I will update asap.
Snout Flower Sep 22 @ 9:08pm 
Noting that the premade package.nw in this guide is outdated and is several megs smaller than the current package.nw
SuperCrankman Sep 9 @ 7:52am 
@polocatfan did you try setting
LanguageDefaultModule "en" "espeak"
in [my user]/.config/speech-dispatcher/speechd.conf ?