HTML Ren'Py Need help Renpy web distribution

AG.

@ráy Gámës
Game Developer
Apr 20, 2020
47
323
Hello everyone , myself AG, I need to know some details about Renpy web distribution conversion method, coming to point I distributed my game into web version I almost compress all images files into webp (with lossy ) Renpy web make all files into -dist and through Renpy opened -dist-web file in browser, okay here the game was opening and playing softly and then the distributed game file moved to desktop and the in that folder I just clicked index.html file opened in chrome but I can see only downloading loading screen only game was not opening, if you tell what mistake I was doing....in Renpy web version. Thank you for reading this message and spending time on it
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,979
16,236
There are many web servers available for free.
There's no need for that. Until Ren'py 7.3.5 included (the library structure have changed with the 7.4.0) you've a HTTP server really easily available.

On Windows, go on the main folder of the SDK, and create a ".bat" file ( "http.bat" by example), put this inside :
Code:
@echo off
set "currentdir=%~dp0%"
set "pythondir=%currentdir%lib\windows-i686\"
set "PYTHONPATH=%pythondir%Lib"

"%pythondir%python.exe" -m SimpleHTTPServer
Save then from the console (cmd.exe) just type http and validate.
[Note:It also works from the main folder of a distribution]

It's done, you've a HTTP server that offer you access to the whole structure starting this folder, and that you can address from your browser through localhost:8000.

I don't know if it can handle the WEB distribution, but it worth a try before starting to install an effective HTTP server, that one will perhaps don't know how to configure, offering to anyone a wide access to his whole hard drive.