-
Notifications
You must be signed in to change notification settings - Fork 186
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
Windows Support #146
Comments
Thanks for making this ticket. Native Windows support may be possible but it's not on the roadmap at this time. You can use TextWorld on Windows right now through WSL or Docker (and similar things). |
To be honest ... porting to to c# will be too much work. A test binary can be found here: But still need to test it (was not able to test it yet because i need to update my msys wich might take some days - due to bad internet speed) |
@TheCrazyT have you run the tests (maybe with appveyor)? I'm not sure the third-party dependencies (i.e. git-glulx and Inform7) will work (i.e. TextWorld will fail at runtime). |
After upgrading my msys i sadly noticed that its incompatible. Also will try to install the package during build and execute the tests there, but might take a while to fix all bugs and missing dependencies in my appveyor script. Wish me luck. |
Sadly most tests keep failing atm. "tw-play" seems to work randomly Edit: Edit again: Now i just need to figure out why it sometimes can't delete files on tests. Also can't figure out how to really run ALL tests. (atm it just runs 4 of them when using "python3.7.exe -m unittest -v") unshure about those CalledProcessError-errors, they do not give alot of info sadly. |
Oh well ... figured out there are even more tests: https://ci.appveyor.com/project/TheCrazyT/textworld/builds/23833466 Some are probably not easy to fix. Edit: Edit again: |
Any news on this issues guys? I'd love to use in window |
for python3.7 you could test this: But I am not able to build a new version (that works for 3.8.1) for now, because i'm getting some weird ssl-errors on appveyor during build. Edit: Makes me wonder if i could somehow build it msys independend ... |
alright created a new version for newest msys (3.0.7, with python 3.7): Took me some time to figure out working versions of numpy,scipy,etc. The reason i choosed msys was probably because of file access/pipes/symlinks used by the project itself, but i can't remember. Need to figure out a way to build it automatically when a new version of msys is released. |
Hm, is building with cygwin possible ? I see cygwin in the setup file |
Sadly I'm not able to test. So chances are high that you could build it for cygwin. Edit: Just noticed that I'm using "pacman" alot of times in my repository. |
Just created a version for cygwin("textworld-1.1.1-cp37-cp37m-cygwin_3_1_2_x86_64.whl"), let me know if it works: https://github.com/TheCrazyT/TextWorld/releases/tag/1.1.1.192 |
Thanks @TheCrazyT for doing this. That's really great. I just want to highlight that the current version of TextWorld is 1.2, and 1.3 will be released soon (coming weeks). |
@MarcCote looks like jericho would need better windows support on newest version,too. My try to build, but with tests failing: |
best workaround for me is folowing:
get it from this link : works for some test, some test it spills out tons of memory issues, can you try and tell what happens |
@TheCrazyT good point about Jericho not supporting Windows. In theory, you don't have to use Jericho with TextWorld (only git-glulx is fine). I have to look at how to do it, but there might be a way to make some of the tests optional, i.e. if OS == windows, skip the test. @thunanguyen thanks for finding this, that might be a quick fix to have Jericho better support Windows. EDIT: https://docs.python.org/3/library/unittest.html#skipping-tests-and-expected-failures |
Add windows support and maybe port this to c#
The text was updated successfully, but these errors were encountered: