Thimbleweed Park 2 uses 5 different Git repos and one SVN repo.
Both the Git and SVN repos are self-hosted. Git’s Large File System (LFS) is used for large binary files (.png and .bank). Although any GUI client can be used, we encourage Fork and SmartSVN because they are cross-platform and, unless you are an expert, we can support them with help and assistance. I mostly use the Git CLI or lazygit, but they are not for everyone.
- Game
This is a Git repo that holds the game’s code, mostly .dinky, .yack, .txt, .wimpy files and the processed .png files for the rooms and UI. Game programmers have access and primarily use it. If you’re just doing game programming, this is the only one you need and has the most check-ins of the game.
- Game Engine
This is the engine for the game. It is mostly .cpp/.h files. Derek and I are the only two who use it. It produces the compiled engine that is distributed to game programmers as well as used for the released game.
- Engine Library
This is the shared library that all game engines use. It’s been used for Scurvy Scallywags, Thimbleweed Park 1, Delores, Return to Monkey Island, Death by Scrolling, and now Thimbleweed Park 2. It gets very few commits unless we’re adding a new feature that is not game specific.
- Game Sound
This repo is for the FMOD audio. Sound and music people have access. Game programmers might have access if they are changing sound, which can be common but is not required. When the FMOD .bank files are built, they get put into the Game repo so game programmers don’t need access.
- Art SVN
Art (mostly .psd and .aseprite files) is kept in SVN so it can be locked. Git’s large file system has the ability to lock files but tests for locked status only on push, whereas SVN keeps the file read-only until it’s locked. SVN is very long-in-the-tooth but I haven’t found a better solution. Perforce is way too expensive. Ark is a new one, but the maintainer doesn’t see a use case for making locked files read-only, which baffles me. Locking art files is critical because they can’t be merged.
- Art Git
No one has access to this, it’s an automatic mirror of the SVN repo. When a game is done, I shut down the SVN server and this provides a long-term backup. If the game becomes active again, I can push this to a new SVN repo. This repo is probably pointless until the game releases.

Comments:
Do game programmers have access to read Game Engine, Game Library etc?
I'm curious 'cos I often find API documentation falls a bit short and reading the implementation on the other side can be super helpful.
Examples:
- Batching, caching, pooling (does the game code need to manage these or are they silently handled already?)
- Getters and setters that cause unexpected effects
- Whether particular errors are silently ignored
- General performance costs
For CAD documents, it is common to do an approval check for each change, but I guess, that would be too complex or too time consuming for game development. It might be one reason why there are playtesters.
the issue with the assets is a real one. it baffles me, that this is a widely unsolved problem in the open source space in 2026.
[link removed]
[link removed]
If we were creating an engine for others to use, we would have to be much better at this.
Smart!
Do you use a post-commit hook to mirror to git?
I find this post extremely interesting (even if -or because - it is taken directly from your internal documentation). Being able to lock files always has been the reason to stick with SVN. At one point in history
when online cloud co-authoring wasn’t a thing yet (and still today, the support of simultaneous editing is that great on some file formats), I used to enforce this only for certain file types with the svn:needs-lock property on their extensions, so that new files created would also be read-only by default (while others in the same repo wouldn’t require to be locked). I gave up when certain project managers kept saving their local file under a different name, and then either adding that with a _v2 in its name, or worse: updating and locking the file and then replacing it with their local saved one. That was 15 or 20 years ago, but to this day I haven’t found a good solution. Your setup splitting in repositories per data type and user type sounds like a better approach. (Although in my head I can hear the ghosts of the past complaining it is “too much effort to populate more than one repository, so I just saved everything locally and created a new folder where I dumped everything”)
So here's why I don't think making files read-only makes sense.
First, let's explain the Perforce approach. It has changes all your files to be read-only, and then it has an exclusive checkout system which means that only one person can be editing the file. This sounds great in theory, but in practice you quite often need to change files in order to debug or test things, so it ends up forcing people to make the files writable on their drive, which means Perforce doesn't track they have changes! To some this may sound like a unlikely thing, but it isn't, it happens all the time, that's why in Unreal Engine it even has a built-in dialog that allows you to both checkout or make the file writable. So this also forces you to have plugins to make files writable on all apps you use, which as a user I dislike.
The idea of Ark is to not implement what others do, but to try to do (what I believe is) a better version of it. So the way Ark's locks work is it doesn't touch your file system, all files remain writable. When you edit a file, you try to get a lock for it. If nobody has the lock, you get the lock ownership. Only the person with the lock ownership can commit the file, which means that if you're working on the file nobody can override what you're doing.
So in this sense it is similar to Perforce, if you have a lock you have dibs on pushing the content. The difference comes with Ark having a lock queue instead of an exclusive lock, so this means that more ppl can be on that queue and when the first person commits it (or unlocks it) the next in line gets the lock ownership (and of course you have mechanisms to request, give or forcibly take the lock).
So why is the read-only bad imo? Because it first of all messes with your file system. I don't think that VCS should be messing in your file system, the same way I don't think it should be changing line endings or charsets, it's a design choice. But the most important is that read-only doesn't make you not lose work, because it only has effect when you try to save an asset.
You can open read only files, and unless the apps specifically do stuff to prevent you from editing if it is read-only, you'll only find it is read-only when you try to save. So let's say you started changing properties and then you hit save, it's read-only and you try to lock and somebody has the lock. Well, you lost that work. It's just the way it goes.
What Ark does to mitigate this, is when you save a file that requires locks, if you don't get a lock ownership you'll get an OS notification telling you that somebody else has lock ownership. So the end result is the same, these changes you did may be lost, but I think it works in a more ergonomic way. It also means you don't need plugins for every app to handle this.
So I personally don't see any benefit from read-only, and I basically haven't had people complain about it. That being said, it may come at a later time since it's low priority compared to other things, but always an optional thing.
Regards,
Nuno Afonso
I think the visual cue on having the first lock or being in the cue is nice and indeed more ergonomic than finding out you forgot to lock at commit time. However, I wonder what happens when you forget to lock a file and you’re saving but not (yet) committing when later on someone else does lock the file. You would not get any OS notification until someone else locks the file.
What would work better to mitigate, while still keeping the file permissions on your file system untouched, is that the application you use to edit files (say, Paintshop for art assets) would disable any menu or action that could modify the file. Of course not every tool may allow this kind of integration and customisation, but in theory it would remind you at just the right time* you want to lock a file. And let’s say you have person A doing some trial modifications they never plan to commit, when person B wants to do changes that do need to be committed, they request the main lock.
Any status changes of the lock should either be pushed to the tool(s), to not having to close and reopen them; or the VCS should be integrated in the tool, which may be more efficient as you then only care about monitoring the opened files.
*: I’m calling dibs on this locking at just the right time, not too soon and not too late. And I’m also reserving a name for it: “Goldi-locks”
Regarding what you said, I'm not sure I get what you mean:So the way it works in Ark, when you save a file Ark detects it has changes, checks if it's a file marked as needing lock, and auto requests the lock. So from your pov you just saved the file, it handles that in the background. So if somebody later requests a lock, they are added to the cue, you still have it. If somebody already had the lock, then when you save you get added to the lock queue and Ark displays an OS notification telling you that somebody else has the lock and you're in the queue.
Yes, many of our tools to prevent it and tools like Tiled also prevent or warn.
And, delaying the error until you check-in could be a long time after the file is edited. With R/O the error happens the second they save, not 2 days later then they check-in.
I do plan to have a generic purpose plugin that anybody can add to their engine / tools, then allows to do more complex actions (a-la UE plugin), and it's likely that RO may come as an option. Unfortunately I don't have a timeline for that yet, as there are other things more urgent (e.g. svn import, multi-project workspaces, user groups).
That indeed answers my question on what would happen if you forget to lock a file before you start editing, and it is a nice and convenient fallback in case only one person is editing a file type that cannot be merged. At the same time it may inadvertently train people in forgetting (or skipping) to lock first.
Still that doesn’t address the case where multiple people want to make edits and commit them - unless if you can modify the program to disable editing unless you really hold the primary lock in the queue, which may be harder to impossible to do in some tools.
I can imagine that modifying the write permission on a file is easier to implement , which is why the R/O approach is so ubiquitous.
After all, the lock queue doesn’t prevent others from saving their changes and heading for a merge issue; which is the real thing to try to solve (for certain file types). The nice thing about the lock queue is that you can flag early and schedule multiple commits to file concurrently being edited. However, as the file is by definition not-mergeable, it should throw a big warning at that time, rather than adding your lock to the queue. I think you already change the lock icon based on whether you are first in the queue. So maybe you could allow the user to define their set of file extensions for which Ark should warn about an eminent merge conflict in the making?
Really, the easiest, the better! no need to use git if there's no need to. It would be like using Unreal Engine for a small 2D game.
Add comment: