Ave!
I am starting the new NTO Project named "MTW2 Demo Opened Custom Battles Community Project". I have received yesterday via e-mail with strange address (from Antarktida???) very interesting file (maybe from some "bad hacker"). I have looked at this a bit more deeper and here is a result. Take all of this as work in progress only. All credits go to penguins in Antarktida, feel free to change whatever you want, and distribute then all of your work without limitations.
three screens to see what I am talking about:
France as HP attacker
England as the AI defender
The error message during loading this battle, after clicking on the OK then CTD ....
Well, now - after promotion - to the important things.
First of all, the crucial thing for starting any editing of custom battles in MTW2 Demo, you must have soem solution how to manipulate with respective descr_battle.txt script files, which are however in the official MTW2 Demo release hidden in the data.pack file. There are theoretically two solutions:
1. extract the pack file, edit the respective desr_battle.txt file according to your tastes ans then again repack the pack. Here is necessary to be able manipulate the pack fiel technology, relatively more time consuming approach in the end.while theoretically it has a lot of pluses (you would have all the new info which is in MTW2 files only, you can manipulate with the otherimportant files in the same time (EDU.txt, formations, ro even DMB and add new graphics etc).
2. the second approach is more simple, more dependent on the knowledge of the whole context of TW modding and limited to the large extent, because there can be used only the things visible in "encrypted" MTW2 files and in the things from RTW platform. Nevertheless, this approach has one huge advantage - it is very quick and (to my surprise after some "deeper immersing" to the problem) very simple, so almost anybody will have access to this solution in time-span of just few minutes. This second approach will start to be obsolete in a moment the first one will be introduced and publicly available - however to this time (and this can be time of months) it si worth to invest in this direction more effort because it has apparantely better effort/benefit ratio..... The main principle of the second approach is to avoid any manipulating with data.pack file and manipulate with the information in medieval2.exe file to be able imitate the situation which is normally in full release of RTW game - the crucial script files are in "non-packed" form in data folder so any extraction/repacking is unnecessary.
The screenies above are result of a such second approach. This is not original idea, the penguins have used one of the one of the ways the old good RTW Demo was "cracked". Everybody who is new to TW is talking about Rodeo and only minority is knowing the parallel approach, which is more flexible because there is theoretically possible that it is feasible to use it also for other script files, not only the custom battles definition...... The posts from penguins has included such manipulated MTW2Demo medieval2.exe file. I have erase it firstly as a spam like anybody would do it. However, after some disscusion as for legality to use such a file, which has been cracked from unknown penguin, I have try to use it according to the info in Readme included.... In the end, why the TWC community should suffer and, on the other hand, why the unhappy penguin, who has done some nice work on this alone on some polar base, would have its time spent with this to have totally lost. The penguins were more refined than I have expected .... They included not only fully functional implematation, however, a comprehensive tutorial with even with soem theoretical reasoning was there in the one small e-mail .....
So, what the stupid animals has done to the poor original medieval2.exe file by CA???? Not to much suprisingly. I dont know if they have used such an minimalistic apporach form some geographical reasons, nevertheless, all what was/is necessary if you want manipulate with the respective "descr_battle.txt" file only, is to change one name in one path. Really. I am not joking now. CA was/has been/is/(and maybe will be forever) so kind to its customers that they has not encrypted the paths at all, but not only this, they have programmed the parallel way of usage script files besides of data.pack (however with properlly defined alternativ path in data folder).This was simlar in RTW Demo crack, but the damn penguins has used still more origianl approach - not to change all instances of name "trebia" on "newmap", but isolated the only one instance of the Agincourt in path data/world/maps/battle/custom/ folder and change it on the "newdescbt" (acronym for description battle I assume). Then the approach is the same already. They hae created new folder in data with path data/world/maps/battle/custom/newdescbt and placed the modified "descr_battle.txt" file in it. And its all. This solution is functioning. The penguins wrote also something about approving this approach by means of debugger and dissambler on the poor mediaval2.exe, which they told is not maybe protected as the exe files of official releases. But this sections I have not read at all, only see from safe distance on the half eye to prevent myself from some hacking infection .....
I am going to send you such an example "descr_battle.txt" file, which appears to be created on some of the RTW custom battles and which have included the new names, data and other stuff related to the MTW2 Demo. However, here the stupid animals have failed apparently....
Evrybody who is sufficiently smart is seeing that they are not able to do good descr_batttle.txt file. Maybe, I assume, it was only question of unsufficient time because they have polar day and good hacker are doing in nights only.... Who knows.
I must admit that I was curios to such extent is possbile to manipulate with the MTW2 Demo by this approach and I have tried to change also some setting in the script file descr_battles. They have left the script section there to be able to manipulate with agincourt_script.txt file also, and they have created (but it is not in the descr battle file) the empty newdescbt_script.txt file even to let the lovers of scripted battles to be happy..... However, here is necessary to told that they have stated in their Readme the for the totally new script, one would have to change the other agincourt in the respective path in medival2.exe also. So let the thing simple at first, they have remarked off the script section in their sample descr_battle.txt file.
So, now after some boring explanations the dirty file (I have included to zip the above screenies also, this is the reason of the file size):
To be continued in other posts








Reply With Quote











