Skip to content

Instantly share code, notes, and snippets.

@apple1417
Last active February 13, 2020 18:21
Show Gist options
  • Save apple1417/cb95c9dac1bf2f00b5d2afff02d094fb to your computer and use it in GitHub Desktop.
Save apple1417/cb95c9dac1bf2f00b5d2afff02d094fb to your computer and use it in GitHub Desktop.
Cheat Engine Structs for Serious Sam Revolution
<Structures>
<Structure Name="Engine._pNetwork" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="Pointer" Bytesize="4" Description="NetworkLibrary Instance" DisplayMethod="Unsigned Integer">
<Structure Name="Autocreated from 02E799A0" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="32" Vartype="Pointer" Bytesize="4" Description="ga_sesSessionState" DisplayMethod="Unsigned Integer">
<Structure Name="Autocreated from 02E55898" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="ses_apltPlayers: sa_Count" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="Pointer" Bytesize="4" Description="ses_apltPlayers: sa_Array&lt;CPlayerTarget&gt;" DisplayMethod="Unsigned Integer">
<Structure Name="Autocreated from 02DC05B4" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="[0]: Active" DisplayMethod="Signed Integer"/>
<Element Offset="4" Vartype="Pointer" Bytesize="4" ChildStruct="CPlayerEntity" Description="[0]: Player Entity" DisplayMethod="Unsigned Integer"/>
<Element Offset="136" Vartype="4 Bytes" Bytesize="4" Description="[1]: Active" DisplayMethod="Unsigned Integer"/>
<Element Offset="140" Vartype="Pointer" Bytesize="4" ChildStruct="CPlayerEntity" Description="[1]: Player Entity" DisplayMethod="Unsigned Integer"/>
<Element Offset="272" Vartype="4 Bytes" Bytesize="4" Description="[2]: Active" DisplayMethod="Unsigned Integer"/>
<Element Offset="276" Vartype="Pointer" Bytesize="4" ChildStruct="CPlayerTarget" Description="[2]: Player Entity" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
</Element>
<Element Offset="28" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="ses_strMOTD" DisplayMethod="Unsigned Integer"/>
<Element Offset="32" Vartype="4 Bytes" Bytesize="4" Description="ses_iLevel" DisplayMethod="Signed Integer"/>
<Element Offset="88" Vartype="Double" Bytesize="8" Description="ses_tmLastProcessedTick" DisplayMethod="Signed Integer"/>
<Element Offset="220" Vartype="4 Bytes" Bytesize="4" Description="ses_bGameFinished" DisplayMethod="Signed Integer"/>
<Element Offset="240" Vartype="4 Bytes" Bytesize="4" Description="ses_ctMaxPlayers" DisplayMethod="Signed Integer"/>
</Elements>
</Structure>
</Element>
<Element Offset="44" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="ga_strSessionName" DisplayMethod="Unsigned Integer"/>
<Element Offset="48" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="Gamemode Name" DisplayMethod="Unsigned Integer"/>
<Element Offset="52" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="Gamemode Description" DisplayMethod="Unsigned Integer"/>
<Element Offset="88" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="ga_fnmWorld: str_String" DisplayMethod="Unsigned Integer"/>
<Element Offset="152" Vartype="4 Bytes" Bytesize="4" Description="sp_gmGameMode" DisplayMethod="Unsigned Integer"/>
<Element Offset="156" Vartype="4 Bytes" Bytesize="4" Description="sp_gdGameDifficulty" DisplayMethod="Signed Integer"/>
<Element Offset="2520" Vartype="4 Bytes" Bytesize="4" Description="sp_bSinglePlayer" DisplayMethod="Signed Integer"/>
<Element Offset="4552" Vartype="4 Bytes" Bytesize="4" Description="Start of ga_World (CWorld)" DisplayMethod="Hexadecimal"/>
<Element Offset="4600" Vartype="Pointer" Bytesize="4" Description="ga_World: wo_pecWorldBaseClass" DisplayMethod="Unsigned Integer">
<Structure Name="Autocreated from 1AE71C80" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="28" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="Filename" DisplayMethod="Unsigned Integer"/>
<Element Offset="40" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="DLL" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
</Element>
<Element Offset="4832" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="ga_World: wo_fnmFileName: str_String" DisplayMethod="Unsigned Integer"/>
<Element Offset="4844" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="ga_World: wo_strName" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
</Element>
</Elements>
</Structure>
<Structure Name="CPlayerEntity" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="56" Vartype="Float" Bytesize="4" Description="X" DisplayMethod="Signed Integer"/>
<Element Offset="60" Vartype="Float" Bytesize="4" Description="Y" DisplayMethod="Signed Integer"/>
<Element Offset="64" Vartype="Float" Bytesize="4" Description="Z" DisplayMethod="Signed Integer"/>
<Element Offset="68" Vartype="Float" Bytesize="4" Description="Model H" DisplayMethod="Signed Integer"/>
<Element Offset="72" Vartype="Float" Bytesize="4" Description="Model B" DisplayMethod="Signed Integer"/>
<Element Offset="76" Vartype="Float" Bytesize="4" Description="Model P" DisplayMethod="Signed Integer"/>
<Element Offset="164" Vartype="Pointer" Bytesize="4" ChildStruct="CWorld" Description="World" DisplayMethod="Unsigned Integer"/>
<Element Offset="232" Vartype="Float" Bytesize="4" Description="Health" DisplayMethod="Signed Integer"/>
<Element Offset="352" Vartype="Float" Bytesize="4" Description="Last Breath Time" DisplayMethod="Signed Integer"/>
<Element Offset="356" Vartype="Float" Bytesize="4" Description="Max Breath Time" DisplayMethod="Signed Integer"/>
<Element Offset="360" Vartype="Float" Bytesize="4" Description="Density" DisplayMethod="Signed Integer"/>
<Element Offset="872" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="Name" DisplayMethod="Unsigned Integer"/>
<Element Offset="908" Vartype="Float" Bytesize="4" Description="Camera X Offset" DisplayMethod="Signed Integer"/>
<Element Offset="912" Vartype="Float" Bytesize="4" Description="Camera Y Offset" DisplayMethod="Signed Integer"/>
<Element Offset="916" Vartype="Float" Bytesize="4" Description="Camera Z Offset" DisplayMethod="Signed Integer"/>
<Element Offset="920" Vartype="Float" Bytesize="4" Description="Camera H Offset" DisplayMethod="Signed Integer"/>
<Element Offset="924" Vartype="Float" Bytesize="4" Description="Camera B Offset" DisplayMethod="Signed Integer"/>
<Element Offset="928" Vartype="Float" Bytesize="4" Description="Camera P Offset" DisplayMethod="Signed Integer"/>
<Element Offset="968" Vartype="Float" Bytesize="4" Description="Armor" DisplayMethod="Signed Integer"/>
<Element Offset="984" Vartype="Float" Bytesize="4" Description="Max Health" DisplayMethod="Signed Integer"/>
<Element Offset="988" Vartype="4 Bytes" Bytesize="4" Description="Player Flags" DisplayMethod="Hexadecimal"/>
<Element Offset="1120" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="Center Message" DisplayMethod="Unsigned Integer"/>
<Element Offset="1176" Vartype="Float" Bytesize="4" Description="Last Damage Amount" DisplayMethod="Signed Integer"/>
<Element Offset="3052" Vartype="Float" Bytesize="4" Description="Ping" DisplayMethod="Signed Integer"/>
<Element Offset="3108" Vartype="Float" Bytesize="4" Description="Level Estimated Time" DisplayMethod="Signed Integer"/>
<Element Offset="3112" Vartype="4 Bytes" Bytesize="4" Description="Time Score" DisplayMethod="Signed Integer"/>
<Element Offset="3116" Vartype="4 Bytes" Bytesize="4" Description="Game Start Time (Unix Time)" DisplayMethod="Signed Integer"/>
<Element Offset="3120" Vartype="4 Bytes" Bytesize="4" Description="Last Level End Time (Unix Time)" DisplayMethod="Signed Integer"/>
<Element Offset="3124" Vartype="Float" Bytesize="4" Description="Last Level Start IGT" DisplayMethod="Signed Integer"/>
<Element Offset="3128" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="Combined Stats Strings" DisplayMethod="Unsigned Integer"/>
<Element Offset="11036" Vartype="4 Bytes" Bytesize="4" Description="Netricsa Message Amount" DisplayMethod="Signed Integer"/>
<Element Offset="11040" Vartype="4 Bytes" Bytesize="4" Description="Level Score" DisplayMethod="Signed Integer"/>
<Element Offset="11048" Vartype="4 Bytes" Bytesize="4" Description="Level Kills" DisplayMethod="Signed Integer"/>
<Element Offset="11056" Vartype="4 Bytes" Bytesize="4" Description="Level Deaths" DisplayMethod="Signed Integer"/>
<Element Offset="11072" Vartype="4 Bytes" Bytesize="4" Description="Level Secrets" DisplayMethod="Signed Integer"/>
<Element Offset="11104" Vartype="4 Bytes" Bytesize="4" Description="Total Level Kills" DisplayMethod="Signed Integer"/>
<Element Offset="11128" Vartype="4 Bytes" Bytesize="4" Description="Total Level Secrets" DisplayMethod="Signed Integer"/>
<Element Offset="11152" Vartype="4 Bytes" Bytesize="4" Description="Game Score" DisplayMethod="Signed Integer"/>
<Element Offset="11160" Vartype="4 Bytes" Bytesize="4" Description="Game Kills" DisplayMethod="Signed Integer"/>
<Element Offset="11168" Vartype="4 Bytes" Bytesize="4" Description="Game Deaths" DisplayMethod="Signed Integer"/>
<Element Offset="11184" Vartype="4 Bytes" Bytesize="4" Description="Game Secrets" DisplayMethod="Signed Integer"/>
<Element Offset="11216" Vartype="4 Bytes" Bytesize="4" Description="Total Game Kills" DisplayMethod="Signed Integer"/>
<Element Offset="11240" Vartype="4 Bytes" Bytesize="4" Description="Total Game Secrets" DisplayMethod="Signed Integer"/>
</Elements>
</Structure>
<Structure Name="CPlayerTarget" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="4 Bytes" Bytesize="4" Description="plt_bActive" DisplayMethod="Unsigned Integer"/>
<Element Offset="4" Vartype="Pointer" Bytesize="4" ChildStruct="CPlayerEntity" Description="plt_penPlayerEntity" DisplayMethod="Unsigned Integer"/>
<Element Offset="8" Vartype="4 Bytes" Bytesize="4" Description="plt_csAction: cs_pvObject (void ptr)" DisplayMethod="Hexadecimal"/>
<Element Offset="12" Vartype="4 Bytes" Bytesize="4" Description="plt_csAction: cs_iIndex" DisplayMethod="Hexadecimal"/>
<Element Offset="16" Vartype="Float" Bytesize="4" Description="plt_paPreLastAction: pa_vTranslation: X" DisplayMethod="Signed Integer"/>
<Element Offset="20" Vartype="Float" Bytesize="4" Description="plt_paPreLastAction: pa_vTranslation: Y" DisplayMethod="Signed Integer"/>
<Element Offset="24" Vartype="Float" Bytesize="4" Description="plt_paPreLastAction: pa_vTranslation: Z" DisplayMethod="Signed Integer"/>
<Element Offset="28" Vartype="Float" Bytesize="4" Description="plt_paPreLastAction: pa_aRotation: H" DisplayMethod="Signed Integer"/>
<Element Offset="32" Vartype="Float" Bytesize="4" Description="plt_paPreLastAction: pa_aRotation: B" DisplayMethod="Signed Integer"/>
<Element Offset="36" Vartype="Float" Bytesize="4" Description="plt_paPreLastAction: pa_aRotation: P" DisplayMethod="Signed Integer"/>
<Element Offset="40" Vartype="Float" Bytesize="4" Description="plt_paPreLastAction: pa_aViewRotation: H" DisplayMethod="Signed Integer"/>
<Element Offset="44" Vartype="Float" Bytesize="4" Description="plt_paPreLastAction: pa_aViewRotation: B" DisplayMethod="Signed Integer"/>
<Element Offset="48" Vartype="Float" Bytesize="4" Description="plt_paPreLastAction: pa_aViewRotation: P" DisplayMethod="Signed Integer"/>
<Element Offset="52" Vartype="4 Bytes" Bytesize="4" Description="plt_paPreLastAction: pa_ulButtons" DisplayMethod="Hexadecimal"/>
<Element Offset="56" Vartype="8 Bytes" Bytesize="8" Description="plt_paPreLastAction: pa_llCreated" DisplayMethod="Hexadecimal"/>
<Element Offset="64" Vartype="Float" Bytesize="4" Description="plt_paLastAction: pa_vTranslation: X" DisplayMethod="Signed Integer"/>
<Element Offset="68" Vartype="Float" Bytesize="4" Description="plt_paLastAction: pa_vTranslation: Z" DisplayMethod="Signed Integer"/>
<Element Offset="72" Vartype="Float" Bytesize="4" Description="plt_paLastAction: pa_vTranslation: Y" DisplayMethod="Signed Integer"/>
<Element Offset="76" Vartype="Float" Bytesize="4" Description="plt_paLastAction: pa_aRotation: H" DisplayMethod="Signed Integer"/>
<Element Offset="80" Vartype="Float" Bytesize="4" Description="plt_paLastAction: pa_aRotation: B" DisplayMethod="Signed Integer"/>
<Element Offset="84" Vartype="Float" Bytesize="4" Description="plt_paLastAction: pa_aRotation: P" DisplayMethod="Signed Integer"/>
<Element Offset="88" Vartype="Float" Bytesize="4" Description="plt_paLastAction: pa_aViewRotation: H" DisplayMethod="Signed Integer"/>
<Element Offset="92" Vartype="Float" Bytesize="4" Description="plt_paLastAction: pa_aViewRotation: B" DisplayMethod="Signed Integer"/>
<Element Offset="96" Vartype="Float" Bytesize="4" Description="plt_paLastAction: pa_aViewRotation: P" DisplayMethod="Signed Integer"/>
<Element Offset="100" Vartype="4 Bytes" Bytesize="4" Description="plt_paLastAction: pa_ulButtons" DisplayMethod="Hexadecimal"/>
<Element Offset="104" Vartype="8 Bytes" Bytesize="8" Description="plt_paLastAction: pa_llCreated" DisplayMethod="Hexadecimal"/>
<Element Offset="112" Vartype="4 Bytes" Bytesize="4" Description="plt_abPrediction: ab_lhActions: lh_Head (CListNode ptr)" DisplayMethod="Hexadecimal"/>
<Element Offset="116" Vartype="4 Bytes" Bytesize="4" Description="plt_abPrediction: ab_lhActions: lh_NULL (CListNode ptr)" DisplayMethod="Hexadecimal"/>
<Element Offset="120" Vartype="4 Bytes" Bytesize="4" Description="plt_abPrediction: ab_lhActions: lh_Tail (CListNode ptr)" DisplayMethod="Hexadecimal"/>
<Element Offset="124" Vartype="Float" Bytesize="4" Description="plt_vPredictorPos: Y" DisplayMethod="Unsigned Integer"/>
<Element Offset="128" Vartype="Float" Bytesize="4" Description="plt_vPredictorPos: Z" DisplayMethod="Unsigned Integer"/>
<Element Offset="132" Vartype="Float" Bytesize="4" Description="plt_vPredictorPos: X" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CTString" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="String" Bytesize="100" Description="str_String" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
<Structure Name="CWorld" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="48" Vartype="Pointer" Bytesize="4" Description="wo_pecWorldBaseClass" DisplayMethod="Unsigned Integer">
<Structure Name="Autocreated from 1AE71C80" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" RLECompression="1" AutoCreateStructsize="4096">
<Elements>
<Element Offset="28" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="Filename" DisplayMethod="Unsigned Integer"/>
<Element Offset="40" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="DLL" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
</Element>
<Element Offset="60" Vartype="4 Bytes" Bytesize="4" Description="wo_cenAllEntities: sa_Count" DisplayMethod="Signed Integer"/>
<Element Offset="64" Vartype="Pointer" Bytesize="4" Description="wo_cenAllEntities: sa_Array&lt;CEntity&gt;" DisplayMethod="Hexadecimal"/>
<Element Offset="68" Vartype="4 Bytes" Bytesize="4" Description="wo_cenAllEntities: sa_UsedCount" DisplayMethod="Signed Integer"/>
<Element Offset="72" Vartype="4 Bytes" Bytesize="4" Description="wo_cenAllEntities: sa_ctAllocationStep" DisplayMethod="Signed Integer"/>
<Element Offset="280" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="wo_fnmFileName: str_String" DisplayMethod="Unsigned Integer"/>
<Element Offset="292" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="wo_strName" DisplayMethod="Unsigned Integer"/>
<Element Offset="296" Vartype="4 Bytes" Bytesize="4" Description="wo_ulSpawnFlags" DisplayMethod="Hexadecimal"/>
<Element Offset="300" Vartype="Pointer" Bytesize="4" ChildStruct="CTString" Description="wo_strDescription" DisplayMethod="Unsigned Integer"/>
</Elements>
</Structure>
</Structures>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment