Skip to content

Commit 2be79d0

Browse files
authored
Merge pull request #37 from supertux-community/cleanup-repo
Repository re-organization, cleanup and add-on management, using Git history
2 parents 6adcc0c + e4e1c35 commit 2be79d0

File tree

186 files changed

+699
-393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+699
-393
lines changed

Levels/christoph.zip

-9.92 KB
Binary file not shown.

Levels/levels-of-wolfs.zip

-48.5 KB
Binary file not shown.

README.md

Lines changed: 46 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1-
SuperTux Addon
1+
SuperTux Addons
22
==============
33

4+
## Packaging your addon
5+
6+
To package your addon, you can use the "Package Add-on" option in the main level editor menu.
7+
8+
<details>
9+
<summary>Additional information for addon .nfo files</summary>
10+
<br>
411
Addon .nfo files look like this:
512

6-
(supertux-addoninfo
7-
(id "octo-levels")
8-
(version 1)
9-
(type "worldmap")
10-
(title "Octo's Levels")
11-
(author "Octo")
12-
(license "GPL 2+ / CC-by-sa 3.0"))
13+
```
14+
(supertux-addoninfo
15+
(id "octo-levels")
16+
(version 1)
17+
(type "worldmap")
18+
(title "Octo's Levels")
19+
(author "Octo")
20+
(license "GPL 2+ / CC-by-sa 3.0")
21+
)
22+
```
1323

1424
The `id` is a identifier for this addon, it has to be unique across
1525
all addons, as it is used to compare the addons with new ones from
@@ -28,4 +38,31 @@ the addon is handled.
2838

2939
The .nfo file itself needs to be stored in the top-level directory of
3040
the addon and should be named by the unique id of the addon, i.e.
31-
"/octo-levels.nfo" in this example.
41+
`/octo-levels.nfo` in this example.
42+
</details>
43+
44+
## Adding/Updating an addon
45+
To update an addon in the repository, you would need to submit a [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).
46+
The pull request should contain two commits:
47+
48+
1. Adds/replaces the archive of your addon, contained in the `repository/` directory with a new one, which contains your changes.
49+
2. Edits the `index.nfo` for the latest SuperTux version, by adding/modifying the entry for your addon. This will allow it to be downloaded from the in-game addon manager.
50+
51+
An addon data entry looks like this:
52+
53+
<pre>
54+
(supertux-addoninfo
55+
(id "<b>addon-id</b>")
56+
(version <b>addon-version</b>)
57+
(type <b>addon-type</b>)
58+
(title "<b>addon-title</b>")
59+
(author "<b>addon-author</b>")
60+
(license "<b>addon-license</b>")
61+
(url "https://raw.githubusercontent.com/SuperTux/addons/<b>addon-commit-hash</b>/repository/<b>addon-file-name</b>")
62+
(md5 "<b>addon-md5-checksum</b>")
63+
)
64+
</pre>
65+
66+
* **addon-commit-hash** represents the full commit hash of your first commit, which adds/replaces your addon in the `repository/` directory. This is important to include, because it allows the current SuperTux release to always get its versions of all addons for backwards compatibility.
67+
* **addon-md5-checksum** represents your new, modified addon archive's MD5 checksum hash. This needs to be updated every time the addon is updated, because the game will not be able to download your addon otherwise. The MD5 checksum is being used for checking the integrity of the addon.
68+
* For the rest of the entries, the rules listed above for addon `.nfo` files also apply here.

Worldmaps-0_3_5/fiona.zip

-262 KB
Binary file not shown.
-1.88 MB
Binary file not shown.

index-0_3_5.nfo

Lines changed: 139 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1,130 +1,144 @@
11
(supertux-addons
2-
(supertux-addoninfo
3-
(kind "Worldmap")
4-
(title "Tux Strikes Back")
5-
(author "Christian Schaefers")
6-
(license "freeware that must not be sold provided \"as is\" without express or implied warranty")
7-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/tsblevels.zip")
8-
(file "tsblevels.zip")
9-
(md5 "6ae86eb74087ea341261832bec0e3377")
10-
)
11-
(supertux-addoninfo
12-
(kind "World")
13-
(title "Mattie's World")
14-
(author "LMH")
15-
(license "GPL 2 / CC-by-sa 3.0")
16-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/mattie_world_0_3_4.zip")
17-
(file "mattie_world_0_3_4.zip")
18-
(md5 "b7d1bdb30e80657009963307fc8e3351")
19-
)
20-
(supertux-addoninfo
21-
(kind "World")
22-
(title "Hume's 2 worldmaps")
23-
(author "Hume")
24-
(license "GPL 2+ / CC-by-sa 3.0")
25-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/hume_worlds.zip")
26-
(file "hume_worlds.zip")
27-
(md5 "8c638482cb30a713c88723fcb736f315")
28-
)
29-
(supertux-addoninfo
30-
(kind "World")
31-
(title "CT's 2 worldmaps")
32-
(author "CT .da'Bomb")
33-
(license "GPL 2+ / CC-by-sa 3.0")
34-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/ct_worlds.zip")
35-
(file "ct_worlds.zip")
36-
(md5 "17651bb3c8197d3fc055f4699a8f9821")
37-
)
38-
(supertux-addoninfo
39-
(kind "Worldmap")
40-
(title "Octo's Levels")
41-
(author "Octo")
42-
(license "GPL 2+ / CC-by-sa 3.0")
43-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/octo.zip")
44-
(file "octo.zip")
45-
(md5 "86b0594921d455d09cd735765f009db0")
46-
)
47-
(supertux-addoninfo
48-
(kind "Worldmap")
49-
(title "Yeti's Revenge")
50-
(author "niso")
51-
(license "GPL 2+ / CC-by-sa 3.0")
52-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/YETIS_REVENGE_update4.zip")
53-
(file "YETIS_REVENGE_update3.zip")
54-
(md5 "190717c677d7137b5db8ff557e01b954")
55-
)
56-
(supertux-addoninfo
57-
(kind "Worldmap")
58-
(title "Island of Moob")
59-
(author "treskalle")
60-
(license "GPL 2+ / CC-by-sa 3.0")
61-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/moob-island-beta7.zip")
62-
(file "moob-island-beta7.zip")
63-
(md5 "ae05a9fd311744e90c84ebbfd492a9ef")
64-
)
65-
(supertux-addoninfo
66-
(kind "Worldmap")
67-
(title "The Valley of Chaos")
68-
(author "SemajD")
69-
(license "GPL 2+ / CC-by-sa 3.0")
70-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/The_Valley_Of_Chaos.zip")
71-
(file "The_Valley_Of_Chaos.zip")
72-
(md5 "be79609245c5d14bae4010e33bafe351")
73-
)
74-
(supertux-addoninfo
75-
(kind "Worldmap")
76-
(title "Narre Land")
77-
(author "Narre")
78-
(license "GPL 2+ / CC-by-sa 3.0")
79-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/narre_addon.zip")
80-
(file "narre_addon.zip")
81-
(md5 "b40559513180c61e76b636201a1b69d8")
82-
)
83-
(supertux-addoninfo
84-
(kind "Worldmap")
85-
(title "Levels of Wolfs")
86-
(author "Wolfs")
87-
(license "GPL 2+ / CC-by-sa 3.0")
88-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/levels-of-wolfs.zip")
89-
(file "levels-of-wolfs.zip")
90-
(md5 "e3f18430d4558ee68d8ab2b04a2f4805")
91-
)
92-
(supertux-addoninfo
93-
(kind "Worldmap")
94-
(title "Rubberducks levels")
95-
(author "Basti")
96-
(license "GPL 2+ / CC-by-sa 3.0")
97-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/rubberduck.zip")
98-
(file "rubberduck.zip")
99-
(md5 "96fd633c272382a9776eb0a6ff61f34d")
100-
)
101-
(supertux-addoninfo
102-
(kind "Worldmap")
103-
(title "Lolkat's Levels")
2+
(supertux-addoninfo
3+
(id "cschaefer-tux-strikes-back")
4+
(version 2)
5+
(type "worldmap")
6+
(title "Tux Strikes Back")
7+
(author "Christian Schaefers")
8+
(license "CC BY-SA 4.0+")
9+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/cschaefer-tux-strikes-back_v2.zip")
10+
(md5 "155f9ef8a3189e47da6c38288379d7da")
11+
)
12+
(supertux-addoninfo
13+
(id "lmh-matties-world")
14+
(version 3)
15+
(type "world")
16+
(title "Mattie's World")
17+
(author "LMH")
18+
(license "GPL 2 / CC-by-sa 3.0")
19+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/lmh-matties-world_v4.zip")
20+
(md5 "e6687a081c1f77ceee20f002835063ee")
21+
)
22+
(supertux-addoninfo
23+
(id "hume-worldmaps")
24+
(version 2)
25+
(type "world")
26+
(title "Hume's 2 worldmaps")
27+
(author "Hume")
28+
(license "GPL 2+ / CC-by-sa 3.0")
29+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/hume-worldmaps_v2.zip")
30+
(md5 "8c638482cb30a713c88723fcb736f315")
31+
)
32+
(supertux-addoninfo
33+
(id "ctdabomb-worldmaps")
34+
(version 1)
35+
(type "world")
36+
(title "CT's 2 worldmaps")
37+
(author "CT .da'Bomb")
38+
(license "GPL 2+ / CC-by-sa 3.0")
39+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/ctdabomb-worldmaps_v1.zip")
40+
(md5 "85da2891661f043e0b80a9a6c8ea60dc")
41+
)
42+
(supertux-addoninfo
43+
(id "octo-levels")
44+
(version 1)
45+
(type "worldmap")
46+
(title "Octo's Levels")
47+
(author "Octo")
48+
(license "GPL 2+ / CC-by-sa 3.0")
49+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/octo-levels_v1.zip")
50+
(md5 "1b3d29a02edc7cd34ba166db110037cd")
51+
)
52+
(supertux-addoninfo
53+
(id "niso-yetis-revenge")
54+
(version 2)
55+
(type "worldmap")
56+
(title "Yeti's Revenge")
57+
(author "niso")
58+
(license "GPL 2+ / CC-by-sa 3.0")
59+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/niso-yetis-revenge_v2.zip")
60+
(md5 "cbe954f4a0cc994e54d03b3978feb2cc")
61+
)
62+
(supertux-addoninfo
63+
(id "treskalle-island-of-moob")
64+
(version 1)
65+
(type "worldmap")
66+
(title "Island of Moob")
67+
(author "treskalle")
68+
(license "GPL 2+ / CC-by-sa 3.0")
69+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/treskalle-island-of-moob_v1.zip")
70+
(md5 "49cd84a701d03053fd0fe7e161483e08")
71+
)
72+
(supertux-addoninfo
73+
(id "semajd-valley-of-chaos")
74+
(version 1)
75+
(type "worldmap")
76+
(title "The Valley of Chaos")
77+
(author "SemajD")
78+
(license "GPL 2+ / CC-by-sa 3.0")
79+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/semajd-valley-of-chaos_v1.zip")
80+
(md5 "0f50ad2412bc220bd6e5fb5d02e0f75e")
81+
)
82+
(supertux-addoninfo
83+
(id "narre-land")
84+
(version 1)
85+
(type "worldmap")
86+
(title "Narre Land")
87+
(author "Narre")
88+
(license "GPL 2+ / CC-by-sa 3.0")
89+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/narre-land_v1.zip")
90+
(md5 "c5ce27594195ba9fc086a0fb34fb4fbb")
91+
)
92+
(supertux-addoninfo
93+
(id "wolf-levels")
94+
(version 1)
95+
(type "worldmap")
96+
(title "Levels of Wolfs")
97+
(author "Wolfs")
98+
(license "GPL 2+ / CC-by-sa 3.0")
99+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/wolf-levels_v1.zip")
100+
(md5 "5cf1bb45f1f639944e7a53736b0e46b9")
101+
)
102+
(supertux-addoninfo
103+
(id "rubberduck-levels")
104+
(version 2)
105+
(type "worldmap")
106+
(title "Rubberducks levels")
107+
(author "Basti")
108+
(license "GPL 2+ / CC-by-sa 3.0")
109+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/rubberduck-levels_v2.zip")
110+
(md5 "30941bff2497090a93a4d50d262042e5")
111+
)
112+
(supertux-addoninfo
113+
(id "lolkat-levels")
114+
(version 1)
115+
(type "worldmap")
116+
(title "Lolkat's Levels")
104117
(author "Lolkat")
105118
(license "GPL 2+ / CC-by-sa 3.0")
106-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/lolkat.zip")
107-
(file "lolkat.zip")
108-
(md5 "0d15086eb5ff2fb9c6b9066fe73311af")
109-
)
110-
(supertux-addoninfo
111-
(kind "Worldmap")
112-
(title "Fiona's World")
113-
(author "LMH")
114-
(license "GPL 2+ / CC-by-sa 3.0")
115-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps-0_3_5/fiona.zip")
116-
(file "fiona.zip")
117-
(md5 "6da14cdf93e1118fee32788c0aed8a40")
118-
)
119-
120-
(supertux-addoninfo
121-
(kind "Worldmap")
122-
(title "Halloween 2014")
123-
(author "SuperTux Team")
124-
(license "GPL 2+ / CC-by-sa 3.0")
125-
(http-url "https://raw.githubusercontent.com/SuperTux/addons/master/Worldmaps/halloween2014.zip")
126-
(file "halloween2014.zip")
127-
(md5 "28db69d4e84763277c02fdfd3d532eb0"))
128-
119+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/lolkat-levels_v1.zip")
120+
(md5 "059146860c00cedfff08e688095b6216")
121+
)
122+
(supertux-addoninfo
123+
(id "lmh-fionas-world")
124+
(version 2)
125+
(type "worldmap")
126+
(title "Fiona's World")
127+
(author "LMH")
128+
(license "GPL 2+ / CC-by-sa 3.0")
129+
(url "https://raw.githubusercontent.com/SuperTux/addons/master/repository/outdated/lmh-fionas-world_v2.zip")
130+
(md5 "b521546dc994d50f10122cad18cca078")
131+
)
132+
(supertux-addoninfo
133+
(id "halloween2014")
134+
(version 1)
135+
(type "worldmap")
136+
(title "Halloween 2014")
137+
(author "SuperTux Team")
138+
(license "GPL 2+ / CC-by-sa 3.0")
139+
(url "https://raw.githubusercontent.com/SuperTux/addons/25dbd9f7feded11079205b562360c3727915a5ad/repository/halloween-2014.zip")
140+
(md5 "28db69d4e84763277c02fdfd3d532eb0")
141+
)
129142
)
130143

144+
;; EOF ;;

0 commit comments

Comments
 (0)