Cogmind > General Discussion

UPDATED Launch Script for NEW Cog-Minder Wiki.

(1/1)

MycroftCanadaNS:
Hi.

 This is a VERY basic batch file.

 I'm a lazy gamer, and I dislike having to enter new launch command parameters in steam so I decided to write a simple batch file which will allow me to play any of the modes the game offers without me having to go into steam to do it.

If the dev decides to add in a new mode I can simply edit the batch file, and off I go.

Anyway, I won't be sharing my batch file but I will post the script so if you wish to look it over, and create your own then go for it.

 For me it does all I want it too do. It's not fancy but now I don't have to manually put the different modes into steams launch command line which is a real pain in my rear end.

=================
=================
 I have updated the script to include the latest Cogmind Wiki called Cog-Minder. Please follow the instructions below on how to update the script.
=================
=================

First make a back up of the batch file you created.

Then open it up in your favorite text editor (I suggest Notepad ++), then delete the entire contents of the batch file. Make sure there is nothing left.

 Now highlight the entire script below, copy and paste it into your batch file which you just cleared.

Save the file, and continue on as before.


--- Code: ---@echo off
MODE con:cols=100 lines=34
:start
cls
echo ==================================================
type lastgame.txt
IF EXIST ".\user\*.sav" (echo Save File: YES) ELSE (echo Save File: NO)
echo.
echo REMEMBER: If there is a save file you will not be
echo able to start a new mode without first deleting the
echo save file.
echo ==================================================
echo ==================================================
echo Choose the Number for the Mode You Wish to Play.
echo ================= GAME MODES =====================
echo (1): Play Regular Cogmind Without a Mode.
echo (2): Play Cogmind Pay to Buy Mode.
echo (3): Play Cogmind RPG Mode.
echo (4): Play Cogmind Player 2 Mode.
echo (5): Play Cogmind Halloween Mode.
echo (6): Play Cogmind Halloween Mode 2020.
echo (7): Play Cogmind Polymind Mode (2022/2023).
echo ================== COGMIND =======================
echo (a): Description of Cogmind Modes.
echo (b): Read Cogminds Game Manual.
echo (w): Visit Cogmind's Website.
echo (f): Visit Cogmind's Forum.
echo (v): Visit Cogmind's Wiki.
echo (s): Visit Cog-Minder Wiki.
echo ============= BACKUP/RESTORE/DELETE ==============
echo (x): BACKUP Your Game Save(s).
echo (c): RESTORE Your Game Save(s).
echo (z): DELETE Your Game Save(s).
echo ==================================================
echo (q): QUIT Back to Desktop.
echo ==================================================
set choice=
set /p choice=Enter Your Choice Cogmind:
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto one
if '%choice%'=='2' goto two
if '%choice%'=='3' goto three
if '%choice%'=='4' goto four
if '%choice%'=='5' goto five
if '%choice%'=='6' goto six
if '%choice%'=='7' goto seven
if '%choice%'=='q' goto end
if '%choice%'=='w' goto website
if '%choice%'=='a' goto modes
if '%choice%'=='b' goto manual
if '%choice%'=='f' goto forum
if '%choice%'=='z' goto kill
if '%choice%'=='c' goto restore
if '%choice%'=='x' goto backup
if '%choice%'=='v' goto wiki
if '%choice%'=='s' goto cogminder
ECHO "%choice%" is not valid, try again.
goto start
:one
cls
start cogmind.exe -noSpecialMode
@echo Last Game Mode You Played: "NO Special Mode"> lastgame.txt
goto end
:two
cls
start cogmind.exe -forceMode:AFD2019
@echo Last Game Mode You Played: "Pay to Buy Mode"> lastgame.txt
goto end
:three
cls
start cogmind.exe -forceMode:RPGLIKE
@echo Last Game Mode You Played: "RPG Mode"> lastgame.txt
goto end
:four
cls
start cogmind.exe -forceMode:AFD2020
@echo Last Game Mode You Played: "Player 2 Mode"> lastgame.txt
goto end
:five
cls
start cogmind.exe -forceMode:Abominations
@echo Last Game Mode You Played: "Halloween Mode"> lastgame.txt
goto end
:six
cls
start cogmind.exe -forceMode:Halloween2020
@echo Last Game Mode You Played: "Halloween2020/Forbidden Lore"> lastgame.txt
goto end
:seven
cls
start cogmind.exe -forceMode:Polymind
@echo Last Game Mode You Played: "POLYMIND"> lastgame.txt
goto end
:kill
set choice=
set /p choice=ARE YOU SURE YOU WISH TO DELETE YOUR SAVE GAME (Y/N)?
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='y' goto kill2
if '%choice%'=='n' goto start
ECHO "%choice%" is not valid, try again.
goto kill
:kill2
del .\user\*.sav
goto start
:website
start https://www.gridsagegames.com/cogmind/
goto start
:modes
start https://www.gridsagegames.com/blog/2019/05/special-game-modes-roguelike-context/
goto start
:manual
start https://steamcdn-a.akamaihd.net/steam/apps/722730/manuals/manual.pdf?t=1573682289
goto start
:forum
start https://www.gridsagegames.com/forums/index.php
goto start
:backup
mkdir .\user\backup
copy .\user\*.sav .\user\backup
goto start
:restore
copy .\user\backup\*.sav .\user\
goto start
:wiki
start https://gridsagegames.com/wiki/Main_Page
goto start
:cogminder
start https://noemica.github.io/cog-minder/about.html
goto start
:end
exit

--- End code ---

 Please let me know if there are any issue's with the script.

MycroftCanadaNS:
 I have updated the above script to match the steam version I posted.

Note: Make a backup of your original batch file just in case something gets boogered.

 Just open the batch file with your favorite editor (I suggest notepad++), delete the contents of your batch file, and copy & paste the script above, and save.

MycroftCanadaNS:
 Script has been updated to support new game mode Halloween 2020 Forbidden Lore. Please read first post.

MycroftCanadaNS:
 Hello Everyone.

 I have updated the batch script with the latest game play mode called Polymind.

 Please follow the install instructions in the original post (1st post).

 Have a Safe, and restful Christmas Everyone.

MycroftCanadaNS:
I have updated the script to include the latest Cogmind Wiki called Cog-Minder. Please follow the instructions in the first post on how to update the script.

If you have any issue's with the script please let me know.

MOST IMPORTANT: I don't own the rights to anything here. I created the batch script for myself because I'm lazy so if you wish to create your own launcher by all means do that.

I'm all for making this game better (like that is even possible since it's fantastic as is).

Note: I'm in no way affiliated with the developer in any way whatsoever so please do not be nagging him if you have an issue with the script, come, and nag me.

Navigation

[0] Message Index

Go to full version