Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.IO.FileLoadException: Could not load text DB #287

Closed
KatakuriGR opened this issue Mar 24, 2020 · 17 comments · Fixed by #465
Closed

System.IO.FileLoadException: Could not load text DB #287

KatakuriGR opened this issue Mar 24, 2020 · 17 comments · Fixed by #465

Comments

@KatakuriGR
Copy link

When i open the TQVaultAE.exe i have this error.
System IO FileLoadException

@EtienneLamoureux
Copy link
Owner

It seems you might be running version 3.0.0.0 of the tool Can you try with the latest version?

@EtienneLamoureux
Copy link
Owner

Did running the latest version fixed your issue?

@Bogdand13
Copy link

Hello,

I know this is closed, I have exactly same issue. I am 100% sure that I am using the 3.4 version.

image

image

Thank you

@EtienneLamoureux EtienneLamoureux changed the title System.IO.FileLoadException ERROR System.IO.FileLoadException: Could not load text DB Apr 7, 2020
@KatakuriGR
Copy link
Author

Did running the latest version fixed your issue?

yes thank you!!

@noplanman
Copy link

Same error pops up for me on latest version (3.5.1)

@EtienneLamoureux How can I help to debug this?

@noplanman
Copy link

Using 3.4.0 i get the following error:

tqvaultae-3 4 0-startup-error

@Bedengus
Copy link

It was working fine, but I changed the path of the executable folder and it gave me that same error.
I tried re-extracting from the exe, but to no avail.
I then reconstructed the old path where it work, but I get the same error too.
I have also 'changed' the TQ path (I had two instalations and deleted the one I did not use) if that has any relevance (the save path of both was the default at documents/my games).
I am using the latest version (3.6).

image

@EtienneLamoureux
Copy link
Owner

Alright, so what do you think the reproduction steps might be?
What was the path where it worked; what was the new one that started the problem?

@Bedengus
Copy link

Alright, so what do you think the reproduction steps might be?
What was the path where it worked; what was the new one that started the problem?

The working path was the random folder I first extracted it to after downloading. I then changed paths to organize it since it was there at random.
But putting it back where it was did not solve it so I am unsure if the path caused that (and the fileload error hints at pathing too); I mentioned them because I have no idea what else could have caused it.
I made a new copy of the game to that other path I had it before the error, but the error is still there.
Before the error there is also a message about the vault path.
Open exe > vault message > crash error.
image

@noplanman
Copy link

@EtienneLamoureux Does TQAE need to be fully installed on the same machine as TQVaultAE?

I'm running TQAE in a wine port on my Mac and have a VM set up for TQVaultAE (as the port can't install latest .NET versions). I set the paths to point to a share of the wine port folder but that didn't seem to work, or I'm not sure as I get the same error.

Would be cool if this app only needed the actual save game files to manipulate them.
What components of the full game install are required? Maybe I can just copy those over and try again?

@EtienneLamoureux
Copy link
Owner

EtienneLamoureux commented Jun 15, 2020

@Bedengus make sure all the paths listed in TQVaultAE.exe.config are correct. You can also give a try to a fresh install of the latest version.

@EtienneLamoureux
Copy link
Owner

EtienneLamoureux commented Jun 15, 2020

@noplanman the main things the tool needs from the game installation directory are

  • Titan Quest Anniversary Edition\Database\database.arz
  • Titan Quest Anniversary Edition\Text
  • Titan Quest Anniversary Edition\Resources

@Bedengus
Copy link

There were no paths on the config file; and the 'find game path' is on auto.
I have filled the path to the three places which ask for it, without turning off the auto path, and it went back to working.
It seems it had 'locked' on my old instalation location so it could not find the one I actually used; and so it had no access to those files it needs from the instalation.
Thanks for the help!
And your mod is awesome.

On another hand ever since I installed I have tried changing the mod's language.
I went into the config and put 'en' on the 'UI language' while also disabling 'auto-detect language', but the mod continues on Japanese (my operational system's language). And there is no such option on the mod; only 'game language' which is already in English (and I understand not why it needs the language the game is in; if I change the game's language should I change there too?).
I want to change the vault's UI language so that my non-japophone friend can use it here too.
image

@noplanman
Copy link

@EtienneLamoureux Perfect, I got it running 👍

I basically copied these over to the VM (seems I didn't need the Resources):

  • Titan Quest Anniversary Edition\Database\database.arz
  • Titan Quest Anniversary Edition\Text

Then set the paths in the config file.

I still got an error, because I hadn't copied over the actual save games. After doing that, it's now working!

As a suggestion, maybe add error messages instead of letting exceptions pop up messages that aren't helpful for the user 😊

@HadToRegister
Copy link

This is STILL an issue with version 3.80 the same screensh9ot of File IO Error, using Anniversary Edition.

What are the EXACT Paths that need to be put in to the config files, because the program refuses to run

@XDeVAlien
Copy link

XDeVAlien commented Nov 25, 2021

I found how to fix the bug for myself, add in
<setting name="ForceGamePath" serializeAs="String">
yours way to game, simple:
<setting name="ForceGamePath" serializeAs="String"> <value>C:\STEAM\steamapps\common\Titan Quest Anniversary Edition</value>

Titan Quest AE + Ragnarok + Atlantis, game ver. 2.9 STEAM, lang. russian

@ZombieKabuto
Copy link

I used steam's option to move game directory and since then it's stopped working. Looking at the Log it seems to still be trying to read my old directory. I have added all the necessary paths in the configs and it's still reading the old directory. What gives?

hguy added a commit to hguy/TQVaultAE that referenced this issue Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants