User Guide PDF
User Guide PDF
User Guide
Copernicus
June 13, 2010
Contents
1 Setup
1.1 Installation and configuration . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Installing file type plugins . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 Uninstalling the tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Your First Mod
2.1 The right tool . . . . . . . . . . . . . . . . . . . .
2.2 Creating a new mod . . . . . . . . . . . . . . . .
2.3 Module files and file management . . . . . . . .
2.4 The user interface . . . . . . . . . . . . . . . . . .
2.5 Modding the Space Marines Scout squad . . . .
2.5.1 Changing the number of squad members
2.5.2 Modifying the squad cost . . . . . . . . .
2.6 Testing the changes . . . . . . . . . . . . . . . . .
2.7 Distributing your mod . . . . . . . . . . . . . . .
2.8 Closing words . . . . . . . . . . . . . . . . . . . .
3 Misc Features
Loading Mods, SGAs and other files
Drag and drop . . . . . . . . . . . . .
Default tool for module files . . . . .
Advanced RBF-Editor . . . . . . . .
RBF-dictionary . . . . . . . . . . . . .
RBF-library . . . . . . . . . . . . . . .
UCS support . . . . . . . . . . . . . .
Fully compatible to Corsix RBFConv
RelicChunky Viewer/Editor . . . . .
Plugin support . . . . . . . . . . . . .
DDS/TGA preview . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3
3
3
3
.
.
.
.
.
.
.
.
.
.
4
4
4
5
6
7
8
8
9
10
11
.
.
.
.
.
.
.
.
.
.
.
11
11
11
11
11
12
12
12
12
12
13
13
Copernicus
4 FAQ
Im trying to load a mod but the tool tells me that the mods data:common and
attrib:common directories overlap. What shall I do? . . . . . . . . . . . . .
The tool crashed! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What are tables and values? . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What is a Corsix style string? . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What is a UCS file? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How can I add maps to my mod? . . . . . . . . . . . . . . . . . . . . . . . . . .
Id like to change the name/version/description of my mod. . . . . . . . . . .
Id like to learn more about modding. Where can I get more information? . .
13
13
13
13
13
14
14
14
14
Copernicus
1 Setup
1.1 Installation and configuration
Installing the tool is simple: Extract all the files from the archive you downloaded to
any destination and run CopeModToolDoW2.exe. Up on the first start of the application,
it might ask you to specify your Steam directory.
You shall then first check your options: Click on Tools->Options to open the Options
dialog (see figure 1). I recommend not changing anything besides unchecking the Use
Chaos Rising checkbox if you do not own Chaos Rising. You should also check that
the Steam Executable path points to your steam.exe. Both of the mentioned settings are
relevant for quickly starting your mod from the tool.
Copernicus
Copernicus
Copernicus
[data:common]
folder.01 = GameAssets\Data
archive.01 = GameAssets\Archives\221_data.sga
archive.02 = GameAssets\Archives\220_data.sga
archive.03 = GameAssets\Archives\210_data.sga
archive.04 = GameAssets\Archives\200_data.sga
archive.05 = GameAssets\Archives\GameArt_DELTA.sga
Figure 3: Excerpt from the data:common section from the Dawn of War IImodule file.
For the sake of simplicity your mod should only use one folder for the data:common
section and one for the attrib:common section. My tool only loads up the first directory
to simplify the whole process.
You might also notice that your mod has a seperate folder for attrib and data while the
original DoW2.module does not. This is also a limit set by my tool which will help you
to keep the overview at all times. Changing that might crash the tool, so always ensure
to have a dedicated directory for attrib and data.
Copernicus
Copernicus
Copernicus
In the EBP search for cost_ext/time_cost/cost and set requisition to 52.5 (452.5 = 370 =
210). Save and close the file.
Copernicus
e.g. http://www.filefront.com
10
Copernicus
3 Misc Features
Loading Mods, SGAs and other files
The tool is capable of loading both mods (Dawn of War IImodule files) and SGA
archives; it also supports some other file types. You can review which plugin is used
for what file type by opening the File Type Manager(Tools->File Type Manager).
Drag and drop
Theres support for drag and drop; you can simply drop module files etc. on the tool
to open them. However, some features dont work for a file which is not associated
with a mod.
Default tool for module files
Using Open with... from the Windows context menu for files you can set this tool as
the default application for Dawn of War IImodule files.
Advanced RBF-Editor
In the past if often took a long time to convert and modify RBF files. With the RBFEditor shipping with this tool its easier than ever before to change any aspect of RBFs.
11
Copernicus
If the tool recognizes any filepaths in RBFs it will automatically present you a collection
of other files from that directory so you can quickly modify relationships between RBFs.
RBF-dictionary
Using the RBF-dictionary you can specifiy default-values and search-paths for certain keys of RBF-values. Every release already includes a quite complete dictionary,
but you may of course add your own entries. Right-click any value in the RBF-editor
(in the table view) and select Add Value To Dictionary to add the selected value to the
corresponding key. Experienced users only: Manually editing the dictionary allows
for more control and grants you the ability to add custom searchpaths. Open the tools
directory and look for rbf_dictionary.txt. If that file does not exist, simply start and close
the tool once. Inside it youll find instructions on how to edit the dictionary manually.
RBF-library
The RBF-library allows you to store snippets (RBF-Values) from RBFs and tag them.
Tagging your entries enables you to quickly insert them in the right places; e.g. tagging
an entry from the RBF-library with actions will include it in the dropdown list of Insert
From Library Into Table everytime you right-click on a table called actions. RBFs can of
course have multiple tags. Adding values to the RBF-library is easy: Right-click any
value in the RBF-editors treeview and select Copy Into Library. Youll be prompted to
enter a unique name for your entry and at least one tag. In the RBF-editor click the
Open RBF-library button to open the RBF-library in a seperate window. You can copy
values from the library as youd do it in the RBF-editor. Experienced users only: Editing the RBF-library from outside the tool is just as easy: Open the directory of the tool
and search for rbf_library.txt. If that file does not exist, simply start and close the tool
once. Inside it youll find instructions on how to edit the library manually. But beware
and doublecheck everything, the tool isnt forgiving about mistakes and you can pretty
easily screw up your whole library.
UCS support
Its easy to quickly add new UCS strings and insert their indices right away, the RBFEditor even looks up indices for you! The tool will automatically create a new UCS file
for your mod starting with an index of your choice.
Fully compatible to Corsix RBFConv
The included RBF-editor is fully compatible to Corsix RBFConv, it allows you to copy
any value as a string readable by Corsix RBFConvand it is capable of converting strings
created by Corsix RBFConvto RBF values.
RelicChunky Viewer/Editor
You can view RelicChunky files using this tool. A lot of files used in Dawn of War
IIactually are RelicChunky files. Just double-click any file, if its a RelicChunky the RelicChunky Viewer/Editor will open, otherwise it will be opened using a very basic texteditor. If you dont know what RelicChunky is then youll probably never need this
12
Copernicus
feature.
Plugin support
If the tool does not support a specific file type, feel free to write a plugin for it on
your own. You can find a base file for plugins in the filetype plugin example subfolder.
As the tool is .NET based you can use any .NET language; the base file however is in C#.
DDS/TGA preview
The tool ships with a plugin which allows you to view DDS and TGA files from
within the tool.
4 FAQ
Im trying to load a mod but the tool tells me that the mods data:common and attrib:common directories overlap. What shall I do?
Mods created by the tool itself will never have overlapping data:common and attrib:common directories, so it seems like youre trying to edit another mod or the original
Dawn of War IImodule file (DoW2.module). If youre trying to edit the original module
file, better create a new mod using the tool and select the original module file as a base
module. Otherwise you need to manually edit the module file and change the first directory entry of the attrib:common section so it differs from the first directory entry of
the data:common section. See section 2.3 of this document for further help.
The tool crashed!
Post the logfile (log.txt) from the tools directory in the tools thread at RelicNews.
What are tables and values?
Every RBF file consists of lots of RBF-values which in terms consist of a key and a value.
There are five different types of values: integers, floating point values, strings, booleans and
tables. The key is always a string though. A table value is a value which can hold other
RBF-values.
What is a Corsix style string?
A Corsix style string is a string which is compatible with Corsix RBFConv. Its another
representation for the content of RBF files and usually looks like this:
ability_ext: {
| $REF: "entity_extensions\ability_ext";
| abilities: {
| | ability: "ability\pvp\race_marine\sm_repair_pvp";
| | ability: "ability\pvp\race_marine\scout\sm_damage_aoe_grenade";
| | ability: "ability\pvp\race_marine\scout\sm_stun_aoe_knockback";
| };
13
Copernicus
};
Corsix style is useful for posting parts of a RBF file (or the whole file) in forums or
any other text-based way of communication. Using the included RBF-Editor you can
convert any value to Corsix style: Just right-click the value and select Copy As CorsixString. You can also convert any Corsix style string to RBF using the inbuilt RBF-Editor.
Right-click any table and select Insert Value From Corsix-String Into Table, then insert
your string and hit Done.
What is a UCS file?
A UCS file contains localized text for every language. You can find the original
UCS file for your language in GameAssets/Locale/<your_language>/DOW2.ucs. Your mod
however should use an own UCS file. The tool will automatically create a UCS file as
soon as you add a UCS string (CTRL + U or Tools/Add UCS String). Every UCS string
has an index, everything which uses UCS strings will refer to a specific string using its
index.
How can I add maps to my mod?
This depends on whether the map is already packed into an SGA or not. If it is,
use Tools/Mod Settings to add it. Youll need to select the proper section (which is
data:common), click the Add SGAs button and select the maps youd like to add. The
tool will then copy these maps into your mods archive directory. If the map(s) youd
like to add are not packed, just copy them to <your_mods_directory>/Data/maps/pvp or
<your_mods_directory>/Data/maps/ffa (depending on whether the map is FFA or not).
Id like to change the name/version/description of my mod.
Use Tools/Mod Settings to change various global aspects of your mod.
Id like to learn more about modding. Where can I get more information?
You should visit the modding forums on RelicNews.
14