outpost_2:technical_review:editing_file_resources

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
outpost_2:technical_review:editing_file_resources [2016/10/30 03:51]
vagabond
outpost_2:technical_review:editing_file_resources [2017/11/12 07:02] (current)
vagabond
Line 3: Line 3:
 {{outpost_2:technical_review:resourcehackericon.png?90 }} {{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).+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]]. 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]].
Line 9: Line 9:
 **Resource Hacker Website:** http://www.angusj.com/resourcehacker/ **Resource Hacker Website:** http://www.angusj.com/resourcehacker/
  
-==== Common uses of resources in Outpost 2====+==== Common uses of resources in Outpost 2 ====
  
   * Rich text for dialog boxes   * Rich text for dialog boxes
Line 15: Line 15:
   * Scenario version information   * Scenario version information
   * Executable 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.
 +
 +<code>
 +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  
 +}
 +}
 +
 +</code>
  
 ----  ---- 
  • outpost_2/technical_review/editing_file_resources.1477799512.txt.gz
  • Last modified: 2016/10/30 03:51
  • by vagabond