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
Invoke conversion script from the game binary #29
Comments
I agree,but now I can't find this file openage.convert >_< |
The script is currently called by import openage.convert that's where the name comes from 😉 |
how should the game decide if it's necessary? how we deal with the game NOT reconverting everything on each run? should we have a sentinel file, like |
I'm not sure what's the best way to do it now, but when we have nyan, we might just check if the main nyan file exists. |
This will be done by #217. |
This is finished, isn't it? /cc @TheJJ |
Yea, it is :) Thx4hint. |
The
openage.convert
script should be invoked by the game.The game launches its own Python interpreter to perform the conversion.
The input path could be queried interactively someday,
the output path equals the userassets directory which will be
~/.openage/
later.openage --convert
invokationcpp/python.cpp
)sys.path
AGE2DIR
equals the argument to--convert
openage.convert.__main__.main()
The text was updated successfully, but these errors were encountered: