Okay, let's say I'm making a mod that focuses completely on a specific area, like Korea. I want to remove the provinces from Europe and the rest of the world completely, since I don't need them and they give free ids. I've extracted the map, I know how to create provinces (no tutorials needed), but can I just remove the .png files of Europe?
There's no .png files you'll have to remove and all you like to do, can be done in your scenarios .eug file:
Dowload the Vietnamn mod or the Fallout mod, they've done the same thing you want to do.
Basically, you'll need to write that the enginge should only read into your pre-defined provinces (which you will list) and then tell between which XY cordinates you want to be scrollable in-game, but it was some time ago I did that, so can't exactly remember the commands, so the quickest way is just to download one of these mods and loke in their .eugs. Look for a "map" command.
EDIT: Wiki has the answer. Exampel:
map = {
no = all
#Poland
yes = 303
yes = 306
yes = 307
yes = 482
yes = 479
yes = 480
yes = 481
yes = 483
yes = 484
yes = 305
yes = 485
yes = 486
yes = 487
yes = 489
yes = 488
yes = 500
yes = 501
yes = 502
yes = 503
yes = 504
yes = 505
yes = 506
yes = 507
yes = 508
yes = 509
yes = 209
yes = 208
yes = 213
yes = 211
yes = 210
yes = 222
yes = 229
yes = 562
yes = 214
#Slovakia
yes = 475
yes = 478
yes = 477
yes = 490
yes = 476
# Bohemia-Moravia
yes = 471
yes = 472
yes = 466
yes = 467
yes = 470
yes = 469
yes = 468
yes = 474
#East Prussia
yes = 206
yes = 510
yes = 304
#Germany Proper
yes = 302
yes = 308
yes = 301
yes = 300
yes = 309
yes = 473
#Soviet Union
yes = 227
yes = 226
yes = 225
yes = 221
yes = 212
yes = 218
yes = 220
yes = 272
yes = 240
yes = 1874
yes = 228
yes = 231
# Sea Zones
yes = 2477
yes = 2478
yes = 2480
top = { x = 15556 y = 1712 }
bottom = { x = 17304 y = 2912 }
}
Alright, The first part ( map = { no = all ) is the beginning of the header and a field that is telling the scenario that all of the map will be blacked out.
yes = 303
yes = 306
yes = 307 etc. Are then telling which parts of the blacked out map can be seen. Simply add Yes = Province ID for a province to be useable. Seazones use province IDs too, so if you want seazones, do the same thing.
The last part
top = { x = 15556 y = 1712 }
bottom = { x = 17304 y = 2912 }
}
Marks the top left and bottom right. Together, these two form a sqaure that can be used to limit the player's mapscrolling ability.