Comments (42)
I can help you later, still at work atm, sorry! I'll look at it tonight my time.
from tqdb.
Alright I've figured out a few things, it's a strange bug so I'm diving into it more this weekend, should have an update for you maybe Sunday.
from tqdb.
Oops! You still have to execute this step from the manual setup:
Python
Python 3.6 or higher and Pipenv are required to run this project. To get started with a clean setup, open up a shell, navigate to your local repository, and run:
pipenv clean
pipenv install
I will update the documentation to include this mandatory setup step!
from tqdb.
from tqdb.
Powershell seems to not recognize Python as being installed.
Can you try just typing python
in your Powershell and see if it recognizes that command?
from tqdb.
from tqdb.
A yeah, so exit out of that by typing exit()
and then type pip install --user pipenv
from tqdb.
from tqdb.
pipenv clean
pipenv install
Then autoinstaller again
from tqdb.
The same errors :(
from tqdb.
You might have to try running a regular command prompt, instead of powershell, and see if pipenv clean
will run there. I think Powershell isn't loading pip
loaded packages or something, I'm not sure.
from tqdb.
The same problem: pipenv is not command
from tqdb.
Ok, in that command prompt: pip install pipenv
, then pipenv clean
and pipenv install
again. We'll get there!
from tqdb.
Maybe Do I need to add something to PATH?
from tqdb.
That should have happened when you setup Python, but I think they're not on the PATH at the moment. So yes, although you might want to google for "installing pipenv on Windows" and "PATH" in that query somewhere ;-)
I'm at work again (I live in the US now) so I'll be slower to respond.
from tqdb.
I fixed error, but now I have new issue :)
from tqdb.
Haha, wow I wasn't aware that 3.7 would check-fail 3.6, that's odd. I think you can just try running pipenv install
and then running the autosetup again.
from tqdb.
from tqdb.
Try installing the packages in the Pipfile
manually:
pipenv install numexpr Pillow pytest
from tqdb.
The same errors
from tqdb.
Hm, what about pip install numexp Pillow pytest
?
from tqdb.
from tqdb.
Was that pip
or pipenv
install, that last screenshot? I don't see the pip
but maybe I'm blind.
from tqdb.
from tqdb.
Ah cool, so that works. Try the auto setup again now , python prepare.py
from tqdb.
about prepare.py
i wrote in first message. Script can't find game directory but directory exist
from tqdb.
Open up prepare.py
in your editor and edit these lines:
def tqdb_prepare():
# Open the TQAE key and grab the install location:
try:
tqae_key = winreg.OpenKey(
winreg.HKEY_LOCAL_MACHINE, LOOKUP_KEY, 0, winreg.KEY_READ)
install = winreg.QueryValueEx(tqae_key, 'InstallLocation')[0]
except WindowsError:
print('Could not find installation directory for Titan Quest')
return
Add the exception the the except
clause and print by changing that line to:
except WindowsError as we:
print('Could not find installation directory for Titan Quest')
print(we)
return
Then run the file again.
from tqdb.
Here is https://stackoverflow.com/questions/46041719/windows-reports-error-when-trying-to-install-package-using-pipenv how to fix issue with pipenv on Windows
from tqdb.
C:\tqdb>python prepare.py
Could not find installation directory for Titan Quest
[WinError 2] Не удается найти указанный файл // can't find file
from tqdb.
Ah! I think this might have something to do with 32 vs 64-bit systems.
Can you update this line in prepare.py
:
tqae_key = winreg.OpenKey(
winreg.HKEY_LOCAL_MACHINE, LOOKUP_KEY, 0, winreg.KEY_READ)
install = winreg.QueryValueEx(tqae_key, 'InstallLocation')[0]
To be:
tqae_key = winreg.OpenKey(
winreg.HKEY_LOCAL_MACHINE, LOOKUP_KEY, 0, access=winreg.KEY_READ | winreg.KEY_WOW64_64KEY)
install = winreg.QueryValueEx(tqae_key, 'InstallLocation')[0]
Then try again. If that doesn't work, change KEY_WOW64_64KEY
to KEY_WOW64_32KEY
in that update, then try one more time!
from tqdb.
from tqdb.
Ok, I'll have to debug this further, there's something going on with accessing the registry, I don't know if that has to do with a 32 vs 64-bit install of Python or something else, but I'll have to see what's causing this unable to lookup file.
You can still try to run through the Manual setup, that does the same as the Automated setup, just takes more effort.
from tqdb.
Okay, thanks. In the evening I check Manual setup.
And one more question. I read readme and there is mention that images of stuff is a sprite. How can I get separate images?
from tqdb.
The parser creates a directory with all the images it then turns into a sprite, that it deletes at the end. I'll either add an option to not delete it, or show you where to turn off that delete from happening later.
from tqdb.
Yes, it will be cool
from tqdb.
And prepare.py
work! Previous time it was my mistake. Work with it: winreg.HKEY_LOCAL_MACHINE, LOOKUP_KEY, 0, access=winreg.KEY_READ | winreg.KEY_WOW64_64KEY)
What Do i need to do after prepare.py
?
After prepare.py I ran run.py but have these errors:
from tqdb.
Could you help me?
from tqdb.
Heeey?
from tqdb.
Sorry! Work got really busy.
I remember running into some of those issues, but not these specific ones. I'll look into my logs later this week, sorry for the delay, busy busy! If we can't find a solution, maybe the quickest solution is to do some pair programming with Discord or something!
from tqdb.
Ok, thank you. I will waiting for you. Don't forget
from tqdb.
Was traveling last 2 weeks, back home now.
Didn't get a solution that weekend I posted an update, trying again today & tomorrow!
from tqdb.
Okay
from tqdb.
Related Issues (20)
- Incorrect sprite HOT 10
- Missing translations HOT 3
- Level requirement equations
- Missing items
- Torc of Ancestors - no public beta 4 nerf implemented HOT 1
- Loot table empty for Agent of the Order set
- Parser running error
- "Shimmer of Hybris" missing texture & info - provided
- Enternal Embers HOT 1
- No chance of dropping loot from Secret Passages
- Can you add filter by game difficult: normal, epic, legend?
- Direct URL to database items return a blank page HOT 1
- Missing loot tables from Eternal Embers
- Typing in "ex" in monster search crashes the TQDB site
- Database acccess
- Help : Item Stats Do Not Match
- Basic Filter option?
- add a new loot drop ..
- Monsters tab is broken HOT 1
- add new filter ...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tqdb.