I finally (as good as) finished my game.
I tried uploading the web-distribution to my github repository and all went well until I tried uploading the .zip-file of my game that is created with the port. I have previously other web ports of games (not renpy-related) like a maze and a puzzle, so that I can publish them on my website. I wanted to do this too for my renpygame so that people can play it directly on my website (hosted on Google Sites).
I tried looking it up, and I found something about using Git LFS but I don't quite understand what I'm supposed to do using this.
Does anyone else know any alternative methods to be able to play the game directly on my website, or a litteral step-by-step guide of using Git LFS?
Uploading renpy game to Github - .zip too large
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.
Re: Uploading renpy game to Github - .zip too large
You shouldn't.
The only stuff your git repo should contain is everything that is needed for your application to be built.
This means:
What you should do is:
pps. git lfs is what GitHub uses under the hood to manage huge files properly, you don't have to bother with this if you use github.com .
The only stuff your git repo should contain is everything that is needed for your application to be built.
This means:
- source files (.rpy, .py files)
- resources files (images, sounds, ...)
- configuration files (.rpy, .py files)
- build scripts
What you should do is:
- either build your project using a continuous integration server like TravisCI, then create an empty public directory at the root of your repository, and unpack your .zip file in it. Then, you'd configure your GitHub repository to take this directory as a source for GitHub pages.
- or (this is easier if you struggle with the concepts I just wrote) directly commit your .zip, but if I were your I'd commit it in a dedicated git repository, not besides my sources files. Then you'd setup this repository with GitHub pages as explained in 1.
pps. git lfs is what GitHub uses under the hood to manage huge files properly, you don't have to bother with this if you use github.com .
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot]