Some people can't play my game

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Aason
Newbie
Posts: 2
Joined: Wed Apr 06, 2022 3:39 pm
Contact:

Some people can't play my game

#1 Post by Aason » Sun May 29, 2022 4:45 pm

Hi,
I'm developing a Renpy game, and I have a small community.
After the most recent update, some people started complaining that they couldn't launch the game. They double click the .exe, and nothing happens.
Everything worked fine for them before. The game works totally fine on most computers, it works perfectly on mine.
I don't know how to fix it. Don't even understand what's the problem.

(don't know if it's related, but I accidentally deleted the "persistent data" of Renpy, before making this build)

Please, help me.
Thanks.

rayminator
Miko-Class Veteran
Posts: 754
Joined: Fri Feb 09, 2018 12:05 am
Location: Canada
Contact:

Re: Some people can't play my game

#2 Post by rayminator » Sun May 29, 2022 5:16 pm

are you sure they are double clicking the game.exe instead of the game-32.exe

if they are hitting the game-32.exe and they have a 64-bit window they should be hitting the game.exe not the game-32.exe cause hitting the game-32.exe with a 64-bit window it will not run

Aason
Newbie
Posts: 2
Joined: Wed Apr 06, 2022 3:39 pm
Contact:

Re: Some people can't play my game

#3 Post by Aason » Mon May 30, 2022 7:55 am

rayminator wrote:
Sun May 29, 2022 5:16 pm
are you sure they are double clicking the game.exe instead of the game-32.exe

if they are hitting the game-32.exe and they have a 64-bit window they should be hitting the game.exe not the game-32.exe cause hitting the game-32.exe with a 64-bit window it will not run
Yeah, they were.

The problem was somewhere else.
In options.rpy,
## A short name for the game used for executables and directories in the built
## distribution. This must be ASCII-only, and must not contain spaces, colons,
## or semicolons.
I had used "alt+255" to create spaces anyway. It worked on some computer, but not all. I now removed it.
So, the problem was me lol.

Thanks for your concerns anyway, I'm sorry.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3636
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Some people can't play my game

#4 Post by Imperf3kt » Mon May 30, 2022 8:13 am

For what it is worth, deleting persistent data is something you should do before building a distribution. - ignore this advice
Last edited by Imperf3kt on Fri Jun 03, 2022 4:06 am, edited 1 time in total.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

User avatar
zmook
Veteran
Posts: 421
Joined: Wed Aug 26, 2020 6:44 pm
Contact:

Re: Some people can't play my game

#5 Post by zmook » Tue May 31, 2022 10:53 am

Imperf3kt wrote:
Mon May 30, 2022 8:13 am
For what it is worth, deleting persistent data is something you should do before building a distribution.
I have just done a test build on Ren'py 8, and the entire game/saves directory was excluded by default. So I don't think you need to worry about that, unless I'm missing something. I believe persistent data is saved in the file 'persistent' in saves/.

I was surprised that the game/cache directory *is* included. My understanding is that you don't need to distribute that (and probably shouldn't?), so I'm going to take care of that in options.rpy:

Code: Select all

    build.classify("game/cache/**", None)     
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3636
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Some people can't play my game

#6 Post by Imperf3kt » Wed Jun 01, 2022 6:11 am

zmook wrote:
Tue May 31, 2022 10:53 am
Imperf3kt wrote:
Mon May 30, 2022 8:13 am
For what it is worth, deleting persistent data is something you should do before building a distribution.
I have just done a test build on Ren'py 8, and the entire game/saves directory was excluded by default. So I don't think you need to worry about that, unless I'm missing something. I believe persistent data is saved in the file 'persistent' in saves/.

I was surprised that the game/cache directory *is* included. My understanding is that you don't need to distribute that (and probably shouldn't?), so I'm going to take care of that in options.rpy:

Code: Select all

    build.classify("game/cache/**", None)     
Persistent data and save data are two separate things.
However, I just checked the latest build documentation as well as the Ren'Py tutorial and neither mention needing to manually clear persistent data, so the information I gave is probably outdated (If I recall correctly, this was something you were recommended to do back in 2015 when I first started using Ren'Py)
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

User avatar
zmook
Veteran
Posts: 421
Joined: Wed Aug 26, 2020 6:44 pm
Contact:

Re: Some people can't play my game

#7 Post by zmook » Wed Jun 01, 2022 9:15 am

Imperf3kt wrote:
Wed Jun 01, 2022 6:11 am
Persistent data and save data are two separate things.
True, but there is a file 'persistent' in the game/saves directory, and I assume that's where persistent data is stored.
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Some people can't play my game

#8 Post by PyTom » Fri Jun 03, 2022 12:25 am

For the record, deleting persistent data before distributing the game isn't required, and shouldn't be recommended.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
zmook
Veteran
Posts: 421
Joined: Wed Aug 26, 2020 6:44 pm
Contact:

Re: Some people can't play my game

#9 Post by zmook » Fri Jun 03, 2022 10:48 am

PyTom wrote:
Fri Jun 03, 2022 12:25 am
For the record, deleting persistent data before distributing the game isn't required, and shouldn't be recommended.
Is there any benefit to including or excluding the 'cache' directory?
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Some people can't play my game

#10 Post by PyTom » Fri Jun 03, 2022 11:39 am

The cache/ directory is distributed by default, and should be distributed by default. It contains information that is derived from the game, that Ren'Py uses to improve start time - for example, the Python in the game precompiled to bytecode, so Ren'Py doesn't have to recompile it every time the game starts. It also contains analysis for screens, and a list of shaders the game has used.

So yes, you want to include it.

Usually, trying to overthink this is going to cause problems. If removing the cache directory was a benefit, I would have added a rule to do so.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users