I'd like to move my copy of TrueCAD to WINE. Its a well-behaved Win 95 program but uses anti-copy protection. It has a choice: - TrueCAD defaults to writing a security code to a hidden part of the disk at a known place. This is one of those annoying plots that looses your security code if you defrag the disk. Am I right in assuming that this won't work with WINE even if I can prize a new security code out of the vendors (its a very old program!) or is there a winetrick or other workround to make the app think its looking at a genuine Windows C: drive while it checks the security code? - to overcome the defrag problem TrueCAD can also use a parallel port dongle, which I've used with it for quite a while. Can applications running under WINE access these things? If so are there any restrictions? In particular, does CUPS block access to them? Martin
Martin Gregorie wrote:> - to overcome the defrag problem TrueCAD can also use a parallel port > dongle, which I've used with it for quite a while. Can applications > running under WINE access these things? If so are there any > restrictions? In particular, does CUPS block access to them?Wine can access parallel port as long as you have set correct permissions on /dev/lp0. That's your best option. Writing anything to the disk at specific sectors won't work at all or will have a danger of corrupting some data outside of Wine. ext3 (or whatever filesystem you are using) has nothing in common with fat other then storing files.
Martin Gregorie wrote:> FYI I was wondering if there was something equivalent to the .volume_labelThere is - ".windows-label". Ex: Code: echo "my drive" > ~/.wine/dosdevices/c:/.windows-label
Martin Gregorie wrote:> > Code: > echo "my drive" > ~/.wine/dosdevices/c:/.windows-label > > > That's what I meant. My mistake. Is that the only special purpose dotfile that can be put in a WINE disk drives such as .wine/dosdevices/c: ? > If there are others, where are they documented?Another one is ".windows-serial". Dunno if they are documented anywhere. It's all in the source code.