[SOLVED] How do i play plants vs zombies once i get wine up and running
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do i play plants vs zombies once i get wine up and running
i bought plants vs zombies from the store, and when i tried to install...autorun/autosetup/autoinstall..i found out that i couldnt, but i could install wine and it would let me play my game. so i did that...and when i click on applications...click on other..click on winetricks...it asked me what do i want to do...i clicked on select plantsvszombies (plants vs Zombies)then ok, then another box pops up and asks me, what would you like to do to this wineprefix? Install a windows dll or component, install a font, change settings, run winecfg, run regedit, run taskmgr, run a commandline shell (for debugging), browse files, or delet all data and applications inside this wineprefix. could anyone please help me with the next step?
I'm not familiar with winetricks, but I think it is used to download and install libraries needed for some windows programs to run under wine. The way I usually install games with wine is this:
Code:
wine /path/to/setup.exe
So, if you're using a cd with the game, you would execute something like this (depending on where your cd is mounted to and where inside the cd is the setup.exe file):
Code:
wine /media/cdrom/setup.exe
After that, entries for the game should be added somewhere to your menu (likely in a submenu named "Wine").
ok, im gonna try that...should i have the cd in the computer before i do the above codes...or without the cd? and the codes above are they to be used in the terminal?
ok, thanks...one more question then im gonna try your tips. mounted? how do i know if its mounted? and in the terminal, i dont need to use sudo in front of the codes?
Most modern distros mount CDs automatically, but in order to know if it's mounted, you can execute the following command from a terminal window:
Code:
df -h
Should show you all mounted file systems. Something else: be aware that the setup.exe file may be anywhere inside the CD, not necessarily in its root directory, so first you will have to check where it is located before executing the command I gave you before, since you must use the complete path to it. So, if for example, it is inside a directory named 'DATA', you should enter the following command: wine /media/cdrom/DATA/setup.exe.
About the 'sudo' command, you don't need it since wine programs are installed inside your user directory (not system wide).
Last edited by Hungry ghost; 03-02-2013 at 10:50 AM.
now, when you say (Something else: be aware that the setup.exe file may be anywhere inside the CD, not necessarily in its root directory, so first you will have to check where it is located before executing the command I gave you before, since you must use the complete path to it) where do i look for it exactly? do i open the cd and look for the files, then look for the setup.exe file?
do i open the cd and look for the files, then look for the setup.exe file?
Exactly. Then you must figure out what's the complete path to the file. Judging from the output of your 'df -h', I guess it should be somewhere inside '/media/rene/PVZGYPCMC-EN'. So, the path to give to wine should be either '/media/rene/PVZGYPCMC-EN/setup.exe' or '/media/rene/PVZGYPCMC-EN/some_other_directory/setup.exe', depending on where the file is located. Just out of curiosity, what is the output of the following command?:
The only .exe (executable) file you show in that directory is: PopCDRun.exe
You have three directories and the setup.exe may be in one of those: DirectX, images, installers, most likely 'installers'.
Navigate to the /media/rene/PVZGYPCMC-EN directory and its sub-directories and take a look, using the terminal or the file manager for whichever distribution of Linux you are using. You might look for a text file to seee if there is a README or install file with some type of instructions.
when i type '/media/rene/PVZGYPCMC-EN/popcdrun.txt/setup.exe'....it says bash: /media/rene/PVZGYPCMC-EN/popcdrun.txt/setup.exe: not a directory
i tried all three of the exe directories and (DirectX), (images), (installer)/setup.exe says no such file or directory.
when i open PopCDRun.exe it has 8 items. which are exe's for other games that you can try out for an hour. i cant find a readme file or text file, in any of the sub-directories.
when i try to click on a sub-directory named DirectX EULA.txt. when i double click it, it does nothing. So when i right click it, it asks, open with sudo at the top..then under that it says open with ---> kate, LibreOffice Writer, notepad, pluma, and under that it says other application.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.