====== Outpost 2 File Resource Editing ====== {{outpost_2:technical_review:resourcehackericon.png?90 }} 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 [[op2_sdk:textdialogbox|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|Outpost 2 Technical Review]]//\\ - //Go Back to [[outpost_2:outpost_2|Outpost 2 Main page]]//\\ - //Go Back to [[http://wiki.outpost2.net/doku.php?id=start|Wiki Home Page]]//