Repository navigation
Home
- Upload your files to a release on your own GitHub repository.
- Fork this repository.
- Add an entry for your mod to
index.json. - Open a pull request.
Your files stay on your repository. This repository only holds the list.
A folder that the launcher installs to cod25/kronos/mods/<id>/. The game loads it on top of Kronos:
- Scripts in
scripts/load likecustom_scripts. - Lua in
lua/loads likekronos/Assets/Lua. Files ending in_post.luarun after the menus load. - Images in
images/load likekronos/Assets/Images.
A mod can never replace a Kronos file. If a mod file has the same name as a Kronos file, the mod's copy is skipped.
Only these, where <name> is lowercase letters, numbers and _:
| File | Required |
|---|---|
mod.json |
Yes |
scripts/<name>.gsc |
No |
lua/<name>.lua |
No |
images/<name>.png |
No |
Anything else is rejected.
{
"name": "My Weapons",
"author": "you",
"version": "1"
}name is what the Library page and the in-game Mods menu show.
Lowercase letters, numbers and _, up to 64 characters. It is the folder the mod installs to, for example my_weapons.
| Type | Use it for |
|---|---|
script |
Mods that are mostly GSC |
ui |
Menu and HUD changes in Lua |
assets |
Image and icon packs |
The type only sets the tag on the card. Every type installs the same way.
{
"id": "my_weapons",
"type": "script",
"name": "My Weapons",
"author": "you",
"version": "1",
"description": "One or two sentences about the mod.",
"image": "https://github.com/you/your-repo/releases/download/v1/preview.png",
"files": [
{
"name": "mod.json",
"size": 74,
"hash": "",
"urls": [
"https://github.com/you/your-repo/releases/download/v1/mod.json"
]
},
{
"name": "scripts/my_weapons.gsc",
"size": 18331,
"hash": "",
"urls": [
"https://github.com/you/your-repo/releases/download/v1/my_weapons.gsc"
]
}
]
}-
nameis the title shown on the card. -
descriptionis shown on the card and in the details. Keep it short. -
sizeis the file size in bytes. - Leave
hashempty. It is filled in with the file's SHA-256 when your submission is reviewed. - Every link must be a direct
https://download. GitHub release links work. Google Drive, Mega and similar links do not. - Ship GSC as
.gscsource. The game compiles it when it loads.
A PNG or JPG, 16:9, no larger than 16 MB. 1920x1080 or 1280x720 is ideal. Use an in-game screenshot.
GitHub releases do not allow files of 2 GB or more. Split the file into parts under 1.9 GB and upload every part. List the parts in order under urls:
{
"name": "images/my_pack.png",
"size": 2200000000,
"hash": "",
"urls": [
"https://github.com/you/your-repo/releases/download/v1/my_pack.png.001",
"https://github.com/you/your-repo/releases/download/v1/my_pack.png.002"
]
}The launcher downloads the parts and joins them back into one file.
Use 7-Zip (free, https://www.7-zip.org).
- Open 7-Zip and go to the folder with your file.
- Right click the file and choose Split file.
- In "Split to volumes, bytes", type
1900M. - Click OK.
7-Zip makes <file>.001, <file>.002 and so on in the same folder. Upload all of them to your release and list them in order under urls. Do not zip or rename the parts.
size is still the size of the original file, not of a part.
Yes. Leave out files and give an image. The Workshop shows it with a COMING SOON tag and it cannot be installed. Add files in a later pull request when it is ready.
{
"id": "my_weapons",
"type": "script",
"name": "My Weapons",
"author": "you",
"description": "One or two sentences about the mod.",
"image": "https://github.com/you/your-repo/releases/download/v1/preview.png"
}Make a new release with the new files, then open a pull request that changes your entry: new version, new links, new sizes. Players who have the old version see UPDATE in the Workshop and only download the files that changed.
No. Every file has a hash. If a file changes, it no longer matches and the launcher will refuse to install it. Submit an update instead.
- Files that are not on the list above.
- A missing
mod.json. - Links that are not direct
https://downloads. - An id that clashes with an existing entry.
- A mod that does not load, or that breaks Kronos.