How do I set up a Windows program to run under Wine?
How do I set up a Windows program to run under Wine?
I have a guitar chord finder (NutChords) for Windows I like but I haven't found yet how to make it run under Wine on Lucid 528. I have tried just running the .exe but it can't find its config in the same directory, yet it does appear to run somewhat on linux when I doubleclick the .exe.
BTW, if you go looking for NutChords, get the 117 version not the 119, sound doesn't work on 119 even on Windows.
BTW, if you go looking for NutChords, get the 117 version not the 119, sound doesn't work on 119 even on Windows.
"Cogito, ergo es. I think, therefore you is." [i]Ray D. Tutto (King of the Moon) to Baron Munschaussen[/i]
G'day,
If you are using wine from one of green_dome's pets or sfs, in the FileSystem menu should be listed the Wine Windows File Manager ("Win File").
Click on that to open it then use Win File to find your .exe file and get Win File to try to run the .exe.
Is your .exe program a set-up program or a simple executable, by the way?
Good luck,
David S.
If you are using wine from one of green_dome's pets or sfs, in the FileSystem menu should be listed the Wine Windows File Manager ("Win File").
Click on that to open it then use Win File to find your .exe file and get Win File to try to run the .exe.
Is your .exe program a set-up program or a simple executable, by the way?
Good luck,
David S.
Are you trying to run the executable from a folder created by installing the program on windows? Or did you run the installer on Puppy?I have tried just running the .exe but it can't find its config in the same directory, yet it does appear to run somewhat on linux when I doubleclick the .exe.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
It's a simple stand-alone program with no Windows installer, just extract to and run from its directory (with its config and sound files), so I just copied the directory to a thumb drive and onto my Asus Eee.
"Cogito, ergo es. I think, therefore you is." [i]Ray D. Tutto (King of the Moon) to Baron Munschaussen[/i]
does it produce any error messages if you run it from a console?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
I recommend: in console, cd to the directory that has the exe file in it.
or where ever it is. Then run the exe with wine (assuming you have wine installed and have already from console or otherwise run winecfg so it sets your wine configuration):
or whatever it is.
See how it runs. Depending on the version of wine and puppy, it may run great. I have a few stand-alone windows programs that I run from flash drive using Saluki and wine and they usually run great.
If it runs acceptably, I recommend setting up a bash script then setting a desktop icon to run it regularly, something that does the same as what you just did in console, but automatically:
Save it in someplace like /usr/local/bin where a bunch of other programs are. Then make it active:
assuming you saved the file as the name 'nutchords.' If not then chmod it with whatever name you saved it as. Once you've done that, make sure it runs from console
and if it all runs great, then set an icon on the desktop that will run 'nutchords' and you can just click on it then go.
Oh, if you are running it from flash drive, this script assumes that your pc/you have mounted the flash drive at /mnt/sdb1 so if it isn't mounted there then a script that runs it from there of course won't work, so adjust accordingly.
Code: Select all
cd /mnt/sdb1/NutChords
Code: Select all
wine nutchords.exe
See how it runs. Depending on the version of wine and puppy, it may run great. I have a few stand-alone windows programs that I run from flash drive using Saluki and wine and they usually run great.
If it runs acceptably, I recommend setting up a bash script then setting a desktop icon to run it regularly, something that does the same as what you just did in console, but automatically:
Code: Select all
#!/bin/bash
cd /mnt/sdb1/NutChords
wine nutchords.exe
Code: Select all
cd /usr/local/bin
chmod u+x nutchords
Code: Select all
nutchords
Oh, if you are running it from flash drive, this script assumes that your pc/you have mounted the flash drive at /mnt/sdb1 so if it isn't mounted there then a script that runs it from there of course won't work, so adjust accordingly.
It reports:steve_s wrote:I recommend: in console, cd to the directory that has the exe file in it.or where ever it is. Then run the exe with wine (assuming you have wine installed and have already from console or otherwise run winecfg so it sets your wine configuration):Code: Select all
cd /mnt/sdb1/NutChords
or whatever it is.Code: Select all
wine nutchords.exe
See how it runs. Depending on the version of wine and puppy, it may run great.
Code: Select all
sh-4.1# cd /mnt/sda1/root/my-applications/NutChords
sh-4.1# wine NC.EXE
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
I'm not sure if I got a symlink on the desktop or just a copy of the script in /usr/local/bin but whichever way it's working from the desktop icon.If it runs acceptably, I recommend setting up a bash script then setting a desktop icon to run it regularly, something that does the same as what you just did in console, but automatically:
...
assuming you saved the file as the name 'nutchords.' If not then chmod it with whatever name you saved it as. Once you've done that, make sure it runs from console
...
and if it all runs great, then set an icon on the desktop that will run 'nutchords' and you can just click on it then go.
Is there some way for the script to get the currently mounted drive path?Oh, if you are running it from flash drive, this script assumes that your pc/you have mounted the flash drive at /mnt/sdb1 so if it isn't mounted there then a script that runs it from there of course won't work, so adjust accordingly.
Code: Select all
cd /mnt/[thescript'scurrentdrive]/NutChords
"Cogito, ergo es. I think, therefore you is." [i]Ray D. Tutto (King of the Moon) to Baron Munschaussen[/i]
I don't think it's so much the same port as the order the drives are recognized. The built-in SD card reader normally reads as sdb1 but if I have a thumb drive plugged in at boot, it may read that first as sdb1 and make the SD reader sdc1. That's why I want the script able to read its drive letter. Or, on my old Amiga, I could specify the volume name (System:, Data:, etc.) as a drive designator regardless of what drive letter it's seen as (HD1:, HD2: (Amiga), sdb1, sdc1 (linux)).
"Cogito, ergo es. I think, therefore you is." [i]Ray D. Tutto (King of the Moon) to Baron Munschaussen[/i]
That had worked... until the next time I booted. The path was /mnt/sda1...(whatever) which that first time was mounted but later wasn't automatically mounted at bootup. I did however find the proper path to it and fix the script.steve_s wrote:I recommend: in console, cd to the directory that has the exe file in it.or where ever it is.Code: Select all
cd /mnt/sdb1/NutChords
"Cogito, ergo es. I think, therefore you is." [i]Ray D. Tutto (King of the Moon) to Baron Munschaussen[/i]