From 918339c56bd145a94ea7307f1f27397706c8b248 Mon Sep 17 00:00:00 2001 From: Valentin Date: Mon, 25 Jul 2022 22:15:29 +0200 Subject: [PATCH 1/3] sigh --- .github/workflows/autoclose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/autoclose.yml diff --git a/.github/workflows/autoclose.yml b/.github/workflows/autoclose.yml new file mode 100644 index 00000000..6c9c7413 --- /dev/null +++ b/.github/workflows/autoclose.yml @@ -0,0 +1,16 @@ +name: Issue Auto Closing + +on: + issues: + types: + - opened + +jobs: + autoclose: + runs-on: ubuntu-latest + steps: + - name: Close Condition + if: contains(toJson(github.event.issue.body), '### Game\r\n\r\nFortnite') + uses: peter-evans/close-issue@v2 + with: + comment: Fortnite related issues are not allowed here. Join the [discord server](https://fmodel.app/discord) and read the common errors channel instead. From 6cc0cbbf7288f9eb240f36e0392b3782de4be42d Mon Sep 17 00:00:00 2001 From: Valentin Date: Sun, 21 May 2023 22:30:13 +0200 Subject: [PATCH 2/3] Delete autoclose.yml --- .github/workflows/autoclose.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .github/workflows/autoclose.yml diff --git a/.github/workflows/autoclose.yml b/.github/workflows/autoclose.yml deleted file mode 100644 index 6c9c7413..00000000 --- a/.github/workflows/autoclose.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Issue Auto Closing - -on: - issues: - types: - - opened - -jobs: - autoclose: - runs-on: ubuntu-latest - steps: - - name: Close Condition - if: contains(toJson(github.event.issue.body), '### Game\r\n\r\nFortnite') - uses: peter-evans/close-issue@v2 - with: - comment: Fortnite related issues are not allowed here. Join the [discord server](https://fmodel.app/discord) and read the common errors channel instead. From 0b11888ed22d9fda128a1665a9ab7e7b5ca0372b Mon Sep 17 00:00:00 2001 From: Garrett Koleda Date: Fri, 3 May 2024 23:56:48 -0400 Subject: [PATCH 3/3] Change default mapping settings for Fortnite and Fortnite [LIVE] Modifies the RegEx to display the first value in the array rather than only Oodle. Having this restriction prevents FModel from automatically loading mappings of other compression types. FModel and CUE4Parse both natively support all upstream compression types of the Usmap format, so it's unnecessary. --- FModel/Settings/EndpointSettings.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FModel/Settings/EndpointSettings.cs b/FModel/Settings/EndpointSettings.cs index 9f0bd641..24f1960b 100644 --- a/FModel/Settings/EndpointSettings.cs +++ b/FModel/Settings/EndpointSettings.cs @@ -17,7 +17,8 @@ public static EndpointSettings[] Default(string gameName) return new EndpointSettings[] { new("https://fortnitecentral.genxgames.gg/api/v1/aes", "$.['mainKey','dynamicKeys']"), - new("https://fortnitecentral.genxgames.gg/api/v1/mappings", "$.[?(@.meta.compressionMethod=='Oodle')].['url','fileName']") + // new("https://fortnitecentral.genxgames.gg/api/v1/mappings", "$.[?(@.meta.compressionMethod=='Oodle')].['url','fileName']") + new("https://fortnitecentral.genxgames.gg/api/v1/mappings", "$.[0].['url','fileName']") // just get the first available, not just oodle! (Unfortunately not default except when resetting settings) }; default: return new EndpointSettings[] { new(), new() };