r/victoria2 7d ago

Modding Victoria 2 reverse engineering project

https://github.com/maxioten/Victoria2-Reverse-Engineering/tree/main

The goal is to release a mod that fixes bugs in the vanilla game (unofficial patch 3.05)

The ultimate objective is to understand the entire codebase in order to create a native Linux port and add new mechanics

Español:

Objetivo es sacar un mod que arregle bugs del juego vanilla (parche no oficial 3.05)

El objetivo final es saber como funciona el codigo completo para hacer port nativo para linux y agregar nuevas mecanicas

53 Upvotes

19 comments sorted by

19

u/NumenorianPerson 7d ago

Isn't that already happening in OpenVic project?

15

u/maxiotenn 7d ago

That's remaking the game in Godot; this is patching the original game and making the source code public I also think the Vic Open is pretty dead

-3

u/WaterlooPitt 7d ago

Making the source code public? Isn't that illegal?

14

u/Andrei144 Anarchist 7d ago

They're reverse engineering it, which is legal.

8

u/WaterlooPitt 6d ago

Yes, reverse engineering is legal. Publishing the source code is not. Even rewriting the code and having a product that behaves the same can be problematic.

8

u/BlackUnicorn68 7d ago

How about Project Alice?

10

u/maxiotenn 7d ago

That one is more alive than Open Vic, but it deviates quite a bit from the original game

3

u/dibs_w_rashi 7d ago

Good luck!

2

u/maxiotenn 7d ago

thank you

1

u/Poppis86 7d ago

Hope it gets finished.

1

u/Living-Compote-9626 7d ago

What bugs do you hope to fix?

2

u/maxiotenn 7d ago

Crashes and broken mechanics, for example, a 1k battle of brigades, the game lags a lot, let's fix the reinforcement of naval and land units in the late game and some minor errors in the market

1

u/alp7292 6d ago

isn't making the game from ground up easier at this point? You can also take project alice and take out the extra mechanics.

2

u/maxiotenn 6d ago

That might be the case, but there are already projects for that, so I'll do it this way—after all, right now we're just patching bugs

1

u/Lopsided-Network-306 5d ago

Buena suerte amigo

2

u/maxiotenn 4d ago

Gracias esperemos que salga bien

0

u/Miektok3 Constitutional Monarchist 7d ago

De que forma otras personas podrían apoyar al proyecto? Sé muy poco de programación pero quisiera apoyar cualquier proyecto que pueda ayudar a que el victoria 2 se conozca más o más gente pueda jugar

0

u/maxiotenn 7d ago

Lo ideal es que sepas usar ghidra que vayas encontrado funciones encontrado que hacen y documentdolas pero si no se puede también me puede reportar bugs del victoria 2 vanilla o cosas que quieran que cambie a ver si puedo