• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
I wish I knew how to make a converter lol, my hype for it is hugeee.

I mean, how bad do you wish to know? It's possible to learn. I didn't know much more than the basics when I started with converters.
 
Been pretty busy lately but I’d be happy to learn. My only real experience is limited modding of EU4 lol

If you're willing to learn, no real experience is necessary! But do you have experience with Minecraft, Factorio, or the industry parts of Victoria 2? Because then I can tailor some metaphors a bit later.

In any case, you'll need to get and install Visual Studio Community edition (any parts relating to C# and C++ will be needed), git, and to create an account on github.

Once Visual Studio has installed, open it. Choose 'Create a new project', then 'Empty Project', and click Next. Call the project HelloWorld and pick a location for it, then click Create.
More will open up. Right-click on Source Files and choose Add -> New Item. Choose C++ File and name it main.cpp, then click Add. In the file that opens, enter the following code (I recommend carefully retyping instead of copy-pasting, it'll help you remember some things later):
Code:
#include <iostream>


int main()
{
    std::cout << "Hello world, this is the start of a converter!";
}

Once you've done so, press F5 or choose Debug->Start Debugging from the menus. A window should open and say some things. One of which should be familiar. :cool:

Once you've done all that, let me know and I'll explain what the heck all that code is and start you on the road to making in more exciting and converter-like.
 
If you're willing to learn, no real experience is necessary! But do you have experience with Minecraft, Factorio, or the industry parts of Victoria 2? Because then I can tailor some metaphors a bit later.

In any case, you'll need to get and install Visual Studio Community edition (any parts relating to C# and C++ will be needed), git, and to create an account on github.

Once Visual Studio has installed, open it. Choose 'Create a new project', then 'Empty Project', and click Next. Call the project HelloWorld and pick a location for it, then click Create.
More will open up. Right-click on Source Files and choose Add -> New Item. Choose C++ File and name it main.cpp, then click Add. In the file that opens, enter the following code (I recommend carefully retyping instead of copy-pasting, it'll help you remember some things later):
Code:
#include <iostream>


int main()
{
    std::cout << "Hello world, this is the start of a converter!";
}

Once you've done so, press F5 or choose Debug->Start Debugging from the menus. A window should open and say some things. One of which should be familiar. :cool:

Once you've done all that, let me know and I'll explain what the heck all that code is and start you on the road to making in more exciting and converter-like.
I personally have basic experience with C++ from a coding course, but I took a look under the hood of the converters and saw a lot of strange functions which I assume are function templates and function pointers, which appear to be very daunting.
 
I personally have basic experience with C++ from a coding course, but I took a look under the hood of the converters and saw a lot of strange functions which I assume are function templates and function pointers, which appear to be very daunting.

Ah yes the lambdas used my the new parser, they take some getting used to. Not dissimilar from function pointers, and you actually can use them with the parser, but the lambda syntax is cleaner. Would you like me to write up an explanation of it?
 
Ah yes the lambdas used my the new parser, they take some getting used to. Not dissimilar from function pointers, and you actually can use them with the parser, but the lambda syntax is cleaner. Would you like me to write up an explanation of it?

would it be possible for you to create a complete and detailed tutorial to enable people to create converters. that would be cool
 
would it be possible for you to create a complete and detailed tutorial to enable people to create converters. that would be cool

A full and detailed one would probably be on par with Handmade Hero. But if anyone were to indicate they'd done this (or say they're at a better level of experience), I'd happily provide more instructions.

I've also considered streaming as I work and explaining what I do, but I need to buy a microphone first and always forget to do so.
 
A full and detailed one would probably be on par with Handmade Hero. But if anyone were to indicate they'd done this (or say they're at a better level of experience), I'd happily provide more instructions.

I've also considered streaming as I work and explaining what I do, but I need to buy a microphone first and always forget to do so.

I speak to you of a tutorial in writing, because perso I do not understand English and every time I translate by google the texts. So a video tutorial I have no interest.

If you want to make one with text pictures, I am prenneur, because I have the impression that the person who wanted to get started in the converter quickly stopped
 
I speak to you of a tutorial in writing, because perso I do not understand English and every time I translate by google the texts. So a video tutorial I have no interest.

If you want to make one with text pictures, I am prenneur, because I have the impression that the person who wanted to get started in the converter quickly stopped

Pictures shouldn't be necessary, I think. Try starting with the post I linked before and see if you can do it.

If there's anything unclear, or that needs rewording for the sake of translation, feel free to ask questions.
 
So it seems like there is a dearth of experienced programmers with enough time to volunteer for this. Thanks for your work managing these projects @Idhrendur and your offer to teach some programming; if you wrote a step-by-step that could be fun, but it might take forever. I tried the HelloWorld test (attached). I'd like to help if there is enough interest but I don't think I'd have the time to devote to working on it as a lead, especially as a complete newbie programmer.
 

Attachments

  • HelloWorld.zip
    8,2 MB · Views: 7
So it seems like there is a dearth of experienced programmers with enough time to volunteer for this. Thanks for your work managing these projects @Idhrendur and your offer to teach some programming; if you wrote a step-by-step that could be fun, but it might take forever. I tried the HelloWorld test (attached). I'd like to help if there is enough interest but I don't think I'd have the time to devote to working on it as a lead, especially as a complete newbie programmer.

I will try to put myself in it. On the other hand not before January because I will try before moving on my mod on imperator and CKII then I'll try. To those who would like to help me if you speak French prefer this language it will be better for me.

@Idhrendur I contact you as soon as I start working on it, but I have no knowledge of the code.
 
So it seems like there is a dearth of experienced programmers with enough time to volunteer for this. Thanks for your work managing these projects @Idhrendur and your offer to teach some programming; if you wrote a step-by-step that could be fun, but it might take forever. I tried the HelloWorld test (attached). I'd like to help if there is enough interest but I don't think I'd have the time to devote to working on it as a lead, especially as a complete newbie programmer.

Good work!

I will try to put myself in it. On the other hand not before January because I will try before moving on my mod on imperator and CKII then I'll try. To those who would like to help me if you speak French prefer this language it will be better for me.

@Idhrendur I contact you as soon as I start working on it, but I have no knowledge of the code.

Sadly I don't know any French (though my limited Spanish means I con sometimes understand it a little, plus there's Google translate, so if you have a question that's hard to ask you don't always need to figure out the English). But I'm willing to take the time to explain things so hopefully we get past any language barrier. And start when you can, the posts will stay here.


And actually, I've started a new thread for the programming getting started stuff. It's over here, and has that Hello World program, plus an explanation of it. I'll add more soon: https://forum.paradoxplaza.com/forum/index.php?threads/programming-tutorials.1294705
 
Last edited:
OK, thanks. It does not matter that you do not speak French I said that for those who would eventually want and who will speak French, it will prevent them to contact me in English we will save time
 
Le convertisseur est toujour en développement?
Pour ma part oui le convertisseur d'imperator vers CK2 est toujours en développement. Même si je n'y travail pas tout les jours, j'avance au rythme des sorti tuto de idhrendur car je n'y connait rien en C++. Cependant tout aide est la bienvenu si vous souhaitez car je suis un peut tout seul sur le projet.
 
Malheureusement je ne peu pas t'aidé, merci du travail que tu fournie en tout cas. Peut être que convertir I:R vers le mod When the World Stopped Making Sense de CK2 serait plus corrécte etant donné que la date de début du mod est en 400 donc plus proche
 
  • 1
Reactions:
Malheureusement je ne peu pas t'aidé, merci du travail que tu fournie en tout cas. Peut être que convertir I:R vers le mod When the World Stopped Making Sense de CK2 serait plus corrécte etant donné que la date de début du mod est en 400 donc plus proche
Ce n'est pas l'objectif car la carte de WTWSMS n'est pas la même que la carte du jeux original et je n'ai clairement pas envie de mapper deux cartes tout seul (vu que celle de CK2 me pose déja pas mal de problèmes).