Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sun May 26, 2013 4:52 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Main menu
PostPosted: Sun Apr 29, 2012 2:30 pm 
Veteran

Joined: Mon Mar 26, 2012 6:51 pm
Posts: 389
Location: Philadelphia
Projects: Amy's Super Life!
How do I change the main menu picture?

_________________
My blog : http://briannafactory.blogspot.com/


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Sun Apr 29, 2012 2:37 pm 
Miko-Class Veteran
User avatar

Joined: Thu Dec 22, 2011 4:26 am
Posts: 993
Location: United States
Projects: Eternal Memories, plot bunnies that won't die.
Organization: HellPanda Studios
Find this code under options.rpy and change it
Code:
        ## The background of the main menu. This can be a color
        ## beginning with '#', or an image filename. The latter
        ## should take up the full height and width of the screen.
        mm_root = "#393939",

        ## The background of the game menu. This can be a color
        ## beginning with '#', or an image filename. The latter
        ## should take up the full height and width of the screen.
        gm_root = "#393939",
You'll need to have the image in the "game" folder though.

_________________
Know some awesome people? Want to thank them? Do it here!
For up to date info on my VN projects: HellPanda Studios Blog.
Tsundere VN
My new policy: All my games will have a redhead. Period.

Not really checking the forums any more due to time constraints, so if you want to contact me, PM. I'll get a notification and log in. :mrgreen:
Also, I've been hit and run posting, which means I don't see many replies. If you want to respond to something I've said, also feel free to PM me.


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Sun Apr 29, 2012 3:29 pm 
Veteran

Joined: Mon Mar 26, 2012 6:51 pm
Posts: 389
Location: Philadelphia
Projects: Amy's Super Life!
How do I change it?

I did this

## The background of the main menu. This can be a color
## beginning with '#', or an image filename. The latter
## should take up the full height and width of the screen.
mm_root = "STOCK_RENDER_10",

## The background of the game menu. This can be a color
## beginning with '#', or an image filename. The latter
## should take up the full height and width of the screen.
gm_root = "STOCK_RENDER_10",

But it wont work. Where is the game file located?

_________________
My blog : http://briannafactory.blogspot.com/


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Sun Apr 29, 2012 3:57 pm 
Miko-Class Veteran
User avatar

Joined: Thu Dec 22, 2011 4:26 am
Posts: 993
Location: United States
Projects: Eternal Memories, plot bunnies that won't die.
Organization: HellPanda Studios
You have a folder with your game's name. Inside that folder is the "game" folder. If the name of the file is STOCK_RENDER_10, and it's a .png, you want to put "STOCK_RENDER_10.png" if it's a .jpg, "STOCK_RENDER_10.jpg" and so on. (Basically, you need the file type too.)

_________________
Know some awesome people? Want to thank them? Do it here!
For up to date info on my VN projects: HellPanda Studios Blog.
Tsundere VN
My new policy: All my games will have a redhead. Period.

Not really checking the forums any more due to time constraints, so if you want to contact me, PM. I'll get a notification and log in. :mrgreen:
Also, I've been hit and run posting, which means I don't see many replies. If you want to respond to something I've said, also feel free to PM me.


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Sun Apr 29, 2012 4:03 pm 
Veteran

Joined: Mon Mar 26, 2012 6:51 pm
Posts: 389
Location: Philadelphia
Projects: Amy's Super Life!
Thanks, I was able to do it now! :D

Also, how do I add music to the main menu?

_________________
My blog : http://briannafactory.blogspot.com/


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Sun Apr 29, 2012 5:23 pm 
Veteran
User avatar

Joined: Thu Jul 07, 2011 9:33 am
Posts: 297
Projects: BloomingBlossoms
Change this:
Code:
# config.main_menu_music = "main_menu_theme.ogg"


to:
Code:
config.main_menu_music = "urmusic.ogg"

_________________
Sorry for my bad english ^_^''
Image My VN Website~


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Mon Apr 30, 2012 4:11 pm 
Veteran

Joined: Mon Mar 26, 2012 6:51 pm
Posts: 389
Location: Philadelphia
Projects: Amy's Super Life!
Ok, I'm having the same problem. I put schoolday, which is a .png file here:

## The background of the main menu. This can be a color
## beginning with '#', or an image filename. The latter
## should take up the full height and width of the screen.
mm_root = "schoolday.PNG",

## The background of the game menu. This can be a color
## beginning with '#', or an image filename. The latter
## should take up the full height and width of the screen.
gm_root = "schoolday.PNG",


But I'm still having problems. And i put schoolday in the game file.

_________________
My blog : http://briannafactory.blogspot.com/


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Mon Apr 30, 2012 4:23 pm 
Miko-Class Veteran
User avatar

Joined: Fri Dec 11, 2009 5:25 pm
Posts: 941
briannavon wrote:
But I'm still having problems.

Please, be more specific - what are they. Do you have a text message "Couldn't find file "schoolday.PNG"" or what's wrong?


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Mon Apr 30, 2012 8:06 pm 
Veteran

Joined: Mon Mar 26, 2012 6:51 pm
Posts: 389
Location: Philadelphia
Projects: Amy's Super Life!
Alex wrote:
briannavon wrote:
But I'm still having problems.

Please, be more specific - what are they. Do you have a text message "Couldn't find file "schoolday.PNG"" or what's wrong?


You are correct about the problem. Do you know what I have to do?

_________________
My blog : http://briannafactory.blogspot.com/


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Mon Apr 30, 2012 9:56 pm 
Veteran
User avatar

Joined: Fri Nov 11, 2011 12:26 am
Posts: 204
Location: Look behind you
Completed: Of Stupidity and Idiotic
briannavon wrote:
Alex wrote:
briannavon wrote:
But I'm still having problems.

Please, be more specific - what are they. Do you have a text message "Couldn't find file "schoolday.PNG"" or what's wrong?


You are correct about the problem. Do you know what I have to do?


First step: Put the png file you want into the game's folder.

Second step: Is your png file's name has any space? (Like "school day.png") If it is then just take the space out (->"schoolday.png") and put in the code like this:

Code:
## The background of the main menu. This can be a color
## beginning with '#', or an image filename. The latter
## should take up the full height and width of the screen.
mm_root = "schoolday.png",

## The background of the game menu. This can be a color
## beginning with '#', or an image filename. The latter
## should take up the full height and width of the screen.
gm_root = "schoolday.png",


The first one is for the main menu, and the second one is for game menu (Load, Save, preference, etc...)

Done, you should ready to go.

_________________
DA | Commission is open


Top
 Profile Send private message  
 
 Post subject: Re: Main menu
PostPosted: Tue May 01, 2012 10:00 am 
Miko-Class Veteran
User avatar

Joined: Fri Dec 11, 2009 5:25 pm
Posts: 941
briannavon wrote:
Alex wrote:
briannavon wrote:
But I'm still having problems.

Please, be more specific - what are they. Do you have a text message "Couldn't find file "schoolday.PNG"" or what's wrong?


You are correct about the problem. Do you know what I have to do?

This error message means that Ren'Py is unable to find file, named exactly so. As Michiyo6918 said, check if your file is in "*your_project_name*/game" folder. Then check its name. If you use windows, this might be that the file extension is hidden and your file actually named "schoolday.PNG.png" or so.
Here you can read how to show/hide file extension in windows.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group