CREATE and FUCK your own AI GIRLFRIEND TRY FOR FREE
x

Ren'Py Run the game Renpy Without EXE with File .py control

⎰ ↜ ✰ BAD 75 ✰ ↜ ⎱

Forum Fanatic
Modder
May 13, 2020
5,232
44,647
Hello seen what happens with some downloaded games that may have
unwanted links or download malicious programs without the user's knowledge
i made this code that starts the game without running the renpy games .exe file

so check that the game's .py file has no external links
if ok it starts the game if it contains external links it does not start the game

and a somewhat basic method but it might give someone some better ideas


feel free to improve it and post it below

use of the programme
start the programme start-no-exe.py
select the folder where you have all the renpy games


the window with the games folders opens


Screenshot (361).png

then select the folder of the game you want to start with a double click

if the game's .py file is clean, the game starts quietly

if the file contains requests or launches other programmes it will not start the game and will show popups

Screenshot (360).png

or download the compiled version
 
Last edited:

master861

Well-Known Member
Nov 4, 2022
1,137
1,434
You should mention that you need the correct python version for this because i dit use python 3.12 and i can not run strong disire with this tool.
1722275814707.png
of curse ther is are pythonw exe in the lib folder why should ther not are pythonw.exe?
1722275882144.png
 

⎰ ↜ ✰ BAD 75 ✰ ↜ ⎱

Forum Fanatic
Modder
May 13, 2020
5,232
44,647
You should mention that you need the correct python version for this because i dit use python 3.12 and i can not run strong disire with this tool.
View attachment 3880110
of curse ther is are pythonw exe in the lib folder why should ther not are pythonw.exe?
View attachment 3880115
seems strange to me because this is what I am looking for and executing:

paths = [
"lib/windows-x86_64/pythonw.exe",
"lib/windows-i686/pythonw.exe",
"lib/py2-windows-x86_64/pythonw.exe",
"lib/py2-windows-i686/pythonw.exe",
"lib/py3-windows-x86_64/pythonw.exe",
"lib/py3-windows-i686/pythonw.exe"
]
 

master861

Well-Known Member
Nov 4, 2022
1,137
1,434
1722276806419.png
That is you py file i only changed the pygt5 to pygt6 maybe that is why it not runs :unsure:
Ah maybe its because of the admin rights because on windows 11 each file needs to be allowed that you can run it if the system things it is not save to run.
 

master861

Well-Known Member
Nov 4, 2022
1,137
1,434
Yes i checked you compiled exe the same that leads only realy to the windows 11 permissions.
Ok i checked again with admin rights nothing hmmm not sure then anymore what it is :oops:.
Are huge facepalm to me i dit found the error :ROFLMAO: , i dit need to select the main folder i dit only selectet the game folder not the main folder with all my games.The console stay's open if i use the py file it dont close or return to the normal promt if i close are renpy game.
console_close.png
 
Last edited: