Jump to content
COMBATSIM Forum
Krycztij

TFXplorer

Recommended Posts

Weird. You got a crash dump or a stop address by any chance? When it crashes, go to Task Manager, right-click the process, Dump.

 

If that’s too much of a hassle, wait for me to pack a new version including source code.

 

There is some chance that the problem doesn’t have anything to do with HIDs after all; the debug output is very broken right now. (I’m working on that.)

 

For example, it just halts if you add two entries for the same game (like 2×EF2000) because individual TFX versions are not yet properly separated.

Share this post


Link to post
Share on other sites

Crash is probably the wrong word, as it just shuts down at that point with no error reported.

I'll try again tomorrow. It may be a Win10 thing and will be OK when I turn the PC on again.

Share this post


Link to post
Share on other sites

I installed the x86 version and get a similar response only with a crash:

 

TFXplorer
by Pjotr Krycztij 2020-05-05 05:49

special thanks to:
    mikew
    DrKevDog
    Home Fries
    Wombat1940

thanks to
    Benjamin Haisch (RA decompression)
    ... and the COMBATSIM.COM community


 found HID "Saitek Saitek X52 Flight Control System"
  axis 0131 (0000): 0-2047
  axis 0130 (0001): 0-2047
  axis 0135 (0002): 0-1023
  axis 0136 (0003): 0-255
  axis 0134 (0004): 0-255
  axis 0133 (0005): 0-255
  axis 0132 (0006): 0-255
  axis 0139 (0029): 1-8
  axis 0526 (002A): 0-15
  axis 0524 (002B): 0-15
  button 0901 (0007)
  button 0902 (0008)
  button 0903 (0009)
  button 0904 (000A)
  button 0905 (000B)
  button 0906 (000C)
  button 0907 (000D)
  button 0908 (000E)
  button 0909 (000F)
  button 090A (0010)
  button 090B (0011)
  button 090C (0012)
  button 090D (0013)
  button 090E (0014)
  button 090F (0015)
  button 0910 (0016)
  button 0911 (0017)
  button 0912 (0018)
  button 0913 (0019)
  button 0914 (001A)
  button 0915 (001B)
  button 0916 (001C)
  button 0917 (001D)
  button 0918 (001E)
  button 0919 (001F)
  button 091A (0020)
  button 091B (0021)
  button 091C (0022)
  button 091D (0023)
  button 091E (0024)
  button 091F (0025)
  button 0920 (0026)
  button 0921 (0027)
  button 0922 (0028)


ERROR: no game.cfg found; using defaults

 

__________________________________________

 

Problem Event Name:    APPCRASH
  Application Name:    TFXplorer x86.exe
  Application Version:    20.5.5.0
  Application Timestamp:    5eb0ff24
  Fault Module Name:    StackHash_1376
  Fault Module Version:    6.1.7601.18247
  Fault Module Timestamp:    521ea91c
  Exception Code:    c0000374
  Exception Offset:    000c3873
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Information 1:    1376
  Additional Information 2:    1376441bff31b918c23a8e39f94e3a11
  Additional Information 3:    c714
  Additional Information 4:    c714c187e11ebe518c5d09f294773ae1

 

 

Share this post


Link to post
Share on other sites
4 hours ago, DrKevDog said:

  Exception Code:    c0000374
  Exception Offset:    000c3873

 

Heap corruption … very interesting. 0x000c3873 does not belong to my module, which is also weird.

 

I’ll compile and pack a new version, but probably not before this evening. Gotta automate the deployment …

Share this post


Link to post
Share on other sites
13 hours ago, DrKevDog said:

found HID "Saitek Saitek X52 Flight Control System"

An X52! What luxury. :lol:

 

Same PC, back with wired keyboard and mouse and it works again.

Share this post


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

An X52! What luxury. :lol:

 

Same PC, back with wired keyboard and mouse and it works again.

 

Wow, that’s depressing. I noticed a similar error in the HID code (out-of-bounds writing in handling axis values from joysticks) just hours before release and fixed it.

 

Seems like there’s more errors lurking.

Share this post


Link to post
Share on other sites

Okay; new build: http://krishty.com/taw/tfxplorer/2020-05-10/Tfxplorer.7z

 

I haven’t automated source code deployment yet, so I’ll upload it later.

 

Changes

  • added proper spawn positions for most EF2000 scenarios
  • level loading is now truly asynchronous
  • improved smooth scrolling
  • fixed EF2000 did.dat not loading
  • fixed two possible crashes with EF2000
  • fixed a possible crash with joystick settings
  • fixed input focus being stuck after task switch

If it now starts properly, fine … if not, please wait for the source code and debug symbols …

Share this post


Link to post
Share on other sites
8 hours ago, mikew said:

An X52! What luxury. :lol:

 

Same PC, back with wired keyboard and mouse and it works again.

It's useful and I like it. Glad you got your  game working again.

 

Tried to download the new build but:

 

This page is not available.

Write to krishty@krishty.com if the problem persists!

 

Share this post


Link to post
Share on other sites
6 hours ago, DrKevDog said:

It's useful and I like it. Glad you got your  game working again.

 

Tried to download the new build but:

 

This page is not available.

Write to krishty@krishty.com if the problem persists!

 

 

Dammit … I shouldn’t be doing these things at three in the morning :D

http://krishty.com/taw/tfxplorer/2020-05-10/TFXplorer.7z

Share this post


Link to post
Share on other sites

That particular drama passed me by, but I'm running the new version and it's working fine. It will be a while until I get back to the problem configuration.

Is there any difference from an user point of view? I noticed that I can retract landing gear now in the 'main' Norway scenarios, but that may have been the case before...

Share this post


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

Is there any difference from an user point of view? I noticed that I can retract landing gear now in the 'main' Norway scenarios, but that may have been the case before...

There’s contrails and wingtip vortices. The other user-relevant differences are all negative: No more visible bullets, no more explosions, overall slower performance.

Share this post


Link to post
Share on other sites

I mean between today's release and the last one.

Now you mention it, I forgot to compliment you on the F22 contrails. If I turn an engine off, the contrails die away from that engine as it spools down. :thumbsup:

Share this post


Link to post
Share on other sites
On 5/9/2020 at 1:08 PM, mikew said:

 

 

Same PC, back with wired keyboard and mouse and it works again.

I suspect my program structure is giving me problems. mike would you show me the registry edits you used?

Share this post


Link to post
Share on other sites

That's not it, my program edits and modifications have gotten ahead of me so I'll have to reconstruct them... Thank you.

Share this post


Link to post
Share on other sites
2 hours ago, mikew said:

I mean between today's release and the last one.

 

19 hours ago, Krycztij said:

Changes

  • added proper spawn positions for most EF2000 scenarios
  • level loading is now truly asynchronous
  • improved smooth scrolling
  • fixed EF2000 did.dat not loading
  • fixed two possible crashes with EF2000
  • fixed a possible crash with joystick settings
  • fixed input focus being stuck after task switch

Nothing else; just a fixed download link later :)

 

2 hours ago, mikew said:

Now you mention it, I forgot to compliment you on the F22 contrails. If I turn an engine off, the contrails die away from that engine as it spools down. :thumbsup:

Yeah, they’re physically based (i.e. on the amount of fuel burnt, the humidity of surrounding air, and they move with wind). It’s going to be crazy adjusting these numbers for missiles to make the trails look right, but I guess it’ll be worth it.

Hardest detail to get right: When your plane crashes, the contrail and wingtip vortices don’t vanish instantly (like the legacy contrails on the 737s) but keep dissipating normally. TAW’s missile trails really bugged me so I *had* to get that right :)

 

1 hour ago, DrKevDog said:

I suspect my program structure is giving me problems.

Any details? Maybe another crash address?

Share this post


Link to post
Share on other sites

Problem Event Name:    APPCRASH
  Application Name:    TFXplorer x86.exe
  Application Version:    20.5.10.0
  Application Timestamp:    5eb74d7c
  Fault Module Name:    StackHash_1376
  Fault Module Version:    6.1.7601.18247
  Fault Module Timestamp:    521ea91c
  Exception Code:    c0000374
  Exception Offset:    000c3873
  OS Version:    6.1.7601.2.1.0.256.48

 

 

Share this post


Link to post
Share on other sites

Still the same error, still no DLL name. It’s notable that the exception offset is the same although the TFXplorer binaries changed.

 

It could be anything. I’ll see that I pack up some debugging information, maybe we can get a call stack …

Share this post


Link to post
Share on other sites

I got an '11' error on EF2000 game.cfg and when I emptied out the file I got:

 

Problem Event Name:    APPCRASH
  Application Name:    TFXplorer x86.exe
  Application Version:    20.5.10.0
  Application Timestamp:    5eb74d7c
  Fault Module Name:    ntdll.dll
  Fault Module Version:    6.1.7601.18247
  Fault Module Timestamp:    521ea91c
  Exception Code:    c0000005
  Exception Offset:    00057092
  OS Version:    6.1.7601.2.1.0.256.48


Not sure that helps.

Share this post


Link to post
Share on other sites
7 hours ago, DrKevDog said:

I got an '11' error on EF2000 game.cfg

Thanks for reminding me … EF2000 shouldn’t have a game.cfg but an ef2000.cfg. I’ll fix that.

 

 

Interesting that emptying the game.cfg is a step forward. Errors with game.cfg should not have any effect on the forthcoming of the program. I’m looking into it.


To rule out problems with your joystick, add a game.cfg to the TFXplorer directory with the following line:

CONTROL=0

 

 

Unfortunately, the exception offset in ntdll above depends on your specific Windows version, patch level, and system settings, so I cannot investigate it here.

Share this post


Link to post
Share on other sites

By the way, I get a crash if I select TAW's Seaworld if I'm not using TAW's did.dat (which is not present in the TAW2.30 installation).

 

Share this post


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

By the way, I get a crash if I select TAW's Seaworld if I'm not using TAW's did.dat (which is not present in the TAW2.30 installation).

 

Yes, I don’t really check if the files are there (yet). Will improve in the future.

 

Gracefully failing to load a scenario, displaying proper error messages, and recovering from it are the things I’m currently on. Will hopefully make the console obsolete.

 

Share this post


Link to post
Share on other sites
11 hours ago, Krycztij said:


To rule out problems with your joystick, add a game.cfg to the TFXplorer directory with the following line:

CONTROL=0

 

Problem Event Name:    APPCRASH
  Application Name:    TFXplorer x86.exe
  Application Version:    20.5.10.0
  Application Timestamp:    5eb74d7c
  Fault Module Name:    StackHash_1376
  Fault Module Version:    6.1.7601.18247
  Fault Module Timestamp:    521ea91c
  Exception Code:    c0000374
  Exception Offset:    000c3873
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033

 

The console used to display the message, 'ERROR: no game.cfg found; using defaults', however, when I place the 'CONTROL=0' game.cfg in the TFXplorer directory that message is not displayed.

Share this post


Link to post
Share on other sites

Instead of pointing TFXplorer at an existing installation, you could try using a folder with just TAW's did.dat in it.

That would rule out any file modifications causing it to crash.

Share this post


Link to post
Share on other sites

Assuming you intended that literally, I did and TFXplorer behaved the same. Even though the games I am using are highly modified, the previous TFXplorer worked with both games.

These are my registry edits:

 

REg-Edit.jpg.6b986dbf873b0b191fd3699930a3a431.jpg

 

Any additional edits need to be made?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...