
- Boots: No
- Release: None
- File: None
Leonida Clone Problems: Submodules, ZIP Downloads and the Wrong Repository
A Leonida clone fails in a small number of documented ways: a missing submodule, a ZIP without it, or the wrong repository. This guide covers each one.
Contents
Cloning Leonida and the Submodule
cloning Leonida is the step where the source material for a build is brought onto a PC, and the documented clone problems all turn on one point: whether the clone includes the submodule the build needs. The submodule lives at third_party/rpf9-explorer, and a clone that leaves it out is incomplete for the build, even if the rest of the files look present. This guide describes what the build does when the submodule is missing, when the clone comes from a ZIP download, and when the clone points at the wrong repository, using only the documented behaviours.
Readers should also hold the honest endpoint in mind throughout. A clone, on its own, produces no game and no file to launch. It produces source material on a PC, ready for the build steps that follow. This guide is about getting that material complete and from the right place, and nothing in it should be read as promising a playable result from the clone step alone.
The ZIP Download and the Missing Folder
The ZIP archive option leaves out third_party/rpf9-explorer. That is the documented behaviour for a ZIP download, and it is the most common way a reader arrives at a clone without the submodule. The folder is simply not in the ZIP, so a reader who unpacks the ZIP and looks for it will not find it, and the absence is not a sign that the unpacking went wrong. The ZIP did what a ZIP download does in this project: it left the submodule folder out.
A missing third_party/rpf9-explorer folder after a ZIP download is the documented result of the ZIP option, not a broken download. The build fetches the submodule if git is installed, and otherwise tells the reader what to do.
The Wrong Repository
The README clone command points at the original repository, which went offline. A reader who follows that command as written will therefore be pointing at a repository that is no longer there, and the clone cannot proceed from it. The documented correction is to use the preservation fork instead. Readers must use the preservation fork, and the clone must still be recursive, so the submodule is included. The fork link in this section is the only address this guide gives for the source material, and it is given once, here, where the wrong-repository problem is described.
The clone source guide covers the source question in more depth, including how to tell the preservation fork apart from other copies that may circulate under the project name. This guide stays with the clone behaviour itself: the original repository is offline, the README command still points at it, and the preservation fork is the place readers must use, with a recursive clone. That is the complete documented position on the wrong repository, and the guide does not add claims about other forks or other sources.
The Recursive Clone Check Sequence
- Confirm the clone was made with the recursive flag, so the submodule was included from the start.
- Confirm the folder third_party/rpf9-explorer is present in the cloned material.
- If the folder is missing and git is installed, let the build fetch the submodule as documented.
- If the folder is missing and git is not installed, follow what the build tells you to do.
- Confirm the clone came from the preservation fork, not from the offline original repository.
The code block above shows the documented clone form, with the recursive flag. The repository address for the clone is the preservation fork, linked in the previous section. The GitHub guide covers the repository side of the project in more depth, including the preservation fork and the offline original repository, and readers who are unsure which repository they cloned from should check there before repeating the clone.
What the Build Does Next
The build guide is the next place to read after a clone is confirmed complete. It describes the build steps in order, from the preflight checks through to the finished output, and it states the honest endpoint for the whole process. Readers who arrive at the build guide with a missing submodule will meet the same fetch-or-tell behaviour described here, because the build checks its material as it goes. Readers who arrive with a complete recursive clone will meet the build steps without that interruption.
Clone Problems at a Glance
The table below gathers the documented clone situations in one place, so a reader can match what happened on their PC to the documented behaviour without re-reading the whole guide. Each row states the situation and what the build does, in the documented terms used throughout this article. No row adds an error message or a fix that the documented behaviours do not give.
| Situation | What the build does |
|---|---|
| ZIP download used | Submodule folder is left out; the build fetches it if git is installed, otherwise tells the reader what to do |
| Clone without the recursive flag | Submodule folder is left out, as with a ZIP download |
| Clone command points at the original repository | The original repository is offline; readers must use the preservation fork, with a recursive clone |
| Submodule folder missing, git installed | The build fetches the missing submodule |
| Submodule folder missing, git not installed | The build tells the reader what to do |
Conclusion
Leonida clone problems, as documented, come down to the submodule, the ZIP option, and the repository. A ZIP download leaves out third_party/rpf9-explorer, and the build fetches it if git is installed or tells the reader what to do if it is not. A clone must be recursive to include the submodule. The README clone command points at the original repository, which went offline, and readers must use the preservation fork instead. Those are the documented behaviours, stated completely, with nothing invented.
Frequently Asked Questions
Why is third_party/rpf9-explorer missing after a ZIP download?
The ZIP archive option leaves the submodule folder out. The build fetches it if git is installed, and otherwise tells the reader what to do.
Why must a clone be recursive?
A clone must be recursive to include the submodule at third_party/rpf9-explorer. A clone without the recursive flag leaves the folder out, as a ZIP download does.
Which repository should readers clone from?
Readers must use the preservation fork. The README clone command points at the original repository, which went offline, so a clone from that command cannot proceed.