Widescreen Gaming Forum

[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
It is currently 27 Nov 2024, 18:41

All times are UTC [ DST ]




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: 25 Nov 2015, 06:24 
Offline

Joined: 31 Oct 2015, 21:34
Posts: 38
For completeness:

The horizontal/vertical values are simple the raw hex values of the numbers input in the horizontal/vertical boxes. So if you put 1920 in the vertical box, you'll see the hex value 8007.

Going backwards...

80 07 == 07 80 (Converted to big endian... Normal left to right view that us humans are used to :-))

0-----7----8--0
4096 256 16 1 (Notice these values... They're base 16. (1*16 = 16), (16*16 = 256), (256*16 = 4096), etc.)

(7 * 256) + (8 * 16) = 1792 + 128 = 1920

And that's all there is to it.

The combined hex field is a bit more complicated. Unfortunately, I can't explain it so briefly. There is an industry standard that some genius figured out called IEEE 754. It uses something called two's complement. The important thing you need to know is if you take 1920/1080, you get 1.77777...8. The hex value of 1.7777...8, according to the IEEE 754 standard, is 39 8E E3 3F. That's where the sign, exponent, and mantissa come into play. If I'm being honest, I learned IEEE 754 at some point in college, but I don't remember how it's calculated and I don't particularly care. It's one of those things that I can always look up in a book or online.

To show how irrelevant it actually is to know, I wrote this program, which perfectly represents IEEE 754, without referencing the specification.


Top
 Profile  
 


PostPosted: 09 Dec 2015, 02:49 
Offline

Joined: 31 Oct 2015, 21:34
Posts: 38
jackfuste wrote:
chris686 wrote:
I am currently brainstorming a bigger application which would make patching games without widescreen support easier.

For those on this forum that do such things, if you have any specific ideas let me know. I'd like to build a tool specifically for the task of making widescreen mods easier.

GUI Concept:
Attachment:
concept.png


INI-file parsing:
Code:
Action = Offset_Patch; Search_and_Replace; Loader

VA = 0x00000000
Type = hex; __int8; __int16; __int32; __int64; float; double
OldValue =
NewValue =
UserInput = on; off
Slider = on; off
Slider_Min =
Slider_Max =
Slider_Step =



Just want to say I've started some preliminary work on this. When I say preliminary, I mean I'm reading a book on the Win32 API and haven't written any code. The literature on the low level Windows API is slim, and what is widely considered the "best" book is from 1998.

The work involved is pretty significant and very low-level. It's a big enough project that I'll have to design everything up front to make it manageable, so I'll likely write a mock GUI for feedback in the coming weeks.

As for ResHex, if you have any feature requests for usability, let me know. I meant to start this a couple weeks ago, but I'll be adding customizable spacing tonight so hex values are easier to read. This is just a calculator, so it's likely it'll be merged into the bigger project at some point.


Top
 Profile  
 
PostPosted: 20 Dec 2015, 02:04 
Offline

Joined: 31 Oct 2015, 21:34
Posts: 38
Version 0.61 is finally out!

Sorry for the delay. I had it finished last weekend but had issues creating an installer that would automatically resolve dependencies. This guy is good to go now, though!

I'm also looking into why Chrome is giving warnings when downloading. The file is flagged as "Not commonly downloaded and could be dangerous." I believe I have that fixed, but not sure how long it takes Google to do their thing.

Also make me wonder if Google is tracking everything I download. Hrm...


Top
 Profile  
 
PostPosted: 23 Dec 2015, 14:21 
Offline
Editors
Editors
User avatar

Joined: 06 Mar 2008, 17:20
Posts: 3424
FYI I just got the same warning in IE. No warning in FF.


Top
 Profile  
 
PostPosted: 24 Jan 2016, 17:43 
Offline

Joined: 31 Oct 2015, 21:34
Posts: 38
scavvenjahh wrote:
FYI I just got the same warning in IE. No warning in FF.


Thanks for the response! I've tested it in all three major browsers now, and I haven't had the problem anymore.

Little while since I've been around, but I've been pretty busy over the past month at work, logging a lot of hours at the end of a project. Using a PC when I get home has been pretty low on my list :-) Things are starting to settle down now, so I'm about ready to throw myself back into my personal projects.


Top
 Profile  
 
PostPosted: 01 Feb 2019, 13:38 
Offline

Joined: 03 Jul 2018, 19:40
Posts: 4
Can someone reupload this somewhere? website is down.


Top
 Profile  
 
PostPosted: 01 Feb 2019, 13:42 
Offline
User avatar

Joined: 20 Sep 2015, 00:58
Posts: 530
Attachment:
ResHex0.61.part1.rar [5 MiB]
Downloaded 1590 times

Attachment:
ResHex0.61.part2.rar [2.88 MiB]
Downloaded 1489 times

_________________
if you supporting what I do, buy me a coffee here https://ko-fi.com/kevinsesario or instead direct to paypal.me/kevinsesario . EMAIL:[email protected], Steam: https://steamcommunity.com/id/sesariok


Top
 Profile  
 
PostPosted: 01 Feb 2019, 13:45 
Offline

Joined: 03 Jul 2018, 19:40
Posts: 4
Thanks!


Top
 Profile  
 
PostPosted: 14 Jun 2019, 03:15 
Offline

Joined: 14 Jun 2019, 03:13
Posts: 1
I cant seem to get the program to install. Was wondering if anyone knew the Hex value for 1520X1440


Top
 Profile  
 
PostPosted: 14 Jun 2019, 06:51 
Offline
Insiders
Insiders

Joined: 25 Aug 2014, 22:46
Posts: 28
FrankDillinger wrote:
I cant seem to get the program to install. Was wondering if anyone knew the Hex value for 1520X1440


The hex values are 5F0 (width) and 5A0 (height).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  




Powered by phpBB® Forum Software © phpBB Group