HELLO! i'm having trouble with adding images and music to my ren'py game- the script i've got down and i've been using this tutorial:
http://forums.tigsource.com/index.php?topic=4233.0
aswell as the Ren'py handbook
so, i save the images... they're jpegs and then i copy them into the ' game directory' and add them in like this:
init:
image bg room = "4-2-02-k.jpeg"
$ y = Character("Yui")
$ m = Character("Matsuda")
label start:
scene bg room
y"Oh my god! its already this late?"
which i think is right... But it always says ' cant locate image' and then the dreaded error things and the game wont start...
when i add music. ( which i made on mixcraft and is mp3 format) and put it in the directory and add like this:
label start:
play music "neutral1.mp3"
y"Oh my god! its already this late?"
it doesn't play!
i know i must be doign SOMETHING wrong... i'm just not sure what!
this is a desperate call for help! Thankyou
xxx
game directory problem? 'cant locate image!'
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.
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.
-
- Veteran
- Posts: 298
- Joined: Thu Jan 06, 2011 9:28 am
- Projects: Unnamed Slenderman VN, Secret 10560
- Location: USA
- Contact:
Re: game directory problem? 'cant locate image!'
Are you sure you got the names right? Also, do you have your computer set up so that you see file extensions? Sometimes what happens is that people will name a file "music.mp3.mp3", so the file name is wrong and thus won't work.
-
- Regular
- Posts: 145
- Joined: Sun Mar 02, 2008 5:21 pm
- Projects: Denial, Guilt [On Hold]
- Location: UK
- Contact:
Re: game directory problem? 'cant locate image!'
One way to avoid having this problem is to not hide known extensions for known files.
I'll assume you're using Windows Vista or 7, go into any common window, click 'Organise', click 'Folder and search options', click the 'View' tab, and untick the "Hide extensions for known file types".
A previous poster had an image file named "background.jpeg.jpg", when it should've just been "background.jpg".
I'll assume you're using Windows Vista or 7, go into any common window, click 'Organise', click 'Folder and search options', click the 'View' tab, and untick the "Hide extensions for known file types".
A previous poster had an image file named "background.jpeg.jpg", when it should've just been "background.jpg".
-
- Newbie
- Posts: 21
- Joined: Wed Jul 20, 2011 6:30 pm
- Projects: otome game/ visual novel 'Love swap'
- Contact:
Re: game directory problem? 'cant locate image!'
YESSSS !!! THANKYOU SO MUCH!
Lotus,clannadman and a massive thankyou to Efreet !
I'm not very good with computers so in my eyes you ara genius!!
ah i'm such an idiot , but seriously 5 days of stress, GONE.
I'm sure i'll be back with more questions soon- and i'll be sure to post this game up..somewhere!
Thanks again!
It was the same with the music, i just had to ..show the file things!
<3 <3 <3
Thankyou!
Lotus,clannadman and a massive thankyou to Efreet !
I'm not very good with computers so in my eyes you ara genius!!
ah i'm such an idiot , but seriously 5 days of stress, GONE.
I'm sure i'll be back with more questions soon- and i'll be sure to post this game up..somewhere!
Thanks again!
It was the same with the music, i just had to ..show the file things!
<3 <3 <3
Thankyou!
- Aleema
- Lemma-Class Veteran
- Posts: 2677
- Joined: Fri May 23, 2008 2:11 pm
- Organization: happyB
- Tumblr: happybackwards
- Contact:
Re: game directory problem? 'cant locate image!'
It's about time this went into the FAQ.
Who is online
Users browsing this forum: Bing [Bot]