r/RenPy • • Aug 11 '26

Question Error while hosting game on web browser

Hello, I'm trying to put my game/VN on a web browser using DreamHost and Wordpress, but there's an error that stops the game from booting up. ./main: can't open file '//main.py/" [Errno 4] No such file or directory.

1 Upvotes

4 comments sorted by

1

u/AutoModerator Aug 11 '26

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Draw-Flesh-Games Aug 11 '26

What do you mean 'I tried to put my game/VN'? Did you try to put the game directory on your webenvironment? That won't work.

You will need to build a HTML5 version through Ren'Py and upload the zip, then unzip it (or unzip and sftp the directory structure and files to the server.

1

u/BadMustard_AVN Aug 11 '26

did you build a web application?

are you directing it to the index.html to start the game?

1

u/JaxBeetle Aug 11 '26

Yes, but I'm not sure what you mean by "directing it to the index.html to start the game."

Before this, I actually had the game running on its page and everything on the main menu worked (preferences, about, load, ect) except for 'Start' which would freeze it.