WINE + TrackManiaNations4Ever on OsX 10.7 (Lion)
WINE + TrackManiaNations4Ever on OsX 10.7 (Lion)
Hi all,
I am completely new to OS X and Wine, so I might ask a very stupid question now. If so, please forgive me; I searched the Forum, WineHQ and Google and couldnt find an answer to my problem.
I would like to run TrackManiaNations4Ever on my Mac (Os X 10.7 Lion), and i downloaded the program from
http://www.gamefront.com/files/10013754
I have MacPorts and Wine installed, and i was successful in installing the program. I can also start the program, which then opens a window where I can change some configuration settings. Leaving the settings to the defaults, when i click "Play", the terminal responds the following and then exits:
LaptopName:~ username$ /opt/local/bin/wine ~/.wine/drive_c/Programme/TmNationsForever/TmForeverLauncher.exe
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32eab8,0x00000000), stub!
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32eba8,0x00000000), stub!
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32f198,0x00000000), stub!
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 20/02/2011, dlt (d/m/y): 16/10/2011
fixme:exec:SHELL_execute flags ignored: 0x00000100
LaptopName:~ username$
Anyone an idea how to go about this?
Thank you in advance for your feedback!
Testifix
I am completely new to OS X and Wine, so I might ask a very stupid question now. If so, please forgive me; I searched the Forum, WineHQ and Google and couldnt find an answer to my problem.
I would like to run TrackManiaNations4Ever on my Mac (Os X 10.7 Lion), and i downloaded the program from
http://www.gamefront.com/files/10013754
I have MacPorts and Wine installed, and i was successful in installing the program. I can also start the program, which then opens a window where I can change some configuration settings. Leaving the settings to the defaults, when i click "Play", the terminal responds the following and then exits:
LaptopName:~ username$ /opt/local/bin/wine ~/.wine/drive_c/Programme/TmNationsForever/TmForeverLauncher.exe
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32eab8,0x00000000), stub!
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32eba8,0x00000000), stub!
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32f198,0x00000000), stub!
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 20/02/2011, dlt (d/m/y): 16/10/2011
fixme:exec:SHELL_execute flags ignored: 0x00000100
LaptopName:~ username$
Anyone an idea how to go about this?
Thank you in advance for your feedback!
Testifix
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
WINE + TrackManiaNations4Ever on OsX 10.7 (Lion)
On 8/29/11 5:47 PM, testifix wrote:
cd $HOME/.wine/drive_c/Programme/TmNationsForever
wine TmForeverLauncher.exe
This should work better.
Also, this program does have an entry in the Applications Database at:
http://appdb.winehq.org/objectManager.p ... n&iId=7064
You might want to look at that page for more information.
James
Try running it from the command line like so:Hi all,
I am completely new to OS X and Wine, so I might ask a very stupid question now. If so, please forgive me; I searched the Forum, WineHQ and Google and couldnt find an answer to my problem.
I would like to run TrackManiaNations4Ever on my Mac (Os X 10.7 Lion), and i downloaded the program from
http://www.gamefront.com/files/10013754
I have MacPorts and Wine installed, and i was successful in installing the program. I can also start the program, which then opens a window where I can change some configuration settings. Leaving the settings to the defaults, when i click "Play", the terminal responds the following and then exits:
LaptopName:~ username$ /opt/local/bin/wine ~/.wine/drive_c/Programme/TmNationsForever/TmForeverLauncher.exe
cd $HOME/.wine/drive_c/Programme/TmNationsForever
wine TmForeverLauncher.exe
This should work better.
Also, this program does have an entry in the Applications Database at:
http://appdb.winehq.org/objectManager.p ... n&iId=7064
You might want to look at that page for more information.
James
only one quick followup question:
I originally wanted to launch the program through an applescript:
tell application "Terminal"
do script "/opt/local/bin/wine ~/.wine/drive_c/Programme/TmNationsForever/TmForeverLauncher.exe"
end tell
with the result that it didnt work (the program started, but did not work properly, probably because of the wrong WorkingDir?)
Manual solution would be to provide a terminal window with this:
cd $HOME/.wine/drive_c/Programme/TmNationsForever
wine TmForeverLauncher.exe
Is there a way to do this through applescript?
Thanks in advance!
Best,
testifix
I originally wanted to launch the program through an applescript:
tell application "Terminal"
do script "/opt/local/bin/wine ~/.wine/drive_c/Programme/TmNationsForever/TmForeverLauncher.exe"
end tell
with the result that it didnt work (the program started, but did not work properly, probably because of the wrong WorkingDir?)
Manual solution would be to provide a terminal window with this:
cd $HOME/.wine/drive_c/Programme/TmNationsForever
wine TmForeverLauncher.exe
Is there a way to do this through applescript?
Thanks in advance!
Best,
testifix
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
WINE + TrackManiaNations4Ever on OsX 10.7 (Lion)
On 8/30/11 6:04 PM, testifix wrote:
James
You are welcome, testifix.Here's the working code:
tell application "Terminal"
activate
do script "cd $HOME/.wine/drive_c/Programme/TmNationsForever"
do script "wine TmForeverLauncher.exe" in window 1
end tell
thanks again for your help, james!
James
wont that cause a Terminal to appear? You can do this with Applescript with no terminal at all.testifix wrote:Here's the working code:
tell application "Terminal"
activate
do script "cd $HOME/.wine/drive_c/Programme/TmNationsForever"
do script "wine TmForeverLauncher.exe" in window 1
end tell
thanks again for your help, james!
You do not need to tell Terminal those commands... you should be able to do...
Code: Select all
do shell script "cd $HOME/.wine/drive_c/Programme/TmNationsForever; wine TmForeverLauncher.exe"
Thanks for the insightful input, doh123. Havent tried your one-line solution yet, but assuming it is working it is a very elegant solution. I just learnt something new!
Regarding the approach I posted: Yes, the terminal will appear this way. This code shows all the possible modifications:
tell application "Terminal"
activate -- If a terminal window is desired; if not, delete this line
do script "cd $HOME/.wine/drive_c/Programme/TmNationsForever"
delay 0.5 -- Improves Reliability
do script "wine TmForeverLauncher.exe" in window 1
end tell
Now, with your one-line solution, I guess the solution here is redundant. I just posted it to complete the discussion
cheers!
Regarding the approach I posted: Yes, the terminal will appear this way. This code shows all the possible modifications:
tell application "Terminal"
activate -- If a terminal window is desired; if not, delete this line
do script "cd $HOME/.wine/drive_c/Programme/TmNationsForever"
delay 0.5 -- Improves Reliability
do script "wine TmForeverLauncher.exe" in window 1
end tell
Now, with your one-line solution, I guess the solution here is redundant. I just posted it to complete the discussion
cheers!
Just tested it, didnt work: "Command not Found". Altered as follows, however, it works (without opening a terminal window):doh123 wrote:
You do not need to tell Terminal those commands... you should be able to do...
Code: Select all
do shell script "cd $HOME/.wine/drive_c/Programme/TmNationsForever; wine TmForeverLauncher.exe"
Code: Select all
do shell script "cd $HOME/.wine/drive_c/Programme/TmNationsForever; /opt/local/bin/wine TmForeverLauncher.exe"
yeah... depends how your default path is set up... thats a better way to do it to make sure there are no problems.testifix wrote:Just tested it, didnt work: "Command not Found". Altered as follows, however, it works (without opening a terminal window):doh123 wrote:
You do not need to tell Terminal those commands... you should be able to do...
Code: Select all
do shell script "cd $HOME/.wine/drive_c/Programme/TmNationsForever; wine TmForeverLauncher.exe"
Code: Select all
do shell script "cd $HOME/.wine/drive_c/Programme/TmNationsForever; /opt/local/bin/wine TmForeverLauncher.exe"
I have a AppleScript in the Mac OS X FAQ that you can use with normal Script Editor to make custom app launchers for normal Wine usage.
http://wiki.winehq.org/MacOSX/FAQs#head ... fc87fd3911