htp_rr
Fremen-
Posts
9 -
Joined
-
Last visited
-
Days Won
4
Everything posted by htp_rr
-
Port notes for map builders: The port data is patterned after the conversion data for other buildings, though it lives in the map rather than in the exe like the other building data. Though the built-in editor won't let you enter it, ports do support inputs to boost production of raw producers, like grain boosts cattle production. Though the data structure supports 2 inputs per output, the ports do not. Conversions like the Steel Mill, 1 iron + 1 coal -> 2 steel, do not work. Though the data structure supports Start and End dates for each entry, the dates are not honored. While only one input is only supported for each output, the ratios do not need to be 1 for 1. Entries may be 1 for 2 or 2 for 1 or probably other similar choices. The built-in editor sets demand to 0.0; the tool in this thread will accept values up to 9.0, but I did not test for an actual maximum. It may be above or below 9.0, though 5.0 definitely works. Demand of 5.0 is the only value other than 0.0 found in campaign maps, and 5.0 pays 100% in the expert industry model. Demand less than 1.0 will, in the expert industry model, initially present as a demand of 2 cars, but as soon as any delivery is made, the demand will permanently drop to 0.
-
I did this in a non-interference manner. The modifications are in a new exe file which must be put into your installation directory so it finds all the necessary data files. This will allow people to run the regular version for standard games, and run this version for the USHistory map or others if someone else chooses to target the civil war period. I also made the new exe point to a different language file. Since the exe file extends the use of some station buildings, the language file properly reports which cargos are affected in game. Beyond the exe and lng files the zip file contains a comprehensive readme file listing all changes in reasonable detail. As compared to the EXE provided in the USHistory map collection, this file does not have changes to the housing & townhouses, changes to the locomotives, nor changes to the managers. RT2_Civil.zip for standard CD installations of Railroad Tycoon II - Platinum RT2_Civil GoG.zip for Gog.com installations of Railroad Tycoon II - Platinum If I've missed something important for play of the map, let me know.
-
Posted to your thread. https://forum.dune2k.com/topic/23879-historical-rt2-mod/ ps. Unless I missed an update, you never made a sheet for your modified building introduction dates, though I worked them out.
-
EDIT: Did you know your ports were broken? The built-in map editor always sets the port demand level to 0 when it writes the port data. This results in demand dropping to zero after a single delivery if playing the expert industry model. Many maps exhibit this error, since the only way to fix it, is to directly manipulate the binary data of the map file. As noted in my other thread for 1.57, I tend to like things to be 'right' even if it doesn't really affect the gameplay too much. I also needed a little programming project so I created a little command line tool to display / fix / edit the RT2 ports. It will display in hex, decimal, or words. The fix option will set the demand to 5.0. This value was selected for two reasons, the first is that in most scenario maps, port entry 1 has demand set to 5.0 even if the demand is unneeded for that entry, like a raw producer. The second reason is that according to the strategy guide, demand level 5.0 is the level that pays 100% in the expert industrial model. If one wants to use a different value, the tool will allow you to edit to any reasonable value that you'd like. Just to be explicit for those who didn't realize, ports are not defined in the exe file like other building production data, ports are defined in the map, and once a game is started, the map is copied into your save file. So to fix a port, the map file is modified, and if one wants to fix a port in an ongoing game, then the save file must be modified. Generally, RT2 is installed under C:\Program Files or c:\Program Files (x86) in modern Windows, and this is a protected area, so one can view the port data without privileges, but to make fixes or edits then the shell should be 'Run as Administrator'. As noted in the help option, the program will accept wildcards, but a Microsoft bug causes the first match to be truncated to the first character. Multiple map files may also be specified individually on the same line. As an example if I wanted to look and all the Second Century scenarios in my install, and I type 'RT2_Port maps\#e*' (without the single quotes) then I would get a file error for maps\# then I would get data for all the Second Century maps other than #e01camp.mp2. As a workaround I would type 'RT2_Port maps\#e01camp.mp2 maps\#e*'. You still get the error which can be ignored, but now one gets all the data since the missing file was individually specified. (The above path presumes the RT2_Port.exe file was placed in the main RT2 directory.) Help will be printed if the program is run with -h or -? or any illegal option. I developed the tool for map files and it works with *.map and *.mp2 files. Game files seem to put the data in the same location and so it seems to also work with *.gm2 game files though I didn't test the game files extensively. Note any file names with spaces must be enclosed within double quotes, so the name is recognized as a single token. RT2_Port.zip includes just the RT2_Port.exe file which I recommend putting in the same directory as RT2_Plat.exe for simplicity, but it can go anywhere. Fixed RT2_Plat Maps.zip contains updated maps for a subset of the standard 36 scenarios with the only change being the ports, and a readme file. Note: From my recent experience, guests can download from the download area, but cannot download files within forum posts. If you then create an account to question or comment on this, you'll notice that you can download from forum posts once you have an account. Questions and comments welcome. RT2_Port.zip Fixed RT2_Plat Maps.zip
-
If someone wants to PM me the GoG exe file or a link on dropbox, google drive, etc., then I'll see if I can make the changes to fix the non-port demands. That person or someone else would wind up doing the testing to verify the changes since I have the CD version, which I run as a virtual drive from an ISO I made. Regarding the ports, I have already made a tool which one could use, or just download the corrected scenario maps. The tool is being posted in a separate thread presently.
-
I added the zip file to the first post. The zip contains just a replacement exe to put in your RT2 Platinum directory and the readme file whose text is quoted in the first post. Regarding jeffryfisher's suggestion on changing the military introduction dates, that was one of the things I specifically didn't want in my build for general play, but I can make one, to tentatively call 1.57civ.
-
I have been playing RT2 on and off for a long time, but only just recently found this site. I hadn't necessarily noticed the errors that remain in the latest official patch, but as an engineer I like things to be correct when possible. Using data from the 'Modding RT2' and 'Historical RT2 Mod' threads, I started a few small projects. And a huge thanks to everyone who contributed on those threads, particularly JeffryFisher and jcco. JeffryFisher created his historically patched exe which corrected the data errors, but also made changes specific for his US History scenario, or for historical accuracy. I could not find anywhere that someone had corrected the errors without additional changes. I therefore created this patch (replacement exe for RT2_PLAT.exe) to fix the errors without further changes. Since it builds on the official 1.56 patch, I called it 1.57ddh, with the ddh suffix to distinguish it from anyone else's 1.57. The version is changed internal to the file as well and the Main Menu properly reports 1.57ddh. Versions added for GoG.com platinum installations (1.57gog) and Gold CD installations (1.57gld). The content of the readme follows: Note: From my recent experience, guests can download from the download area, but cannot download files within forum posts. If you then create an account to question or comment on this, you'll notice that you can download from forum posts once you have an account. RT2_PLAT 1.57ddh.zip for standard CD installations of Railroad Tycoon II - Platinum RT2_PLAT 1.57 GoG.zip for GoG.com installations of Railroad Tycoon II - Platinum RT2_Gold 1.57.zip for standard CD installations of Railroad Tycoon II - Gold