Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#2680448 - 02/26/09 06:56 AM Changing Jane's F-18 Screen Resolution  
Joined: Apr 2002
Posts: 17,733
Joe Offline
Veteran
Joe  Offline
Veteran

Joined: Apr 2002
Posts: 17,733
Bridgewater, NJ
In TSHv3.06 the following resolutions are available:
- 640x480
- 800x600
- 1024x768
- 1152x864
- 1280x768
- 1280x720
- 1280x960
- 1280x1024
- 1360x768
- 1400x1050
- 1600x900
- 1600x1024
- 1600x1200
- 1920x480
- 1920x1200
- 2048x1536

These account for a number of common resolutions, but every option is not in the list found in the TSHv3 Manager. Most notably this list excludes a number of 16:10 resolutions commonly used for computer LCD native resolutions.

If you wish to add a resolution to JF-18, you can replace one of the existing resolutions with the one you desire. The label in the TSHv3 Manager won't change, but the resolution in the sim will.

In order to change a resolution, you need to hex-edit the F18.exe file. I recommend backing up this file before editing, just in case. Once you've opened F18.exe in a hex editor, go to address 161138h. Once there, you need to change the existing width and height values to the values you want. The hexadecimal values are written in nibbles (pairs) that are reversed. For example, the number 1680 in decimal notation is 0690 in hexadecimal notation (the Windows Calculator, in scientific mode, is an easy way to convert between the two). If I want to write the hex version of "1680" into F18.exe, however, I need to input "90 06", inverting the nibbles.

The exisiting TSHv3.06 resolution table is below. The commented numbers refer to the corresponding SCREEN_RES=xx variable found in the F18addon.ini file.

Code:
 00561138 Tab_ScreenRes:
 00561138  8002 E001                 dw     640,  480 ;//0
 0056113C  8002 E001                 dw     640,  480 ;//1
 00561140  2003 5802                 dw     800,  600 ;//2
 00561144  0004 0003                 dw    1024,  768 ;//3
 00561148  8004 6003                 dw    1152,  864 ;//4
 0056114C  0005 0003                 dw    1280,  768 ;//5
 00561150  0005 D002                 dw    1280,  720 ;//6
 00561154  0005 C003                 dw    1280,  960 ;//7
 00561158  0005 0004                 dw    1280, 1024 ;//8
 0056115C  5005 0003                 dw    1360,  768 ;//9
 00561160  7805 1A04                 dw    1400, 1050 ;//10
 00561164  4006 8403                 dw    1600,  900 ;//11
 00561168  4006 0004                 dw    1600, 1024 ;//12
 0056116C  4006 B004                 dw    1600, 1200 ;//13
 00561170  8007 B004                 dw    1920, 480  ;//14
 00561174  0008 0006                 dw    1820, 1200 ;//15
 00561178  FFFF FFFF                 dw    2048, 1536 ;//16
 0056117C  FFFF FFFF                 dw      -1,   -1 ;//17
 00561180  FFFF FFFF                 dw      -1,   -1 ;//18
 00561184  FFFF FFFF                 dw      -1,   -1 ;//19

Inline advert (2nd and 3rd post)

#2684585 - 03/04/09 07:08 AM Re: Changing Jane's F-18 Screen Resolution [Re: Joe]  
Joined: Jan 2007
Posts: 1,173
kadiir Offline
Member
kadiir  Offline
Member

Joined: Jan 2007
Posts: 1,173
For me 1920x1200 is 15 and I found this page that has 1920x480 as 14.

In fact, if I manually put in 14 I get a CTD.

As I'm sure you've noticed, I'm no expert on this - just reporting my observations smile

#2684837 - 03/04/09 04:02 PM Re: Changing Jane's F-18 Screen Resolution [Re: kadiir]  
Joined: Apr 2002
Posts: 17,733
Joe Offline
Veteran
Joe  Offline
Veteran

Joined: Apr 2002
Posts: 17,733
Bridgewater, NJ
kadiir,

Good point. The table above was created before Frenchy and I put 1920x480 into the game. I've edited it to reflect the current values.

It's no surprise that you get a CTD when trying to use 1920x480. If you use a resolution that your monitor can't display, I would expect a CTD.



A few people were asking for the information on how to edit JF-18 to any resolution. Now that I've posted it, is there any feedback about desired resolution changes? How about that 1680x1050?

#2686009 - 03/06/09 06:12 AM Re: Changing Jane's F-18 Screen Resolution [Re: Joe]  
Joined: Mar 2002
Posts: 281
_Frenchy Offline
Member
_Frenchy  Offline
Member

Joined: Mar 2002
Posts: 281
France
Hi, just some precision, dont forget to put the right byte in the right order when you patch the file


as you see for example

00561144 0004 0003 dw 1024, 768 ;//3

0400 hexa = 1024 dec so in the file you have to put 00 and 04 (0004)


Frenchy
TSH team
#2686930 - 03/08/09 02:53 AM Re: Changing Jane's F-18 Screen Resolution [Re: _Frenchy]  
Joined: Dec 2000
Posts: 5,600
Recluse Offline
Mediocrity Above All!
Recluse  Offline
Mediocrity Above All!
Hotshot

Joined: Dec 2000
Posts: 5,600
Randolph, NJ
Ok I finally got it input correctly. Looks very nice..but, of course, due to the aspect ratio, the MDI's are clipped. I can rotate the view DOWN just a bit and get a good aspect, though the HUD/pit look very BIG. Going to try the WIDEVIEW and see if that helps.

EDIT: Second Wideview Pit looks great.. other than the HUD marking outside the HUD with the LARGE HUD fonts..

Recluse


Long system spec sig follows:






PowerSpec G436
Lian Li ATX 205
MSI Z490 Plus Motherboard
Intel Core i7 10700K 3.8 GHz
32 GB RAM DDR4 1600
Nvidia RTX3070

Windows 10 Professional 64 Bit

Flight Gear:

Cougar Hotas S/N 26453
Thrustmaster RCS Rudder Pedals

#2686948 - 03/08/09 03:49 AM Re: Changing Jane's F-18 Screen Resolution [Re: Recluse]  
Joined: Apr 2002
Posts: 17,733
Joe Offline
Veteran
Joe  Offline
Veteran

Joined: Apr 2002
Posts: 17,733
Bridgewater, NJ
The HUD markings would be outside the HUD glass with or without the TSH Large HUD text.

#2687178 - 03/08/09 05:13 PM Re: Changing Jane's F-18 Screen Resolution [Re: Joe]  
Joined: Dec 2000
Posts: 5,600
Recluse Offline
Mediocrity Above All!
Recluse  Offline
Mediocrity Above All!
Hotshot

Joined: Dec 2000
Posts: 5,600
Randolph, NJ
Originally Posted By: Joe
The HUD markings would be outside the HUD glass with or without the TSH Large HUD text.


That's what I thought...but now at least I can read them smile Didn't mean to juxtapose the two statements. Just relaying all configurations...


Long system spec sig follows:






PowerSpec G436
Lian Li ATX 205
MSI Z490 Plus Motherboard
Intel Core i7 10700K 3.8 GHz
32 GB RAM DDR4 1600
Nvidia RTX3070

Windows 10 Professional 64 Bit

Flight Gear:

Cougar Hotas S/N 26453
Thrustmaster RCS Rudder Pedals

#4317295 - 12/04/16 07:37 AM Re: Changing Jane's F-18 Screen Resolution [Re: Joe]  
Joined: Jan 2010
Posts: 464
tirta Offline
Member
tirta  Offline
Member

Joined: Jan 2010
Posts: 464
Hi Guys,

Is it possible for this game to run in 21:9 resolution?
I have hexedited fa18.exe successfully and I have tried these resolutions:
1770 x 720
2048 x 800
2048 x 900
1920 x 800
And some others.

However none of them works.
Do I miss something here?

Even 1920 x 480 which is in the tsh program does not work.
It seem the only working resolutions are the usual ones:
1920 x 1080
1600 x 900

What is wrong here?
Do I have to enable something first?
Please advise.

#4319383 - 12/13/16 01:20 AM Re: Changing Jane's F-18 Screen Resolution [Re: Joe]  
Joined: Jan 2002
Posts: 5,595
The Nephilim Online tunes
S3D GuRu
The Nephilim  Online Tunes
S3D GuRu
Hotshot

Joined: Jan 2002
Posts: 5,595
3rd Stone from the Sun !!
You can run in Triplescreen res but only at 2048 x 768 max I think?? there is a limit with DX7 or whichever version JF-18 runs at..

I was able to just select the desktop to the deired res but no higher and run at desktop mode and it runs fine with dual screens..

Try setting your desktop to 2048 x 768 then run the config manager and run JF-18 at Desktop resolution..


JF-18 TripleScreen Screenshots wink

Last edited by The Nephilim; 12/13/16 01:28 AM.

Intel i7 10700K @ 4.8GHZ / ASRock Z590 Phantom Gaming 4AC Motherboard / Asus 1080GTX OC / SoundBlaster Z / Windows 10 64bit / Reverb G2 VR Gear. / Thrustmaster Cougar + MFD's / Buttkicker Simulation / Thrustmaster Cougar

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0