Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Big One #3

Open
wants to merge 108 commits into
base: main
Choose a base branch
from
Open

The Big One #3

wants to merge 108 commits into from

Conversation

DrDudelsack
Copy link
Collaborator

Ports over everything added to the Dudelsack Branch over the past year to the main branch, as to allow for beta testing.

Initial cannibalization, gutting, and adaptation of I:R to CK2's source code, along with WIP mapping files.
Pop and Province classes used for creating provinces and their associated pops, and a method for searching for pops by their ID
importProv has been tweaked to collect pop data and return a Province arraylist instead of a string array. Additionally, TempFiles has been adjusted to allow for both province and pop data to be included in tempProvinces.txt
Quick tweaks to accommodate for the changes in TempFiles and ImportProv
Initial upload of converter progress thus far. Currently not in a finished state and the output mod does crash, however, the central building blocks and most mappings are in-place.
generateCountryFile now correctly places generated countries into the correct spot in setup/main/00_default.txt, fixing the crash and allowing the converted mod to load.
…aSetup

Country capitals now carry over, only 1 file I/O is now required to use province mappings, and adds the purgeVanillaSetup method to decolonize any lands which start colonized in regular I:R. Due to a bug where certain decolonized provinces cause a setup crash, purgeVanillaSetup has not been enabled.
Converts territories to cities if 50% or more of the population in the converted territory lived in either a city or metropolis. Additionally, a city becomes a metropolis if it has 75 or more converted pops.
Adds the getAvailableID method, which'll automatically parse through the character setup files to get the next available character ID
Overhauls the Characters class in-line with the Provinces and Pop class, and updates the importChar method to accommodate the new character formatting.
Set's I:R id's for the imported characters from the save file.
Adjusts character birthdays and days of death in accordance to I:R's start date
Character culture and religion are now converted. Additionally, importRegion and importArea were updated to accommodate for unusual syntax in the region and province definitions.
Assigns dynasties to all characters with a major dynasty.
Outputs major BA families.
Implements functionality to prune unneccicery Bronze Age characters, currently only those without a converted country are pruned.
Dead characters are no longer pruned, fixed a bug swapping characters' mothers and fathers, and removed a space left in the culture mappings.
Adds support for Exo-Provinces, provinces outside of BA's scope, to convert depending on circumstances in the save file. Currently, all that's supported is basic control over provinces that were considered wasteland in BA.
Adds initial support for exoprovince type 2 mappings, which changes the culture and religion in an exoprovince. Dynamic country generation for the type 2 exomapping, however, is still WIP.
Dynamic ExoCountries are now generated for each set of ExoProvinces.
Converts Civilization Value from the save file by averaging the civilization values in each constituent BA province, then dividing their total by 2.
Adapts all basegame mission trees for dynamically generated ExoTags.
ExoTags use the name of their capital province and Scripted Effects are updated to account to adjusted missions and mission events.
Adds mappings for West Levantine Cultures, adds ExoMapping for Carthage, and removes Carthage from the setup to avoid a crash.
Religion Conversion now uses paramMapOutput instead of cultureOutput, allowing religions to be converted using parameters. Currently, only Judaism and Canaanite use parameters.
Fixes the crash caused on startup when a nation was assigned an invalid province as its capital. Additionally, tweaks the notTagCulture in the paramMapOutput method to not count uncolonized territories.
Fixes the localization bug where countries would sometimes have ' "' at the end of their names or use the name of an unrelated vanilla I:R country.
Configures Fronter with this converter.
Fixes Chersonesus (CHS) accidentally being mapped to Chera (CHR). Additionally, gives credit to Idhrendur for helping getting this converter's workflows setup.
Re-Enables the slow copyBAFlag function for the beta test.
Adds the copySuperFast method, which takes advantage of Java's built-in copy function to copy files super-fast, reducing average conversion time by over 5 minutes. Replaces the unused copyRawFast method, which did not actually copy files faster.
Adds an option to specify a manual installation for Invictus, while improving the Steam Default option by checking the D:, E:, and F: drives. Both options now will automatically log an error if the hybrid option is selected and Invictus cannot be found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants