Support_FixAddOnSorting [v4]

Author Topic: Support_FixAddOnSorting [v4]  (Read 3871 times)

Old topic too old.

This add-on fixes client and server add-on execution order and the custom game GUI add-on list order. Also fixes the order of the resolution list.
This is pretty much only a problem with Linux, Wine, and some versions of Mac, because they use a different filing system. This add-on only fixes the symptoms of the problem. Only Badspot can fix the source of it. Probably doesn't work with dedicated servers.
Someone else made this add-on a long time ago, but it didn't work well and only fixed the custom game GUI add-on list order.

Requires you to start Blockland and then restart it to start working.
You only have to do it once.

https://blocklandglass.com/addons/addon.php?id=1149

Code: [Select]
v3 to v4
- Now also fixes the order of the resolution list.

v2 to v3
- Fixed a bug that caused force required add-ons to load twice in some cases.

v1 to v2
- Forgot to delete an object.
« Last Edit: August 22, 2019, 09:04:43 AM by jes00 »

was badspot really too lazy to make the game alphabetically sort files in one single folder to accommodate to all other operating systems

was badspot really too lazy to make the game alphabetically sort files in one single folder to accommodate to all other operating systems
It only started being a problem either when Blockland got an update or Mac did. It has more to do with the findFirstFile and findNextFile functions not returning the files in alphabetical order for some reason. I don't think the functions can be fixed without modifying the source code though.

to be fair blockland itself is a mess on mac. honestly wouldn't blame badspot if he hadnt supported it at all.

to be fair blockland itself is a mess on mac. honestly wouldn't blame badspot if he hadnt supported it at all.
the next version of macos, 10.15 catalina, cannot run blockland
32 bit application support was dropped

the next version of macos, 10.15 catalina, cannot run blockland
32 bit application support was dropped
now this is epic

the next version of macos, 10.15 catalina, cannot run blockland
32 bit application support was dropped
defiantly not getting a mac now.
also can you fix the resolution settings because there not sorted the same was as in windows
« Last Edit: August 21, 2019, 12:07:44 PM by rlcbm2 »

defiantly not getting a mac now.
also can you fix the resolution settings because there not sorted the same was as in windows
This?


Is it supposed to look like this or with the smaller resolution on top?

I think smaller cant remember

the next version of macos, 10.15 catalina, cannot run blockland
32 bit application support was dropped

is it even possible to make blockland 64 bit
« Last Edit: August 22, 2019, 03:06:30 AM by MrLoL² »

is it even possible to make blockland 64 bit
it would require a full recompile of the engine which isn't even supported anymore

Is it supposed to look like this or with the smaller resolution on top?
Smallest is meant to be on top.

Alright, done. Also on Blockland Glass now.