loading library file in protel 99 - Page 2 - diyAudio
Go Back   Home > Forums > Design & Build > Parts

Parts Where to get, and how to make the best bits. PCB's, caps, transformers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 2nd February 2011, 04:50 AM   #11
diyAudio Member
 
Join Date: Jan 2011
Location: Lower Mainland
Default Protel/Altium

Hi to OP,

Not sure with 99SE but Windows 7 does not allow the user to mess with the files in program files. You might want to try installing 99SE in a different folder not in program files. I think all the support libraries are dumped in "program files" as well. I've had trouble with the newer Altium because of this.

Good luck!
  Reply With Quote
Old 2nd February 2011, 04:58 AM   #12
Dave is offline Dave  New Zealand
diyAudio Member
 
Join Date: Oct 2001
Location: New Zealand
OK figured it out, see attached zip file. You have to edit the ini files directly. The ones with copy in the name are the originals, the others are my new ones. Now when I open PCBs or SCHs in protel it loads the libraries I'm after.

Notice that in ADVPCB99SE.INI there is no .lib extension on the end of the library name as there was in the original file.

These ini files on my machine are located here

C:\Users\Standard\AppData\Local\VirtualStore\Windo ws

Protel is installed at C:\Design Explorer 99 SE rather than in the usual program files folder. I haven't tried it in Program Files folder, I don't know if it would make any difference.

So far I've only just started using 99SE on windows 7, will see how I go.
Attached Files
File Type: zip 99SE.zip (6.9 KB, 475 views)
__________________
DIY DAC, 24/192 inputs, fully balanced
http://www.diyaudio.com/forums/showt...hreadid=122078
  Reply With Quote
Old 23rd June 2011, 09:50 AM   #13
diyAudio Member
 
Join Date: Jun 2011
Tried the above, didn't work for me...what did work though was renaming the PCB and Schematic libraries you use to have no spaces in the filenames, despite this working on a standalone XP machine, in XP Mode on 64-bit windows 7 I changed "XXX PCB.ddb" to "XXX_PCB.ddb" and "XXX Schematic.ddb" to "XXX_Schematic.ddb". Perhaps it's a network addressing problem through the virtual space...strange, but it worked for me!
  Reply With Quote
Old 23rd June 2011, 10:24 AM   #14
diyAudio Member
 
Join Date: Jun 2011
The above didn't work for me, but what did work was ensuring your library names do not have spaces in them (must be a virtualisation network access issue). So by changing "XXX PCB.ddb" to "XXX_PCB.ddb" and "XXX Schematic.ddb" to "XXX_Schematic.ddb" I was able to load the libraries in straight away.

Also ensure your virtual machine networking settings are set to your actual network card (not internal or shared network) for Adapter 1.

I'm running Protel99SE on XP Mode within Windows 7 Pro 64-bit.
  Reply With Quote
Old 14th August 2011, 03:35 PM   #15
diyAudio Member
 
Join Date: Aug 2011
Default Dave's Solution work.

Dave's solution work for me. First need to find out the name of the ddb and llb names that you are interested than close the program and edit the ini file. Save and load the program file again. There are two locations to change and those are [PCB Libraries] and [CachedFiles] sections. Below is my changes to include the Transistors.ddb(Transistors.lib).

Regards,

[PCB Libraries]
Path=*.ddb
Prompt=PCB Libraries
SelFileType=All files(*.*)
EditorName=All
Sel File Type=All files(*.*)
WholeProject=False
TypeCount=2
Count=2
File0=D>MSACCESS:$RP>C:\Program Files\Design Explorer 99 SE\Library\Pcb\Generic Footprints$RN>Advpcb.ddb$OP>$ON>PCB Footprints.lib$ID>-1$ATTR>0$E>PCBLIB$STF>
File1=D>MSACCESS:$RP>C:\Program Files\Design Explorer 99 SE\Library\Pcb\Generic Footprints$RN>Transistors.ddb$OP>$ON>Transistors.l ib$ID>-1$ATTR>0$E>PCBLIB$STF>

[CachedFiles]
Count=2
File0=D>MSACCESS:$RP>C:\Program Files\Design Explorer 99 SE\Library\Pcb\Generic Footprints$RN>Transistors.ddb$OP>$ON>Transistors.l ib$ID>-1$ATTR>0$E>PCBLIB$STF>
File1=D>MSACCESS:$RP>C:\Program Files\Design Explorer 99 SE\Library\Pcb\Generic Footprints$RN>Advpcb.ddb$OP>$ON>PCB Footprints.lib$ID>-1$ATTR>0$E>PCBLIB$STF>
  Reply With Quote
Old 31st August 2011, 06:05 PM   #16
diyAudio Member
 
Join Date: May 2003
Location: Colorado
Default Dave's Solution -- Modified

OK, I spent a lot of time on this one and also contacted people on the PEDA (Protel EDA) Forum, dedicated to Protel 99SE users. It took a while and I finally got it to work, but it may be different for every machine. I am using Win 7 Professional 64 Bit with Protel 99 SE SP6.

I always use my own footprints as I hate the ones that Protel supplies. All of these are kept in a DDB. When you create a DDB, the default is that it creates a "Documents" folder and I have always put my files in that folder.

Don't do that. If you have done that, move your LIB file to the root directory of the DDB, delete the Documents folder and empty the Recycle Bin of that DDB.

That's the first step. The next thing I tried was to install the default Protel libraries to see if there was something wrong with my file. I rewrote the INI file to point to the "Transistors.ddb" as in ThisIsNewID's example just above. But when I did, the program automatically rewrote the INI file and installed the "Advpcb.ddb" with the "PCB Footprints" library.

No matter what I did, it would always install that one DDB, as if it were a magnet. So I tricked it.

I temporarily renamed the "magnet" DDB to something else. Then I copied my DDB to the same directory as the magnet DDB, renamed it to "Advpcb.ddb", and worked on the INI file. At this point it should already be pointing at the right place. You only need to change the name of the LIB file from "PCB Footprints" to whatever LIB is in your DDB.

At this point it should work fine. Once it is working, you can revert everything. You can delete the copy of your DDB altogether, rename the original Advpcb.ddb to the correct name, and finally, change the INI file to point to your original DDB, in its original location, with its original name.

I think all of this is necessary because somehow the system becomes confused if you tell it to use a DDB with the LIB file inside a folder instead of the root. Then you have to beat it over the head with a 17" laptop until it cries for mercy and does what you want.

There is probably a simpler method, but the one thing I am sure of is that you have to have the LIB file in the root of your DDB. I know because everything was working and I put it back into a new "Documents" folder and it stopped working and went back to the "magnet" DDB. Good luck!
  Reply With Quote
Old 5th October 2011, 03:47 PM   #17
diyAudio Member
 
Join Date: Oct 2011
Default Protel 99se Win 7

My Protel doesn't even have the ini files. Where must they be and what is the correct names for them?
  Reply With Quote
Old 28th October 2011, 07:15 PM   #18
gzwford is offline gzwford  United States
diyAudio Member
 
Join Date: Oct 2011
I also have Protel 6.0.4 in Windows 7 with the same library problem and no ini files. The same version works just fine on Windows XP. Which version of Protel has the ini files? Anyone know how to get the upgraded version?
  Reply With Quote
Old 28th December 2011, 12:58 AM   #19
diyAudio Member
 
Join Date: Dec 2011
Default The ini files...

On my system there were several versions of the .ini files and the key was to find the ones in use. I did this by opening a project and closing it then shutting Protel.
Next do a file search from the root for all files AdvSch99SE.ini (for schematic libraries) and ADVPCB99SE.INI (for PCB libraries).
When the search has finished look for the files which have data and time matching the moment you exited Protel - these are the ones to edit to add you library paths to as suggested by Dave and others in the thread.
Good Luck!
  Reply With Quote
Old 14th June 2012, 09:18 PM   #20
diyAudio Member
 
Join Date: Jun 2012
Default Llibrary loading error in protel98/99

The base Protel Client98 works on my Windows7 machine. The CLIENT98.EXE SP3 executable however breaks the library loading function.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.slb file (translated library file)...! spice freak Solid State 0 28th October 2008 04:20 PM
File Uploader - php script with file validation lineup The Lounge 5 11th February 2007 10:09 AM
TDA1541A protel library? deskmate88 Digital Source 1 10th September 2004 07:51 AM
Convert Protel file... Danyele82 Parts 0 13th May 2004 04:52 PM
TO-247AC Protel library.... sianturi Pass Labs 3 5th March 2003 11:02 AM


New To Site? Need Help?

All times are GMT. The time now is 08:33 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2