Both sides previous revision Previous revision | |||
hpl2:amnesia:full_conv [2020/03/28 23:39] mudbill [Launching the mod] |
hpl2:amnesia:full_conv [2020/03/28 23:43] (current) mudbill old revision restored (2020/03/28 23:38) |
||
---|---|---|---|
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 (''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. | + | 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. |
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. | ||
Line 198: | Line 198: | ||
[[http://www.mediafire.com/download/u57k2797md1yeiy/Full_Conversion_Mod.zip|You can download it here.]] | [[http://www.mediafire.com/download/u57k2797md1yeiy/Full_Conversion_Mod.zip|You can download it here.]] | ||
- | **Happy modding!** | + | **Happy modding! ** |
~ Mudbill | ~ Mudbill | ||