Using Protel 99SE on 1.7.25 with Mint Mate 17.
Generally it's quite useable but one particular .ddb file I have trouble opening sometimes. The pathname is 144 characters long, specifically
~/Desktop/Projects AB/DC motor operator controller STD/PCB/DC motor operator controller STD_1 Rev 3/DC motor operator controller STD_1 Rev 3.ddb
Is this too long? What happens is Wine explorer opens instead. If I shorten the lowest folder name, things work no problems.
Edit -> If I start it in a terminal, not even the wine browser comes up
$ wine DC motor operator controller STD_1 Rev 2.ddb
err:winedevice:ServiceMain driver L"GIVEIO" failed to load
err:winedevice:ServiceMain driver L"PEDRV" failed to load
err:winedevice:ServiceMain driver L"VICHW11" failed to load
wine: cannot find L"C:\\windows\\system32\\DC.exe"
Path name too long?
Re: Path name too long?
Circlotron I think you don't have a clue how to use wine.
Now this here might work as long as ddb is a valid file association. As file browser with wine I normally use.
I have the horible feeling that you have been abusing wine.
This is a Linux path as well.
winepath -w "~/Desktop/Projects AB/DC motor operator controller STD/PCB/DC motor operator controller STD_1 Rev 3/DC motor operator controller STD_1 Rev 3.ddb"
Will get you a wine windows path this may be a completely different length. Its the length of the windows path that decides if application running in wine will work or fail. The path may be a little longer than 144 chars. Windows API limits for path kick in between 255-260 chars normally but some badly written windows applications have trouble at 128 chars(this is not a Windows limit this is coder error in the application). Work around open up winecfg assign drive letter to like ~/Desktop/ so then you can us that drive letter instead of the full path. In fact assigning drive letters under windows is also what you have so you can run old applications with these path limits as well.
Passing a Linux path something completely stuffs up some applications this is why winepath command exists to allow path conversion.
This is never going to work. wine "something that is not start" is presumed to be a .exewine DC motor operator controller STD_1 Rev 2.ddb
Code: Select all
wine start "DC motor operator controller STD_1 Rev 2.ddb"
Code: Select all
wine winefile
Code: Select all
~/Desktop/Projects AB/DC motor operator controller STD/PCB/DC motor operator controller STD_1 Rev 3/DC motor operator controller STD_1 Rev 3.ddb
winepath -w "~/Desktop/Projects AB/DC motor operator controller STD/PCB/DC motor operator controller STD_1 Rev 3/DC motor operator controller STD_1 Rev 3.ddb"
Will get you a wine windows path this may be a completely different length. Its the length of the windows path that decides if application running in wine will work or fail. The path may be a little longer than 144 chars. Windows API limits for path kick in between 255-260 chars normally but some badly written windows applications have trouble at 128 chars(this is not a Windows limit this is coder error in the application). Work around open up winecfg assign drive letter to like ~/Desktop/ so then you can us that drive letter instead of the full path. In fact assigning drive letters under windows is also what you have so you can run old applications with these path limits as well.
Passing a Linux path something completely stuffs up some applications this is why winepath command exists to allow path conversion.
-
- Level 2
- Posts: 17
- Joined: Tue Jun 03, 2014 12:54 am
Re: Path name too long?
Thanks for that, oiaohm.
Yeah, I think I was having a bit of brain fade trying to open the .ddb file directly although it is assocated with the relevant .exe and normally just a click on the .ddb and away you go.
Protel 99SE is a bit buggy even in Windows so maybe the whole problem is it's contribution.
Been using Wine for 15 years so far. Still don't know everything
Yeah, I think I was having a bit of brain fade trying to open the .ddb file directly although it is assocated with the relevant .exe and normally just a click on the .ddb and away you go.
Protel 99SE is a bit buggy even in Windows so maybe the whole problem is it's contribution.
Been using Wine for 15 years so far. Still don't know everything
