CMB:SimplifyTesting: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(CMD simplify testing page added)
 
m (Added more content (WIP))
Line 14: Line 14:


==Testing areas==
==Testing areas==
==General tips==
* Load game in window mode to avoid load times from ALT+Tab and therefore easily be able to switch been the game and windows. This is also useful for game loading times to be able to do something useful meanwhile. ([[ArmA:_Startup_Parameters]]):
-window
* Use -x and -y along with window mode to be able to have another app visible on the screen. Alternatively get a second monitor  ([[ArmA:_Startup_Parameters]]):
-window -x=800 -y=1024
* Load game in noPause mode to keep the gaming running even without focus for non MP environment ([[ArmA:_Startup_Parameters]]):
-noPause


===Launching the game===
===Launching the game===
Line 23: Line 32:
* Load no island and intro mission on startup ([[ArmA:_Startup_Parameters]]):
* Load no island and intro mission on startup ([[ArmA:_Startup_Parameters]]):
  -world=empty
  -world=empty
* Load game in window mode ([[ArmA:_Startup_Parameters]]):
-window
* Use [http://en.wikipedia.org/wiki/RAID_0#RAID_5 RAID 5],[http://en.wikipedia.org/wiki/RAID_0#RAID_0 RAID 0] or a [http://en.wikipedia.org/wiki/Solid-state_drive solid-state drive] to speed up loading the files from the HDD.
* Use [http://en.wikipedia.org/wiki/RAID_0#RAID_5 RAID 5],[http://en.wikipedia.org/wiki/RAID_0#RAID_0 RAID 0] or a [http://en.wikipedia.org/wiki/Solid-state_drive solid-state drive] to speed up loading the files from the HDD.
*  
* Use the ''minimal addons setup'' (MAS). TODO list:
# Move your '''.\arma\addons''' folder to '''.\arma\addons\addons'''
# Adapt all your standard arma launch paths to use '''-mod=addons;''' (and more if needed)
# Create the folder structure '''.\arma\mas\addons'''
# SVN checkout the MAS repository to '''.\arma\mas'''
# Copy '''anims.pbo''' from '''.\arma\addons\addons''' to '''.\arma\mas\addons'''
# Adapt dev launch paths to use '''-mod=mas;''' (and more if needed)
 
MAS repository data:
 
URL of repository:
User:
PW:


===SP editor===
===SP editor===
* Benefits of the SP editor:
** A
* Direct launch:
-world=intro "c:\games\arma\Profiles\users\myUser\missions\myMission.intro\mission.sqm"


===MP editor===
===MP editor===
* Benefits of the MP editor:
** A
* Direct launch:
-host


===Dedicated server===
===Dedicated server===
You can easily setup a dedicated server on your own computer. Especially with a multi core system the performance is fine.
* Benefits of the dedicated  editor:
** Only way to properly test a MP mission for locality and performance.
* DS configuration:
* Direct launch:


===Buldozer===
===Buldozer===


==Unpacked files==
==Unpacked files==

Revision as of 12:15, 23 January 2009

SimplifyTesting

Goals

  • Showcase what testing is all about
  • Explain how to simplify the task
  • Offer tools to support and simplify testing

Preface

A crucial part is to have your development setup right and all decent tools available.

Make sure that both is true for your setup.

Testing areas

General tips

  • Load game in window mode to avoid load times from ALT+Tab and therefore easily be able to switch been the game and windows. This is also useful for game loading times to be able to do something useful meanwhile. (ArmA:_Startup_Parameters):
-window
  • Use -x and -y along with window mode to be able to have another app visible on the screen. Alternatively get a second monitor (ArmA:_Startup_Parameters):
-window -x=800 -y=1024
  • Load game in noPause mode to keep the gaming running even without focus for non MP environment (ArmA:_Startup_Parameters):
-noPause

Launching the game

Everything related to configs requires the game to be (re)started to parse the config files.

To reduce the A1 startup time you can utilize the following tweaks:

-world=empty
  1. Move your .\arma\addons folder to .\arma\addons\addons
  2. Adapt all your standard arma launch paths to use -mod=addons; (and more if needed)
  3. Create the folder structure .\arma\mas\addons
  4. SVN checkout the MAS repository to .\arma\mas
  5. Copy anims.pbo from .\arma\addons\addons to .\arma\mas\addons
  6. Adapt dev launch paths to use -mod=mas; (and more if needed)

MAS repository data:

URL of repository:
User:
PW:

SP editor

  • Benefits of the SP editor:
    • A
  • Direct launch:
-world=intro "c:\games\arma\Profiles\users\myUser\missions\myMission.intro\mission.sqm"

MP editor

  • Benefits of the MP editor:
    • A
  • Direct launch:
-host

Dedicated server

You can easily setup a dedicated server on your own computer. Especially with a multi core system the performance is fine.

  • Benefits of the dedicated editor:
    • Only way to properly test a MP mission for locality and performance.
  • DS configuration:
  • Direct launch:

Buldozer

Unpacked files