Skip to content

Commit

Permalink
Support for windows store version
Browse files Browse the repository at this point in the history
  • Loading branch information
OhMyGuus committed Jun 17, 2021
1 parent 626d3d9 commit eb1e003
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/main/GameReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ export default class GameReader {
);
}
}
console.log(this.offsets);
this.initializeWrites();
}

Expand Down
14 changes: 7 additions & 7 deletions src/main/offsetStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ export default {
surveillanceMinigame_FilteredRoomsCount: [0x78, 0x18],
lightRadius: [0x78, 0x34],
palette: [0xffff, 0xb8],
palette_playercolor: [0xf0],
palette_shadowColor: [0xf8],
palette_playercolor: [0xF8],
palette_shadowColor: [0x100],
playerControl_GameOptions: [0xffff, 0xb8, 0x8],
gameOptions_MapId: [0x18],
gameOptions_MaxPLayers: [0x10],
Expand Down Expand Up @@ -167,10 +167,10 @@ export default {
],
isDummy: [0xe1],
isLocal: [0x78],
localX: [0x98, 0x6c],
localY: [0x98, 0x70],
remoteX: [0x98, 0x58],
remoteY: [0x98, 0x5c],
localX: [0x90, 0x6c],
localY: [0x90, 0x70],
remoteX: [0x90, 0x58],
remoteY: [0x90, 0x5c],
bufferLength: 80,
offsets: [0, 0],
inVent: [0x3d],
Expand All @@ -188,7 +188,7 @@ export default {
addressOffset: 4,
},
gameData: {
sig: '48 8B 05 ? ? ? ? 48 8B 88 ? ? ? ? 48 8B 01 48 85 C0 0F 84 ? ? ? ? BE ? ? ? ?',
sig: '48 8D 0D ? ? ? ? E8 ? ? ? ? 48 8D 0D ? ? ? ? E8 ? ? ? ? C6 05 ? ? ? ? ? 48 8B 0D ? ? ? ? 33 C0 48 8B 5D 48',
patternOffset: 3,
addressOffset: 4,
},
Expand Down

0 comments on commit eb1e003

Please sign in to comment.