Downloads: Aurun's Random Total War

Aurun's Random Total War

Rate this File
Uploaded by Arto - October 28, 2014
Author Author Aurun
File Size File Size 32.49 MB
Downloads Downloads 967
+ Download
This is Aurun's Random Total War tool for Rome Total War. For more information, see this topic: http://www.twcenter.net/forums/showt...ndom-Total-War

For the M2TW Kingdoms version, click here: http://www.twcenter.net/forums/downl...o=file&id=4125

Instructions:
1. Open RandomTW.exe in RandomTW\RandomTW\bin\Debug
2. Insert your preferences and press OK
3. Copy the map ''Rnd_mod_1'' to your RTW directory
4. Create a shortcut to your RomeTW.exe
5. Open ''Properties'' and add the following line: -mod:Rnd_mod_1 -show_err
"C:\Program Files\The Creative Assembly\Rome - Total War\RomeTW.exe" -mod:Rnd_mod_1 -show_err
6. Have fun playing!

If you want to add more command lines to your shortcut, see this page.

Images

  • Aurun's Random Total War

Comments

Joeriig
November 21, 2015 at 10:49 AM
*warning, long post*

How do I get this to work. I keep getting the error:

Script Error in Rnd_mod_1/data/export_descr_buildings.txt, at line 17, column 49
Unknown unit type specified: carthaginian peasant

This is a valid unit ID right? Has it to do with Aurun's plans to create randomly generated faction and units. That was back in 2011 and many links he had posted are now gone.

What I did:

1. Open RandomTW.exe in RandomTW\RandomTW\bin\Debug

I saved the RandomTW on my desktop, and opened the RandomTW.exe.

2. Insert your preferences and press OK

I The first time I generated a campaign map by pressing OK (I did not change any setting), the program gave me an error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.


************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style)
at RandomTW.MainFrm.GenUnits() in C:\Users\92710\Desktop\C#\RandomTW\RandomTW\MainFrm.cs:line 471
at RandomTW.MainFrm.btnGen_Click(Object sender, EventArgs e) in C:\Users\92710\Desktop\C#\RandomTW\RandomTW\MainFrm.cs:line 1729
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36213 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
RandomTW
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/user/Desktop/Applications/RandomTW/RandomTW/bin/Debug/RandomTW.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36287 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36310 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36250 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36213 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36246 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------


************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.


For example:


<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


I figured this had to do with the new units folder: Rnd_RTW_Aurun (I didn't get any error while generating a campaign map when I turned of the new units option.) I searched the internet and found a newer version of the Rnd_RTW_Aurun posted by Aurun back in october 2011.

http://imtw.ru/topic/11337-random-total-war/ (Its the second link of Aurun's first post.)

I made a backup of the old Rnd_RTW_Aurun and replaced it with the new Rnd_RTW_Aurun. I got the same error. So I gave up the idea of having randomly generated units and continued. I generated a map with only the new units box ticked off.

It is worth mentioning that every time I generate a new campaign map while already having a generated map loaded, I also receive an error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.


************** Exception Text **************
System.IO.IOException: The process cannot access the file 'C:\Users\user\Desktop\Applications\RandomTW\RandomTW\bin\Debug\Rnd_mod_1\data\world\maps\base\map_heights.tga' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at RandomTW.MainFrm.WriteNewTGA(Int32 W, Int32 H, Color[,] clrData, String ss) in C:\Users\92710\Desktop\C#\RandomTW\RandomTW\MainFrm.cs:line 152
at RandomTW.MainFrm.btnGen_Click(Object sender, EventArgs e) in C:\Users\92710\Desktop\C#\RandomTW\RandomTW\MainFrm.cs:line 1698
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36213 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
RandomTW
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/user/Desktop/Applications/RandomTW/RandomTW/bin/Debug/RandomTW.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36287 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36310 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36250 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36213 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.36246 built by: FX452RTMLDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------


************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.


For example:


<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

3. Copy the map ''Rnd_mod_1'' to your RTW directory

I copied the folder Rnd_mod_1 to my total war directory at: D:\Rome total war

4. Create a shortcut to your RomeTW.exe



I made a shortcut on my desktop to: D:\Rome total war\RomeTW.exe

5. Open ''Properties'' and add the following line: -mod:Rnd_mod_1 -show_err
"C:\Program Files\The Creative Assembly\Rome - Total War\RomeTW.exe" -mod:Rnd_mod_1 -show_err

In the target box of this shortcut, I replaced the already existing line in this:
"D:\Rome total war\RomeTW.exe" -mod:Rnd_mod_1 -show_err "D:\Rome total war\RomeTW.exe" -mod:Rnd_mod_1 -show_err

6. Have fun playing!



I launched the shortcut and:

Script Error in Rnd_mod_1/data/export_descr_buildings.txt, at line 17, column 49

Unknown unit type specified: carthaginian peasant

I went into: D:\Rome total war\Rnd_mod_1\data\export_descr_buildings.txt

there I found:

hidden_resources sparta rome italy


building core_building
{
levels governors_house governors_villa governors_palace proconsuls_palace imperial_palace
{
governors_house requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability
{
recruit "carthaginian peasant" 0 requires factions { spain, }
recruit "barb peasant briton" 0 requires factions { britons, }
recruit "barb peasant dacian" 0 requires factions { dacia, }
recruit "barb peasant gaul" 0 requires factions { gauls, }
recruit "barb peasant german" 0 requires factions { germans, }
recruit "barb peasant scythian" 0 requires factions { scythia, }
recruit "carthaginian peasant" 0 requires factions { carthaginian, }
recruit "east peasant" 0 requires factions { eastern, }
recruit "egyptian peasant" 0 requires factions { egyptian, }
recruit "greek peasant" 0 requires factions { greek, }
recruit "roman peasant" 0 requires factions { roman, }
}
construction 1
cost 400
settlement_min village
upgrades
{
governors_villa
}
}
governors_villa requires factions { barbarian, carthaginian, eastern,


I searched on the internet for a list of unit ID's. There I found that "carthaginian peasant" is a working ID in the game.

I tried to replace "
carthaginian peasant" with other working ID's but nothing worked. I even tried deleting "export_descr_buildings.txt" but I received the same error:

Script Error in Rnd_mod_1/data/export_descr_buildings.txt, at line 17, column 49
Unknown unit type specified: carthaginian peasant

How does that even work

I am a huge fan of Rome total war or the total war franchise for that matter. I own more then two copies of almost every total war game since the original Rome total war. But, I am sick of fighting on handmade maps. The experience is almost always the same. You are kind of getting pushed into doing actions that are sort of historically accurate. After having played Civ 5 and gal Civ 3 my love for randomly generated environments started. I was playing on a world nobody else knew. It was unique. So I started to think about how this could be implemented in total war and looked around. Mods didn't satisfy my needs. I eventually found Aurun and was super excited. I thought I was going to have a unique total war experience.

Can somebody please help me? I have a basic understanding of mods, and almost no experience with total war mods. For people who are having the same issue I will post my progress on this matter here.

Joeriig