Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "PCGamingWiki:Editing guide/Fixboxes and providing instructions"

From PCGamingWiki, the wiki about fixing PC games
m (Protected "PCGamingWiki:Editing guide/Fixboxes and providing instructions" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Tocbox}}
 +
 
The main focus of this wiki is providing a centralized hub for PC game fixes. However, if the fixes provided are not explained in a clean and easy to follow process, then they are useless. Ultimately, this defeats the purpose of this wiki.
 
The main focus of this wiki is providing a centralized hub for PC game fixes. However, if the fixes provided are not explained in a clean and easy to follow process, then they are useless. Ultimately, this defeats the purpose of this wiki.
 
<br /><br />
 
<br /><br />
Line 4: Line 6:
  
 
==The Fixbox==
 
==The Fixbox==
'''Syntax'''
+
{{Template:Fixbox/Documentation}}
<pre><nowiki>
 
{{Fixbox|1=
 
{{Fixbox/fix|Name|ref=<ref>Reference</ref>}}
 
--instructions go here--
 
}}
 
</nowiki></pre>
 
 
 
'''Example'''
 
{{ii}} Taken from [[Full Spectrum Warrior]]
 
 
 
{{Fixbox|1=
 
{{Fixbox/fix|Modifying the FSW.dll file|ref=<ref>http://forums.steampowered.com/forums/showthread.php?t=1202822</ref>}}
 
{{ii}} Before editing, make a backup of the <code>FSW.dll</code> file in case the modifications go wrong.
 
# Go to <code>{{p|game}}</code>.
 
# Open the <code>FSW.dll</code> file with Notepad or other text editor.
 
# Using the Find function ({{key|Ctrl|F}}), search for "%s.available.gamespy.com". There will be exactly one entry.
 
# Replace the text with "www.example.com/fixes/%s" (or any other working link that is the same length as the original and contains "%s" somewhere. This particular link is guaranteed to work.)
 
# Save the file.
 
# Launch the game.
 
}}
 
 
 
The Fixbox is a specialized container used exclusively for fixes, workarounds, and step-by-step instructions. It provides a formal base for them, as well as keeping the wiki clean.
 
 
 
'''General rules'''
 
* The title need to summarize what the fix/workaround is trying to accomplish.
 
** See above example.
 
* For sequenced instructions, use <code>#</code> to label each step.
 
** <code>#</code> allows numbered lists to be dynamic.
 
** Ex. If new entries are placed in the middle of a list, the old entries are automatically re-numbered.
 
  
 
==Providing instructions==
 
==Providing instructions==
Line 62: Line 35:
  
 
==Common fix templates==
 
==Common fix templates==
While each game has their own fixes and instructions, many of them share universal techniques that can be reused.
+
While each game has its own fixes and instructions, many of them share universal techniques that can be reused.
  
 
===Applying compatibility settings (Windows only)===
 
===Applying compatibility settings (Windows only)===
 
{{ii}} The order of options should remain the same, regardless of what gets removed
 
{{ii}} The order of options should remain the same, regardless of what gets removed
{{Fixbox|1=
+
{{Fixbox|description=Enable the following [[Windows Compatibility Mode|compatibility settings]] for the {{File|<File name here>}} file: <code>Compatibility mode (<OS name here>)</code>, <code>Run in 256 colors</code> (XP/Vista/7), <code>Reduced color mode (<specify mode here>)</code> (8/8.1), <code>Run in 640x480 screen resolution</code>, <code>Disable visual themes</code> (XP/Vista/7), <code>Disable desktop composition</code> (XP/Vista/7), <code>Disable display scaling on high DPI settings</code>, and <code>Run this program as an administrator</code>}}
{{Fixbox/fix|Enable the following [[Windows Compatibility Mode|compatibility settings]] for the {{code|<File name here>}} file: <code>Compatibility mode (<OS name here>)</code>, <code>Run in 256 colors</code> (XP/Vista/7), <code>Reduced color mode (<specify mode here>)</code> (8/8.1), <code>Run in 640x480 screen resolution</code>, <code>Disable visual themes</code> (XP/Vista/7), <code>Disable desktop composition</code> (XP/Vista/7), <code>Disable display scaling on high DPI settings</code>, and <code>Run this program as an administrator</code>|}}
 
}}
 
  
 
===Using a command line argument===
 
===Using a command line argument===
{{Fixbox|1=
+
{{Fixbox|description=Use the <code>(Insert command here)</code> [[Glossary:Command line arguments|command line argument]]|}}
{{Fixbox/fix|Use the <code>(Insert command here)</code> [[Glossary:Command line arguments|command line argument]]|}}
 
}}
 
  
===Using a in-game console command===
+
===Using an in-game console command===
{{Fixbox|1=
+
{{Fixbox|description=Use <code>(Insert command here)</code> in the in-game console (<Insert console key here, usually {{Key|~}}>)|}}
{{Fixbox/fix|Use <code>(Insert command here)</code> in the in-game console (<Insert console key here, usually {{Key|~}}>)|}}
 
}}
 
  
 
===Installing a program===
 
===Installing a program===
{{Fixbox|1=
+
{{Fixbox|description=Download and install [<program site URL here> <program name here>])|}}
{{Fixbox/fix|Download and install [<program site URL here> <program name here>])|}}
 
}}
 
  
 
===Adding a file(s)===
 
===Adding a file(s)===
{{Fixbox|1=
+
{{Fixbox|description=<Use one: Add in/Replace/Update> the {{File|(full file or folder name here)}} file/folder|ref=<ref>Reference</ref>|fix=
{{Fixbox/fix|<Use one: Add in/Replace/Update> the <code>(full file or folder name here)</code> file/folder|ref=<ref>Reference</ref>}}
 
 
{{ii}} Before continuing, make a backup of the <full file or folder name here>
 
{{ii}} Before continuing, make a backup of the <full file or folder name here>
 
# Download the [<file/folder download URL here> <Use one: file/updated file(s)/patched file(s)>].
 
# Download the [<file/folder download URL here> <Use one: file/updated file(s)/patched file(s)>].
# Extract the contents of the download to <code>(path location here)</code>. <For compressed downloads>
+
# Extract the contents of the download to {{folder|(path location here)}}. <For compressed downloads>
# Move the file/folder to <code>(path location here)</code>. <For uncompressed downloads>
+
# Move the file/folder to {{folder|(path location here)}}. <For uncompressed downloads>
 
}}
 
}}
  
 
===Modifying a file===
 
===Modifying a file===
{{Fixbox|1=
+
{{Fixbox|description=Modify {{File|(full file name here)}}|ref=<ref>Reference</ref>|fix=
{{Fixbox/fix|Modify <code>(full file name here)</code>|ref=<ref>Reference</ref>}}
+
# Go to {{folder|(file path location here)}}.
# Go to <code>(file path location here)</code>.
+
# Open the {{File|(full file name here)}} file with <program name> or other <program type>.
# Open the <code>(full file name here)</code> file with <program name> or other <program type>.
 
 
# <Instructions on what lines to change go here>
 
# <Instructions on what lines to change go here>
 
# Save the file and launch the game.
 
# Save the file and launch the game.
Line 117: Line 80:
 
<div class="editing-guide-list-item editing-guide-next">
 
<div class="editing-guide-list-item editing-guide-next">
 
<div class="editing-guide-icon">
 
<div class="editing-guide-icon">
[[File:Editing Guide - Policy.svg|link=PCGamingWiki:Editing guide/Wiki Policy]]
+
[[File:Editing Guide - Section table legend.svg|link=PCGamingWiki:Editing guide/Section table legend]]
 
</div>
 
</div>
[[PCGamingWiki:Editing guide/Wiki Policy|Wiki Policy]]
+
[[PCGamingWiki:Editing guide/Section table legend|Section table legend]]
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 21:54, 25 September 2023

The main focus of this wiki is providing a centralized hub for PC game fixes. However, if the fixes provided are not explained in a clean and easy to follow process, then they are useless. Ultimately, this defeats the purpose of this wiki.

This section handles two critical aspects of providing fixes: the Fixbox, and how to give instructions "properly".

The Fixbox

Example

Taken from Full Spectrum Warrior
Modifying the FSW.dll file[1]
Before editing, make a backup of the FSW.dll file in case the modifications go wrong.
  1. Go to <path-to-game>.
  2. Open the FSW.dll file with Notepad or other text editor.
  3. Using the Find function (Ctrl+F), search for "%s.available.gamespy.com". There will be exactly one entry.
  4. Replace the text with "www.example.com/fixes/%s" (or any other working link that is the same length as the original and contains "%s" somewhere. This particular link is guaranteed to work.)
  5. Save the file.
  6. Launch the game.


Description

The Fixbox is a specialized container used exclusively for fixes, workarounds, and step-by-step instructions. It provides a formal base for them, as well as keeping the wiki clean.

  • The title needs to summarize what the fix/workaround is trying to accomplish.
  • For sequenced instructions, use # to label each step.
    • # allows numbered lists to be dynamic.
    • Ex. If new entries are placed in the middle of a list, the old entries are automatically re-numbered.
  • If the title alone is enough to summarize, the fix parameter can be omitted, see the below one-line fixbox syntax.


Standard fixbox

Name[2]

--instructions go here--

{{Fixbox|description=Name|ref=<ref>Reference</ref>|fix=
--instructions go here--
}}


One-line fixbox

For a short one-line fixbox where instructions are not necessary, the fix parameter can be omitted entirely:

Use windowed mode, see Video.[3]
{{Fixbox|description=Use windowed mode, see [[#Video|Video]].|ref=<ref>Reference</ref>}}


Collapsed fixbox

Add |collapsed=yes to the template to have the fixbox appear as collapsed and require user input to expand.

Name[4]

--instructions go here--

{{Fixbox|description=Name|ref=<ref>Reference</ref>|collapsed=yes|fix=
--instructions go here--
}}

Providing instructions

Due to the countless variability with games and potential workarounds, it is impossible to come up with rules for every single scenario. For the most part, the contributor will need to use their discretion to write clearly communicated instructions.

That being said, there are some base guidelines that can be applied to almost all fixes:

  • It can be safely assumed that the target audience for the fix can operate a computer at a basic level.
    • i.e. Can use an internet browser, can navigate the OS's file system, knows basic keyboard shortcuts like Ctrl+C and Ctrl+V, etc.
  • Do NOT ever assume that the reader can "figure out the rest". Provide a full set of instructions for the fix, up until the game is fixed completely and can be played.
  • Use relative path locations. Not every user will have C:\ as the drive letter.
  • If a fix requires a particular class of program (ex. hex editors), choose a program, provide a download link for it, and write up the instructions in the context of that particular program.
    • If possible, use programs that are available for free. Fixes are useless if locked behind a paywall.
  • If a fix requires major configuration file modifications (>10 changed lines), create a config file with the changes included and provide a download link.
    • Config file text dumps will be removed.
  • Instructions should gently ease the reader into each step. Everything should be a natural progression of events.

Good example

The Fixbox example from the previous section is also a good case study of clear instructions
  1. Download <File X.zip>.
  2. Go to <file location>.
  3. Rename <File Y> to <File Z>.
  4. Extract the contents of the downloaded file into this folder.
  5. Once extracted, open <File Y-2> with <program name> or other <program type>.
  6. Change the values of <Line 1> and <Line 2> to true.
  7. Save the changes and launch the game.

Common fix templates

While each game has its own fixes and instructions, many of them share universal techniques that can be reused.

Applying compatibility settings (Windows only)

The order of options should remain the same, regardless of what gets removed
Enable the following compatibility settings for the <File name here> file: Compatibility mode (<OS name here>), Run in 256 colors (XP/Vista/7), Reduced color mode (<specify mode here>) (8/8.1), Run in 640x480 screen resolution, Disable visual themes (XP/Vista/7), Disable desktop composition (XP/Vista/7), Disable display scaling on high DPI settings, and Run this program as an administrator

Using a command line argument

Use the (Insert command here) command line argument

Using an in-game console command

Use (Insert command here) in the in-game console (<Insert console key here, usually ~>)

Installing a program

Download and install [<program site URL here> <program name here>])

Adding a file(s)

<Use one: Add in/Replace/Update> the (full file or folder name here) file/folder[5]
Before continuing, make a backup of the <full file or folder name here>
  1. Download the [<file/folder download URL here> <Use one: file/updated file(s)/patched file(s)>].
  2. Extract the contents of the download to (path location here). <For compressed downloads>
  3. Move the file/folder to (path location here). <For uncompressed downloads>

Modifying a file

Modify (full file name here)[6]
  1. Go to (file path location here).
  2. Open the (full file name here) file with <program name> or other <program type>.
  3. <Instructions on what lines to change go here>
  4. Save the file and launch the game.


References

  1. http://forums.steampowered.com/forums/showthread.php?t=1202822
  2. Reference
  3. Reference
  4. Reference
  5. Reference
  6. Reference