1.06 features in TM?

General discussion about TrainMaster
User avatar
nedfumpkin
CEO
Posts: 2163
Joined: Sat Feb 16, 2008 9:16 pm
Location: Hamilton - Canada

Re: 1.06 features in TM? Unread post

In the download of the 1.06 patch there are a number of files that are included. These files are the source code of the 1.06 exe.

I have no real skills at programming, but I am kind of able to figure out some of what is going on in them. The 1.06 patch modifies the 1.05 RT3.exe. It specifically looks for that file which is why the 1.04 can't be patched.

My approach is to manually edit the 1.04 beta with some of the features that are in 1.06. So if I can figure out the source code, I figure I can do the actual changes and add some of the better features from 1.06. This way the Trainmaster RT3.exe can be tested to make sure it doesn't cause the problems it did for some, and a solid exe.

Any help you can give....just look in the 1.06 folders to find the source code files.

PS: I'm in the middle of making boxcars, so until I'm done with that I'm not doing anything on the exe.
milo
Engineer
Posts: 512
Joined: Sat Nov 11, 2006 5:36 pm
Location: End of the line

Re: 1.06 features in TM? Unread post

Sugus wrote:As a professional programmer (these days better spelled as 'software engineer', but I'm simply a 59 years old mathematician lurking around by means of PCs) I would like to "figure out the 1.06 source code". Is there really any RT3 source code available (I know I'm stupid, but: in which programming language and development envrionment) or is it only MODding?
Firaxis most likely has the source code, but they haven't released it. Original language was likely C++.
In five years I'll going to retire. Means: lot of time: so, what's better than to help making better an old good game?
That's the spirit! :-)
User avatar
nedfumpkin
CEO
Posts: 2163
Joined: Sat Feb 16, 2008 9:16 pm
Location: Hamilton - Canada

Re: 1.06 features in TM? Unread post

Here's th src code about locos and logos...anyone able to translate to English?

/* Fix train skin button behavior when more than 100 locos are installed. */
{ 0x10f699, 2, "\x68\x29", "\xa1\x3a" },
{ 0x10f69e, 2, "\xa0\x28", "\xd1\x32" },
{ 0x10fa7d, 2, "\xa0\x28", "\xd1\x32" },
{ 0x10fb42, 2, "\x04\x29", "\xb9\x36" },
{ 0x11222e, 2, "\xa0\x28", "\xd1\x32" },
{ 0x112236, 2, "\x04\x29", "\xb9\x36" },
{ 0x11223e, 2, "\x60\xd7", "\x2f\xcd" },
{ 0x112292, 2, "\x04\x29", "\xb9\x36" },
{ 0x11229a, 2, "\x68\x29", "\xa1\x3a" },
{ 0x1122a2, 2, "\xfc\xd6", "\x47\xc9" },

/* Fix crash when loading too many logos. */
{ 0x13cf08, 1, "\xa6", "\xd5" },
{ 0x13d0e1, 14,
"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90",
"\x50\xe8\x09\xac\xfd\xff\x83\xf8\x64\x58\x7d\xce\xeb\xc3" },
Post Reply