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

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
 Share

×
×
  • Create New...