[1.0.4] Stuck at loading screen when starting the game.

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Sedrahl
Cornac
Posts: 41
Joined: Sun Apr 28, 2013 3:31 am

[1.0.4] Stuck at loading screen when starting the game.

#1 Post by Sedrahl »

The title pretty much sums it up. Up until today I was able to play the game just fine, and only did 2 things worth of note. First of all I downloaded Sageacrin's item tweaks addon, second I tried starting the game with a compiled git .exe downloaded from the development thread. (The download only provides the executable and a debug launcher so I assumed that's what I was meant to do.)

Both with it and the original exe, with and without the addon in question in my folder, the game will load to 100% and stay at the loading screen. I've also gone as far as extracting a fresh copy of 1.0.4 and deleting the secondary TE4 folder in my User directory. (After backing up my Vault and Profiles, naturally.) All to no avail. Anyone have any idea what's going on?

Crim, The Red Thunder
Sher'Tul Godslayer
Posts: 2000
Joined: Fri May 07, 2004 8:26 pm
Location: Nahgharash

Re: [1.0.4] Stuck at loading screen when starting the game.

#2 Post by Crim, The Red Thunder »

You actually deleted the new addon you downloaded and then tried again? I had an instance the other day where even an addon that was turned off could cause problems with the new game (or loading existing games) would hang at 100%... Had to completely delete the addon to get the problem to go away.
Currently playing under the name Aura of the Dawn 4 down, 227 to go!
Proud author of Orc Pit Restoration Project, Faction Allies, Dwarven Adventurer addons
SadistSquirrel wrote:DarkGod has two arms, one with an opened hand, one with a closed fist. You got the fist.

Sedrahl
Cornac
Posts: 41
Joined: Sun Apr 28, 2013 3:31 am

Re: [1.0.4] Stuck at loading screen when starting the game.

#3 Post by Sedrahl »

Yes, I tried completely clearing my Addons folder and also tried extracting a fresh t-engine copy. Neither of which work.

Here's the end of my logfile, if it's of any use.

[PROFILE] Thread connected to te4.org
[MUSIC] loading The saga begins.ogg sound "/data/music/The saga begins.ogg" : <static>
[MUSIC] playing The saga begins.ogg sound "/data/music/The saga begins.ogg" : <static>
[COROUTINE] registering getnews thread: 0x05c6fce0
[ENGINE] Setting requested FPS to 30 (33 ms)
[MODULE LOADER] done loading module Tales of Maj'Eyal Main Menu
[PROFILE] mounted online on /current-profile
Lua Error: /engine/PlayerProfile.lua:296: attempt to index local 'f' (a nil value)
At [C]:-1 __index
At /engine/PlayerProfile.lua:296 saveGenericProfile
At /engine/Module.lua:784 instanciate
At /engine/utils.lua:1880 showMainMenu
At /engine/init.lua:139
At [C]:-1 dofile
At /loader/init.lua:196
[EVENT HANDLER]: Got a SHOW/FOCUS_GAINED event, restoring full FPS.
[EVENT HANDLER]: Got a SHOW/FOCUS_GAINED event, restoring full FPS.
SDL_WINDOWEVENT_RESIZED: 1362 x 742
[DO RESIZE] Requested: 1362x742 (0)
[DO RESIZE] Got: 1362x742 (0)
OpenGL max texture size: 4096
onResolutionChange: saving current resolution for potential revert.
WARNING: could not save settings in resolution :: window.size = '1362x742 Windowed'
:: Access is denied.
onResolutionChange: resolution changed to 1362 742 from 1362 742
onResolutionChange: no actual resize, no confirm dialog.
Lua Error: /engine/dialogs/ShowErrorStack.lua:100: attempt to index local 'f' (a nil value)
At [C]:-1 __index
At /engine/dialogs/ShowErrorStack.lua:100 saveError
At /engine/dialogs/ShowErrorStack.lua:56 init
At /engine/class.lua:97 new
At /engine/Game.lua:208 tick
At /mod/class/Game.lua:266
---------------- Stack Dump ----------------
2: table // 665ee8
1: table // 665ee8
--------------- Stack Dump Finished ---------------
Lua Error: /engine/dialogs/ShowErrorStack.lua:100: attempt to index local 'f' (a nil value)
At [C]:-1 __index
At /engine/dialogs/ShowErrorStack.lua:100 saveError
At /engine/dialogs/ShowErrorStack.lua:56 init
At /engine/class.lua:97 new
At /engine/Game.lua:208 tick
At /mod/class/Game.lua:266


It does nothing but repeat that stack dump nonsense after that.

Sedrahl
Cornac
Posts: 41
Joined: Sun Apr 28, 2013 3:31 am

Re: [1.0.4] Stuck at loading screen when starting the game.

#4 Post by Sedrahl »

Update: I tried extracting a 1.0.1 copy as well, which doesn't work either.

Does ToME make any additional folders or anything like that? I have no idea what else could have changed to make the game stop working regardless of version and even after deleting the T-Engine folder.

SageAcrin
Sher'Tul Godslayer
Posts: 1884
Joined: Tue Apr 10, 2012 6:52 pm

Re: [1.0.4] Stuck at loading screen when starting the game.

#5 Post by SageAcrin »

T4 stores a bunch of settings in...well, on my XP-based computer it's Documents and Settings->Username->T-Engine.
second I tried starting the game with a compiled git .exe downloaded from the development thread. (The download only provides the executable and a debug launcher so I assumed that's what I was meant to do.)
What you're actually supposed to do is check out a copy of the code base, then put the executable/debug launcher in the same folder to launch the game.

http://te4.org/wiki/Source_Setup This has info on how to do that.

Sedrahl
Cornac
Posts: 41
Joined: Sun Apr 28, 2013 3:31 am

Re: [1.0.4] Stuck at loading screen when starting the game.

#6 Post by Sedrahl »

Yeah, I think that's the same T-Engine folder I've tried deleting. I know for a fact it's the correct one because when I do my game defaults to fullscreen, and when I restore it it goes back to windowed. However, I'll try setting up and running a proper SVN version and see if it appeases the dark gods and fixes my game.

Nevermind, due to download issues I won't be able to get the code base. I'll just have to hope there's a way to fix this issue by changing something I already have on the computer.

Update: I've tried Disk Checking, (old HDD showing signs of corruption) System Restore, and completely removing my User/T-Engine folder as well as all game installations, freshly extracting and trying both 1.0.4 and 1.0.1, all to no avail. I seriously have no idea what to do at this point.

Sedrahl
Cornac
Posts: 41
Joined: Sun Apr 28, 2013 3:31 am

Re: [1.0.4] Stuck at loading screen when starting the game.

#7 Post by Sedrahl »

Great success! I managed to solve the issue. The problem seems to have stemmed from the fact that my ToME 4 game folder was inside my user/downloads directory, however I have two completely different user/downloads directories with the same name (don't ask me how that happened, I don't know either.) and I can only assume it caused some directory confusion on boot. After exhausting all other options, I tried running the game from my desktop (all previous attempts were actually done from the same directory) and it worked immediately.

As for why it had worked up until now, I have absolutely no idea.

Post Reply