about design and .exe file

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
k i r a
Regular
Posts: 34
Joined: Sat Nov 04, 2006 9:39 pm
Contact:

about design and .exe file

#1 Post by k i r a »

hello!

sorry for making a new thread, but I'd like to know something about design and generating .exe file.

About .exe file:

in Ren'Py, isn't it possible to make an only .exe file, without files of images and sounds? I'm afraid with a possibility of someone copying these things...I would like to have a .exe file including everything.
Is it possible??

About design:

I'd like to use image buttons on the menu screen, as on preference screen, etc.

I also would like to use the image which is game background at the moment the user want to save.

How can I do that, if they're possible?


thanks,
k i r a

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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: about design and .exe file

#2 Post by PyTom »

k i r a wrote:in Ren'Py, isn't it possible to make an only .exe file, without files of images and sounds? I'm afraid with a possibility of someone copying these things...I would like to have a .exe file including everything.
Is it possible??
No. But you can archive the images and sounds into an archive file, which would make it harder for people to access them. (This accomplishes the same goal in a different way.)
I'd like to use image buttons on the menu screen, as on preference screen, etc.
I'd need to look into this.
I also would like to use the image which is game background at the moment the user want to save.

How can I do that, if they're possible?
IIRC, this should work, as long as you make the background image for the menu totally or partially transparent.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

sigmaxion
Regular
Posts: 35
Joined: Wed Jul 19, 2006 6:52 pm
Location: China
Contact:

Re: about design and .exe file

#3 Post by sigmaxion »

k i r a wrote:
About .exe file:

in Ren'Py, isn't it possible to make an only .exe file, without files of images and sounds? I'm afraid with a possibility of someone copying these things...I would like to have a .exe file including everything.
Is it possible??
Try this software, molebox.
http://www.molebox.com/
I'm in love, so I have no time for game making:)

Watercolorheart
Eileen-Class Veteran
Posts: 1314
Joined: Mon Sep 19, 2005 2:15 am
Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
Organization: Watercolorheart Studios
IRC Nick: BCS
Tumblr: adminwatercolor
Deviantart: itsmywatercolorheart
Github: Watercolordevdev
Skype: heartnotes
Soundcloud: Watercollider
itch: watercolorheart
Location: Florida
Contact:

#4 Post by Watercolorheart »

Thanks for the link.
I'm not even the same person anymore

Watercolorheart
Eileen-Class Veteran
Posts: 1314
Joined: Mon Sep 19, 2005 2:15 am
Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
Organization: Watercolorheart Studios
IRC Nick: BCS
Tumblr: adminwatercolor
Deviantart: itsmywatercolorheart
Github: Watercolordevdev
Skype: heartnotes
Soundcloud: Watercollider
itch: watercolorheart
Location: Florida
Contact:

#5 Post by Watercolorheart »

I tried to use MoleBox, but I got this curious message:

Code: Select all

I'm sorry, but an exception occured while executing your Ren'Py
script.

ScriptError: Name ('game/script.rpy', 1165799107, 74) is defined twice: at game/script.rpy:4 and game/script.rpy:4.

While loading the script.

-- Full Traceback ------------------------------------------------------------

  File "C:\_Controlled Chaos\renpy\bootstrap.py", line 121, in bootstrap
  File "C:\_Controlled Chaos\renpy\main.py", line 254, in main
  File "C:\_Controlled Chaos\renpy\script.py", line 318, in load_script
  File "C:\_Controlled Chaos\renpy\script.py", line 118, in __init__
  File "C:\_Controlled Chaos\renpy\script.py", line 220, in load_file
ScriptError: Name ('game/script.rpy', 1165799107, 74) is defined twice: at game/script.rpy:4 and game/script.rpy:4.

While loading the script.

Ren'Py Version: Ren'Py 5.5.4
(I know it's outdated, but ... oh well. I started it a while back, you know? And it's hard for this old dog to learn new tricks until NaNoReno or something ... )

... is it because of compression, perhaps? I tried deleting the .rpy and only leaving .rpyc in case that was the problem, but no such luck. :(.

Mole also comes with a help file, but it did not shed any light on it so I thought I would take my technical question here. And, yes, everything seems to pack fine; I even drag and down the folders so that the heirachy is exactly the same.

So I wonder what's confusing the Ren'Py run_game.exe when it launches fine from the original folder but not from the new .exe file I made?
I'm not even the same person anymore

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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:

#6 Post by PyTom »

I don't know enough about MoleBox to even try to diagnose this... this is the problem you get when you have two .rpy or .rpyc files with the same names in different directories.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Watercolorheart
Eileen-Class Veteran
Posts: 1314
Joined: Mon Sep 19, 2005 2:15 am
Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
Organization: Watercolorheart Studios
IRC Nick: BCS
Tumblr: adminwatercolor
Deviantart: itsmywatercolorheart
Github: Watercolordevdev
Skype: heartnotes
Soundcloud: Watercollider
itch: watercolorheart
Location: Florida
Contact:

#7 Post by Watercolorheart »

(sigh)
I'm not even the same person anymore

sigmaxion
Regular
Posts: 35
Joined: Wed Jul 19, 2006 6:52 pm
Location: China
Contact:

#8 Post by sigmaxion »

I haven't encountered this situation...

And, in fact, I didn't pack all the files into one EXE, I just packed the GAME and COMMON directory , excluding font and .rpy. Notice, you should change these tow packages' name for further need.
And, of course, you shouldn't pack the SAVE directory. 'cause you can't write things into a packed file. So, you have to make a new folder named GAME. And you also have to make another new folder named COMMON, then put the font into it.

this is my experience, maybe will give you some clue. :D
I'm in love, so I have no time for game making:)

Watercolorheart
Eileen-Class Veteran
Posts: 1314
Joined: Mon Sep 19, 2005 2:15 am
Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
Organization: Watercolorheart Studios
IRC Nick: BCS
Tumblr: adminwatercolor
Deviantart: itsmywatercolorheart
Github: Watercolordevdev
Skype: heartnotes
Soundcloud: Watercollider
itch: watercolorheart
Location: Florida
Contact:

#9 Post by Watercolorheart »

Thank you, sigmaxion. That should help.

So pack GAME and COMMON but make a new game folder with a /save folder, and put your font(s) in common ...
I'm not even the same person anymore

Post Reply

Who is online

Users browsing this forum: Google [Bot]