Page 9 of 11

Re: Prototype

Posted: 12 Mar 2010, 03:29
by thales100
Thanks man! Appreciate it :)


PM sent, dont forget to backup the original file, any problems let me know.

Re:

Posted: 16 Mar 2010, 20:49
by grandpatzer
I just did a res hack for 5760x1080 for a friend, waiting for him to tell me if it worked. I should try 5760x1200 on my computer and see how it runs and looks.

Is FOV automatic or do we need hack/edit that also?


can you please tell me what to replace to get 5760x1200?

I replaced 8002 with 6801 and E001 with 3804.

I know that in HEX 5760 is 1680 but for some reason prototype uses some kind of inverter.....

someone please help tried 5h getting this game to work...........

Re: Re:

Posted: 16 Mar 2010, 21:05
by thales100
can you please tell me what to replace to get 5760x1200?



5760 x 1200 = 6801 and B004 . :wink:

Re: Prototype

Posted: 16 Mar 2010, 21:14
by scavvenjahh
Hex edits can be done with little knowledge but some attention is required... Take the time to read the solution carefully ;)

The "inverter" is Little Endian, you have to move two digits at a time.
For 5760x1200:
Width: 5760 (dec) is 1680 (hex) which must be written 80 16 in the file.
Height: 1200 (dec) is 04B0 (hex) which must be written B0 04 in the file.

So the part that by default reads:
80 02 00 00 e0 01 00 00

Should now read:
80 16 00 00 b0 04 00 00

Re: Prototype

Posted: 16 Mar 2010, 21:37
by thales100
For 5760x1200:
Width: 5760 (dec) is 1680 (hex) which must be written 80 16 in the file.
Height: 1200 (dec) is 04B0 (hex) which must be written B0 04 in the file.

So the part that by default reads:
80 02 00 00 e0 01 00 00

Should now read:
80 16 00 00 b0 04 00 00


Mmm no, i think its :

For 5760x1200:
Width: 5760 (dec) is 1680 (hex) which must be written 6801 in the file.
Height: 1200 (dec) is 04B0 (hex) which must be written B004 in the file.

So the part that by default reads:
80 02 00 00 e0 01 00 00

Should now read:
68 01 00 00 b0 04 00 00

Re: Prototype

Posted: 17 Mar 2010, 21:38
by scavvenjahh
68 01 would be the formatted value of 0168 (hex) which is... 360 (dec).

Re: Prototype

Posted: 17 Mar 2010, 21:41
by thales100
68 01 would be the formatted value of 0168 (hex) which is... 360 (dec).


This game uses the format i posted, im sure about it.
Check my dll for 5040x1050 :



According to your theory, it should be b0 13 00 00 00 1a 04 . :wink:

Re: Prototype

Posted: 17 Mar 2010, 23:22
by scavvenjahh
Hey, you must be right. I'll just STFU and take care of Red Faction Guerrilla :lol:

Re: Prototype

Posted: 18 Mar 2010, 00:23
by thales100
Hey, you must be right. I'll just STFU and take care of Red Faction Guerrilla :lol:


lol cool :rockout

Re: Prototype

Posted: 18 Mar 2010, 00:36
by Tanuki
Tanuki wrote:
Just to confirm. Values are being formatted as this?

5040 - B0 13
4320 - E0 10






Yes, thats it, i dont know the resolution "limit" though.


Post subject: Re: Prototype

scavvenjahh wrote:
68 01 would be the formatted value of 0168 (hex) which is... 360 (dec).


This game uses the format i posted, im sure about it.
Check my dll for 5040x1050 :



According to your theory, it should be b0 13 00 00 00 1a 04 .


So what is 5040?

B0 13 or 3B 01?

Re: Prototype

Posted: 18 Mar 2010, 00:44
by thales100
Check the image of the DLL, its 3b 01 . :wink:


Re: Prototype

Posted: 18 Mar 2010, 18:14
by Tanuki
Sorry. You told me the other value the first time I inquired.

Re: Prototype

Posted: 18 Mar 2010, 18:53
by thales100
Im sorry, my mistake then :? . The correct is . :wink:

Re: Prototype

Posted: 19 Mar 2010, 05:05
by Tanuki
Okay so up to and including 4095 the hexadecimal format will be...

0xXYZ

You move X to the back. And X is always led by a 0 to make a pair. So...

YZ 0X

For anything 4096 and higher the hexadecimal format will be...

0xWXYZ

You move W to the back, And since Z makes a pair with W there is no added 0.

???

At least that is how I think it is working. Maybe it is just the game or maybe it is universal. We don't have any other hex editing solutions in resolutions higher than 4095 that I can think of.

Volunteers?

Re: Prototype

Posted: 22 Mar 2010, 19:12
by scavvenjahh
Fortunately, it's not what happens. 8)
The good old "pair swap" works the same for 3840, 4320 or 5040. There is no '4096 and higher' to worry about. 5040 reads 'B013' in the file.
But !
When the game detects any "abnormal" resolution value in the dll, it will run at the current desktop resolution. That's why thales100 can use funny values and still play at 5040 ! :lol:

I fiddled with a number of display widths, here's what I got:

1) 3840x800
3840 (dec) is 0F00 (hex).
'000F' works.
'00F0' results in 5040x1050 (my native res).

2) 4320x900
4320 (dec) is 10E0 (hex).
'E010' works.
'0E01' results in 5040x1050.

3) 5040x1050
5040 (dec) is 13B0 (hex).
'B013' works.
'3B01' appears to work... but it's actually a "wrong value, let's use the desktop res" situation.


The ultimate hex edit for Prototype:

Replace the whole "resolution field" with 9999s and the game will run at your desktop res. That's right, it'll always run at your *current* desktop resolution - this fix is not even limited to your native res alone !!


Re: Prototype

Posted: 22 Mar 2010, 19:44
by thales100
The ultimate hex edit for Prototype:



I think everybody is happy now :lol:

Prototype Ultimate Hex Edit ---> DOWNLOAD

Re: Prototype

Posted: 22 Mar 2010, 21:04
by Tanuki
That answers some questions. Thanks.

Re: Prototype

Posted: 15 Aug 2010, 07:19
by Deadroth
Please can someone make dll for me with 1024x576... I fucking get up... This hex editor killing me...

I have 24 inch monitor but older computer and I need to use low resolution with AA to get good performance, I can choose only 4:3 resolutions :( :( :(

Re: Prototype

Posted: 15 Aug 2010, 07:31
by Deadroth
Please can someone make for me dll with 1024x576... I trying about 3 hours but I GET UP, Hex Editor is killing me... :roll: :roll: :roll:

Re: Prototype

Posted: 15 Aug 2010, 16:12
by MobsterOO7
[Two posts 12 minutes apart]
:roll:
Prototype Ultimate Hex Edit ---> DOWNLOAD