Jump to content

Recommended Posts

Posted

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.

 

coh_menus.png.274de79121197de78d9f822e7056ea65.png

 

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
Posted (edited)

In Tequila, click Options, then paste "-console" in the Launch Parameters.

 

image.png.1e6df5731dcaad1dec03307ba162fcbe.png

 

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.

image.png.7df1a5b2c0be7ecee3423c19b2538983.png

Edited by GM Tahquitz
  • Thanks 1

 

 

Posted

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...

Posted
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.

Posted

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.

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...