Difference between revisions of "CMA:DevelopmentSetup"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
This site focuses on getting your work ingame, as well as all aspects of addon,
 
This site focuses on getting your work ingame, as well as all aspects of addon,
 
<br>
 
<br>
pbos as a subset, container development.
+
pbos as a subset, development.
  
 
=Motivation=
 
=Motivation=
Line 22: Line 22:
 
==Motivation==
 
==Motivation==
  
For non simple addons you have references to BI configs, texture or proxy.<br>
+
For non simple addons you have references to BI configs, textures or proxies.<br>
 
More specially the BI namespace '''CA'''.<br>
 
More specially the BI namespace '''CA'''.<br>
 
Binarze is trying to locate these references during the optimization process.<br>
 
Binarze is trying to locate these references during the optimization process.<br>
 
In other words without these files available binarize is unable to do its job properly.<br>
 
In other words without these files available binarize is unable to do its job properly.<br>
  
The models reference by other models or wrp files can be both MLOD or ODOL format.<br>
+
The models referenced by other models or wrp files can be both MLOD or ODOL format.<br>
  
 
==Process==
 
==Process==
  
===Create P drive===
+
===Virtual partition P===
  
 
We will create a '''virtual partition P:''' to map your arma folder.<br>
 
We will create a '''virtual partition P:''' to map your arma folder.<br>
Line 40: Line 40:
 
all your arma related tools in it. Map this one to T.
 
all your arma related tools in it. Map this one to T.
  
1. Create a file called mapGameFolderToP.bat.
+
===Are two arma installations necessary===
2. Add the line and adapt the path your arma folder:
+
 
 +
The BI tools create by default a separate folder/location called ''ArmAWork''.<br>
 +
This may or may not be needed.
 +
 
 +
Considerations:
 +
* Two separate folder/locations to keep your play-install clean.
 +
* Duplication of files may be needed for two separate.<br> Possible to avoid with [http://dev-heaven.net/wiki/heaven/Virtual_folders_and_files Junctions], if both are on the same HDD.
 +
* Both play and dev combined in one folder avoids messing around.<br> You only need to keep your folder structure well designed.<br> You can ensure that only PBOs, and NO unpacked data, are loaded via
 +
 
 +
-noFilePatching
 +
 
 +
Done via [[ArmA: Startup Parameters]].
 +
 
 +
===Create P drive===
 +
 
 +
1. Create a file called mapGameFolderToP.bat.<br>
 +
2. Add the line and adapt the path your arma folder:<br>
 
  subst p: "D:\Games\arma"
 
  subst p: "D:\Games\arma"
3. Move the file to the autostart location. IE (XP32b):
+
3. Move the file to the autostart location. IE (XP32b):<br>
 
  C:\Documents and Settings\YourUserAccount\Start Menu\Programs\Startup
 
  C:\Documents and Settings\YourUserAccount\Start Menu\Programs\Startup
 
  or  
 
  or  

Revision as of 07:26, 2 June 2009

Development setup

This site focuses on getting your work ingame, as well as all aspects of addon,
pbos as a subset, development.

Motivation

  • Correct setup to use binarize to track down errors and improve the quality.
  • Best addon design for easy recognition, updating and quality.
  • Dev setup to work with least time and resource effort.

Related topics

Unpacking A1/A2

Motivation

For non simple addons you have references to BI configs, textures or proxies.
More specially the BI namespace CA.
Binarze is trying to locate these references during the optimization process.
In other words without these files available binarize is unable to do its job properly.

The models referenced by other models or wrp files can be both MLOD or ODOL format.

Process

Virtual partition P

We will create a virtual partition P: to map your arma folder.
This is required by the BI toolset and allows easy access to the arma folder.
It is recommended to create a link on your desktop or quicklaunch bar to P.

As a sidenote, at the same time you should create one central folder with
all your arma related tools in it. Map this one to T.

Are two arma installations necessary

The BI tools create by default a separate folder/location called ArmAWork.
This may or may not be needed.

Considerations:

  • Two separate folder/locations to keep your play-install clean.
  • Duplication of files may be needed for two separate.
    Possible to avoid with Junctions, if both are on the same HDD.
  • Both play and dev combined in one folder avoids messing around.
    You only need to keep your folder structure well designed.
    You can ensure that only PBOs, and NO unpacked data, are loaded via
-noFilePatching

Done via ArmA: Startup Parameters.

Create P drive

1. Create a file called mapGameFolderToP.bat.
2. Add the line and adapt the path your arma folder:

subst p: "D:\Games\arma"

3. Move the file to the autostart location. IE (XP32b):

C:\Documents and Settings\YourUserAccount\Start Menu\Programs\Startup
or 
C:\Documents and Settings\All Users\Start Menu\Programs\Startup

Extract files from the PBOs

Result

Addon development

Use namespaces

Develop with unpacked data

Improve your addon with binarize