Krycztij

TFXplorer

71 posts in this topic

Great!

A couple of issues with features you've introduced (or I've forgotten they were already there):

F12:
You show a picture of an airliner, but F12 for me toggles between the F22 near its spawn point, and a second F22 where I've 'explored' to.

LEVEL=:
I can't remember if there is an 'official' TFX2 extracted data set, so for the Iceland, Korea etc maps, the terrain looks very wrong when using did.dat.

Share this post


Link to post
Share on other sites

The airliners don’t activate properly, and I didn’t fix that bug in time. Sorry! Here’s the workaround:

  1. start TFXplorer
  2. SHIFT+Q, X to switch to explorer mode
  3. turn left to heading 300 (the number at the top of the screen)
  4. hold left mouse button until you’re above the Gonder airport
  5. look up into the sky – you should see some contrails
  6. press F5 to start the game
  7. press F12 four times
  8. here’s the airliner

By the way, you can fly to the Red Sea until you see ships and hit F12 to view the ships as well.

SmartView is very buggy at this stage. It’ll improve with a future update.

Regarding TFX2: Yes, it’s often buggy – but it works surprisingly well for something buried so long :)

Share this post


Link to post
Share on other sites

Thanks for the workaround! Working great now.

Seeing maps like 'Korea' and 'Hasbro' makes me wonder whether DID were (or trying to give the impression they were) in the frame for the Falcon 4.0 development contract.
We will probably never know...

Share this post


Link to post
Share on other sites

Wohoo  fantastic work     gentelman :) thank  you for  great work dont give up ;)

Share this post


Link to post
Share on other sites

Gonna need some extra time to get both versions analyzed. Perfect timing...Thanks!:)

Share this post


Link to post
Share on other sites

This version has a lot of improvements. I find it more challenging to takeoff and land and the virtual perception of power and thrust of the F22 are heightened. Much to explore, however, I am currently focused on the new Ef2k hidden levels project ;)

On 9/10/2017 at 6:02 AM, mikew said:

LEVEL=:
I can't remember if there is an 'official' TFX2 extracted data set, so for the Iceland, Korea etc maps, the terrain looks very wrong when using did.dat.

There is a significant difference between allowing the did.dat to control the process as compared to manually placing the specific files in the lev directory and using game.cfg to call the various theaters via the new TFXplorer. I would add Faeroe and Clouds to the list of levels which can be accessed now.

This is Korea with did.dat active:

Korea-did-dat.jpg.71b65fc049c0e1bce24c1666fa62e389.jpg

This is Korea manually:

Korea-manual2.jpg.13a6afd4e5cf04f356e8b5a78ad82bf0.jpg

The selection of theaters is implemented by using 3 files: .lev, .le2 and .dat. Korea has 6 sets of files, Libya has  8. 5 of the Korea level files (file1) are identical and one is unique, I wonder if they are somehow involved in time of day determinations similar to how tfx3 swaps TM directories for time of day.

One question is why the program is stacking multiple tiles at various locations on the grid. I am categorizing and grouping the theater files into file sets and maybe that will provide some additional direction. Does anyone know what Norway.4evz, .ascz and datz do for level determination?

Share this post


Link to post
Share on other sites
1 hour ago, DrKevDog said:

I find it more challenging to takeoff and land

Yes, that’s the new gear physics. With TAW, it was impossible to flip over and it was very hard to damage the plane on landing (sometimes I saw 30 g during touchdown and the plane went out unaffected). The new physics don’t forgive that much. I fear that it’s a showstopper for casual gamers, so if you think the suspension should tolerate more stress, just tell me.

1 hour ago, DrKevDog said:

and the virtual perception of power and thrust of the F22 are heightened.

Yes; TAW thrust per engine:

  • 93.6 kN dry
  • 156 kN with afterburner

TFXplorer:

  • 116 kN dry
  • 160 kN with afterburner

Dry thrust source is Wikipedia (https://en.wikipedia.org/wiki/Lockheed_Martin_F-22_Raptor#Specifications_.28F-22A.29 ); afterburner thrust is listed as 156-kN-“class” with estimates as high as 173 kN. If you have better numbers, tell me and I’ll correct it.

On the other hand, fuel consumption is much higher (5× specific thrust) in TFXplorer so it should come out more balanced.

And while we’re at it: What do you think, how much does afterburner affect fuel consumption? 140 % thrust consumes 10× the fuel of 100 % thrust in TAW and in TFXplorer. I feel like it should be 2 or 3× instead …

1 hour ago, DrKevDog said:

One question is why the program is stacking multiple tiles at various locations on the grid.

That’s easy: There is one SSD for each tile in the terrain. SSDs often use just one .3 shape (the terrain), but some of them use more (e.g. an airstrip SSD uses terrain, airstrip, hangar, tower, …). If the shape indices are wrong, the SSD may end up using terrain, terrain, terrain, and terrain again.

That’s a good discovery with the did.dat. I guess it tells us that we have not yet extracted all files? I don’t know Mike’s strategy on finding file names for hashes, but he probably parsed some important known files (like ssinfo.fn) for that. If he didn’t parse Korea’s lists, that could be an explanation for the missing files in the extracted set.

Share this post


Link to post
Share on other sites

There is only one ssinfo.fn file in the TFX2 archive, and that's obviously the one for Norway.
The korea.dat file references some terrain ssds that are not present in the TFX2 archive, but do seem to be present in TFX1's, so it may be possible to fix these TFX1.5 theatres and produce consistent sets of data.
That will take some effort though, and I'd rather wait until we have a common format to arrange and package each set of files.

Share this post


Link to post
Share on other sites

I do not think, at this early stage in testing, that the suspension should be changed, landings now require more attention and yet there is still a considerable room for errors.

I need to fly more fuel related sorties to test the new consumption coding, but I do know I have had to park the plane in a field and walk back to base on quite a few occasions thus far :P Not to mention the new nagging voice that chimes in rather quickly and incessantly :lol:

35 minutes ago, mikew said:

There is only one ssinfo.fn file in the TFX2 archive, and that's obviously the one for Norway.
The korea.dat file references some terrain ssds that are not present in the TFX2 archive, but do seem to be present in TFX1's, so it may be possible to fix these TFX1.5 theatres and produce consistent sets of data.
That will take some effort though, and I'd rather wait until we have a common format to arrange and package each set of files.

It makes sense to wait for a common format. I will continue extracting and grouping what I can.

Share this post


Link to post
Share on other sites

I am using a bit of a work-around by keeping did.dat active while placing the new theater files in the lev directory knowing it will be looked at first. That way I can gain better control over the individual files in the data sets. I may have discovered a few new things. For example, I cannot recall any discussion of an "Island" theater, anyone know this one?

Island-lev-10-1-17b.jpg.4ec7eaf8022f4e463a1ba66d976af5d2.jpg

Note: the tags are from Norway.trg and some tiles are empty. I am dusting off the old 3P-4TFx Editor to address some of these issues ^_^

Share this post


Link to post
Share on other sites

I cannot recall that world. At first I thought I would, but I confused it with Iceland, which, in many European languages, is pronounced just like Island.

Do we have a list of all possible worlds? I recall “Newworld” as well …

Share this post


Link to post
Share on other sites

This is my current list of worlds:

lev\redsea.env
lev\redsea.4ev
lev\arcade.env
lev\arcade.4ev
lev\newworld.4ev
lev\norway.4ev
lev\iceland.lev
lev\korea.lev
lev\angola.lev
lev\atlantic.lev
lev\craig.lev
lev\clouds.lev
lev\faeroe.lev
lev\hasbro.lev
lev\libya.lev
lev\martin.lev
lev\nenorway.lev
lev\nwnorway.lev
lev\senorway.lev
lev\swnorway.lev
lev\norway.lev
lev\wales.lev
lev\world.lev
lev\island.lev

There is perhaps one more, name unknown.

It might now be useful to categorize them according to their project affiliations. most of the lev / le2 worlds are from the tfx2 project, another group appears to be from the fws.pc (Fighter Weapons School) project and the Island lev / le2 is associated with the TIALD Military Simulation project (at least that is what the .asc file suggests).

The island has some interestingly unique features. For example: In this pixel image of the Island, the 2 large white areas represent 4 world space tiles which have pointer values of "FFFF" and I suspect that has something to do with TIALD targeting systems, but needs further analysis. Five tiles code unusually for ships, but they have also not been discovered.

 

Island-FE-2.jpg.e4f4d41aa072078b7df73c1bbcc0c810.jpg

Soon as I discover the hidden TIALD encoded military secrets that D.I.D was working on, you won't be hearing or seeing much from me :o

 

 

Share this post


Link to post
Share on other sites

Brief TIALD project background:

DID credits: Nevil Plura    Lead Programmer Military Systems - TIALD simulator development and adaptation for EF2000.

His profile:

Manager/Programmer, Non-Games Applications

Digital Image Design Ltd

April 1991 – November 1999 (8 years 8 months)

Create, manage and supply training software & custom hardware for UK defence and civil applications.

Presently: Available for coaching software teams in the latest software development practices (Scrum, Agile, Lean)

Wonder how he can best be contacted?

Share this post


Link to post
Share on other sites

Can we please move on in the TAW Terrain Format thread? I intended this thread for general TFXplorer news/feedback/suggestions rather than terrain format analysis :)

1 minute ago, Krycztij said:

Regarding FFFF: In TFX2 as well as TFX3, FFFF marks a missing terrain tile. I.e. a hole in the terrain. No shape is found there.

These are rare to find, but there must have been some of them in unused worlds, otherwise I wouldn’t have programmed it like that. (I remember specifically, that I didn’t want that special case in my TFX2 handling but then some worlds would just crash TFXplorer so I had to insert it.)

 

Share this post


Link to post
Share on other sites

Every few years Windows annoys me so much that I give Linux a go. This time it's the Win10 update system.

Anyway, while 32 bit TFXplorer works nicely in general, I have a problem in that it can't find the joystick, and I can't turn the engine on and off using the keys to the right of 'P' on my foreign keyboard. Wine finds the joystick OK in its own control panel.
Where does TFXplorer get information about the joystick and keyboard in Windows? I probably need to replicate those settings in Wine somehow.
 

Share this post


Link to post
Share on other sites

NT’s Raw Input API (in hid.dll). From what I can see here, this is still under construction in Wine … I’d be very glad if you could find me information on the current state and what Wine supports and where its current problems lie.

Quote

Doubt a single program will use/test everything. Most (not all) games only using it for one input - mouse. Keyboard works fine as-is and is a pain to deal with directly.

(https://forum.winehq.org/viewtopic.php?t=16184#p78989) … then came TFXplorer, which used RawInput for mouse, keyboard, and joystick together …

Share this post


Link to post
Share on other sites

OK, if I continue this Linux odyssey into a second day, I'll see what I can find out. I'm not looking forward to engaging with the open source community though, especially using a Linux version with systemd. :)

I'm using an Intel NUC which doesn't come with an OS, so I'm seeing where Linux is these days. Quite impressed so far, but I'll no doubt install Windows on it eventually. :angry:

Behold, the world's lamest home 'pit:
nuc1.png.1ac87f3fcab1a2e0a65472ba6e1a4c2d.png

Share this post


Link to post
Share on other sites
34 minutes ago, mikew said:

Behold, the world's lamest home 'pit:

Mine doesn’t even have a second screen ;)

Share this post


Link to post
Share on other sites

Ah, the screen on the right belongs to a Windows PC which is needed to download stuff to get Linux working. :)

Share this post


Link to post
Share on other sites

Theoretically, all the API calls TFXplorer uses in 'user32' and 'hid' are implemented and not stubbed in Wine.
I'd like to try to add some traces but Wine can't handle a x64 TFXplorer build at all, and I can't build an x86 version from the code I have (26/12/16) due to some errors.
This can wait.

 

Share this post


Link to post
Share on other sites

I managed to produce an x86 build on one machine at least. It turns out that the user32 call GetRawInputDeviceList only returns two items, the mouse and keyboard.
So, we end up with the 'No suitable HIDs found' message. So, the problem could be anywhere...except TFXplorer.

EDIT: I've brought up this issue on the Wine forum:
https://forum.winehq.org/viewtopic.php?f=8&t=29672

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now