Changing the Game File Name

Hey everyone! Really sorry if this is a newbie question! I've been trying to figure this out for a while now.

So after deploying the game, I click on the game file to play. At the top of the window there is a file name.

I want to change that file name, but can't figure out how! I changed it from index.html in the www folder, but when I run the game it shows the changed filename for a few seconds before reverting to the old filename. This is all done on the exported game.

Can someone please guide me on where to go to change the filename permanently?
Open in some text editor file package.json and there you can edit it.
https://prnt.sc/pqz9lg
Hmmm... I changed the name in the package.json, but when I start up the game file, it shows the new name for a few seconds and then reverts to the old name when the title screen appears.... Its reading the old name from somewhere else it seems but I can't figure out where from!
Well, if I have understood correctly you're trying to edit the "caption" that is set on the Game Window.
Actually, the caption should be nothing more the "Game Title" you set in the "system" tab of your project database.

I'm saying this, due inside the Rpg Maker library, you will find this method:

Code:
Scene_Boot.prototype.updateDocumentTitle = function() {
    document.title = $dataSystem.gameTitle;
};

Each time the game is booted the "document.title" is updated with the "$dataSystem.gameTitle" that is actually this:

upload_2019-11-1_9-17-33.png


So, I think you have two choices:

1. Try to edit the Game Title in the system database - and if you can try to edit the package.json to be sure, too -.

2. Edit the "updateDocumentTitle" method to force the title you want:

Code:
Scene_Boot.prototype.updateDocumentTitle = function() {
    document.title = "My Cool Name";
};
@Gamefall Team Ah! Yes, that worked! Thank you so much! I can't believed I missed seeing it in the System Tab!

Original thread: https://forums.rpgmakerweb.com/threads/changing-the-game-file-name.114772/