I apologize if there's something obvious I'm missing. So, supposedly, if you build the distribution of your game, the files whose extension you classify as 'archive' in the options file should be compiled as a .rpa file. That doesn't seem to happen to me. This is the part in the options file.
## To archive files, classify them as 'archive'.
# build.classify('game/**.png', 'archive')
# build.classify('game/**.jpg', 'archive')
# build.classify('game/**.webp', 'archive')
So, what am I doing wrong?
Building game doesn't archive images in an .rpa file
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.
-
- Newbie
- Posts: 8
- Joined: Sun Jun 24, 2018 4:06 am
- Contact:
-
- Regular
- Posts: 169
- Joined: Sun Jun 04, 2017 12:05 pm
- Completed: Too many, check signature
- Deviantart: mikolajspy
- Location: Wrocław, Poland
- Contact:
Re: Building game doesn't archive images in an .rpa file
First of all, by putting # in front of line, you comment them out - disable them.
If you want to have separate archive for images, try this instead:
If you want to have separate archive for images, try this instead:
Code: Select all
build.archive('images', 'all')
build.classify('game/**.png', 'images')
build.classify('game/**.jpg', 'images')
build.classify('game/**.webp', 'images')
-
- Newbie
- Posts: 8
- Joined: Sun Jun 24, 2018 4:06 am
- Contact:
Re: Building game doesn't archive images in an .rpa file
Oh- I knew it was something incredibly dumb from my part. Thanks!
Who is online
Users browsing this forum: Ahrefs [Bot], Andredron, Google [Bot]