[HOI4 Modding] Fixing 5 Common Modding Errors

  Рет қаралды 39,115

The Iron Workshop

The Iron Workshop

Күн бұрын

Learn how to solve the 5 most common modding errors when modding Hearts of Iron 4.
These include (with timestamps):
1. No people living here & has no category defined when modding states. [1:54]
2. Map Invalid x crossing detected, please fix pixel at coords... [07:16]
3. Malformed token [13:53]
4. Countries not showing up on country selection screen when creating a new bookmark (see creating a focus tree lesson to solve the issue) [16:41]
5. General modding tips [19:05]
If you have a complicated question that can't be answered here properly (for example if you want to attach a screenshot) you are welcome to use the topics on the Paradox forums or the Iron Workshop subreddit page (see link below and on the main page of this channel)
Useful links:
Hearts of Iron IV wiki modding page:
hoi4.paradoxwikis.com/Modding
Iron Woskshop reddit page:
/ ironworkshop
EU IV Iron Workshop on the Paradox forums: forum.paradoxplaza.com/forum/...
HOI IV Iron Workshop on the Paradox forums: forum.paradoxplaza.com/forum/...
Note: You will need a Paradox account with a registered copy of Hearts of Iron IV/Europa Universalis IV
Here are the download links to the various tools used during The Iron Workshop lessons/tutorials.
Pain.net Download:
www.getpaint.net/download.html
Notepad++ Download:
notepad-plus-plus.org/download
If you have any questions regarding the video or any of the software don't hesitate to ask in the comments or on the subreddit page :).
If you would like to contribute to make the Iron Workshop better you can do so on Patreon: / playerhoi

Пікірлер: 89
@shangtsung2450
@shangtsung2450 2 жыл бұрын
Thank you for sharing these debugging tips. They are very useful and insightful.
@theflyingkahoon1099
@theflyingkahoon1099 5 жыл бұрын
Yay! Thanks for uploading again!
@reichtanglevictor1694
@reichtanglevictor1694 5 жыл бұрын
Wow, didn't know that's what nudge does, nice video!
@DatBoi_TheGudBIAS
@DatBoi_TheGudBIAS 10 ай бұрын
X crossing does make some sense. it happens when 4 provinces share a corner, therefore creating an X (or +) shaped border between them
@tellinallfilms2533
@tellinallfilms2533 2 жыл бұрын
Hey there I'm trying to create a border conflict between my custom nation and the USA. The war shows up but the ai won't send its divisions over there to fight and neither will the USA so its at a constant undecided outcome. When I take over the country the divisions immediately begin heading to the conflict area without me doing anything. Why isn't the ai sending its divisions?
@politonno2499
@politonno2499 Жыл бұрын
I have a slight problem, the error.log says that "add _extra_state_shared_building" is an invalid scope. Does that mean that I used the scope wrong? I'd like a tutorial about buiding constructions, because I am having issues with that in my mod
@antisovietmapping6089
@antisovietmapping6089 4 жыл бұрын
error dlc.cpp:1335 Could not find item in store backend a fix?
@kristiyankrasimirov9308
@kristiyankrasimirov9308 3 жыл бұрын
I have a problem with the map defition for my mod, how do I fix this?
@hoangfps6560
@hoangfps6560 4 жыл бұрын
i got this kind of errors that make my game crash when im trying to play mod [02:58:29][pdx_data_factory.cpp:775]: Could not find function for 'NotEqualTo_int32' in 'NotEqualTo_int32(SaveDialog.SavableCount, '(int32)1')' [02:58:29][pdx_data_factory.cpp:596]: Failed converting statement for 'NotEqualTo_int32(SaveDialog.SavableCount, '(int32)1')' [02:58:29][pdx_gui_factory.cpp:979]: gui/tools/save_dialog.gui:38 - Failed parsing data statement 'NotEqualTo_int32(SaveDialog.SavableCount, '(int32)1')' for property 'visible'(774) [02:58:29][pdx_data_factory.cpp:775]: Could not find function for 'NotEqualTo_int32' in 'NotEqualTo_int32(SaveDialog.SavableCount, '(int32)1')' [02:58:29][pdx_data_factory.cpp:596]: Failed converting statement for 'NotEqualTo_int32(SaveDialog.SavableCount, '(int32)1')' [02:58:29][pdx_gui_factory.cpp:979]: gui/tools/save_dialog.gui:265 - Failed parsing data statement 'NotEqualTo_int32(SaveDialog.SavableCount, '(int32)1')' for property 'visible'(774)
@TeambrudiHD
@TeambrudiHD Жыл бұрын
i made my mod in a older verson before the new dlc it crashes if i start it in a new verson and the game says i have erros but how do i open the erro list like you did?
@devinex9149
@devinex9149 26 күн бұрын
I have an error when I open the error log in debug mode: "The system cannot find the specified path." And mods don't work, even simple ones, where I only added national focuses. Can you help solve this problem?
@facupiri2988
@facupiri2988 4 жыл бұрын
It would be good a tutorial how to make civil war events like the spanish civil war
@philippplayz
@philippplayz 4 жыл бұрын
What does [18:41:46][statehistory.cpp:160]: Unknown countrytag for TOP owner-change in TODO mean. I KEEP GETTING IT and I don´t get it. I also have [18:41:49][countrytag.cpp:109]: TOP - is not in the tag list even tho I put it in the taglist. Can you pls help
@samyamaryal8678
@samyamaryal8678 Жыл бұрын
Hi does map cross smth also mean map mod defination error? They're caused by the same issue?
@tbgamin9593
@tbgamin9593 2 жыл бұрын
Sorry this is late but how do I remove all previous nations so I have a blank canvas to work with?
@kubazielinski3418
@kubazielinski3418 3 жыл бұрын
Hi. Recently I started learning how to make mods in hoi4 and I found your tutorial how to make a new country. I did all things that was in tutorial and when i start game with my mod the error log in notepad show me that - System can not find the path - and in the game nothing had changed. Can you help me? Sry for maybe bad english.
@Valamicsatorna
@Valamicsatorna 2 жыл бұрын
what can i do if it say discriptor is invalid, but I didnt do anything, I only didnt launch the mod for three months?
@sophyallard4619
@sophyallard4619 2 жыл бұрын
I have an issue where it says my country isn't on the country tags and then puts loads of lines ending with TODO even though my country is in the country tags
@michealbrennan8107
@michealbrennan8107 Жыл бұрын
Hey i have a slight problem i have made 4 mods using this but non have actually worked the country wouldn’t appear and it said that the country tag didn’t exist
@iliaschristens1051
@iliaschristens1051 2 жыл бұрын
can you make a small video about that error ? Province (x) has TOO LARGE BOX. Perhaps pixels are spread around the world in provinces.bmp
@THEREDS580
@THEREDS580 2 жыл бұрын
I have a problem with my millennium dawn mod I have cracked hoi4 and installed the mod from sky mods and it says map error and then exits the game
@doktord.8403
@doktord.8403 4 жыл бұрын
I need a bit of help i got this error whit the unexpected token but i didnt even edit the area whit the error
@CSGOdump
@CSGOdump 2 жыл бұрын
I have this bug that whenever i try to activate a mod the ai's troops don't move even when i declare war on them anyone know how to fix this
@Sebwazhere
@Sebwazhere Жыл бұрын
In the current version of hoi4, are there errors in the base game, because I fixed all the errors my mod made, but there are some errors that I got before I started my mod, and now they're the only ones left, could anyone help?
@andorgunczer
@andorgunczer 3 жыл бұрын
Made a new country, made a focus to it that adds buildings. The buildings are not added, until I choose an idea, or switch to another country then switch back. No error log nothing.
@gmodgrunt
@gmodgrunt Жыл бұрын
but how do locate the province via the coordinates?
@thezombiecreeper
@thezombiecreeper 3 жыл бұрын
I have an error that keeps crashing my game when loading. It reads “Error reading division template (Division Template)”. How do I fix this? The division template in the event files look readable, as it says something like “SOV_INF_1”.
@TheIronWorkshop
@TheIronWorkshop 3 жыл бұрын
Obviously you have an issue with one of your division templates, fix/delete the template and that should fix it. If you don't know which template does it, start by removing all the files in history/units (those are the files that contain templates) and than putting them back one by one until you find the file that's causing the crash.
@thezombiecreeper
@thezombiecreeper 3 жыл бұрын
The Iron Workshop ok, thanks
@yugoslavia_operator128
@yugoslavia_operator128 2 жыл бұрын
Hey mate have you played Thousand week reich mod? I get failed to load map when initialising game. My version rn is 1.10.4
@hanszimmer207
@hanszimmer207 2 жыл бұрын
already get it fixed?
@blankelborez446
@blankelborez446 3 жыл бұрын
I'm getting this pesky error message telling me that my map definition has got errors. The same error appears when deleting strategic region or supply area files from working mods, so I'm certain that it's not the map definition. Do you happen to know this error and its causes? EDIT: Problem solved, you just need to have every single province assigned to a state, strategic region and supply area, kind of obvious, if you think about it...
@Global_majesty
@Global_majesty 2 жыл бұрын
Thanks but it doesn't workd for me
@darianraul1520
@darianraul1520 Жыл бұрын
States? (America) or The Entire World like every country, city, province? And please explain again.
@SneedsterSpeedster
@SneedsterSpeedster Жыл бұрын
@@darianraul1520 ? I'm sorry, but what he said is fairly obvious. What do you mean?
@darianraul1520
@darianraul1520 Жыл бұрын
@@SneedsterSpeedster so I had a problem that went something like this a map problem and different stuff but yeah ..
@darianraul1520
@darianraul1520 Жыл бұрын
@@SneedsterSpeedster if you can help somehow send a message here
@trilex_2767
@trilex_2767 10 ай бұрын
when i play the mod "The Great war" the focus names look something like this: "GER_ww1_secret_alliance_rom", or events are called: "ww1_bulgaria.1.t." instead of the real name. How do you fix this?
@VolumeCheese
@VolumeCheese 4 ай бұрын
You cant fix that... that is because the mod devs have not added localizations to those focuses so you just gotta wait for them to update the mod or just ignore it
@nuhu784
@nuhu784 3 ай бұрын
It's because you dont have the language in english, the mod was developed in english
@MeBikMonk
@MeBikMonk Жыл бұрын
It would be good having a tutorial about making cities within a state
@TheIronWorkshop
@TheIronWorkshop Жыл бұрын
See here: kzbin.info/www/bejne/paW9aapuarV7pJY
@archiespindler4129
@archiespindler4129 5 жыл бұрын
Would it be possible (I completely understand if it isn't) for you to make a video or point me towards another video of someone else's that goes through changing flags for EU4 on a mac computer because the flag file setup is a bit different.
@TheIronWorkshop
@TheIronWorkshop 5 жыл бұрын
I do not own a MAC so can't really make a video but perahps you can search for hoi4 modding mac and see if anything comes up... I haven't encountered any videos explaining how to do that on MAC's
@archiespindler4129
@archiespindler4129 5 жыл бұрын
@@TheIronWorkshop OK - your videos have still given me lots of basic knowledge of modding so thank you anyway.
@TheIronWorkshop
@TheIronWorkshop 5 жыл бұрын
@@archiespindler4129Glad to hear that :)
@martychisnall
@martychisnall 4 жыл бұрын
“Some errors are present in the map definition and have been logged to error.log” Every time I try to load my mod I get this message, I have tried the steps it says but it still won’t work, I know for a fact that the content of my mod is 1.9.1 compatible and I even tested it by copying the files from another mod into a new mod folder, the actual mod loads but my the test mod with the exact same files I try to load crashes still. Does anyone know what’s wrong and how it can be fixed?
@avrazzuber7829
@avrazzuber7829 4 жыл бұрын
same happened with mine ?!!
@Bruh-sn8de
@Bruh-sn8de 3 жыл бұрын
Yeah with mine too
@Bruh-sn8de
@Bruh-sn8de 3 жыл бұрын
Have you fixed it?
@shenrontan6931
@shenrontan6931 3 жыл бұрын
Look for the error.log and use the find system and type 'map_error'. these errors are the ones making the 'Some errors are present in the map definition and have been logged to error.log' appear everytime you start. I just fixed this certain problem and it's no longer appearing but I have another problem, sad.
@Bruh-sn8de
@Bruh-sn8de 3 жыл бұрын
@@shenrontan6931 How did you fix it? Because I really miss playing with mods
@sumaq2034
@sumaq2034 2 жыл бұрын
El mapa me aparece negro alguna solucion
@AkumuNyaaaa
@AkumuNyaaaa 5 ай бұрын
what about "no provinces in state?"
@alexsanderkonkin6359
@alexsanderkonkin6359 5 жыл бұрын
Hey, could u explain an error "Failed to create id (numbers). Already exists in game" I am not sure even with what is it connected (
@TheIronWorkshop
@TheIronWorkshop 5 жыл бұрын
That depends on what you were adding... Provinces? Ministers? Generals? Techs?
@alexsanderkonkin6359
@alexsanderkonkin6359 5 жыл бұрын
@@TheIronWorkshop ministers I guess, cause I this problem started when I was adding a great amount of ministers and slots for them
@TheIronWorkshop
@TheIronWorkshop 5 жыл бұрын
@@alexsanderkonkin6359 Well than, here's your answer... You added a minister with an ID that already exists.
@alexsanderkonkin6359
@alexsanderkonkin6359 5 жыл бұрын
@@TheIronWorkshop and is there any kind of list of id s that are in the game? or it is just searching through the files?
@TheIronWorkshop
@TheIronWorkshop 5 жыл бұрын
@@alexsanderkonkin6359 AFAIK the game doesn't use too many ID's for ministers. Mostly they are used for generals/field marshals and admirals... You can find all of them by pointing Notepad++ to the Steam\steamapps\common\Hearts of Iron IV\history\countries folder, opening search with Ctrl + F, switching to the Find in files tab, typing in the 'Find what' box "id" (make sure to put a tick on Match whole word only) and clicking the Find All button To make it easier for you I see that GER uses I'Ds 1-31 HUN - 500 JAP - 700 SOV: 401 - 412 USA: 602 57 601 That seems to be all of them.
@saphird2787
@saphird2787 11 ай бұрын
help i have error equipment_graphic_database.cpp GFX referenced in equipment graphic database does not exist: GFX_POR_gwtank_medium
@alexandreborman2183
@alexandreborman2183 3 жыл бұрын
How do you change the version of your mod for a newer one?
@zsigmondrekasi642
@zsigmondrekasi642 3 жыл бұрын
In your .mod fil version="0.1.0" supported_version="1.10.5"
@alexandreborman2183
@alexandreborman2183 3 жыл бұрын
@@zsigmondrekasi642 Ok thank you
@Misterd12ll
@Misterd12ll Жыл бұрын
@@zsigmondrekasi642 i chanjed it dosent weork
@ezhelmoruq4307
@ezhelmoruq4307 Жыл бұрын
i just changed germany focuses to 7 days now i have 1895 error help :d
@Trento.
@Trento. 4 жыл бұрын
None of the political parties have no popularity which gives the pie chart no color. How can i fix this?
@thezombiecreeper
@thezombiecreeper 3 жыл бұрын
trash trash usually you need to make sure the sum of all the numbers equals 100
@Trento.
@Trento. 3 жыл бұрын
thezombiecreeper I figured it out, the names of the political parties were wrong
@thezombiecreeper
@thezombiecreeper 3 жыл бұрын
trash trash oh
@ShadeStormXD
@ShadeStormXD 3 жыл бұрын
@@thezombiecreeper i had that problem, kept miscounting or adding 0 values
@GambinoTheGoat
@GambinoTheGoat 2 жыл бұрын
noice face reveal
@Ostarrich1
@Ostarrich1 5 жыл бұрын
@slavsunifier831
@slavsunifier831 Жыл бұрын
Hey, I've got an error "Province 13121 has no pixels in provinces.bmp".How to I fix this error? How do I find this "province 13121" on a province.bmp map? Also at the very end of the error.log it says that this province is separated from the rest
@user-bc5zt6ww3b
@user-bc5zt6ww3b 9 ай бұрын
This modding video could help you. kzbin.info/www/bejne/eZnXqH2wg56Wptk
[HOI4 Modding] Creating Decisions and Missions
42:14
The Iron Workshop
Рет қаралды 37 М.
[HOI4 Modding] Creating a basic focus tree
38:30
The Iron Workshop
Рет қаралды 208 М.
La final estuvo difícil
00:34
Juan De Dios Pantoja
Рет қаралды 27 МЛН
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 43 МЛН
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
00:19
Паша Осадчий
Рет қаралды 4,2 МЛН
Cinematic Addon MCPE 1.20.70+ | FlowMo V2
7:00
ethanjmac
Рет қаралды 115
[HOI4 Modding] Creating Upgrade Technology
17:20
The Iron Workshop
Рет қаралды 29 М.
[HOI4 Modding] Creating New Characters
1:08:14
The Iron Workshop
Рет қаралды 84 М.
[EU4 Modding] - Creating Missions
19:14
The Iron Workshop
Рет қаралды 28 М.
Canada, you good bro?
0:52
Habitual Linecrosser
Рет қаралды 6 МЛН
IT'S HERE! This Mod Fixes HOI4!
11:07
FeedbackIRL
Рет қаралды 174 М.
[HOI4 Modding ] Creating a new country
32:42
The Iron Workshop
Рет қаралды 304 М.
So what happens when you reach the year 3000?
1:40
SuperDboy4
Рет қаралды 916 М.
Hoi4 Map Modding - Under 10 Minutes Simplified
13:35
Rebelsj21
Рет қаралды 29 М.
Проиграл свою душу Голландцу #шортс
1:00
Майнкрафт ПЕСНЯ 2🎙 | WICSUR #shorts
1:00
Бискас
Рет қаралды 3,5 МЛН
Bling Bang Bang Born fight: Aaron Vs Zane #minecraftshorts
0:13
BigBlockCraft
Рет қаралды 13 МЛН
#Roblox но моя сестра в ярости от такого подарка..🫣 #Lipt04ka
0:36
Липточка | РОБЛОКС
Рет қаралды 1,3 МЛН