User Tools

Site Tools


hpl2:amnesia:full_conv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
hpl2:amnesia:full_conv [2020/03/28 23:38]
mudbill [Launching the mod] Deeper explanation for the Steam protocol
hpl2:amnesia:full_conv [2020/03/28 23:39]
mudbill [Launching the mod]
Line 180: Line 180:
 </​code>​ </​code>​
  
-If you save this command as a .bat file on Windows, then run it, it will prompt Steam (if installed) to run Amnesia with the argument "​**my_mod/​config/​main_init.cfg**"​. \\ What happens here is that the start command will run the following application. If Steam is installed, the Steam protocol is also configured to reach Steam. The Steam protocol has a few options you can use, and in this case we run the command rungameid to start a game based on the Steam-ID. 57300 is the ID for Amnesia. After the two slashes we can add launch options for the game, and because this is a URI, the string must be encoded (meaning no special characters like slash or space, these instead use % 2F and % 20 respectively). \\ Additionally,​ Windows .bat files require us to use an extra '​%'​ sign before the first in order to escape the built-in functionality of it, as percent signs are used for variables in Batch. This is not required on Mac/Linux.+If you save this command as a .bat file on Windows, then run it, it will prompt Steam (if installed) to run Amnesia with the argument "​**my_mod/​config/​main_init.cfg**"​. \\ What happens here is that the ''​start''  ​command will run the following application. If Steam is installed, the Steam protocol ​(''​steam://''​) ​is also configured to reach Steam. The Steam protocol has a few options you can use, and in this case we run the command ​''​rungameid''  ​to start a game based on the Steam-ID. 57300 is the ID for Amnesia. After the two slashes we can add launch options for the game, and because this is a URI, the string must be encoded (meaning no special characters like slash or space, these instead use % 2F and % 20 respectively). \\ Additionally,​ Windows .bat files require us to use an extra '​%'​ sign before the first in order to escape the built-in functionality of it, as percent signs are used for variables in Batch. This is not required on Mac/Linux.
  
 When running this, Steam will prompt a warning which must be accepted before it will launch the mod. When running this, Steam will prompt a warning which must be accepted before it will launch the mod.
hpl2/amnesia/full_conv.txt ยท Last modified: 2020/03/28 23:43 by mudbill