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

How to install in windows bash (WSL) #45

Open
eduardoarandah opened this issue Jan 25, 2019 · 12 comments
Open

How to install in windows bash (WSL) #45

eduardoarandah opened this issue Jan 25, 2019 · 12 comments

Comments

@eduardoarandah
Copy link

I'm here to confirm it works in windows bash + ubuntu 16

In bash:

git clone https://github.com/jmoon018/PacVim.git
cd PacVim
sudo make install
pacvim

BTW, would be awesome starting with easy mode, no ghosts.
Muscle memory takes time

@nephewtom
Copy link

It is not working for me on WSL.
The game works, but maps are not loaded.

pacvim

@appel
Copy link

appel commented Aug 24, 2019

Hmm, I'm getting an error at the git clone command:

fatal: could not create work tree dir 'PacVim': Permission denied

@izackwu
Copy link

izackwu commented Oct 7, 2019

Hmm, I'm getting an error at the git clone command:

fatal: could not create work tree dir 'PacVim': Permission denied

This error has nothing to do with PacVim. You need to make sure that you have the permission to write, or try sudo git clone instead.

@hoijui
Copy link

hoijui commented May 24, 2021

I'm here to confirm it works in windows bash + ubuntu 16

In bash:

git clone https://github.com/jmoon018/PacVim.git
cd PacVim
sudo make install
pacvim

BTW, would be awesome starting with easy mode, no ghosts.
Muscle memory takes time

I like the easy mode idea!
As a workaround, I recommend you change the value of THINK_MULTIPLIER in "src/globals.cpp" from 1.0 to a higher value.
Setting it to 3.0 for example, will make ghosts move 3 times slower.

@nephewtom
Copy link

nephewtom commented May 25, 2021

I am here to confirm that it does NOT work on windows bash + Ubuntu 20.04 :

pacvim-cmd

It didn't work when I tried it two and a half years ago with Ubuntu 18.04.
At least then, ghosts appeared and moved, but maps where not properly loaded.
Now it is even worse...

Do you know why, @eduardoarandah, @hoijui ?

@hoijui
Copy link

hoijui commented May 25, 2021

@tomasorti This is what I saw when I ran pacvim from the source/build dir, without installing it with sudo make install.

I think there should be an error if the maps are not found, instead of something like this happening... that should be easy enough to do.

@nephewtom
Copy link

Well, I tend to test stuff before installing. I tested the compiled thing and it didn't work.
Then I installed it with sudo make install and again, it does not work.
And if you look at my previous post on Jan 26, 2019, I listed the maps directory and showed which pacvim.
In both cases (18.04 & 20.04) it is installed and it is not working.

$ ls -ltr /usr/local/share/pacvim-maps/
total 16
-rwxr-xr-x 1 root root  422 May 25 13:06 map0.txt
-rwxr-xr-x 1 root root  394 May 25 13:06 map1.txt
-rwxr-xr-x 1 root root  342 May 25 13:06 map7.txt
-rwxr-xr-x 1 root root  460 May 25 13:06 map5.txt
-rwxr-xr-x 1 root root  219 May 25 13:06 map2.txt
-rwxr-xr-x 1 root root  190 May 25 13:06 map9.txt
-rwxr-xr-x 1 root root  974 May 25 13:06 map6.txt
-rwxr-xr-x 1 root root 1450 May 25 13:06 map4.txt
-rwxr-xr-x 1 root root  684 May 25 13:06 map3.txt
-rwxr-xr-x 1 root root 1153 May 25 13:06 map8.txt
etomort@ES-00002604:~/playground/wsl/PacVim (master)
$ which pacvim

Enlighten me... if you can!
Regards! 😄

@hoijui
Copy link

hoijui commented May 26, 2021

@tomasorti Try running what I have on my master (git remote URL): https://github.com/hoijui/PacVim.git
The last commit I made should make pacvim exit if it can not load the map file, and show you where it is looking for the maps. maybe that helps.

@nephewtom
Copy link

Ok, your fork makes the maps appear, thank you!
Though I still see bugs: weird char sequences appear when player hovers over them...

image

Instead of the original map:
image

@hoijui
Copy link

hoijui commented May 26, 2021

ouh.. that is strange.. that it works with my fork.. it should rather error out but. well... ok! :-)

that with the weird chars I do not know... the only vague idea I have, is that it might depend on the terminal you are using.... but it is just a shot in the dark.
I like https://github.com/alacritty/alacritty.
.. or maybe the mode the terminal is in...?

@nephewtom
Copy link

nephewtom commented May 26, 2021

Yes, it seems a terminal thing.
I ran it in Windows Terminal and those weird chars appear.
Your version, under plain cmd.exe terminal works fine and on Gnome Terminator too.

Don't know why the @jmoon018 original one is not fixed...
Anyway, I guess I will play it on those, though "the game" is challenging... 😄
Regards!

@hoijui
Copy link

hoijui commented May 26, 2021

ahh nice! :-)
... yes, for me it is also way too challenging. I made the ghosts 3 times slower, and it is hard enough.
really, I am not looking for a real challenge.. it is enough for me to have the idea of playing a game; I would probably play it even without ghosts, and be happy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants