Hacknet

Hacknet

View Stats:
Hacknet > General Discussions > Topic Details
Orann  [developer] Aug 13, 2015 @ 8:44am
Known Issues (with crash on startup workaround)
This thread is out of date!
Use the new thread here:
http://steamcommunity.com/app/365450/discussions/0/451850849198782888/
The following is just here for archival purposes.

Some users have recently reported crashes on startup. These are due to some graphics cards losing track of loaded resources when their virtual device is reset (first startup, tabbing in and out, changing resolution, etc).

While I work on a proper fix for these, here are a few workarounds that might help:

Startup Crash Workarounds

1: Add in a settings file so the resolution wont change on first startup :

Download this settings file

http://s000.tinyupload.com/?file_id=62986558349021612047

And paste the file in this folder:

C:\Program Files (x86)\Steam\steamapps\common\Hacknet

Overwriting any existing file.

The first 2 numbers in that file define the resolution - change them to whatever you want. true or false underneath that says if the game should run fullscreen or not. If in doubt, it's more stable when *not* in fullscreen.

Try the game after doing this - it should fix issues for most people.

2: Run in compatibility mode.

Find the Hacknet executable in the following folder:

C:\Program Files (x86)\Steam\steamapps\common\Hacknet\Hacknet.exe

Right click it, select properties. Go the the "Compatibility" tab and check "Run in 640x480 Resolution".

Check "Run this program as an Administrator"

Start Hacknet and change your resolution up again via options menu.

---------------------------------------------

Startup Crash Alt Fixes

Navigate to this file:

\SteamLibrary\SteamApps\common\Hacknet\_CommonRedist\XNA\4.0\xnafx40_redist.msi

and run it. The repair option should do the trick.

Apparently steam had errors installing one of the pre-reqs of the game for some people. If your copy is failing to start at all, try this!

---------------------------------------------

Thanks for all the bug reports - i'll be working as much as I can to iron them all out as soon as possible!

Thanks,
-Matt
Hacknet Developer
Last edited by Orann; Mar 8, 2016 @ 7:52pm
< >
Showing 1-15 of 176 comments
S531 Aug 13, 2015 @ 8:59am 
I loaded the game, and started the tutorial (Although I've played the "demo"), but when I get to the "exe PortHack"-part, I type in the command, but then it only lists the different executables I can use, it won't let me use the exact executable I wanted
Orann  [developer] Aug 13, 2015 @ 9:00am 
Originally posted by Tovvi:
I loaded the game, and started the tutorial (Although I've played the "demo"), but when I get to the "exe PortHack"-part, I type in the command, but then it only lists the different executables I can use, it won't let me use the exact executable I wanted

Unlike the 2012 version, programs in Hacknet don't require you to type "exe" infront of them to run. Just "Porthack" is fine.
Iota'97 Aug 13, 2015 @ 9:20am 
I got crash everytime i try to loggin a previous saved game, now fist at all i want to inform that im not running this game under Windows but under Kubuntu and using Wine so that might be the problem still here the crash log found in steam folder, let me know if there is a workaround or fix, btw game is great.


System.Xml.XmlException

Content cannot be converted to the type Float. Line 8, position 11.

Source : System.Xml

at System.Xml.XmlReader.ReadContentAsFloat()
at Hacknet.Computer.load(XmlReader reader, OS os)
at Hacknet.NetworkMap.load(XmlReader reader)
at Hacknet.OS.loadSaveFile()
at Hacknet.OS.LoadContent()
at Hacknet.ScreenManager.AddScreen(GameScreen screen, Nullable`1 controllingPlayer)
at Hacknet.MainMenu.<HookUpCreationEvents>b__2(String userFile, String username)
at Hacknet.UIUtils.SavefileLoginScreen.Draw(SpriteBatch sb, Rectangle dest)
at Hacknet.MainMenu.Draw(GameTime gameTime)
at Hacknet.ScreenManager.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Draw(GameTime gameTime)
at Hacknet.Game1.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at
System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.I
MsoComponent.FDoIdle(Int32 grfidlef)

at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMetho
ds.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32
pvLoopData)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Hacknet.Program.Main(String[] args)System.Xml.XmlException: Content cannot be converted
to the type Float. Line 8, position 11. ---> System.FormatException: Input string was not in a
correct format.

at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)

at System.Xml.XmlConvert.ToSingle(String s)
at System.Xml.XmlReader.ReadContentAsFloat()
--- End of inner exception stack trace ---
at System.Xml.XmlReader.ReadContentAsFloat()
at Hacknet.Computer.load(XmlReader reader, OS os)
at Hacknet.NetworkMap.load(XmlReader reader)
at Hacknet.OS.loadSaveFile()
at Hacknet.OS.LoadContent()
at Hacknet.ScreenManager.AddScreen(GameScreen screen, Nullable`1 controllingPlayer)
at Hacknet.MainMenu.<HookUpCreationEvents>b__2(String userFile, String username)
at Hacknet.UIUtils.SavefileLoginScreen.Draw(SpriteBatch sb, Rectangle dest)
at Hacknet.MainMenu.Draw(GameTime gameTime)
at Hacknet.ScreenManager.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Draw(GameTime gameTime)
at Hacknet.Game1.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at
System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.I
MsoComponent.FDoIdle(Int32 grfidlef)

at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMetho
ds.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32
pvLoopData)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Hacknet.Program.Main(String[] args)

Inner : ---------------

System.FormatException

Input string was not in a correct format.

Source : mscorlib

at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)


at System.Xml.XmlConvert.ToSingle(String s)
at System.Xml.XmlReader.ReadContentAsFloat()System.FormatException: Input string was not

in a correct format.

at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)


at System.Xml.XmlConvert.ToSingle(String s)
at System.Xml.XmlReader.ReadContentAsFloat()

<Flags></Flags>


Timer : 0mins
Display cache :
String Cache :
Vis Aug 13, 2015 @ 11:44am 
I switched to windowed mode, and now I can't play the game at all due to it launching out of my computer window..
Stone Aug 13, 2015 @ 12:21pm 
Originally posted by Demon Bean:
I switched to windowed mode, and now I can't play the game at all due to it launching out of my computer window..

i got a similar issue, i use windowed mode too but if i want to "tap-out" to my desktop the game crashes -.-
Bezo Aug 13, 2015 @ 12:51pm 
For some reason the terminal window is miising and when i try load again it load only the terminal window only.
freaky-m0 Aug 13, 2015 @ 1:16pm 
I just bought this game and the only thing i get is a black screen... i tried your steps to fix it: nothing works. I use windows 10.. :( byebye money for a black screen -.-
Vis Aug 13, 2015 @ 1:22pm 
Originally posted by STONE -Kakarott-:
Originally posted by Demon Bean:
I switched to windowed mode, and now I can't play the game at all due to it launching out of my computer window..

i got a similar issue, i use windowed mode too but if i want to "tap-out" to my desktop the game crashes -.-

I fixed the game by changing the "false" in it's settings file, to "true".

I hacked the hacking game, ye
Cannonball Aug 13, 2015 @ 1:51pm 
I'm also getting a crash everytime I try to load a save. A problem!
Vexxar Al'Hara Aug 13, 2015 @ 2:49pm 
I'm getting a crash everytime I try to load a save too. Please, fix that. I really wanna play the game, but I can't continue with my progress this way.
Hellbert Aug 13, 2015 @ 4:12pm 
In my case the game does not crash at all, but its performance is about 1 or 0.5 fps :( It's not even playable in any way and there's no music nor sound playing. I'm using Windows 10, with 16Gb of RAM and a Geforce GTX 770...
Last edited by Hellbert; Aug 13, 2015 @ 4:13pm
Shane Aug 13, 2015 @ 4:50pm 
Game fails to start up. I tried your suggested workarounds with no luck. I tried various resolutions, fullscreen on/off with no luck. I run Windows 7, 8GB RAM, GTX 760. Thank you for posting a workaround even though it had no effect for me. I look forward to playing your game soon!
Last edited by Shane; Aug 13, 2015 @ 5:37pm
Puck Norris Aug 13, 2015 @ 6:00pm 
My game crashes when loading my savegame. No Restart or anything in between. This is a little frustrating because i have progressed FAR in the game. Any way to fix this?
Technoid Aug 13, 2015 @ 6:07pm 
I'm getting an error whenever I start the game "No suitable graphics card found." It also says "could not find a direct3D device that supports the XNA framework HiDef profile." I'm using Windows XP, ATI Radeon x600. 1 GB RAM. Now I know my computer's old, if it just doesn't work that's fine. But I find it ridiculous that I can play a game with cutting-edge graphics at highest quality, and this "terminal simulator" won't even open!
Mr. Peanutbutter Aug 13, 2015 @ 6:15pm 
I can't seem to be able to enter a username that isnt a space or math symbols. I can type one leter then it won't let me type anything else but spaces. Once I backspace that letter, I can't re-type it. So I guess I can't even start the game.
< >
Showing 1-15 of 176 comments
Per page: 15 30 50

Hacknet > General Discussions > Topic Details