• 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.

duelistgamer

Second Lieutenant
49 Badges
Apr 17, 2015
108
57
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Lead and Gold
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Europa Universalis 4: Emperor
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Pre-order
https://gny-001f2.github.io/CK2-Music-Script-Generator/

From the readme:

Code:
##Instructions

* You need Python 3. This script was written and tested on Python 3.5.1 but slightly older versions should work as well.

* DO NOT try to run this script on Python 2. Python 3 and Python 2 are not compatible with each other.

* You can download the appropriate verison of Python 3 from https://www.python.org/downloads/
* If you use an OS with a package manager (most mainstream *nixes) you can download python3 from there
if you do not already have it.

* This program is invoked from a command line interface. I have only tested it on a linux terminal, but you should be able
to run it on a Windows Powershell (preferred) or Command Prompt without problems, especially with the default.

I hope you guys like it!
 

Attachments

  • CK2-Music-Script-Generator-2.0.2.zip
    10,5 KB · Views: 19
Last edited:
  • 2
Reactions:

RelVleDy

Static Portrait Guru
42 Badges
Jul 13, 2008
714
1.216
  • Stellaris: Megacorp
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Tyranny: Archon Edition
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Tyranny: Archon Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
I guess I'm a little unclear what this does. So you say it generates a script. Are you saying if I have a ton of music files, I can feed them into this software, and it will automatically generate a songs.txt file? Furthermore, doesn't CKII only support .ogg files, or would this software know of a way to handle other formats?
 

duelistgamer

Second Lieutenant
49 Badges
Apr 17, 2015
108
57
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Lead and Gold
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Europa Universalis 4: Emperor
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Pre-order
That is correct. The generator will only add files that have a .ogg extension. Adding support for other files is a trivial change though. The only reason I am enforcing the .ogg requirement is because that is the standard way to name vorbis encoded music stored in the Ogg container.

However the Ogg container can also store other formats like flac and lpcm, and vorbis can also be stored in some other containers like matroska (mkv, mka).

So the generator currently makes it your responsibility to ensure that the files you give it are correctly encoded. If you lie to the script then it will not do any deeper checking.
 
Last edited:
  • 2
Reactions:

bitesh

Recruit
34 Badges
May 8, 2017
2
0
  • Crusader Kings II
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Prison Architect
  • Crusader Kings II: Holy Fury
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Age of Wonders III
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Crusader Kings II: Reapers Due
  • Crusader Kings III
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
Well, yeah, but then I still have to manually add the specific cultures and religions and whatever else (I still don't know how to do).
I'm kind of on the fence, between this and making a bunch of songs for, say, norse pagans, copy-paste those and then just change the titles. Maybe if I was starting from scratch I'd try this, but as is, I'll keep doing as I'm doing.
Thanks.