eg: my.oxp defines a planetinfo for Lave ; and my-v2.oxp defines it also
Code: Select all
{
"0 7" = {
texture = "my-oxp-texture.png";
};
}
Code: Select all
{
"0 7" = {
texture = "my-v2-oxp-texture.png";
};
}
Moderators: winston, another_commander
Code: Select all
{
"0 7" = {
texture = "my-oxp-texture.png";
};
}
Code: Select all
{
"0 7" = {
texture = "my-v2-oxp-texture.png";
};
}
Small correction: on Windows and Mac it's alphabetical, on Linux it's unpredictable.Wildeblood wrote:Ya, what Smivs wrote. On Windows it's alphabetical, on other systems, unpredictable.
Definitely not! I would always uses Ω_newOXP.oxp for my files to make sure I beat the z-files.Smivs wrote:... all new OXPs would be called z_newOXP.oxp
People might start relying on a particular order, giving unexpected bugs if people use another method of sorting their OXPs (e.g. renaming OXP folders, or creating folders like 'eyecandy.oxp' and 'ships.oxp' inside their AddOns folder to categorise their addons).Tricky wrote:Is there any reason why the AddOns directory list can not be scanned and sorted in order to harmonise all OS's?
… and now I can see a whole new level of madness coming over us all, with OXPers giving detailed instructions as to where exactly to install their OXPs. Goodbye, good ol' days of "just drop it into AddOns".cim wrote:In answer to the original question, you can guarantee that OXP A will be loaded after OXP B by placing OXP A inside OXP B.
And sorting will also be language specific. At least on the mac, the sorting of things like u, ü, ù etc used to be customised with the language settings. And I used to have a numeric sorting 'plug-in' that made sure that the string '000044' was sorted after '22'. Just a pity that most programs never called the system sorting routine to do their sorting.cim wrote:People might start relying on a particular order, giving unexpected bugs if people use another method of sorting their OXPs
Indeed. It's useful to know if you're testing an OXP and want to drop a temporary override to a file or two in; it's not suited to distribution.Commander McLane wrote:But seriously, and before that madness begins:
At first I thought "Aha! Here's a neat way to deal with the Halsis/BGS problems on Linux!" but after reading the rest of this thread, I think I'll just leave it as is.. patching BGS itself.cim wrote:In answer to the original question, you can guarantee that OXP A will be loaded after OXP B by placing OXP A inside OXP B.
Ah, the good old days of quake (and quake engine releated) mods... zzzzzzzzzzzzzzzzzzzzzzzzzzzMy_New_Mod_Frag_Frag_Frag.pk3Smivs wrote:The trouble here is that, say they could be allways be made to load alphabetically, all new OXPs would be called z_newOXP.oxp
That's really the only realistic option by the sounds of it. Looking at trunk (and I probably should have done this to begin with) it would need some serious rethink of how OXP loading and verification is determined. I wonder if it is important to anyone other than me.Halfhand wrote:Maybe oxp dependencies could be looked at the same time, that would fix a lot of compatibility issues as well as missing oxps.
it would also determine a load order that couldn't be overridden by oxp names.
just my tuppence
Code: Select all
{
"version" = "1.77";
"depends" = {
"my_base_package" = "0.09";
"Cabal_Common_Comms" = "1.4.5"
};
}