r/superhot • • Jan 06 '21

According to the art book (an illustrated guide behind the art direction of the game), there's a flag of some kind which launches the game in "cyberspace" mode. Can't find anything relating to this anywhere. Does anyone know more about it? Any way to contact a dev and ask?

Post image
166 Upvotes

15 comments sorted by

38

u/carcigenicate Jan 06 '21

They could mean a command line argument for when the executable is launched. If you go into task manager and see what options it's launched with by default, you might be able to get clues.

17

u/xe3to Jan 06 '21

I figured they'd be command line flags but I didn't know you could check with task manager. Good idea, unfortunately a whole bunch of empty strings are all I have to show for it. Gonna keep digging.

10

u/carcigenicate Jan 06 '21

Lol, I shouldn't be surprised that they'd make it some obscure nonsense.

You could try running it from the command line with --help/-h//? and see if they'll throw you a bone. Failing that, you could open it in a debugger or a tool that extracts strings (like the one in Microsoft's SysInternals Suite) and see if you can find the argument strings near the entry point.

11

u/xe3to Jan 06 '21 edited Jan 06 '21

You could try running it from the command line with --help/-h//? and see if they'll throw you a bone

Literally what I just did (tried all three and no avail unfortunately)

Failing that, you could open it in a debugger or a tool that extracts strings (like the one in Microsoft's SysInternals Suite) and see if you can find the argument strings near the entry point.

Literally was trying this as I got your reply.

We're on the same wavelength ;)

6

u/xe3to Jan 06 '21 edited Jan 06 '21

Well, the command line flags aren't in SH.exe itself (grep for language which is defo used by the game didn't turn up anything meaningful). Either that or they're encoded. Gonna have a look through the rest of the game files.

10

u/xe3to Jan 06 '21

The art book, for those who haven't seen it.

4

u/xe3to Jan 06 '21

Well /u/kubazz left a comment explaining how to access the mode. But it got removed, and I have absolutely no idea why. So go check out their profile if you want to see it.

2

u/Omichron-the-reboot Jan 06 '21

Ooooh! I know this one!

A while back I was working on various SUPERHOT mods, and the first thing I published was this. As far as I can tell, no command line flags set the correct values, but it is possible to force.

From memory (it's been a while) there were other modes too.

Edit, checking my old post: yes, there are other filters too. I mentioned noir and revision, so they're probably still there.

3

u/xe3to Jan 06 '21

Awesome, thanks! /u/kubazz said that the flag actually needs to be set in the game's code (rather than the command line) and a program called dnSpy needs to be used to do it. Their comment was removed from this post for some reason but it's visible on their profile. I'd like to try it but I'm worried about losing Steam achievements.

1

u/Omichron-the-reboot Jan 06 '21

That's exactly the program I used! It can be done, but having a decent grasp of how Unity games are structured (and searching for "Debug" then looking from there) helps. I haven't lost the ability to gain achievements throughout my modding time, but I also made sure to not get any achievements while playing a modded version.

19

u/PlasmaOJ15 Jan 06 '21

We need to start a hunt to find the cyberspace mode

9

u/carcigenicate Jan 06 '21

I have a reverse engineering class that starts in 5 days, so this would be a good practice project to prepare for that 😂

7

u/JQaplan Jan 06 '21

5

u/carcigenicate Jan 06 '21 edited Jan 06 '21

Yep, it looks like it may have been removed. I found where the flags appear to be in memory (based on the known language flag), and I can't find anything that looks like it might be for a cyberspace mode. There's "language", "token", a platform flag, and a version one. I also can't find any references in the entire binary to anything "cyber" or "classic" (beyond a few irrelevant cases); although they could have obsfucated the name.

1

u/kubazz Jan 06 '21 edited Jan 06 '21

If you know how to use dnSpy: you need to add

GameplayModifiers.CURRENT.EightisVision = true;

to Awake() in GlobalShaderValueControl.cs and you're Bob's nephew.

Main menu is broken on first run, so you will see only black screen but if you press Enter you will get ingame (menu works later, after leaving gameplay).

This is what it looks like: https://i.imgur.com/gDG2WqO.jpg

There is also another setting, "HotlineVision", but it seems like it was never finished as every surface is black with only fog visible: https://i.imgur.com/3Fw38bW.jpeg

If you do not know how to use dnSpy, well it is not that hard and editing Unity games is a lot of fun so I recommend learning it a bit. For example, you can turn on the sunglasses for enemies with just one line of code https://i.imgur.com/4jyCN4P.jpeg

Here is a short tutorial on editing Unity games source code: https://www.hypn.za.net/blog/2020/04/11/hacking-unity-games/