Hello, so my Beyond the Play MOD is fully functional (https://forums.civfanatics.com/threads/beyond-the-play-community-mod.648750/); but as you may notice there, I've designed it as a "full game", i.e. replacing source file of the game for the reasons I've listed there.
I've been asked to try to make it MOD only (read : normal MOD, i.e in a sub-directory \MOD like all other MOD)
Surprisingly it's proving much harder than I though to do this...
Normally I know exactly how to do by moving the files that have changed, am not worried about methodology to be honest.
However it doesn't want to take it :
I get python errors at launch, doesn't "like" the C++/dll file (can't click the civelopedia in start menu etc.) (but it's there and loading because my new options do appear).
If I don't put the new .dll file; and I put files that I have selected one by one (up to 1400 new files, all arts, all XML, about half the (new) python). I can see go clean.
Put If I put JUST ONE FILE of some given .py files (say CvMainInterface, a file I've touched massively)
I get a deluge of error like this (obviously game crashes when I launch then) :
It's important to note :
The files giving the error are not the self-made python, it's every file in "EntryPoints" and most files in "Screens"
So my best guess (not sure) is an error on loading the modules or the entry points (I get the "File <String>, line 52, in load_module" error in between each messages).
Any help ? Am amazed I'm struggling with this. I've spent 1000H+ on the code of the MOD and I never though this would be any tricky (I mean "merging back" to normal MOD format).
Thanks a ton.
I've been asked to try to make it MOD only (read : normal MOD, i.e in a sub-directory \MOD like all other MOD)
Surprisingly it's proving much harder than I though to do this...
Normally I know exactly how to do by moving the files that have changed, am not worried about methodology to be honest.
However it doesn't want to take it :
I get python errors at launch, doesn't "like" the C++/dll file (can't click the civelopedia in start menu etc.) (but it's there and loading because my new options do appear).
If I don't put the new .dll file; and I put files that I have selected one by one (up to 1400 new files, all arts, all XML, about half the (new) python). I can see go clean.
Put If I put JUST ONE FILE of some given .py files (say CvMainInterface, a file I've touched massively)
I get a deluge of error like this (obviously game crashes when I launch then) :
It's important to note :
The files giving the error are not the self-made python, it's every file in "EntryPoints" and most files in "Screens"
So my best guess (not sure) is an error on loading the modules or the entry points (I get the "File <String>, line 52, in load_module" error in between each messages).
Any help ? Am amazed I'm struggling with this. I've spent 1000H+ on the code of the MOD and I never though this would be any tricky (I mean "merging back" to normal MOD format).
Thanks a ton.
Last edited: