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 "Programming"

From PCGamingWiki, the wiki about fixing PC games
Line 12: Line 12:
  
 
==Hex Editing Resolutions (Windows)==
 
==Hex Editing Resolutions (Windows)==
<!-- 0x means base 16 - 0x123 = 1 * (16^2) + 2 * (16^1) + 3 * (16^0)
 
 
Write the values from below in a calculator to see what happens in order. Look at the HEX value.
 
0 => X <= 15
 
16 => X <= 255
 
256 => X <= 4,095
 
4,096 => X <= 65,535
 
-->
 
 
 
===Step One===
 
===Step One===
<!-- This guide only covers values using up to three or four digits which fit between 256, 4096 and 65535 when converted.-->
 
<!-- The 0x is there to help with weird numbers such as 010, this could be taught logically, but it actually becomes harder to remember and explain, this on the other hand is very easy to understand, remember and explain to anyone, you just add the 0x and you easily see where everything goes. -->
 
<!-- Alternative explanation
 
# Add ''0x'' before '''HEX''' values with three digits such as A'''BC''' to look like ''0x''A'''BC''', then change them to '''BC''' ''0''A.
 
# Add ''0x'' before '''HEX''' values with four digits such as '''ABBC''' to look like ''0x'''''ABCD''', then change them to '''CD AB'''.
 
-->
 
 
 
{{Fixbox|1=
 
{{Fixbox|1=
{{Fixbox/fix|Converting Custom Resolutions|ref={{cn|date=May 2017}}}}
+
{{Fixbox/fix|Converting Custom Resolutions|ref=}}
 
# Open the Start menu, type <code>Calc</code>, then press {{key|Enter}}.
 
# Open the Start menu, type <code>Calc</code>, then press {{key|Enter}}.
 
# Click on the button with the three lines on it, then switch to the '''Programmer''' mode.
 
# Click on the button with the three lines on it, then switch to the '''Programmer''' mode.
 
}}
 
}}
 
{{Fixbox|1=
 
{{Fixbox|1=
{{Fixbox/fix|Custom Width|ref={{cn|date=May 2017}}}}
+
{{Fixbox/fix|Custom Width|ref=}}
 
# Click on '''DEC''', type the desired '''Width''', then copy the number next to '''HEX'''.  
 
# Click on '''DEC''', type the desired '''Width''', then copy the number next to '''HEX'''.  
 
# See [[#Conversion|Conversion]].
 
# See [[#Conversion|Conversion]].
 
}}
 
}}
 
{{Fixbox|1=
 
{{Fixbox|1=
{{Fixbox/fix|Custom Height|ref={{cn|date=May 2017}}}}
+
{{Fixbox/fix|Custom Height|ref=}}
 
# Click on '''DEC''', type the desired '''Height''', then copy the number next to '''HEX'''.  
 
# Click on '''DEC''', type the desired '''Height''', then copy the number next to '''HEX'''.  
 
# See [[#Conversion|Conversion]].
 
# See [[#Conversion|Conversion]].
 
}}
 
}}
  
====Conversion====
+
===Step Two===
 
{{ii}} If '''HEX''' has three numbers do this.
 
{{ii}} If '''HEX''' has three numbers do this.
  
 
{{Fixbox|1=
 
{{Fixbox|1=
{{Fixbox/fix|Three Numbers|ref={{cn|date=May 2017}}}}
+
{{Fixbox/fix|Three Numbers|ref=}}
 
# Add 0 in front of the HEX value, such as 0'''ABC'''.
 
# Add 0 in front of the HEX value, such as 0'''ABC'''.
 
# Put '''BC''' at the beginning, such as '''BC''' 0A.
 
# Put '''BC''' at the beginning, such as '''BC''' 0A.
Line 57: Line 41:
 
{{ii}} If '''HEX''' has four numbers do this.
 
{{ii}} If '''HEX''' has four numbers do this.
 
{{Fixbox|1=
 
{{Fixbox|1=
{{Fixbox/fix|Four Numbers|ref={{cn|date=May 2017}}}}
+
{{Fixbox/fix|Four Numbers|ref=}}
 
# For '''AB''' CD, move CD at the beginning, such as CD '''AB'''.
 
# For '''AB''' CD, move CD at the beginning, such as CD '''AB'''.
 
# Write down the converted value.
 
# Write down the converted value.
 
}}
 
}}
 
<!--
 
===Step Two===
 
{{Fixbox|1=
 
{{Fixbox/fix|Using the Hex Editor|ref=}}
 
# Download [https://community.pcgamingwiki.com/files/file/693-hxd-hex-editor-windows/ HxD].
 
# Change values by clicking on any lines from the left side, then write the converted '''Width''' or '''Height''' values.
 
 
'''Notes'''
 
{{ii}} Values cannot be deleted, if a mistake is made use the arrow keys to move left and right, then type the number again.
 
}}
 
-->
 
  
 
==Using the Hex Editor==
 
==Using the Hex Editor==

Revision as of 15:55, 16 June 2017

This page is a stub: it lacks content and/or basic article components. You can help to expand this page by adding an image or additional information.

Hex Editing Resolutions (Windows)

Step One

Instructions
Instructions
Instructions

Step Two

If HEX has three numbers do this.
Instructions
If HEX has four numbers do this.
Instructions

Using the Hex Editor

Instructions