Author Topic: What is the point of Namecheck.txt - Is it needed?  (Read 562 times)

Just wondering. It seems pointless... will the add-on not work without it?
If anyone knows, what does it do?

It prevents people from renaming your add-on.


It's primary used by the crap-on system to make using crap-on'd add-ons harder (to stop the average cheapskate from using them).

It is usleess and not needed.


^.

Badspot

  • Administrator
Any add-on that uses absolute paths anywhere in the add-on will stop working if you rename it.  For example: Say you have an add-on called "Weapon_MyGun" and it has a datablock in it that uses "Add-Ons/Weapon_MyGun/model.dts".  If rename the add-on to "Weapon_Gun2", model.dts is now in a different place and the add-on will not work. 

Namecheck.txt is an extra check on the name of the add-on to prevent morons like Blocki from renaming it and breaking everything.

^ Why would one rename an add-on in the first place

And you can easily delete the namecheck.txt so where's the effort in creating it when they just remove it?

^ Why would one rename an add-on in the first place

And you can easily delete the namecheck.txt so where's the effort in creating it when they just remove it?

because that would require someone to be really loving stupid on purpose