ToEE Front-End X 4.0 Discussion Thread

Discussion in 'ToEE Front-End X' started by Agetian, Jun 5, 2013.

Remove all ads!
  1. twisty

    twisty Morose Marauder

    Joined:
    Sep 22, 2005
    Messages:
    129
    Likes Received:
    1
    To be honest I should have posted this in the general bug thread for 7.9NC as it does indeed seem to be far-fetched. I'm pretty much steered towards thinking that it has have something to do with the videos or screen resolution so rather than write it here I'll post it here.
     
  2. blakdeth

    blakdeth Member

    Joined:
    Aug 23, 2005
    Messages:
    35
    Likes Received:
    0
    After some further experimentation:

    Mine crashes unless I use ESC to bypass the intros, using spacebar with or without any mouse movement always results in a crash right when the loading screen should appear, though it will work in windowed mode perfectly.
    Again, in 1280 X 960 res.

    Note: I always used to use spacebar to skip the intros, and with the combination of the old front end and 7.8 NC it always launched normally using this same resolution (not windowed mode, which I don't really like to use).
     
  3. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,005
    Likes Received:
    24
    gazra, did the renamed Atari/Troika/WotC movies play? They come before the splash screen.

    Interesting ... seems to suggest further correlation to the active window thing. I bet if you click with the mouse, ToEE will 'wake up' and your spacebar would become workable again. I wonder if the two (active window and mode switching) are related.
     
  4. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    That's an interesting observation about the potential of the ToEE window (even when running "fullscreen") potentially not being the active one. I'll actually look into an option of somehow forcefully making that active from TFE-X once the game starts up in order to see if that changes anything, though I'm not sure at the moment if it is possible because under normal circumastances JRE has no control over the running process once it starts (by the way, in case you're wondering, .NET doesn't either, so currently the two front-ends are on the even ground). Anyhow, I'll keep you guys posted, I might post an experimental build if I come up with something. ;)

    - Agetian
     
  5. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    UPDATE: Version 4.2 (stable) released. This version improves the game startup routine on Linux systems in order to avoid the potential of TFE-X hanging in case of a game crash.

    - Agetian
     
  6. gazra_1971

    gazra_1971 Knights of Legend

    Joined:
    Aug 3, 2010
    Messages:
    818
    Likes Received:
    1
    Yes, ALL of the .bik video files played flawlessly. My computer has never had a problem playing any of the .bik videos in all of the different versions of the Co8 Modpack NC (5.8.1 to 7.9.0) that I have played over the years.

    On my computer (and using my TFE-X settings), the CTD is always happening the instant that the splash screen is supposed to display during the game launch sequence. I've noticed that a LOT of hectic stuff is loaded at the start of the splash screen being displayed. I think that the first thing that I saw down the bottom of the splash screen was something like "Loading spells", then heaps of different lines of text quickly replace each other before "Initializing sector data..." is displayed (which occupies the majority of the time that the splash screen is displayed).

    Tomorrow, I'm going to experiment running the game at different screen resolutions and trying windowed mode to see if there is any different behaviour with the game on my computer.
     
    Last edited: Aug 21, 2013
  7. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    @ gazra: Good luck with the testing, please let us know how it goes so that maybe we'll finally be able to reveal the reason behind this strange behavior and address it.

    - Agetian
     
  8. Gaear

    Gaear Bastard Maestro Administrator

    Joined:
    Apr 27, 2004
    Messages:
    11,005
    Likes Received:
    24
    Just to document this, here is the typical event schedule in ToEE for starting a game with movies enabled (what would be considered 'normal,' even though most people disable intro movies eventually):

    1. Play Atari movie (video mode)
    2. Play Troika movie (stay in video mode)
    3. Play WotC movie (stay in video mode)
    4. Display splash screen and load assets (switch to game mode)
    5. Play intro cinematic (switch to video mode) - PROBLEM
    6. Display main menu (switch to game mode)
    7. Start game and play vignette movie (switch to video mode)
    8. Do vignette (switch to game mode)
    9. Go to Hommlet (switch to video mode)
    10. Play game (switch to game mode)
    ...

    Obviously there are a lot of mode switches in there. Does anyone ever have any problems besides with step 5? For that matter, does anyone ever have any problems playing movies during the course of the rest of the game?

    It should be noted that on subsequent game launches after the first following any computer session (e.g. you logged on for the day or just started your computer), the game assets are loaded much more rapidly (presumably because they're cached somewhere already), so what may appear to be a crash on the splash screen probably really is a crash preceding the intro cinematic. Errors with protos.tab etc. usually manifest differently than that and are absolute and universal. They will always crash without exception at the same time. (So what I'm saying is that experiences would not vary if there were some fatal issue with protos.tab or another critical file - it would fail for everybody all the time).
     
  9. phlippy g

    phlippy g Member

    Joined:
    Jan 9, 2011
    Messages:
    92
    Likes Received:
    0
    I've seen 4,5,and rarely 6. cpu 2.93, 8GB ram, win 7 64b, ati 5700 series v.c. 1600 /1080 sceen res.. At this point I disabled the intro movies, and I usually get into the game in 1 to 3 attempts. Each time I restart the game after a failed attempt. It seems to go further into loading the game. Before failing again. I don't know if it's related, but I'm also seeing a small increase in cdt's at map changes.
     
  10. gazra_1971

    gazra_1971 Knights of Legend

    Joined:
    Aug 3, 2010
    Messages:
    818
    Likes Received:
    1
    SUCCESS!!!

    In TFE-X, I selected "Windowed Mode", then attempted to launch the game without inputting any keyboard or mouse commands after I left-clicked on "Play" in the TFE-X GUI, and the game launched successfully!

    Then, while still using windowed mode, in TFE-X, I selected "Disable intro", then attempted to launch the game without inputting any keyboard or mouse commands after I left-clicked on "Play" in the TFE-X GUI, and the game launched successfully!

    I notice that while playing the game in windowed mode, while in the game world, when I press the Escape key, the menu displays INSTANTLY! Whereas, in full screen mode, while in the game world, when I press the Escape key, there is a delay of about 2 seconds before the menu displays.

    Unfortunately, one time, while playing the game in windowed mode, while in the game world, when I pressed the Escape key which displayed the menu, when I left-clicked on "Quit game", the game CTD. This is the first CTD that I have EVER had when I left-click on "Quit game" while I was still in the game world. Normally, in full screen mode, I have only ever gotten the CTD when left-clicking on "Quit game" while the game is at the main menu (not in the game world).

    Therefore, the game works perfectly and runs MUCH quicker when I play the game in windowed mode (although the game seems to be a little more unstable than full screen mode).

    I'm only getting CTD when trying to launch the game in full screen mode.

    From now on, I will be playing this computer game in windowed mode with the intro disabled, because the game and the ingame videos look SO much better in windowed mode, it is far more convenient to play the game in windowed mode (in case I need to multitask or keep track of the time in the real world by using my computer system's clock), and the game is SO much more responsive and runs quicker in windowed mode.

    Therefore, the CTD when trying to launch the game is being caused by something to do with full screen mode (well, at least on my computer).
     
    Last edited: Aug 22, 2013
  11. sirchet

    sirchet Force for Goodness Moderator Supporter

    Joined:
    Dec 6, 2003
    Messages:
    3,719
    Likes Received:
    47
    I have always run with intros enabled since 7.8 due to if I have them disabled I freeze up at the selection screen, (new game, load game and such).

    When I DO get past the intro ctd the in game movies play perfectly.

    Of course I've had a terrible run of not being able to get past the intro movie ctd for a while now, still haven't seen the new HB.

    EDIT: Of course after typing that last comment I tried it again and it loads up and runs normally.

    Ahhhhh, to be back in the ol Temple killing Buggies again. :)
     
    Last edited: Aug 20, 2013
  12. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    Ok here's an experimental build of TFE-X that erases the above-mentioned part of the movies_seen line in toee.cfg on every ToEE startup, please test and see if this helps resolve the issue for you. :)

    - Agetian
     

    Attached Files:

  13. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    IMPORTANT UPDATE: For those of you experiencing game crashes upon loading the game or while loading the game with the Co8 modpack v7.9.0, we're working on an official fix which is currently undergoing internal testing and which should reach the public testing stage within 24 hours if everything goes according to plan. An update will be posted here in this thread. We have localized the modeswitch crash issue to Aji'Tae's windowed mode reshack. Unfortunately, the reshack appears to introduce indirect, difficult to trace problems which, in addition to everything else, somehow introduce a lasting effect on the operating system until reboot (which causes the game to keep crashing even if the windowed mode reshack is completely removed from the DLL). Coincidentally, the issue manifests itself in fullscreen mode and not in the windowed mode the reshack was meant to alter. Simply turning off the reshack and thus removing its components from the DLL is not enough to ensure that the issues (and, thus, reports of something wrong with the game / the front-end) stop due to the previously mentioned caching. Due to the nature of the issue (different experience on different systems, complex dependencies on video mode because of the peculiar interaction with the driver video mode switching, etc.), the currently proposed solution that will be released for testing soon will include the following:

    - An experimental update for TFE-X that completely eliminates the introduction of any bits of code into the DLL related to the windowed mode reshack according to patterns suggested by Aji'Tae. As you understand, this will mean that unfortunately, we'll have to revert the windowed mode game behavior to the old 800x600 only setting. As sad as it may be for those of you who liked this new functionality, it seems we don't have any other option right now. Experimental builds containing modifications of the reshack code that do not make the game crash will be considered later when the game is stabilized.
    - A reworked Co8 v7.9.0 temple.dll library that is free of any possible Aji'Tae's alterations from the previous editions of his reshack that might have inadvertently made their way into the library during the v7.9.0 development period.

    We thank you for your patience and we hope that your experience with this experimental testing build will be crash-free. Your testing reports are highly welcome as soon as the experimental build is released. If it proves to solve the problem for the testers, it will become a part of the next stable builds of both TFE-X and the Co8 Modpack.

    - Agetian
     
  14. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    UPDATE: Uploaded a new experimental TFE-X build called v4.3 Beta. This build implements certain experimental measures to prevent the game from crashing when loading up. Please read the information below very carefully before installing and trying this build.

    It is important to know that:
    1) This build contains a reworked version of temple.dll for the Circle of Eight Modpack v7.9.0. This means that this build is only meant to be used with the Co8 modpack v7.9.0 and NOT any older, newer, or customized version.
    2) This build removes support for Aji'Tae's windowed mode reshack. Our internal testing on several systems indicated a correlation between this feature and the video mode switch crashes that many members of our community are experiencing. As such, this experimental build completely removes support for this feature both from the DLL and from the front-end so that we can ascertain that it is either indeed the source of the issue or not. Unfortunately, this means that this build will always run in the original 800x600 mode when windowed.

    In order to install this build:
    - Make sure you're already running a properly patched game with the Co8 Modpack v7.9.0 installed and activated. If not, perform all the necessary steps to install the game and the modpack. Activate the modpack if it's not already active.
    - Download the v4.3 Beta package from the first post of this thread. Please note that it is not among the attachments because it is too large for an attachment. It is a little bit above under the "Latest Experimental Build", the link is called "Download Here".
    - Extract the v4.3 Beta package archive into your ToEE folder. Overwrite all files when prompted.
    - Reboot your PC.
    - Launch the game normally via TFE-X.

    Please post your experience with this build here (whether it prevents your game from crashing when switching modes on startup or not). If you still experience a crash, all the details about the circumstances under which the game crashes are welcome (please post what OS you're running, where your game is installed (the absolute path), the video mode you're running the game in, say whether the intros are enabled or disabled for you, post your TFE-X.log contents).

    - Agetian
     
  15. Zoltec

    Zoltec Pгōdigium

    Joined:
    Apr 22, 2012
    Messages:
    537
    Likes Received:
    10
    Though I don't want to compare this with my previous data test, I'd just can't help it, since the crashes is always directed to Enable intro

    Previous

    movies_seen=null; TFE-X 4.2 stable build plus original 7.9 Temple.dll

    Window mode - Disable intro

    Resolution 800x600 - Success; Success; Success; Success
    Resolution 1024x768 - Success; Success; Success; Success

    Fullscreen - Disable intro

    Resolution 800x600 - Success; Success; Success; Success
    Resolution 1024x768 - Success; Success; Success; Success

    Window mode - Enable intro

    Resolution 800x600 - Success; Success; Success; Failed; Success; Success
    Resolution 1024x768 - Failed; Success; Success; Success; Success; Success

    Fullscreen - Enable intro

    Resolution 800x600 - Success; Success; Success; Success; Success; Success
    Resolution 1024x768 - Success; Failed; Success; Success; Failed; Success

    Present

    movies_seen = null; TFE-X v4.3 BETA plus updated Temple.dll

    Window mode - Disable intro

    Resolution 800x600 - Success(3), Failure(0)
    Resolution 1024x768 - Success(3), Failure(0)

    Fullscreen - Disable intro

    Resolution 800x600 - Success(3), Failure(0)
    Resolution 1024x768 - Success(3), Failure(0)

    Window mode - Enable intro

    Resolution 800x600 - Success(2), Failure(1), @800x600, First run crashed
    Resolution 1024x768 - Success(2), Failure(1), @1024x768, Second run crashed

    Fullscreen - Enable intro

    Resolution 800x600 - Success(2), Failure(1), @800x600, First run crashed
    Resolution 1024x768 - Success(3), Failure(0)

    And I want to note 2 things, Ajitae's window reshack is still present in this build i.e. Window mode [Option] and window mode [800x600], and sadly it still overriding for resolutions such as 1024x768 but it's not expanding a fullscreen window mode unlike the previous TFE-X build and Temple.dll. You must create only one option if you're gonna retain 800x600 window mode i.e. 800x600 Window Mode or in short "800x600 WM" inside Game Resolution.
     

    Attached Files:

    Last edited: Aug 28, 2013
Our Host!