Matthew L Reed
2004-Oct-10 20:44 UTC
[Wine]Setting default or startup directory for win32 program
I'm trying to run a program, hlds.exe, which is the windows half-life server. So far, the only way to get it to start is to use the windows program TotalCommander and start it from there (TotalCommander is a NortonCommander clone). In TC, it shows me a C: drive, and a Z: drive, where the Z: drive appears to be mapped to \ If I try to start it from within Konqueror, or create a link on the desktop, it gives an error that basically means it's not in the correct directory. Does the concept of default directory apply here? If this was Windows, the problem would be that it's startup directory is wrong, although I created the link in the proper directory. So, I'm thinking that I just don't know how to specify the correct startup directory. So, my question is, how do I start a win32 app with wine and force/specify a startup directory? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20041010/3364802c/attachment.htm
Stefan Munz
2004-Oct-11 03:41 UTC
[Wine]Setting default or startup directory for win32 program
Am Montag, 11. Oktober 2004 03:44 schrieb Matthew L Reed:> I'm trying to run a program, hlds.exe, which is the windows half-life > server. So far, the only way to get it to start is to use the windows > program TotalCommander and start it from there (TotalCommander is a > NortonCommander clone). In TC, it shows me a C: drive, and a Z: drive, > where the Z: drive appears to be mapped to \ > > If I try to start it from within Konqueror, or create a link on the > desktop, it gives an error that basically means it's not in the correct > directory. Does the concept of default directory apply here? If this was > Windows, the problem would be that it's startup directory is wrong, > although I created the link in the proper directory. So, I'm thinking that > I just don't know how to specify the correct startup directory. > > So, my question is, how do I start a win32 app with wine and force/specify > a startup directory?maybe not exactly what you meant but it will do the job: echo "cd /toMyWineDir/; wine myWinPrg.exe" > starthl.sh chmod 755 starthl.sh now you can start your app with ./starthl.sh or create a link on the desktop to the script. cu, Stefan
Rein Klazes
2004-Oct-11 04:46 UTC
[Wine]Setting default or startup directory for win32 program
On Sun, 10 Oct 2004 18:44:38 -0700, you wrote:> I'm trying to run a program, hlds.exe, which is the windows half-life > server. So far, the only way to get it to start is to use the windows > program TotalCommander and start it from there (TotalCommander is a > NortonCommander clone). In TC, it shows me a C: drive, and a Z: drive, where > the Z: drive appears to be mapped to \ > > If I try to start it from within Konqueror, or create a link on the desktop, > it gives an error that basically means it's not in the correct directory. > Does the concept of default directory apply here? If this was Windows, the > problem would be that it's startup directory is wrong, although I created > the link in the proper directory. So, I'm thinking that I just don't know > how to specify the correct startup directory. > > So, my question is, how do I start a win32 app with wine and force/specify a > startup directory?sh -c 'cd /start/dir && exec wine hlds.exe' Rein. -- Rein Klazes rklazes@xs4all.nl
sergey akifiev
2004-Oct-14 05:09 UTC
[Wine]Setting default or startup directory for win32 program
On Sun, Oct 10, 2004 at 06:44:38PM -0700, Matthew L Reed wrote:> I'm trying to run a program, hlds.exe, which is the windows half-life > server.why don't you use native linux version? you can get packs/maps/other stuff from windows client and need to get only binaries. -- WBFH: -error, IL2: =SB=error Man on the road
sergey akifiev
2004-Oct-18 00:13 UTC
[Wine]Setting default or startup directory for win32 program
On Fri, Oct 15, 2004 at 04:40:18PM -0700, Matthew L Reed wrote:> I don't use the native Linux version because the linux binaries blow > chunks. Valve just hasn't figured out how to get the linux version to run > with the reliability of the Win32 version.i think, that you're wrong, basing on my experience with hlds on linux. i, personally, run hlds 1.1.2.5 on FreeBSD without any troubles for two or three years. -- WBFH: -error, IL2: =SB=error Man on the road