Page 1 of 1

What's up with the "user.lib" file

Posted: January 14th, 2026, 11:53 am
by sagevanni
Hi all you APCD designers,

I recall some designers have mentioned deleting the "user.lib" file before opening or starting a course or new course.

Can someone who does this please explain in detail why you do this. :dunno:

Thanks for your time............

Sage..... :cheers1:

Re: What's up with the "user.lib" file

Posted: January 15th, 2026, 11:46 am
by Ian Wells
Hi Sage,
This is my interpretation of what happens. :whistle:
The user.lib file stores all the textures that are used in a course and if you use the same APCD file each time you open a course file all textures in that course file are added to the user.lib file. I believe(?) that if you have texture named "rough" in the user.lib file and the new course file also has the same name the existing rough texture in the user.lib will be seen in the new APCD file and not the texture that is downloaded.
I hasten to add that this is my theory and may be pure bulls**t.
If you use the same APCD file for each course, only the textures used on that course will be stored in the course user.lib file.
I hope that a real designer will explain the real reason.
:cheers1:
Ian

Re: What's up with the "user.lib" file

Posted: January 15th, 2026, 3:27 pm
by sagevanni
Thanks Ian, I'll wait for some more answers to make sure if anyone really knows and can say definitively. :dunno:

Sage...... :cheers1:

Re: What's up with the "user.lib" file

Posted: January 16th, 2026, 1:37 am
by linkster
I agree with Ian.

The textures for a course are stored in the .crz file (except the stock textures) and the user.lib file is just the APCD making a copy of all the textures it encounters. This shortens the course loading process by maybe 30 seconds. However, there seems to be bugs in the copy procedure and the texture properties (especially seam blends) end up garbled. One issue I see often is that the APCD only checks the texture name, and assumes that it is the same texture, but it may have a completely different tga.

I delete the user.lib file EVERY time I open the APCD. I even created a batch file to automate the delete and open process. The advantage of this is that the seam blend properties don't get mixed up. The disadvantage is that the load time takes 30 seconds longer. When adding textures to a new course, I clone a similar stock texture and use a tga from a collection I keep.

I highly recommend that you delete the user.lib file often. Especially with the wide number and variety of course you work on. Hope this helps. :thumbup:

Re: What's up with the "user.lib" file

Posted: January 16th, 2026, 2:29 am
by dwg
I'm not an APCD person, but I am a systems person and it sounds like user.lib could be a real problem child, it would grow indefinitely and if it is not doing any checking other than name checking that is highly problematic, it sounds like the management process of it is unfinished. Rather than a user library perhpas the powers that be should have had it as a course library.

Re: What's up with the "user.lib" file

Posted: January 16th, 2026, 4:38 am
by sagevanni
Thanks Linkster, Thanks Des....... :smile:

Linkster, may I have a copy of your bat file?

I'll deleting the "user.lib" file before opening APCD.

Thanks again guys....!!!!!! :clapping:

Sage..... :cheers1:

Re: What's up with the "user.lib" file

Posted: January 16th, 2026, 8:50 am
by Colin Jones
Just when you're beginning to believe you know it all................. :smile:

Re: What's up with the "user.lib" file

Posted: January 16th, 2026, 12:28 pm
by sagevanni
Here's my bat........it works....

del "C:\APCD\1 - APCD - With good Object files\user.lib"

start /d "C:\APCD\1 - APCD - With good Object files" APCD.exe

Sage....... :cheers1: