4
Fork 0

Excluded 7 distant cells from compatibility check - fixes compatibility with cell patchers, like SkyVRaan

master
Eddoursul 2 years ago
parent bc7488c8d0
commit 8eba0e00f4
  1. BIN
      SKSE/Plugins/EnderalSE.dll
  2. 18
      source/Enderal DLL/src/CheckInvalidForms.h

BIN
SKSE/Plugins/EnderalSE.dll (Stored with Git LFS)

Binary file not shown.

@ -81,7 +81,7 @@ inline void CheckSkyrimCells()
// FormIDs of all Skyrim cells. // FormIDs of all Skyrim cells.
// 9 of them are commented out, because they are cells in Enderal as well. // 9 of them are commented out, because they are cells in Enderal as well.
uint32_t formids[582] = { uint32_t formids[574] = {
0x0004B8FB, 0x0004B8FB,
0x000352C7, 0x000352C7,
0x000161E7, 0x000161E7,
@ -95,7 +95,7 @@ inline void CheckSkyrimCells()
0x000A8B23, 0x000A8B23,
0x000918D3, 0x000918D3,
0x0004761B, 0x0004761B,
0x0003CBCB, //0x0003CBCB,
0x00016A07, 0x00016A07,
0x00015233, 0x00015233,
0x000138CF, 0x000138CF,
@ -143,7 +143,7 @@ inline void CheckSkyrimCells()
0x000161F1, 0x000161F1,
0x00015251, 0x00015251,
0x00013A7D, 0x00013A7D,
0x00030442, //0x00030442,
0x000152AA, 0x000152AA,
0x00013A72, 0x00013A72,
0x000571B4, 0x000571B4,
@ -326,7 +326,7 @@ inline void CheckSkyrimCells()
0x000C9DAB, 0x000C9DAB,
0x000A1793, 0x000A1793,
0x00094BAB, 0x00094BAB,
0x00030313, //0x00030313,
0x00016DFF, 0x00016DFF,
0x000152A7, 0x000152A7,
0x0007FCDD, 0x0007FCDD,
@ -468,7 +468,7 @@ inline void CheckSkyrimCells()
0x00015237, 0x00015237,
0x00077289, 0x00077289,
0x00075669, 0x00075669,
0x0002FD85, //0x0002FD85,
0x000165B5, 0x000165B5,
0x0003FC8F, 0x0003FC8F,
0x000165AB, 0x000165AB,
@ -542,7 +542,7 @@ inline void CheckSkyrimCells()
0x0001F358, 0x0001F358,
0x00016780, 0x00016780,
0x00015268, 0x00015268,
0x0002F83E, //0x0002F83E,
0x0002529E, 0x0002529E,
0x00016776, 0x00016776,
0x000161FE, 0x000161FE,
@ -599,7 +599,7 @@ inline void CheckSkyrimCells()
0x00015267, 0x00015267,
0x001052FD, 0x001052FD,
0x00104871, 0x00104871,
0x0002F83D, //0x0002F83D,
0x00016775, 0x00016775,
0x000152C1, 0x000152C1,
0x0001525D, 0x0001525D,
@ -632,7 +632,7 @@ inline void CheckSkyrimCells()
0x0009CCDE, 0x0009CCDE,
//0x0007284E, //0x0007284E,
0x00067F2A, 0x00067F2A,
0x0003016A, //0x0003016A,
0x000198DE, 0x000198DE,
0x000169FE, 0x000169FE,
0x000165B2, 0x000165B2,
@ -674,7 +674,7 @@ inline void CheckSkyrimCells()
0x00027D1C 0x00027D1C
}; };
for (int i = 0; i < 582; i++) { for (int i = 0; i < 574; i++) {
const auto* form = RE::TESForm::LookupByID(formids[i]); const auto* form = RE::TESForm::LookupByID(formids[i]);
if (form && form->Is(RE::FormType::Cell)) { if (form && form->Is(RE::FormType::Cell)) {
logger::warn("Detected invalid cell: {:08X}", formids[i]); logger::warn("Detected invalid cell: {:08X}", formids[i]);

Loading…
Cancel
Save