index.html Title name

Capture.PNG


Hey, so basically when I open my game the file name at the top like above comes out as "index.html", I tried to rename it in the "www" folder but it just causes the game to stop working. How do I rename this to the name of my game?

Also, If it's possible to change that picture it would be helpful as well. Thanks!
Are you on a test play or have you deployed it? Which platform did you deploy to?
Are you on a test play or have you deployed it? Which platform did you deploy to?

I tried to change it on a already deployed version, it's on Windows.
In general, when you call a website to load, by default the server sends (returns) one file.
Either index.html or index.php. So it is a naming issue.
In other words, index is the first file to run. When you rename index.html you create an absence of it, thus you break the executable that calls it. Remember, RPG Maker MV is written in javascript and deploys an html5 app. PC version just calls that app. If you rename what is meant to be called (coded in the exe file) it returns an error.
Workaround: Make an html file that calls index and name it whatever you like maybe. Or try to see if you like what will be packaged on the build.
Or, you can do what I did on my website. Embed the index file into another page and run it through there. The game window was surrounded by my own personal website and didn't display "index.html" in the address bar. Just need some HTML/CSS knowledge to get it done.
I think the question is why renaming it breaks it. I am not sure @4thBlade tried anything more exotic. 🙂
Okay, if you are worried about the title, then you change the name in the index.html file. When you edit it, find:

<title>WHATEVER IS HERE</title>

Replace everything between the tags, or if there's nothing, with whatever name you want. If you are worried about it linking to "index.html" in the address bar, well, that requires having a server to put it on and simply placing it in a folder of your choice. After that, people can visit:

http://nameofsite.ext/foldername/

Then the index.html name won't appear because it's calling the base index page by default.

As for the icon, that's done in the index.html file again. Upon editing, find:

<link rel="icon" href="icon/icon.png" type="image/png">

Change the icon.png to something else or simply change the icon image in the icon folder to something else, assuming you keep the icon.png filename. If you don't, then you still have to edit the index.html file regardless.
you maybe do a mistake you can change easily the node.js executable from your build
if you need change the name of the html , just change it in the manifest json.
upload_2018-4-27_18-57-31.png



If you also need new icon, use resourcehacker for hack the hexa for the icon app on window
http://www.angusj.com/resourcehacker/
Okay, if you are worried about the title, then you change the name in the index.html file. When you edit it, find:

<title>WHATEVER IS HERE</title>

Replace everything between the tags, or if there's nothing, with whatever name you want. If you are worried about it linking to "index.html" in the address bar, well, that requires having a server to put it on and simply placing it in a folder of your choice. After that, people can visit:

http://nameofsite.ext/foldername/

Then the index.html name won't appear because it's calling the base index page by default.

As for the icon, that's done in the index.html file again. Upon editing, find:

<link rel="icon" href="icon/icon.png" type="image/png">

Change the icon.png to something else or simply change the icon image in the icon folder to something else, assuming you keep the icon.png filename. If you don't, then you still have to edit the index.html file regardless.


Okay, so I changed the icon of the image by going to the icon folder and just changing that picture out with something else, so that's good. But I'm still having trouble figuring out how to change the game now shown at the top to the name of my game instead of "index.html" the problem is just my lack of knowledge on HTML and how to change it, so I'm trying to figure out what you're saying but it's just a little difficult since I'm pretty new to it.

You said to edit it, but by right clicking on it there's no "edit" so I just go into properties and I don't think that's what I'm supposed to do. But yeah, referring to my first post's picture all I wanted to do was change that green box icon (which is done) and change the name of that index.html to the name of my game, that's all.
you maybe do a mistake you can change easily the node.js executable from your build
if you need change the name of the html , just change it in the manifest json.
View attachment 88706


If you also need new icon, use resourcehacker for hack the hexa for the icon app on window
http://www.angusj.com/resourcehacker/

I was able to get to that by opening the package.json but if I go to the "main" and change the name of the file from index.html to the name of my game, the same problem happens as if I were to go into the www folder and rename the index.html file.

Original thread: https://forums.rpgmakerweb.com/threads/index-html-title-name.94611/