LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   COD1 in menu (https://www.linuxquestions.org/questions/linux-software-2/cod1-in-menu-847675/)

von Stalhein 12-01-2010 06:11 AM

COD1 in menu
 
Hey all,
I can navigate as per the route blow, right-click on the COD1 executable and start COD1. It works fine.

I'm using Ubuntu Maverick, and want to put a link into the Applications-WINE menu.

When browsing the WINE c: drive CoDSP.exe is situated in
Code:

/home/me/.wine/dosdevices/c:/Program Files/Call of Duty/CoDSP.exe
How can I make the link in the menu?

nocountryman 12-02-2010 08:05 AM

create a launcher (right clicl on the desktop > create launcher) and add this to the exec path:


wine /home/me/.wine/dosdevices/c:/Program Files/Call of Duty/CoDSP.exe

should work.

im only not very sure if itll tak ok the spaces, but if not just add a backspace before each space.


wine /home/me/.wine/dosdevices/c:/Program\ Files/Call\ of\ Duty/CoDSP.exe

hope that helps

von Stalhein 12-03-2010 01:14 AM

Quote:

Originally Posted by nocountryman (Post 4178189)
create a launcher (right clicl on the desktop > create launcher) and add this to the exec path:


wine /home/me/.wine/dosdevices/c:/Program Files/Call of Duty/CoDSP.exe

should work.

im only not very sure if itll tak ok the spaces, but if not just add a backspace before each space.


wine /home/me/.wine/dosdevices/c:/Program\ Files/Call\ of\ Duty/CoDSP.exe

hope that helps

Thanks nocountryman for the reply.

I tried it both ways, and it tries to start with the second option.

Unfortunately, it give me the error message as below: -
Code:

COD 1.3 build win-x86 Mar  2 2004
----- FS_Startup -----
Current language: english
Current search path:
Z:\home\me/main

File Handles:
----------------------
0 files in pk3 files
ERROR: No languages available because no localized assets were found
----- CL_Shutdown -----
-----------------------
Hunk_Clear: reset the hunk ok
Couldn't load default.cfg.  Make sure Call of Duty is run from the correct folder.

This is the same issue with the command in the Applications menu, so I must have the path wrong?

Thanks again.

Edit: from another conversation, It was suggested that I make a script and then link the Application menu to that - it worked a treat!!

Code:

cd ~/.wine/drive_c/Program\ Files/Call\ of\ Duty
wine CoDSP.exe

chmod the script, and then make the shortcut point at the script

More than one way to flens a feline!!! :-)

teebones 12-03-2010 03:27 AM

@OP:
Wrong location, you should have posted this question here:
Gaming subforum


All times are GMT -5. The time now is 12:50 AM.