Skip to content
Merged

2.0 #149

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
5c47bdb
feat: rewrote dumping. added dump of ALL sprites and their sprite inf…
johnklipi Oct 12, 2026
4211f85
removed a lot of stuff which is not needed anymore. removed WHOLE pre…
johnklipi Oct 13, 2026
5b12ab2
Rewrote whole prefabs system! (almost)
johnklipi Oct 14, 2026
b3546ef
Finished new unit prefabs
johnklipi Oct 17, 2026
caf61e3
Implemented resources prefabs. Added unit prefabs dumping. Patched th…
johnklipi Oct 17, 2026
c08b968
Added a queue to process files after whole gld was merged (for prefab…
johnklipi Oct 17, 2026
8fa7f3e
Finished improvements
johnklipi Oct 17, 2026
8fef382
added improvement and resource dumping, added helpers methods to visu…
johnklipi Oct 17, 2026
593d643
minor thinghy
johnklipi Oct 20, 2026
a5e6ea0
Added creation of dummy prefabs. Refactored terrain update graphics p…
johnklipi Oct 21, 2026
28c8cd9
added a way to precise sprite origin in sprite info
johnklipi Oct 22, 2026
1a4d6d6
fix
johnklipi Oct 22, 2026
0cda9a6
added sprite origin to sprite info, refactor
johnklipi Oct 22, 2026
248f4d0
fixed outer sprites origins not being fetched at all
johnklipi Oct 22, 2026
754fb72
added auto outline creation (just fills sprite with white) and gaussi…
johnklipi Oct 25, 2026
0a8f537
now it dumps new tribe preview and not legacy ones, added tile effect…
johnklipi Oct 25, 2026
366c615
fixed preview tile effects
johnklipi Oct 26, 2026
a1fff8c
new tribe preview stufff
johnklipi Oct 26, 2026
2018748
bunch of new stuff
johnklipi Oct 28, 2026
3b7e3b7
Weapon prefabs stuff!
johnklipi Oct 29, 2026
d7c0ee0
warn fix
johnklipi Oct 29, 2026
f72876a
Dummy audio clip creation stuff
johnklipi Oct 29, 2026
56ce9fd
Merge branch 'main' into dev2.0
johnklipi Oct 29, 2026
5940444
fix for the polymod ver position and text
johnklipi Oct 29, 2026
b23a6cd
removed debug stuff
johnklipi Nov 1, 2026
852c796
Disabled all of the weapons related stuff
johnklipi Nov 1, 2026
2da85e2
rewrote checksums, added editorconfig for formatting, formatted every…
johnklipi Nov 2, 2026
ecfa1d9
fixed formatting
johnklipi Nov 2, 2026
8aae0b4
Seperated PolyMod Persistent Data from original Polytopia one
johnklipi Nov 2, 2026
4bb5002
disabled weekly challenges
johnklipi Nov 2, 2026
a55be19
Merge branch 'main' into dev2.0
johnklipi Nov 3, 2026
d1ed3eb
minor fixes
johnklipi Nov 5, 2026
4c1e011
fixed black outlines around sprites
johnklipi Nov 6, 2026
819fa8c
removed wav decoder, fixed some sprites not being fetched, changed ed…
johnklipi Nov 8, 2026
c4712c5
added docstrings
johnklipi Nov 9, 2026
bfb5fdc
disabled achievements
johnklipi Nov 9, 2026
d4abe8c
review fixes + added some missing loc
johnklipi Nov 10, 2026
9fb4e32
removed comment from terrain renderer prefix
johnklipi Nov 10, 2026
7cc9e38
new readme? idk
johnklipi Nov 12, 2026
9e636d5
made get audio clip private
johnklipi Nov 12, 2026
b343b12
new autoindexes: now each type has their own index
johnklipi Nov 13, 2026
87ce26b
removed config from api for now
johnklipi Nov 13, 2026
a48e7a7
made launch always valid until we drop launcher
johnklipi Nov 13, 2026
e31cc0e
Smol README fixes
IExploitableMan Nov 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
root = true

[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.json]
indent_style = tab
tab_width = 4
indent_size = 4

[*.{yml,yaml}]
indent_style = space
indent_size = 2

[*.cs]
indent_style = space
tab_width = 4
indent_size = 4
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_style_var_when_type_is_apparent = true:suggestion
dotnet_style_qualification_for_field = false:warning
dotnet_style_qualification_for_property = false:warning
dotnet_style_qualification_for_method = false:warning
csharp_prefer_braces = when_multiline:suggestion
dotnet_diagnostic.IDE0005.severity = warning
dotnet_diagnostic.CS4014.severity = warning
dotnet_diagnostic.IDE0051.severity = none
dotnet_diagnostic.IDE0060.severity = none
dotnet_diagnostic.CA1707.severity = none
dotnet_diagnostic.CA1051.severity = none
dotnet_diagnostic.CA2211.severity = none
dotnet_diagnostic.CA1805.severity = suggestion
dotnet_diagnostic.CA1716.severity = none
dotnet_diagnostic.CA1708.severity = none
dotnet_diagnostic.CS1591.severity = none
dotnet_diagnostic.CS1573.severity = none

[tests/**.cs]
dotnet_diagnostic.CA1861.severity = none
43 changes: 0 additions & 43 deletions .github/workflows/installer.yml

This file was deleted.

14 changes: 14 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<Project>

<PropertyGroup>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>Recommended</AnalysisMode>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>

<!-- IDE0005 (unused usings) only runs when the documentation file is generated -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>

</Project>
50 changes: 49 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,58 @@
![](https://img.shields.io/codefactor/grade/github/PolyModdingTeam/PolyMod)
![](https://img.shields.io/github/actions/workflow/status/PolyModdingTeam/PolyMod/cicd.yml)

**The mod loader for The Battle of Polytopia.**

PolyMod lets you play Polytopia with new tribes, units, buildings, skins and much more, made by the community. Mods are just folders or archives you drop into the game, and PolyMod takes care of the rest. Your vanilla game, saves and settings stay untouched.

| | x86 | ARM |
|:-------:|:---:|:---:|
| Windows | ✅ | ❌ |
| Linux | ⏺️ | ❌ |
| MacOS | ⏺️ | ❌ |
Comment thread
johnklipi marked this conversation as resolved.
Resolved
| MacOS | ❌ | ❌ |
| Android | ➖ | 🚧 |
| IOS | ➖ | ❌ |

## Features

- **Play with mods in a few clicks.** Browse and download mods right in the launcher or on our website, then start the game.
- **Keep your vanilla game safe.** Modded games use their own save data. Start the game without the launcher, and you get plain Polytopia.
- **Everything in one place.** The PolyMod Hub shows your mods, their status and config, and opens with **Ctrl + Tab** from anywhere in the game.
- **Made for modders.** Change the game logic with JSON patches, add your own sprites, translations and prefabs, or write code mods in C#.

## Installation

1. Download the **PolyMod Launcher** from [polymod.dev/download](https://polymod.dev/download/).
2. Install PolyMod with the launcher.
3. Start Polytopia from the launcher.

That's it. The PolyMod button on the start screen opens the hub.

### Installing mods

The easiest way is to download mods directly in the launcher or on [polymod.dev](https://polymod.dev).

You can also install a mod by hand: put it into the `Mods` folder next to the game and restart.

> [!NOTE]
> Modded multiplayer is not supported yet. Weekly challenges and achievements are only available in vanilla Polytopia, so they are turned off while PolyMod is active.

## Making mods

Want to make your own tribe, unit or skin? Everything you need is on the [wiki](https://github.com/PolyModdingTeam/PolyMod/wiki), and the community on [Discord](https://discord.gg/eWPdhWtfVy) is always happy to help.

## Building from source

You need the [.NET 8 SDK](https://dotnet.microsoft.com/download).

```bash
git clone https://github.com/PolyModdingTeam/PolyMod.git
cd PolyMod
dotnet build
```

Copy `src/bin/IL2CPP/net6.0/PolyMod.dll` into the `BepInEx/plugins` folder of your game. Run `dotnet test` to run the tests.

## License

PolyMod is licensed under [CC BY-NC-ND 4.0](LICENSE).
19 changes: 0 additions & 19 deletions installer/build.py

This file was deleted.

Binary file removed installer/icon.ico
Binary file not shown.
154 changes: 0 additions & 154 deletions installer/main.py

This file was deleted.

4 changes: 0 additions & 4 deletions installer/requirements.txt

This file was deleted.

Loading
Loading