Skip to content

Commit

Permalink
Add changelog 3745 (FAForever#4333)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas authored Nov 6, 2022
1 parent 398e38a commit ef37b03
Show file tree
Hide file tree
Showing 11 changed files with 1,205 additions and 14 deletions.
384 changes: 380 additions & 4 deletions changelog-dev.md

Large diffs are not rendered by default.

396 changes: 396 additions & 0 deletions changelog.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ deprecatedMods["OnScreenReclaimCounter"] = "8"
deprecatedMods["ORV"] = "1"
deprecatedMods["SmartReclaimSupport"] = "3"
deprecatedMods["DrimsUIPack"] = "3"
deprecatedMods["Rheclaim"] = "2"

-- convert all mod folder name keys to lower case to prevent typos
deprecatedMods = LowerHashTable(deprecatedMods)
Expand Down Expand Up @@ -523,7 +524,7 @@ end
-- END OF COPY --

-- minimum viable shader version - should be bumped to the next release version when we change the shaders
local minimumShaderVersion = 3729
local minimumShaderVersion = 3745

-- look for unviable shaders and remove them
local shaderCache = SHGetFolderPath('LOCAL_APPDATA') .. 'Gas Powered Games/Supreme Commander Forged Alliance/cache'
Expand Down
3 changes: 2 additions & 1 deletion init_faf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ deprecatedMods["OnScreenReclaimCounter"] = "8"
deprecatedMods["ORV"] = "1"
deprecatedMods["SmartReclaimSupport"] = "3"
deprecatedMods["DrimsUIPack"] = "3"
deprecatedMods["Rheclaim"] = "2"

-- convert all mod folder name keys to lower case to prevent typos
deprecatedMods = LowerHashTable(deprecatedMods)
Expand Down Expand Up @@ -523,7 +524,7 @@ end
-- END OF COPY --

-- minimum viable shader version - should be bumped to the next release version when we change the shaders
local minimumShaderVersion = 3729
local minimumShaderVersion = 3745

-- look for unviable shaders and remove them
local shaderCache = SHGetFolderPath('LOCAL_APPDATA') .. 'Gas Powered Games/Supreme Commander Forged Alliance/cache'
Expand Down
1 change: 1 addition & 0 deletions init_fafbeta.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ deprecatedMods["OnScreenReclaimCounter"] = "8"
deprecatedMods["ORV"] = "1"
deprecatedMods["SmartReclaimSupport"] = "3"
deprecatedMods["DrimsUIPack"] = "3"
deprecatedMods["Rheclaim"] = "2"

-- convert all mod folder name keys to lower case to prevent typos
deprecatedMods = LowerHashTable(deprecatedMods)
Expand Down
1 change: 1 addition & 0 deletions init_fafdevelop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ deprecatedMods["OnScreenReclaimCounter"] = "8"
deprecatedMods["ORV"] = "1"
deprecatedMods["SmartReclaimSupport"] = "3"
deprecatedMods["DrimsUIPack"] = "3"
deprecatedMods["Rheclaim"] = "2"

-- convert all mod folder name keys to lower case to prevent typos
deprecatedMods = LowerHashTable(deprecatedMods)
Expand Down
18 changes: 17 additions & 1 deletion init_shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ deprecatedMods["OnScreenReclaimCounter"] = "8"
deprecatedMods["ORV"] = "1"
deprecatedMods["SmartReclaimSupport"] = "3"
deprecatedMods["DrimsUIPack"] = "3"
deprecatedMods["Rheclaim"] = "2"

-- convert all mod folder name keys to lower case to prevent typos
deprecatedMods = LowerHashTable(deprecatedMods)
Expand Down Expand Up @@ -520,4 +521,19 @@ local function LoadVaultContent(path)
MountModContent(path .. '/mods')
end

-- END OF COPY --
-- END OF COPY --

-- minimum viable shader version - should be bumped to the next release version when we change the shaders
local minimumShaderVersion = 3745

-- look for unviable shaders and remove them
local shaderCache = SHGetFolderPath('LOCAL_APPDATA') .. 'Gas Powered Games/Supreme Commander Forged Alliance/cache'
for k, file in IoDir(shaderCache .. '/*') do
if file != '.' and file != '..' then
local version = tonumber(string.sub(file, -4))
if not version or version < minimumShaderVersion then
LOG("Removed incompatible shader: " .. file)
os.remove(shaderCache .. '/' .. file)
end
end
end
2 changes: 1 addition & 1 deletion lua/ui/game/cursor/hover.lua
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ local function HoverScanningThread()
end
end

Trash:Add(ForkThread(HoverScanningThread))
-- Trash:Add(ForkThread(HoverScanningThread))
403 changes: 401 additions & 2 deletions lua/ui/lobby/changelogData.lua

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lua/version.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local Version = "3744"
---@alias PATCH "3744"
---@alias VERSION "1.5.3744"
local Version = "3745"
---@alias PATCH "3745"
---@alias VERSION "1.5.3745"
---@return PATCH
function GetVersion()
LOG('Supreme Commander: Forged Alliance version ' .. Version)
Expand Down
2 changes: 1 addition & 1 deletion mod_info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- Documentation for the extended FAF mod_info.lua format can be found here:
-- https://github.com/FAForever/fa/wiki/mod_info.lua-documentation
name = "Forged Alliance Forever"
version = 3744
version = 3745
_faf_modname='faf'
copyright = "Forged Alliance Forever Community"
description = "Forged Alliance Forever extends Forged Alliance, bringing new patches, game modes, units, ladder, and much more!"
Expand Down

0 comments on commit ef37b03

Please sign in to comment.