Skip to content

Commit

Permalink
Support patch 2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
psiberx committed Jan 31, 2024
1 parent 4e900bc commit 9f729ce
Show file tree
Hide file tree
Showing 9 changed files with 91 additions and 89 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ With the mod you can:

### Compatibility

- Cyberpunk 2077 2.1
- Cyberpunk 2077 2.11

### Installation

1. Install requirements:
- [RED4ext](https://docs.red4ext.com/getting-started/installing-red4ext) 1.19.0+
- [RED4ext](https://docs.red4ext.com/getting-started/installing-red4ext) 1.22.0+
2. Extract the release archive `ArchiveXL-x.x.x.zip` into the Cyberpunk 2077 directory.

## Documentation
Expand Down
4 changes: 2 additions & 2 deletions src/App/Extensions/AttachmentSlots/Module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ void App::AttachmentSlotsModule::OnAttachTPP(Red::game::TPPRepresentationCompone

for (const auto slotID : TPPAffectedSlots)
{
const auto& subSlots = s_dependentSlots.find(slotID);
if (subSlots != s_dependentSlots.end())
const auto& subSlots = s_extraSlots.find(slotID);
if (subSlots != s_extraSlots.end())
{
for (const auto& subSlotID : subSlots->second)
{
Expand Down
2 changes: 1 addition & 1 deletion src/App/Project.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ constexpr auto Author = "psiberx";
constexpr auto NameW = L"ArchiveXL";
constexpr auto AuthorW = L"psiberx";

constexpr auto Version = semver::from_string_noexcept("1.10.5").value();
constexpr auto Version = semver::from_string_noexcept("1.11.0").value();
}
8 changes: 4 additions & 4 deletions src/App/Version.rc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#define VER_PRODUCTVERSION 1,10,5,0
#define VER_FILEVERSION 1,10,5,2401191903
#define VER_PRODUCTVERSION 1,11,0,0
#define VER_FILEVERSION 1,11,0,2401312051

#define VER_PRODUCTNAME_STR "ArchiveXL\0"
#define VER_PRODUCTVERSION_STR "1.10.5\0"
#define VER_FILEVERSION_STR "1.10.5.2401191903\0"
#define VER_PRODUCTVERSION_STR "1.11.0\0"
#define VER_FILEVERSION_STR "1.11.0.2401312051\0"

1 VERSIONINFO
FILEVERSION VER_FILEVERSION
Expand Down
154 changes: 77 additions & 77 deletions src/Red/Addresses.hpp

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/Red/Entity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ constexpr auto ReassembleAppearance = Core::RawFunc<

namespace Raw::IComponent
{
using AppearanceName = Core::OffsetPtr<0x48, Red::CName>;
using Owner = Core::OffsetPtr<0x50, Red::Entity*>;
using AppearancePath = Core::OffsetPtr<0x68, Red::ResourcePath>;

constexpr auto UpdateRenderer = Core::RawVFunc<
/* offset = */ 0x280,
Expand Down
2 changes: 1 addition & 1 deletion tools/ida/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def patterns():
Item(name="OnAttach",
pattern="F6 05 ? ? ? ? 01 0F 85 ? ? ? ? E9"),
Item(name="CheckState",
pattern="4C 89 44 24 ? 48 89 54 24 ? 55 53 56 57 41 54 41 55 41 56 41 57 48 8D 6C 24 ? 48 81 EC ? ? ? ? 48 8B 01 48 8B FA 45 33 E4 48 8D 55"),
pattern="4C 89 44 24 ? 48 89 54 24 ? 55 53 56 57 41 54 41 55 41 56 41 57 48 8D 6C 24 ? 48 81 EC ? ? ? ? 48 8B 01 48 8B FA 45"),
]),
Group(name="CharacterCustomizationHairstyleController", functions=[
Item(name="OnDetach",
Expand Down
2 changes: 1 addition & 1 deletion vendor/RED4ext.SDK
Submodule RED4ext.SDK updated 42 files
+96 −96 include/RED4ext/Addresses.hpp
+1 −0 include/RED4ext/Api/Runtime.hpp
+2 −1 include/RED4ext/Api/v0/Runtime.hpp
+26 −0 include/RED4ext/Scripting/Natives/Generated/AI/RunAwayFromPlayerCommand.hpp
+7 −6 include/RED4ext/Scripting/Natives/Generated/AI/VehicleOnSplineCommand.hpp
+7 −6 include/RED4ext/Scripting/Natives/Generated/AI/VehicleRacingCommand.hpp
+2 −1 include/RED4ext/Scripting/Natives/Generated/AI/VehicleToNodeCommand.hpp
+7 −6 include/RED4ext/Scripting/Natives/Generated/AI/behavior/DriveRacingTreeNodeDefinition.hpp
+2 −1 include/RED4ext/Scripting/Natives/Generated/AI/behavior/DriveToNodeTreeNodeDefinition.hpp
+5 −3 include/RED4ext/Scripting/Natives/Generated/audio/MeleeWeaponConfiguration.hpp
+2 −2 include/RED4ext/Scripting/Natives/Generated/cp/PlayerSystem.hpp
+2 −2 include/RED4ext/Scripting/Natives/Generated/game/DynamicEntityHandler.hpp
+2 −2 include/RED4ext/Scripting/Natives/Generated/game/DynamicSpawnSystem.hpp
+26 −0 include/RED4ext/Scripting/Natives/Generated/game/EffectObjectFilter_HitRepresentation_Quickhack.hpp
+2 −1 include/RED4ext/Scripting/Natives/Generated/game/ItemModParams.hpp
+4 −2 include/RED4ext/Scripting/Natives/Generated/game/JournalCodexGroup.hpp
+2 −2 include/RED4ext/Scripting/Natives/Generated/game/RazerChromaEffectsSystem.hpp
+4 −4 include/RED4ext/Scripting/Natives/Generated/game/audio/events/HitEvent.hpp
+69 −68 include/RED4ext/Scripting/Natives/Generated/game/data/ItemType.hpp
+2 −2 include/RED4ext/Scripting/Natives/Generated/game/data/StatusEffectPrereq_Record.hpp
+2 −2 include/RED4ext/Scripting/Natives/Generated/game/data/Vehicle_Record.hpp
+2 −2 include/RED4ext/Scripting/Natives/Generated/game/ui/WorldMappinsContainerController.hpp
+27 −0 include/RED4ext/Scripting/Natives/Generated/ink/SelectItemIndexEvent.hpp
+1 −0 include/RED4ext/Scripting/Natives/Generated/quest/CameraPlanesPreset.hpp
+28 −0 include/RED4ext/Scripting/Natives/Generated/quest/JoinTraffic_NodeType.hpp
+1 −2 include/RED4ext/Scripting/Natives/Generated/quest/JournalNodeDefinition.hpp
+7 −6 include/RED4ext/Scripting/Natives/Generated/quest/ParamRubberbanding.hpp
+29 −0 include/RED4ext/Scripting/Natives/Generated/quest/PlayRazerAnimation_NodeTypeParams.hpp
+33 −0 include/RED4ext/Scripting/Natives/Generated/quest/RazerAnimation_NodeType.hpp
+29 −0 include/RED4ext/Scripting/Natives/Generated/quest/SetIdleRazerAnimation_NodeTypeParams.hpp
+27 −0 include/RED4ext/Scripting/Natives/Generated/quest/StopRazerAnimation_NodeTypeParams.hpp
+2 −1 include/RED4ext/Scripting/Natives/Generated/quest/vehicle/ToNodeParams.hpp
+2 −1 include/RED4ext/Scripting/Natives/Generated/text/WrappingInfo.hpp
+24 −22 include/RED4ext/Scripting/Natives/Generated/vehicle/AutonomousData.hpp
+7 −0 include/RED4ext/Scripting/Natives/entEntityID.hpp
+25 −23 include/RED4ext/Scripting/Natives/gameITransactionSystem.hpp
+80 −0 include/RED4ext/Scripting/ScriptReport-inl.hpp
+36 −0 include/RED4ext/Scripting/ScriptReport.hpp
+1 −1 scripts/find_patterns.py
+7 −7 scripts/patterns.py
+3 −0 src/Scripting/Natives.cpp
+5 −0 src/Scripting/ScriptReport.cpp
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set_xmakever("2.5.9")

set_project("ArchiveXL")
set_version("1.10.5", {build = "%y%m%d%H%M"})
set_version("1.11.0", {build = "%y%m%d%H%M"})

set_arch("x64")
set_languages("cxx2a")
Expand Down

0 comments on commit 9f729ce

Please sign in to comment.