How does one add Tournament Play Enhancements to Diplomacy?

Users who are viewing this thread

Basically I have Diplomacy installed and I wanted to add TPE to it, is that even possible?

I tried following the readme but it was very vague. Even the first step alone was unclear: it told me to copy the modmerger files into the "module system folder". What is the module system folder and where do I find it? Is it the Diplomacy module folder or something else?

I'd appreciate any help.
 
Allright, so this is what I tried to do:

I put the Modmerger and the TPE .py scripts into the "trunk" folder of the Diplomacy 4.3 module system (from https://www.assembla.com/code/diplomacy/subversion/nodes), installed Modmerger in that folder and then ran the build module thing. This is the error log that I got: https://drive.google.com/file/d/0B5iWoeRgDkvOR2tHX0x2RHY0eVk/view?usp=sharing
I imagine I must've done something fundamentally wrong.

Can anyone please explain what I have to do in order to merge Diplomacy and TPE source code?
 
In Native, module_info looks like this:

Code:
# Point export_dir to the folder you will be keeping your module
# Make sure you use forward slashes (/) and NOT backward slashes (\)

export_dir = "../WOTS/Modules/Native/"
#export_dir = "C:/Program Files/Mount&Blade/Modules/Native/"

So, you need to change export_dir = "../WOTS/Modules/Native/" to your module directory.
Example: export_dir = "C:/Program Files (x86)/Mount&Blade Warband/Modules/<Your_Module_Name>/"

Edit: In your case it's export_dir = "./out/", not export_dir = "../WOTS/Modules/Native/".
 
Allrighty.

So I followed your advice and I actually managed to compile my own module! Unfortunately, it is very bugged. During the compilation process, I got all sorts of errors. Here's the error log: https://drive.google.com/file/d/0B5iWoeRgDkvOVHpIZ2ZHSzRPd3c/view?usp=sharing

I managed to run the module, and while the new tournaments are there (yay!), they are totally bugged, with buttons missing and stuff.
I somehow think it may have something to do with the troop_definitions.txt file that followed with the TPE source. The readme said nothing about it. Do I need its contents added to some of the .py scripts in order to fix the errors or something? Here's said file: https://drive.google.com/file/d/0B5iWoeRgDkvOaGNIbmZuSHMzQ28/view?usp=sharing

Thanks again for your help!
 
Okay nevermind!

I finally managed to compile the module without getting any errors. There are some texture bugs in-game though and other issues, but I'll be trying to fix those.

Thanks for the help!
 
Back
Top Bottom