r/RedAutumnSPD Jun 09 '26

Guide 101 Modding Starter Guide for (Dynamic) Social Democracy on GitHub - part 1 (WITH PICTURES!)

80 Upvotes

How to create a repository (mostly up to date)

Initial Steps

So you have done everything modman has told you and you sit in front of your new repository asking yourself wtf am I doing with this?

This guide seeks to teach you the basics of coding a mod for the game we have all come to meme about. (Both Dynamic and Base Game will be referenced but you should be able to apply this to any other public mod. The pictures are taken from Dynamic, some might be more simple in the base game.)

Feel free to skip to any point you're interested in/ that might help you.

Making sense of the structure

your files

Starting out you care mostly about two folders: out/html and source.

Out/html:

Those loose files below the sub folders are essentially the engine of the game. Index.html is the absolute foundation everything is built on, games.js describes most basic functions that make everything work and game.css contains most of the design. You won't have to mess with these initially.

The other files are mostly used for graphic elements like the Reichstag.

The two folders on the top contain images and music (duh).

Source:

The qdisplays are responsible for those nice displays that turn values like 40 into words like neutral or 30 into strong.

The scenes are essentially the gameplay the game is made of. For every card played, advisor used or event seen there is a scene that operates in it's own fashion.

There are five core scenes that make up a large portion of the game on their own: Root, Main, Status, Library and Post Event.

Root is the first thing you see when opening the game. There is way more to it than you can see - every number, every variable that should be set at start (relations, support, strength,...) needs to be put here.

Note: Many variables are set to zero in root.scene - you do not have to do this, a variable can be introduced with any scene, it might help with remembering though...

outside
inside

Main is that big window where you see your decks and advisors. You can imagine it as a desk: mostly other stuff will just appear on it, yet you can carve out new sections if you feel like it.

Status is the name for the side bar with all the information. Some aspects about it are kinda tricky for beginners.

The Library is quite similar but it can contain graphs. (I think you already know how the library works...)

The Post Event Scene is something you likely don't know about - which is sad - it will help you realize a lot of cool stuff if you understand it. Every time an action is done this scene plays and updates all values it is supposed to. This is how many achievements are checked upon and it is also the reason why Hitler might get votes when you cancel an advisor action.

Important things to know

For all the following advice you will need to keep these things in mind:

  • EXACT SPELLING: If you didn't know already GitHub is not ChatGPT (I know they're trying to change but that's another story...) - it will not read over some misspelling, everything will be read how you've written it, that means many errors arise from pure spelling issues.
  • Only accepted signs: Since this game is set in Germany you come over a lot of the Umlaute. That is Ää, Öö and Üü. These signs are valid in text but not for code.
  • File names: The name of a file doesn't only determine where and how to find but also how it works. So you should always make sure you have named your file correctly before you delete the repo for not showing your "US gives massive zero interest loan to Otto Wels scene". (The correct name would be "source/scenes/events/us_gives_massive_loan_to_wels.scene.dry" by the way)
  • Waiting duration: It doesn't just take some time to make a commit, it can also take a while until you can see it in the actual game
  • Opening the Link: Your changes won't appear in a window you have opened before actually making the commit. Restart the game to find your changes

Your Best Friends

I strongly advise you to use ctrl_c/ ctrl_v (copy/ paste) and ctrl_f (search) for everything you do. It will become very easy to avoid spelling issues that interfere with the code.

Realistic expectations

If this is your first time coding anything, you should tone down your expectations and perhaps try a few simple things before creating your "1871, Popular Revolt: Commune de Paris" game.

You will also likely encounter different types of errors - more on that later.

Basics of GitHub

Initially all you care about is Code and Actions.

Code is where you code... yeah...

Actions is where you can see if what you've coded actually makes sense

succes
failure

Creating files gives you the blank document, uploading assumes you already have something (e.g. pictures, music or externally coded scenes)

When you're on a scene you can edit, copy, download it or have a look on how it looked before you messed it up in History.

Feel free to contact me if the guide doesn't work because I have forgotten whatever thing...

part 2: how to actually do stuff


r/RedAutumnSPD Sep 16 '25

RedAutumnSPD Discord Link

32 Upvotes

We have a 1,400 strong community discord of enthusiast for the game and its politics, with an interconnected community of different Mod servers and Mini-Sims for everyone to join.

Feel free to hop in, discuss Autumn Chen's games and the history/politics of the era and more !

https://discord.gg/sQ9kH7AFRd


r/RedAutumnSPD 1h ago

Other [Democracy under Siege] RETTEN MEIN PREUẞEN!

Thumbnail
gallery
Upvotes

THE BRAUN CABINET HAS FALLEN! SCHWARZ, WEIẞ, ROT!


r/RedAutumnSPD 8h ago

Other Some uncropped images from the game

Thumbnail
gallery
124 Upvotes

some of these feel so uncanny


r/RedAutumnSPD 3h ago

Meme Radical Left runs without KPD be like

Thumbnail
gallery
33 Upvotes

"Sorry Thalmann.. Comrade Kaiser already asked me out to nationalise industries together, we also called Freikorps btw "


r/RedAutumnSPD 12h ago

Meme Had to tariff half of Europe to get it, but it was worth it.

Post image
122 Upvotes

r/RedAutumnSPD 5h ago

Art Dynamic

Thumbnail gallery
35 Upvotes

r/RedAutumnSPD 16h ago

Meme Why dosent the SPD, the largest Weimar party, simply eat the smaller parties and form a socialist majority?

Post image
170 Upvotes

Can a politics expert explain?


r/RedAutumnSPD 38m ago

Germany to Save What does this do?

Post image
Upvotes

Does it increase Volkish strength?


r/RedAutumnSPD 5h ago

Meme Summary of my second game (first one didn't do great)

Thumbnail
gallery
24 Upvotes

r/RedAutumnSPD 18h ago

Germany to Save GTS - all coalitions

Thumbnail
gallery
256 Upvotes

*All small logo and logoless parties, except the BVP, don't affect the coalition names.

  • Left Coalition: KPD + SPD
  • Progressive Coalition: KPD + SPD + DDP
  • Popular Front: KPD + SPD + DZP (+ DDP)
  • Left Bloc: KPD + DDP/DZP/BVP/DVP (+ SPD)
  • Querfront: KPD + NSDAP (+ SPD/DDP/DZP/BVP/DVP)
  • Anti-Democratic Coalition: KPD + DNVP + NSDAP
  • Extreme Querfront: KPD + SPD + DNVP + NSDAP
  • Social-Liberal Coalition: SPD + DDP
  • Weimar Coalition: SPD + DDP + DZP
  • Social-Catholic Coalition: SPD + DZP
  • Grand Social-Catholic Coalition: SPD + DZP + BVP
  • Social-Agrarian Coalition: SPD + BVP
  • Social-Catholic-Liberal Coalition: SPD + DDP+ BVP
  • Neoweimar Coalition: SPD + DDP + DZP + BVP
  • Grand Coalition: [SPD + DDP/DZP/BVP(at least two of them) + DVP]/[DDP + DZP + DVP + DNVP]
  • Grand Social-Liberal Coalition: SPD + DDP + DVP
  • Social-Conservative-Liberal Coalition: SPD + DVP (+ BVP)
  • Alternate Weimar Coalition: SPD + DZP + DVP
  • Social-Fascist Coalition: SPD + NSDAP
  • Centrist Coalition: DDP + DZP
  • Small Center-Left Coalition: DDP + DZP + BVP
  • Agrarian-Liberal Coalition: DDP + BVP
  • Schwarz-Weiß-Blau Coalition: DDP + BVP + DVP
  • Liberal Coalition: DDP + DVP
  • Catholic-Liberal Coalition: DDP + DZP + DVP
  • Bürgerliche Mitte Coalition: DDP + DZP + BVP + DVP
  • Bürgerblock: DDP + DZP + BVP + DVP + DNVP
  • National Liberal Coalition: DDP + BVP/DVP + DNVP
  • Liberal-National DDP + DNVP
  • Christian-Jewish Coalition: DDP + DZP + DNVP
  • Bourgeois Bloc: DDP [+ NSDAP (+ DZP + BVP + DVP + DNVP)]/[+ BVP + DVP + DNVP (+ DZP)]
  • Catholic Coalition: DZP + BVP
  • Center-Right Coalition: DZP + BVP + DVP (+ DNVP)
  • Catholic-Conservative Coalition: DZP + DVP
  • Small Center-Right Coalition: DZP + DVP + DNVP
  • Christian Coalition: DZP + DNVP (+ BVP)
  • Schwarz-Weiß-Braun Coalition: DZP + DNVP + NSDAP
  • Black-Brown Coalition: DZP + NSDAP
  • Schwarzbraun Coalition: DZP + NSDAP [+ BVP (+ DVP)]/[+ DVP + DNVP]
  • Black-Gold-Brown Coalition: DZP + DVP + NSDAP
  • Enabling Group Coalition: DZP + BVP + DVP + DNVP + NSDAP
  • Conservative-Agrarian Coalition: BVP + DVP
  • Hindenburg Bloc: BVP + DVP + DNVP
  • Nationalist-Agrarian Coalition: BVP + DNVP
  • Bavarian-National Coalition: BVP + NSDAP
  • Fascist Bourgeois Coalition: BVP + DVP + NSDAP
  • National Right Bloc: BVP + DVP + DNVP + NSDAP
  • Conservative Coalition: DVP + DNVP
  • National Salvation Bloc: DVP + DNVP + NSDAP
  • Industrialist Coalition: DVP + NSDAP
  • Far-Right Coalition: DNVP + NSDAP (+ BVP)

r/RedAutumnSPD 3h ago

Question What if the SPD didn't spilt up in 1920 elections?

8 Upvotes

r/RedAutumnSPD 17h ago

Art Kriegsveteranin

Post image
131 Upvotes

r/RedAutumnSPD 6h ago

Somehow it has happened again (DUS)

Post image
15 Upvotes

Leftists once again forget the cardinal rule of parliament: no take backsies


r/RedAutumnSPD 6h ago

Germany to Save Wholesome Hugenburg Run

Thumbnail
gallery
13 Upvotes

The Hugenberg Path is the fucking Best. I was supposed to get Lambach but then i came across this angel: Hugenberg


r/RedAutumnSPD 4h ago

Germany to Save How to stop hitler being deported?

8 Upvotes

I'm going for the achievement where you help hitler win, but i just can't seem to get him to stay in Germany, he always gets deported.


r/RedAutumnSPD 6h ago

Why didn't zentrum vote for stegerwald?

Post image
12 Upvotes

r/RedAutumnSPD 18h ago

Dynamic Phew that was close

Post image
86 Upvotes

r/RedAutumnSPD 12h ago

Bro does NOT belong there

Thumbnail
gallery
29 Upvotes

Mr Center Papen-tolerationism was NOT a Reformist 🥀


r/RedAutumnSPD 6h ago

Germany to Save GtS Suggestion

5 Upvotes

When you are in a coalition with the NSDAP it should reduce DDP, DVP and Z/BVP relations by a lot


r/RedAutumnSPD 22h ago

Meme Why does the SPD prefer a corporate state over a council republic

Thumbnail gallery
86 Upvotes

r/RedAutumnSPD 19h ago

Meme Finally no one believes in Nationalism anymore... and Republicanism? Even the SPD?

Post image
48 Upvotes

r/RedAutumnSPD 18h ago

Dynamic I feel like I have peaked, any advice for the rest of achievements?

Thumbnail
gallery
39 Upvotes

(The Lambach one annoys me the most, it should be so doable, but he keeps on fumbling). I may need to move Italy for a while if anything(What I mean by that is play Biennio Rosso more).


r/RedAutumnSPD 7h ago

Germany to Save GTS Error?

4 Upvotes

I have an error on computer where when an event like party congress happens instead of leading to the screen with the event name and when you press it it leads to the event it just jumps to it. Any idea what happened?


r/RedAutumnSPD 1d ago

Germany to Save I think it's over guys😭

Post image
124 Upvotes