Version control with multiple developers on the same RMMZ game?

We're developing a game in RMMZ with five developers (me - product manager, one engineer who's connecting RMMZ to Firebase, one main scripter, and two developers who are working on supporting scripts and plugins.)

Currently, everyone is downloading the game files from Dropbox and working on them individually.

Is there any way to manage version control, where all of us can work on the same files?

It's getting confusing who has put what scripts/code into the game.
Is there any reason you can't store the files on something like TortoiseSVN? Then when people are working on a file they check it out and back in with changes, and all activity is logged so you know who is doing what.
all data files are basically text files - json format.
so any online tool with versioning control for text files can handle that.

just make sure that no one works directly on the sync'd files - the editor keeps the files open during work to speed up saving, and that will cause problems with automated backups and cloudsync's failing because only one program can open a specific file at any one time.
Is there any reason you can't store the files on something like TortoiseSVN? Then when people are working on a file they check it out and back in with changes, and all activity is logged so you know who is doing what.
How does this work with RPG Maker, where I have to deploy all the files and then upload them to update the game?

all data files are basically text files - json format.
so any online tool with versioning control for text files can handle that.

just make sure that no one works directly on the sync'd files - the editor keeps the files open during work to speed up saving, and that will cause problems with automated backups and cloudsync's failing because only one program can open a specific file at any one time.
OK, for example here's a scenario:

I'm working on a Common Event in RPG Maker, which updates the data/CommonEvents.json file.

At the same time, someone else is working on /data/Actors.json for the same game in RPG Maker (out of Dropbox, for example.)

I finish my work and export to the /output folder.

Later, the other developer exports to the same /output folder.

Won't their export of CommonEvents.json overwrite my changes, essentially restoring the version from before I started working on it?
How does this work with RPG Maker, where I have to deploy all the files and then upload them to update the game?


OK, for example here's a scenario:

I'm working on a Common Event in RPG Maker, which updates the data/CommonEvents.json file.

At the same time, someone else is working on /data/Actors.json for the same game in RPG Maker (out of Dropbox, for example.)

I finish my work and export to the /output folder.

Later, the other developer exports to the same /output folder.

Won't their export of CommonEvents.json overwrite my changes, essentially restoring the version from before I started working on it?
Basically anyone working on stuff would need to check for updates first to make sure they're working from the most recent versions, and then when checking in would need to resolve any conflicts caused by check ins of the same file in the intervening time. And they'd need to do a build from the SVN any time they were testing.
Won't their export of CommonEvents.json overwrite my changes, essentially restoring the version from before I started working on it?
that is what the versioning system is for.
IF your online storage has versioning, then multiple different upload to the same file will automatically create branches of that specific file.
and at a later time the project lead can use the tools of the versioning system to read the diffs between the files and either combine or discard them until everything is in one file again, ready for the next branching.
Pause. Ok. Here we go:

1. Team huddle and determine what tools and platforms they are comfortable with.
2. Source control first, CI/CD next. I recommend Azure DevOps for source control. It is free and has private repo options perfect for your group size. You can also take advantage of it's ALM if it suits your team. It will handle all of these dev files ie js and json, however I do not recommend checking in assets items as a 'diff' cannot be performed on them. Instead include the Original assets and include a readme file that points to a secure AWS S3 bucket. Each designer should make a copy of the assets folder for there own reference ie S3: URI/Assets/Characters/Sandbox/Jester (Jester being the devs name tag). This allows easier management since S3 is brutally fast and supports prior versions.
3. CI/CD depending on your targets the S3 folder you target to copy the game assets into for publishing can be driven as a deployment variable in the pipeline in Azure DevOps.
4. Versioning. Take a look at Semantic versioning as it is built into Git, Azure DevOps and all cloud providers.
5. Setup a Sandbox deployment target per platform first to get it working from your website / app store. Clone these scripts into another environment such as Prod and begin adding the needed compression, obfuscation, hardening and encryption steps to the source files for final deployment. Never forget to reference best practices in OWASP.

Cheers.

Play.
that is what the versioning system is for.
IF your online storage has versioning, then multiple different upload to the same file will automatically create branches of that specific file.
and at a later time the project lead can use the tools of the versioning system to read the diffs between the files and either combine or discard them until everything is in one file again, ready for the next branching.
Sounds great, but I have no experience with this.

How do I find someone who knows how to do this? What skills do they need, and do they need to be full time on the project or just occasionally merge the branches?
Sounds great, but I have no experience with this.

How do I find someone who knows how to do this? What skills do they need, and do they need to be full time on the project or just occasionally merge the branches?
That is one of the great things about these platforms, they are free or very very affordable. Branches are cheap and highly encouraged.

Example for AWS S3 the FREE TIER is
1. 5GB in the S3 Standard storage class
2. 20,000 Get Requests
3. 2,000 Put, Copy, Post, or List Requests

That is per month! Hard to argue with $0. I have several TBs in S3 that is less than a $100 USD per month.

Lets bring it back in focus those. I recommend getting the source control first. A best practice in a repo setup is to have a 'main' branch that serves as the core of the development of your product that goes out as your production ready app. From that branch you can create a 'dev' branch that is worked against by engineers and heavily tested as you iterate. Get this working first.

You can continue to utilize Dropbox for your art assets and leave S3 out of this until your team is poised for deployment.

Tracking progress and work in smaller teams I recommend using a Kanban. Kanban is an easy way to keep track of work done, estimates for future work and when will it actually be delivered. This is also free and built into Azure DevOps. Given the size of the team you can work much faster than large enterprises so adding so much ceremony is not needed (yet).

As I said in point #1 discuss with the team to get an idea of what they have used, what they want to use and if that tooling will get you to your deliverable.

How do I find someone who knows how to do this?

People here, myself included can help! If you're looking to hire someone professionally you'd need to hire them as a contractor, DM me if you want advice on that. In my own projects I always stay as close to $0 as possible until a prototype is materialized. If you have more questions on this please let me know.

If you are looking to get all of this setup ie Azure DevOps, AWS, Azure, etc seems like a lot it actually can be done in a single day.

Full disclosure I am a Senior Fullstack Developer and I have worked as a contractor for hire, run a consulting firm, and currently a FTE. I began programming in 1998 and largely due to RPG Maker 2000's influence in my early life I started programming seriously eventually getting a Bachelors in CS. Now as a Dad I am teaching my daughter to program and she is helping me create our own RPG Maker project in MZ.

Original thread: https://forums.rpgmakerweb.com/threads/version-control-with-multiple-developers-on-the-same-rmmz-game.141933/