Please assist me in getting the console to work :)

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
GrimrockFan
Posts: 8
Joined: Sun Jan 08, 2017 11:47 pm

Re: Please assist me in getting the console to work :)

Post by GrimrockFan »

Thanks Minmay,

Boy, Mac does not make this easy. After further effort, I was able to unhide the folders and get to the Legend of Grimrock folder and open the CFG file with sublime text. I changed console from false to true (the console key was already at 220. So I originally changed console = false to console = true, saved the file, launched grimrock, press \ and nothing. Press / and nothing, press ~ and nothing. So I figured the window sizes were bad, so I adjusted the file further, and still nothing:

console = true
consoleKey = 220
windowPosX = 10
windowPosY = 10
editorWindowPosX = 10
editorWindowPosY = 10
editorWindowWidth = 80
editorWindowHeight = 42

I am at a loss as to why this is not working yet. Sorry I am such a pain. Thank you all for your efforts!
User avatar
Isaac
Posts: 3172
Joined: Fri Mar 02, 2012 10:02 pm

Re: Please assist me in getting the console to work :)

Post by Isaac »

I don't have the Mac version (or a recent Mac), but perhaps try the value 192 instead of 220
Use the tilde key for the console; it's above TAB, left of the 1 key, and looks like this: ~

*Otherwise, perhaps this can be of help: http://web.archive.org/web/201005011614 ... yboard.php
User avatar
Dr.Disaster
Posts: 2874
Joined: Wed Aug 15, 2012 11:48 am

Re: Please assist me in getting the console to work :)

Post by Dr.Disaster »

Use this little tool to identify your desired key value: https://www.cambiaresearch.com/articles ... -key-codes
GrimrockFan
Posts: 8
Joined: Sun Jan 08, 2017 11:47 pm

Re: Please assist me in getting the console to work :)

Post by GrimrockFan »

Thanks guys, I'll give this a shot tonight!
GrimrockFan
Posts: 8
Joined: Sun Jan 08, 2017 11:47 pm

Re: Please assist me in getting the console to work :)

Post by GrimrockFan »

Well I have tried several times. I completely uninstall LOG (with app cleaner), manually remove the Almost Human folder, run CCleaner and then I reinstall with my .dmg file, launch the game (and tell the mac to trust it) and once it's loaded I quit the game. I go to the /users/john/library'application support/Almost Human/Legend of Grimrock folder and I see a fresh grimrock.cfg file.
I open the file with sublimetext and edit it. When I am done, this is what it looks like:

-- options
resolution = "1280 x 800"
displayMode = 1
verticalSync = 2
renderingQuality = 1
textureResolution = 2
textureFilter = 3
shadowQuality = 3
ssaoQuality = 3
muteMusic = false
muteSounds = false
musicVolume = 0.8
soundVolume = 0.8
arrowIcons = false
disableDamageTexts = false
hideItemProperties = false
mouseLook = true
invertX = false
invertY = false
autoSave = true
tabletMode = false
cameraBobbing = true
tooltipDelay = 0
maxFrameRate = 120
debugInfo = false
console = true
consoleKey = 192

windowPosX = nil
windowPosY = nil
editorWindowPosX = nil
editorWindowPosY = nil
editorWindowWidth = nil
editorWindowHeight = nil

-- key bindings
move_forward = 87
move_backward = 83
strafe_left = 65
strafe_right = 68
turn_left = 81
turn_right = 69
rest = 82
map = 9
character_sheet_1 = 49
character_sheet_2 = 50
character_sheet_3 = 51
character_sheet_4 = 52
quick_save = 116
quick_load = 119

-- editor key bindings
select_tool = 49
add_object_tool = 50
draw_walls_tool = 51
nudge_up = 87
nudge_down = 83
nudge_left = 65
nudge_right = 68
rotate_left = 81
rotate_right = 69
delete = 46
set_starting_location = 89
prev_level = 33
next_level = 34
start_preview = 116
stop_preview = 4212
toggle_fullscreen = 8262
toggle_collisions = 112
open_door = 90
kill_monster = 75
heal_party = 72

I save it and launch the game again. I press ~ (tilde) and nothing happens. I try \ and / as well for the heck of it. Nothing happens. Does anyone have any clue what could be wrong? Sorry I am such a pain!
User avatar
Dr.Disaster
Posts: 2874
Joined: Wed Aug 15, 2012 11:48 am

Re: Please assist me in getting the console to work :)

Post by Dr.Disaster »

On Mac the consoleKey value 192 might not be ~
On PC key value 192 is ` (grave accent)

Goto https://www.cambiaresearch.com/articles ... -key-codes and see which value is returned when you type ~ into the "Try it" text box.

btw: you are running LoG v1.3.7, right?
GrimrockFan
Posts: 8
Joined: Sun Jan 08, 2017 11:47 pm

Re: Please assist me in getting the console to work :)

Post by GrimrockFan »

Try it says 192. Yep, 1.3.7...
User avatar
Dr.Disaster
Posts: 2874
Joined: Wed Aug 15, 2012 11:48 am

Re: Please assist me in getting the console to work :)

Post by Dr.Disaster »

Well .. my MacPro says for him 192 is ´ and not ~

Can you try a different key value from the given list like 119 for F8 key (that's what i use)?
GrimrockFan
Posts: 8
Joined: Sun Jan 08, 2017 11:47 pm

Re: Please assist me in getting the console to work :)

Post by GrimrockFan »

Hi Dr. -I tried 119 and nothing. It just occurred to me. Could this be an encoding issue? Should this file be saved as straight text, or something else?
User avatar
Zo Kath Ra
Posts: 931
Joined: Sat Apr 21, 2012 9:57 am
Location: Germany

Re: Please assist me in getting the console to work :)

Post by Zo Kath Ra »

GrimrockFan wrote:Hi Dr. -I tried 119 and nothing. It just occurred to me. Could this be an encoding issue? Should this file be saved as straight text, or something else?
Here's an idea:
1) In the Grimrock Options menu, set the "Map" key to whatever key you want to use for the console
Then close Grimrock
2) Open grimrock.cfg and copy the number from
map = ???
to
consoleKey = ???
3) In the Grimrock Options menu, set the "Map" key back to what it was before step 1
Post Reply