LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-02-2013, 10:01 AM   #1
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Rep: Reputation: Disabled
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?
 
Old 03-02-2013, 10:40 AM   #2
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.2
Posts: 1,147

Rep: Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506
Hello,

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").

Hope this helps.
 
Old 03-02-2013, 11:01 AM   #3
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Original Poster
Rep: Reputation: Disabled
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?
 
Old 03-02-2013, 11:24 AM   #4
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.2
Posts: 1,147

Rep: Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506
Yes, the CD should be inserted - and mounted - before executing these commands. And yes, they're meant to be entered into a terminal window.

Regards.
 
Old 03-02-2013, 11:31 AM   #5
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Original Poster
Rep: Reputation: Disabled
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?
 
Old 03-02-2013, 11:49 AM   #6
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.2
Posts: 1,147

Rep: Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506
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 odiseo77; 03-02-2013 at 11:50 AM.
 
Old 03-02-2013, 12:08 PM   #7
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Original Poster
Rep: Reputation: Disabled
when i type wine /media/cdrom/setup.exe it says
wine: cannot find '/media/cdrom/setup.exe'

then i typed wine /path/to/setup.exe it says
wine: cannot find '/path/to/setup.exe'

am i skipping a step or something?
 
Old 03-02-2013, 12:13 PM   #8
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Original Poster
Rep: Reputation: Disabled
this is what it says when i type df -h

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 28G 23G 3.4G 87% /
udev 364M 4.0K 364M 1% /dev
tmpfs 150M 784K 149M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 375M 308K 374M 1% /run/shm
none 100M 12K 100M 1% /run/user
/dev/sr0 516M 516M 0 100% /media/rene/PVZGYPCMC-EN

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?
 
Old 03-02-2013, 12:32 PM   #9
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Original Poster
Rep: Reputation: Disabled
i am so lost
 
Old 03-02-2013, 12:48 PM   #10
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.2
Posts: 1,147

Rep: Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506Reputation: 506
Quote:
Originally Posted by catoga View Post
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?:

Code:
ls -l /media/rene/PVZGYPCMC-EN
 
Old 03-02-2013, 05:18 PM   #11
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Original Poster
Rep: Reputation: Disabled
this is what i get when i typed ls -l /media/rene/PVZGYPCMC-EN

total 304
-r-------- 1 rene rene 16 Feb 25 2008 AUTOPLAY.BAT
-r-------- 1 rene rene 55 Feb 25 2008 AUTORUN.INF
dr-x------ 1 rene rene 2048 Jul 7 2010 DirectX
dr-x------ 1 rene rene 2048 Jul 7 2010 images
dr-x------ 1 rene rene 2048 Jul 7 2010 installers
-r-------- 1 rene rene 300304 Feb 25 2008 PopCDRun.exe
-r-------- 1 rene rene 1728 Feb 25 2008 popcdrun_props.xml
-r-------- 1 rene rene 1407 Jul 7 2010 popcdrun.txt
 
Old 03-02-2013, 05:41 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
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.
 
Old 03-02-2013, 08:55 PM   #13
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-02-2013, 08:58 PM   #14
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-02-2013, 09:05 PM   #15
catoga
Member
 
Registered: Nov 2012
Location: louisiana
Posts: 35

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine 1.1.44 + Plant vs Zombies dc_eros Slackware 3 07-18-2010 09:24 PM
Torrent Plants vs. Zombies archive type not supported after installing unrar cman26 Linux - Games 1 06-04-2009 04:28 PM
Plants vs Zombies.rar archive type not supported cman26 Linux - Games 1 06-04-2009 02:34 PM
audio cds won't mount/play but dvds in same drives play. Running SW12.2current. lestoil Slackware 6 05-28-2009 08:33 PM


All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration