[Solved]Should "common.rpym" be added to my .gitignore 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
User avatar
M.Knight
Newbie
Posts: 15
Joined: Fri Jan 13, 2017 2:54 pm
Contact:

[Solved]Should "common.rpym" be added to my .gitignore file?

#1 Post by M.Knight » Fri Jan 13, 2017 4:10 pm

Hello,

I am new to Ren'py and recently started setting up my development environment in order to work on a VN project with another person. As I was implementing the git repository and the initial files, I was wondering if the common.rpym file, located in game/tl/None, is supposed to be pushed to the git repo or not.

I picked up the .gitignore list available here, and while it includes the common.rpymc file located in the same folder, it does not cover common.rpym.

Should I add common.rpym to my .gitignore?

Thanks in advance.
Last edited by M.Knight on Fri Jan 13, 2017 4:50 pm, edited 1 time in total.

User avatar
Ocelot
Miko-Class Veteran
Posts: 849
Joined: Tue Aug 23, 2016 10:35 am
Skype: miinipaa
Contact:

Re: Should "common.rpym" be added to my .gitignore file?

#2 Post by Ocelot » Fri Jan 13, 2017 4:24 pm

common.rpym contains text which is used by confirmation dialogs, string formatting functions and such. Though the game would function if you remove it, you will lose ability to edit and distibute changes to those lines, so I would advise against ignoring it. It is also important that you keep it, if you develop a game in another language, otherwise some parts of the game will be in english.
< < insert Rick Cook quote here > >

User avatar
M.Knight
Newbie
Posts: 15
Joined: Fri Jan 13, 2017 2:54 pm
Contact:

Re: Should "common.rpym" be added to my .gitignore file?

#3 Post by M.Knight » Fri Jan 13, 2017 4:50 pm

Oh, I see! There is no real reason to ignore this file, then.

Thanks for the answer!

User avatar
PyTom
Ren'Py Creator
Posts: 15422
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: [Solved]Should "common.rpym" be added to my .gitignore f

#4 Post by PyTom » Sat Jan 14, 2017 4:47 pm

That .gitignore is probably overkill for project use. Here's what I'd use for a simple project:

Code: Select all

*.rpyc
*.rpymc
game/cache/
game/saves/
log.txt
traceback.txt
errors.txt
Note that even though you probably don't want to check in .rpyc/.rpymc files, they're important and need to be shipped with the game. (They're used to make sure saves work even if the game changes.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: BigBucket, Bing [Bot], Google [Bot]