Jump to content

Where is the file "page_modmod.xml"? (called in file "MainMenuItems.js")


Recommended Posts

Hello!

I have a question about MainMenuItems.js, specifically this part:

{
  "caption": translate("Mod Selection"),
  "tooltip": translate("Select and download mods for the game."),
  "onPress": () => {
  	Engine.SwitchGuiPage("page_modmod.xml");
  }
},

I cannot find the file page_modmod.xml anywhere in the repo, nor in my forked/checked out files. Do I have a complete misconception, i.e. is this no file at all? If not, what is it? I had expected (and still do) that when clicking the "Mod Selection" button, a new page (window/screen) is called (named page_modmod.xml). And this must be available somewhere (I thought).

Thanks for your patience with me and for your help! :)

 

PS: Nor can I find any of the other xml files, e.g. page_locale.xml, which are called in MainMenuItems.js.

Edited by Ceres
Link to comment
Share on other sites

Oh my bad, I looked in the wrong path. :blush: Thank you!

Why is file page_modmod.xml referred to from \binaries\data\mods\public\gui\pregame\MainMenuItems.js stored in \binaries\data\mods\mod\gui\?

Besides, I wonder why I cannot find page_modmod.xml via the GitHub search:

image.thumb.png.bd46cad112112e60471564a70f2523a2.png

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...