Outpost 2 File Resource Editing

Files and executables contained with Outpost 2 can be viewed, edited, and recompiled using Resource Hacker, developed by Angus Johnson. Resource Hacker can also create, edit and compile resource script files (.rc) resource files (.res). For new scenarios, resource script files and resource files are often created, edited, and compiled using Visual Studio 2015.

For more information on resource script files, resource files, and how they are used to create custom dialog boxes for mission briefings, see the Outpost 2 SDK Text Dialog Box Page.

Resource Hacker Website: http://www.angusj.com/resourcehacker/

Common uses of resources in Outpost 2

  • Rich text for dialog boxes
  • Icons
  • Scenario version information
  • Executable version information

Version Info Resource template

For details on each field, see https://msdn.microsoft.com/en-us/library/windows/desktop/aa381058(v=vs.85).aspx.

1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,3,0,6
FILEOS 0x4
FILETYPE 0x2
{
BLOCK "StringFileInfo"
{
	BLOCK "040904B0"
	{
		VALUE "CompanyName", "The Outpost Universe"
		VALUE "FileDescription", "Outpost 2 Extension"
		VALUE "FileVersion", "1.0.0.0"
		VALUE "InternalName", "op2ext.dll"
		VALUE "LegalCopyright", "The Outpost Universe"
		VALUE "ProductName", "Outpost 2"
		VALUE "ProductVersion", "1.3.0.6"
	}
}

BLOCK "VarFileInfo"
{
	VALUE "Translation", 0x0409 0x04B0  
}
}

- Go Back to Outpost 2 Technical Review
- Go Back to Outpost 2 Main page
- Go Back to Wiki Home Page

  • outpost_2/technical_review/editing_file_resources.txt
  • Last modified: 2017/11/12 07:02
  • by vagabond