Index.Html Mishap

Okay, so I know that this is a totally stupid issue, but it's annoying me.
So, I was trying to change the fullscreen mode image so it's something else instead of the black bars, using a tutorial thread I found on how to do it. Me being totally inexperienced, I messed it up, and the game broke. Stressful minutes ensued, and I was able to fix my index.html. Only issue is, now there is no window icon when you are playing the game. I checked the file and it is should show my icon image, it's in the right place.
I know this is a really stupid problem, I'm not even sure if this is the right thread.
If you need screenshots, I can post them.
depends on what you changed.

index.html has no data, you can make a new project and copy it from there.

if there are other things that were changed, we would need to know what you changed before we can help.
depends on what you changed.

index.html has no data, you can make a new project and copy it from there.

if there are other things that were changed, we would need to know what you changed before we can help.
I changed
Code:
<body style="background-color: black">
to something like
Code:
<body style="background-image: INSERT IMAGE NAME HERE">
Does your index.html have the <link rel="icon" href="icon/icon.png" type="image/png"> tag inside the <head> tag?

You could always just create a new project and copy over the index.html, but here's an unedited index.html, just in case:

HTML:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
        <meta name="viewport" content="user-scalable=no">
        <link rel="icon" href="icon/icon.png" type="image/png">
        <link rel="apple-touch-icon" href="icon/icon.png">
        <link rel="stylesheet" type="text/css" href="fonts/gamefont.css">
        <title>Test</title>
    </head>
    <body style="background-color: black">
        <script type="text/javascript" src="js/libs/pixi.js"></script>
        <script type="text/javascript" src="js/libs/pixi-tilemap.js"></script>
        <script type="text/javascript" src="js/libs/pixi-picture.js"></script>
        <script type="text/javascript" src="js/libs/fpsmeter.js"></script>
        <script type="text/javascript" src="js/libs/lz-string.js"></script>
        <script type="text/javascript" src="js/libs/iphone-inline-video.browser.js"></script>
        <script type="text/javascript" src="js/rpg_core.js"></script>
        <script type="text/javascript" src="js/rpg_managers.js"></script>
        <script type="text/javascript" src="js/rpg_objects.js"></script>
        <script type="text/javascript" src="js/rpg_scenes.js"></script>
        <script type="text/javascript" src="js/rpg_sprites.js"></script>
        <script type="text/javascript" src="js/rpg_windows.js"></script>
        <script type="text/javascript" src="js/plugins.js"></script>
        <script type="text/javascript" src="js/main.js"></script>
    </body>
</html>

You might want to edit the content of the <title> tag to match your game's title, though.


EDIT:
If all you did was edit the body style, that shouldn't have affected the window icon.

If you're still looking into setting a background-image, the image path should be wrapped into a url(), like this:
<body style="background-image: url('img/system/background.png')">
Does your index.html have the <link rel="icon" href="icon/icon.png" type="image/png"> tag inside the <head> tag?

You could always just create a new project and copy over the index.html, but here's an unedited index.html, just in case:

HTML:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
        <meta name="viewport" content="user-scalable=no">
        <link rel="icon" href="icon/icon.png" type="image/png">
        <link rel="apple-touch-icon" href="icon/icon.png">
        <link rel="stylesheet" type="text/css" href="fonts/gamefont.css">
        <title>Test</title>
    </head>
    <body style="background-color: black">
        <script type="text/javascript" src="js/libs/pixi.js"></script>
        <script type="text/javascript" src="js/libs/pixi-tilemap.js"></script>
        <script type="text/javascript" src="js/libs/pixi-picture.js"></script>
        <script type="text/javascript" src="js/libs/fpsmeter.js"></script>
        <script type="text/javascript" src="js/libs/lz-string.js"></script>
        <script type="text/javascript" src="js/libs/iphone-inline-video.browser.js"></script>
        <script type="text/javascript" src="js/rpg_core.js"></script>
        <script type="text/javascript" src="js/rpg_managers.js"></script>
        <script type="text/javascript" src="js/rpg_objects.js"></script>
        <script type="text/javascript" src="js/rpg_scenes.js"></script>
        <script type="text/javascript" src="js/rpg_sprites.js"></script>
        <script type="text/javascript" src="js/rpg_windows.js"></script>
        <script type="text/javascript" src="js/plugins.js"></script>
        <script type="text/javascript" src="js/main.js"></script>
    </body>
</html>

You might want to edit the content of the <title> tag to match your game's title, though.
It does have that, I've checked it like a trillion times to make sure that I didn't mess it up.
It does have that, I've checked it like a trillion times to make sure that I didn't mess it up.

What about the package.json file?

JSON:
{
    "name": "",
    "main": "index.html",
    "js-flags": "--expose-gc",
    "window": {
        "title": "",
        "toolbar": false,
        "width": 816,
        "height": 624,
        "icon": "icon/icon.png"
    }
}
What about the package.json file?

JSON:
{
    "name": "",
    "main": "index.html",
    "js-flags": "--expose-gc",
    "window": {
        "title": "",
        "toolbar": false,
        "width": 816,
        "height": 624,
        "icon": "icon/icon.png"
    }
}

(Note that the "title" attribute should be the title of your game, like "title": "My awesome game")
I checked the package.json, only issue was that there was nothing in the title, fixed it, however, now the correct icon shows up for a split second and then dissapears when I test run the game.
using a tutorial thread I found on how to do it
perhaps you should link that tutorial, then we can check what files you might have changed from its content instead of guessing randomly.
perhaps you should link that tutorial, then we can check what files you might have changed from its content instead of guessing randomly.
Here it is.
Boosting this so I hopefully get more help

@devisous, please do not bump your topic unless it has been 24 hours later since your last post. You can review our forum rules here. Thank you.

There are people from many time zones here helping in their free time, try to be patient~

Thoughts:
  1. A screenshot might help. For example, where is the icon not appearing? In the game window's title bar? In the system task bar? Both?

  2. Are you using a different "icon" image than the default one? If so, try replacing it with the default one from a new project. If that helps, that suggests it's a problem with your icon image.

  3. If you open your project folder (Game -> Open Folder from the editor's menu bar) do you see a www folder?
    • No: good, it shouldn't be there!
    • Yes: you've deployed into your project folder, don't do that. Check step 6 below.

  4. Your responses could be clearer. For example, you have been advised multiple times to replace the index.html of your project with one from a new project. Have you actually tried that?

    You can also try deleting your project's package.json file: the editor should automatically reinstate the default one when you launch a playtest.

  5. Was index.html the only file you edited? Did you edit any files outside of your project folder? If necessary, you can reinstall RPG Maker MV to restore files in the install folder to their original state.

  6. Have you tried simply making a new project and copying over your project's resources to that new project? Plugin Manager settings are in plugins.js, database/maps are in the data folder, and images/audio/movies/plugins are in their respective folders.
[bump]@devisous[/bump] There are people from many time zones here helping in their free time, try to be patient~

Thoughts:
  1. A screenshot might help. For example, where is the icon not appearing? In the game window's title bar? In the system task bar? Both?

  2. Are you using a different "icon" image than the default one? If so, try replacing it with the default one from a new project. If that helps, that suggests it's a problem with your icon image.

  3. If you open your project folder (Game -> Open Folder from the editor's menu bar) do you see a wwwfolder?
    • No: good, it shouldn't be there!
    • Yes: you've deployed into your project folder, don't do that. Check step 6 below.

  4. Your responses could be clearer. For example, you have been advised multiple times to replace the index.html of your project with one from a new project. Have you actually tried that?

    You can also try deleting your project's package.json file: the editor should automatically reinstate the default one when you launch a playtest.

  5. Was index.html the only file you edited? Did you edit any files outside of your project folder? If necessary, you can reinstall RPG Maker MV to restore files in the install folder to their original state.

  6. Have you tried simply making a new project and copying over your project's resources to that new project? Plugin Manager settings are in plugins.js, database/maps are in the data folder, and images/audio/movies/plugins are in their respective folders.
1. The icon is not appearing in the title bar. This is what it looks like.
Spoiler: Screenshot
1656002347751.png

2. I am using the default icon image.

3. I am using the non-deployed version.

4. I have replaced the index.html and it didn't fix the issue.

5. The index.html was the only file I have edited, although I have not tried reinstalling MV.

6. Not yet.

Original thread: https://forums.rpgmakerweb.com/threads/index-html-mishap.148736/