I've made this guide for the game jams I'm hosting, but figured I might as well post it here too. Hopefully someone will find this useful.
Keep in mind, itch.io only allows you to upload browser games with 1000 files or less, so make sure to remove any unused files beforehand.
Anyway, here's the guide on how to upload a browser version of your RPG Maker MZ/MV game on itch.io:
1) When you are deploying the game, choose the Web Browsers platform.
2) Locate your deployed game folder and once you have everything you need inside it, compress the folder into a .zip format (by default on Windows, you can right-click the folder, select Send to and choose Compressed (zipped) folder).
3) Create a Project page on itch.io or edit an existing one. Under
Kind of Project, choose HTML (you will still be able to add downloadable versions for other platforms like Windows, so don't worry).
4) Upload the zipped folder of your deployed game to your Project page on itch.io.
5) Mark "This file will be played in a browser" for the uploaded .zip game folder.
6) Scroll down to "Embed options", under "Viewport dimension", enter the resolution of your game. The default resolution for both RPG Maker MV and MZ games is
Width: 816 and
Height: 624
7) Under Frame Options, mark whatever options you think will be useful for your game.
8) Save the changes, then go to your project page. Click Run Game. This will configure the Browser version of the game for the first time and make it playable. After some time, the game should load and from now on, it should be playable in browser.
本贴来自国际rpgmaker官方论坛作者:Beregon处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/how-to-upload-a-browser-version-of-your-game-on-itch-io-for-mz-mv.167643/