Zed Posted June 14, 2020 Posted June 14, 2020 Hello there. I'm not sure it's actually a bug or me doing nonsense, but i've ran out of ideas on this one. I'm trying to set up another popmenu: Menu "ntoon" { Title "Toon init setup" Option "Init" "toggle inspirations$$alttraysticky$$gototray 1$$gototrayalt 2$$gototrayalt2 3$$chatloadfile D:\coh\chat.txt$$tabselect LFG$$unhideall$$hidesearch$$bindloadfile D:\coh\extra_keybinds.txt$$bindloadfile D:\coh\ttofix_keybinds.txt$$bindloadfile D:\coh\chat_extra_keybinds.txt$$+zoomout$$camreset$$camdist 21" DIVIDER Menu "Extra keybinds" { Option "ALL" "bindloadfile D:\coh\extra_keybinds.txt$$bindloadfile D:\coh\ttofix_keybinds.txt$$bindloadfile D:\coh\chat_extra_keybinds.txt" Option "Cumulative patch" "bindloadfile D:\coh\ttofix_keybinds.txt$$bindloadfile D:\coh\chat_extra_keybinds.txt" DIVIDER Option "Custom - main group" "bindloadfile D:\coh\extra_keybinds.txt" Option "Bio armor stances" "bindloadfile D:\coh\bio_stances_keybinds.txt" Option "DP ammo swap" "bindloadfile D:\coh\dp_ammo_keybinds.txt" } Menu "Extra settings" { Option "Chat (beta)" "chatloadfile D:\coh\chat_beta.txt" } } Please note: i have others in the same directory and this is the only one that doesn't work. Also every time i change something to it i restarted the game. So i don't know, maybe i forgot a quote, a space, somewhere ? I reduced it to its simpliest form: Menu "ntoon" { Title "Toon init setup" Option "Init" "toggle inspirations" } Now i'm starting to wonder... cause this doesn't work either. I've also tried to rename it (= rename file + rename menu name) into something else, no luck. Got any clue ? Any help is welcome...
Retired Game Master GM Tock Posted June 14, 2020 Retired Game Master Posted June 14, 2020 (edited) In Tequila, click Options, then paste "-console" in the Launch Parameters. Then launch the game. Any .mnu files with errors will appear in the console log window when you load the game. It doesn't tell you how to fix it, but at least you'll know when something doesn't work with an answer other than silence. Edited June 14, 2020 by GM Tahquitz 1
Zed Posted June 14, 2020 Author Posted June 14, 2020 Oh thanks i didn't know that ^^ ERRORLOG FILEERROR: texts/English/menus/NToon.mnu File: texts/English/menus/NToon.mnu Parser: unrecognized token ntoon in texts/English/menus/NToon.mnu, line 1 Huh ? Also lots of unrecognized token "{//" in badgereporter.mnu which does work...
srmalloy Posted June 14, 2020 Posted June 14, 2020 Just out of curiosity, you do have the required blank line at the start of the 'ntoon' menu file, right? 2
Zed Posted June 15, 2020 Author Posted June 15, 2020 10 minutes ago, srmalloy said: Just out of curiosity, you do have the required blank line at the start of the 'ntoon' menu file, right? Err... no. I don't recall that was mandatory actually... Thanks much... this thing was starting to drive me nuts.
srmalloy Posted June 15, 2020 Posted June 15, 2020 It was something I noticed when I was looking through the forum thread on custom menus this morning; it seemed to be an odd requirement, and stuck in my mind for that reason. And from decades as a programmer, I have gotten used to checking the stupid mistakes first, because those are the ones I overlook most often. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now