So, I wrote a python script that does this.
The primary purpose of the script is to build an OOTP world file from raw data (Geonames.org and US Census Bureau). However, the script is designed so that once you have the data, you can turn any state into a nation. I did that to deal with England, Wales, Scotland, N. Ireland, and two Portuguese states that the game has as separate entities. However, the program can separate out any state. I plan someday to modify it so you can also turn regions into nations (e.g., create the New England Republic or whatever).
Like I said, it was intended to work with fresh data because there are a bunch of inaccuracies in the existing world file, and many of the population figures were somewhat stale. However, the program doesn't really care where the data comes from, so I modified it to pull data from the original world file that came with the game. I believe this file should have Quebec & Texas separated out as nations.
https://www.mediafire.com/file/ojbkb...fault.xml/file
Caveats.
1. I HAVEN'T DONE EXTENSIVE TESTING OF THIS FILE. I loaded it into a game, and Texas and Quebec show up in the Nations List. Please use it in a test DB first. There is a good chance it may break something. I'm not sure what happens if you try to use this with an existing save.
2. The program doesn't know what the provincial/state capital is so it simply chooses the biggest city as the capital (Houston & Montreal); when the program pulls data from the outside sources it actually does keep track of state capitals, but the OOTP data doesn't record it.
3. The program grabs baseball quality, demonym and name-file (ethnicity) information from the original nation. That's likely going to off a bit for Texas and quite a lot for Quebec. Realistically, you should change the ethnicity distributions for Canada and the United States to reflect the fact that Quebec and Texas are on their own. That's potentially on the to do list for the United States and maybe Canada, but that information isn't readily available for the rest of the world.
3. The program adds the original nation as a second nation to the newly "liberated" state, which may or may not be desired.
4. The program does make sure there isn't a conflict between Nation ids, but I haven't done that for nation abbreviations. I will need to play with that so it can find the appropriate flag files. It isn't an issue in this case because the existing nations all use 3 character abbreviations.
5. The program is supposed to clean up the regions to reflect the new nations, but I only eye-balled this to make sure it was working.
5. All of the Korean Language tags are stripped out. It's tricky to deal with those characters, and I was mostly doing this for me, but I am sorry for everyone who would like to use the file but needs the Korean Characters.