mirror of
https://github.com/marcrobledo/savegame-editors.git
synced 2025-04-28 09:05:10 +00:00
added preliminary botw 1.3 support
This commit is contained in:
parent
841dbccd00
commit
da2f0cca05
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
#v20170523a
|
||||
#v20170630
|
||||
#CACHE:
|
||||
index.html
|
||||
zelda-botw.css
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
The legend of Zelda: Breath of the wild v20170521
|
||||
The legend of Zelda: Breath of the wild v20170630
|
||||
by Marc Robledo 2017
|
||||
*/
|
||||
var currentEditingItem=0;
|
||||
@ -7,7 +7,7 @@ var currentEditingItem=0;
|
||||
SavegameEditor={
|
||||
Name:'The legend of Zelda: Breath of the wild',
|
||||
Filename:'game_data.sav',
|
||||
Version:20170522,
|
||||
Version:20170630,
|
||||
|
||||
|
||||
/* Constants */
|
||||
@ -15,43 +15,43 @@ SavegameEditor={
|
||||
MAX_ITEMS:410,
|
||||
STRING_SIZE:0x80,
|
||||
|
||||
/* v1.0 v1.1 v1.2 */
|
||||
FILESIZE: [896976, 897160, 897112],
|
||||
HEADER: [0x24e2, 0x24ee, 0x2588],
|
||||
/* v1.0 v1.1 v1.2 v1.3 */
|
||||
FILESIZE: [896976, 897160, 897112, 907824],
|
||||
HEADER: [0x24e2, 0x24ee, 0x2588, 0x29c0],
|
||||
},
|
||||
|
||||
/* Offsets */
|
||||
OffsetsAll:{
|
||||
/* hash v1.0 v1.1 v1.2 */
|
||||
RUPEES: [0x23149bf8, 0x00e0a0, 0x00e110, 0x00e110],
|
||||
MONS: [0xce7afed3, 0x0bc480, 0x0bc558, 0x0bc538],
|
||||
ITEMS: [0x5f283289, 0x052828, 0x0528d8, 0x0528c0],
|
||||
ITEMS_QUANTITY: [0x6a09fc59, 0x063340, 0x0633f0, 0x0633d8],
|
||||
/* hash v1.0 v1.1 v1.2 v1.3 */
|
||||
RUPEES: [0x23149bf8, 0x00e0a0, 0x00e110, 0x00e110, 0x00e678],
|
||||
MONS: [0xce7afed3, 0x0bc480, 0x0bc558, 0x0bc538, 0x0be728],
|
||||
ITEMS: [0x5f283289, 0x052828, 0x0528d8, 0x0528c0, 0x053890],
|
||||
ITEMS_QUANTITY: [0x6a09fc59, 0x063340, 0x0633f0, 0x0633d8, 0x064550],
|
||||
|
||||
FLAGS_WEAPON: [0x57ee221d, 0x050328, 0x0503d8, 0x0503c0],
|
||||
FLAGSV_WEAPON: [0xa6d926bc, 0x0a9ca8, 0x0a9d78, 0x0a9d58],
|
||||
FLAGS_BOW: [0x0cbf052a, 0x0045f0, 0x0045f8, 0x0045f8],
|
||||
FLAGSV_BOW: [0x1e3fd294, 0x00a8e0, 0x00a940, 0x00a940],
|
||||
FLAGS_SHIELD: [0xc5238d2b, 0x0b5810, 0x0b58e8, 0x0b58c8],
|
||||
FLAGSV_SHIELD: [0x69f17e8a, 0x063218, 0x0632c8, 0x0632b0],
|
||||
FLAGS_WEAPON: [0x57ee221d, 0x050328, 0x0503d8, 0x0503c0, 0x051270],
|
||||
FLAGSV_WEAPON: [0xa6d926bc, 0x0a9ca8, 0x0a9d78, 0x0a9d58, 0x0ab8d0],
|
||||
FLAGS_BOW: [0x0cbf052a, 0x0045f0, 0x0045f8, 0x0045f8, 0x0047e8],
|
||||
FLAGSV_BOW: [0x1e3fd294, 0x00a8e0, 0x00a940, 0x00a940, 0x00ae08],
|
||||
FLAGS_SHIELD: [0xc5238d2b, 0x0b5810, 0x0b58e8, 0x0b58c8, 0x0b7910],
|
||||
FLAGSV_SHIELD: [0x69f17e8a, 0x063218, 0x0632c8, 0x0632b0, 0x064420],
|
||||
|
||||
HORSE_SADDLES: [0x333aa6e5, 0x03d0e8, 0x03d190, 0x03d190],
|
||||
HORSE_REINS: [0x6150c6be, 0x060508, 0x0605b8, 0x0605a0],
|
||||
HORSE_NAMES: [0x7b74e117, 0x070320, 0x0703c0, 0x0703a8],
|
||||
HORSE_MANES: [0x9c6cfd3f, 0x0a6478, 0x0a6538, 0x0a6520],
|
||||
HORSE_TYPES: [0xc247b696, 0x0b46f8, 0x0b47d8, 0x0b47b8],
|
||||
HORSE_BONDS: [0xe1a0ca54, 0x0c3670, 0x0c3738, 0x0c3710], /* max=0x3f80 */
|
||||
HORSE_SADDLES: [0x333aa6e5, 0x03d0e8, 0x03d190, 0x03d190, 0x03d9d8],
|
||||
HORSE_REINS: [0x6150c6be, 0x060508, 0x0605b8, 0x0605a0, 0x0615d0],
|
||||
HORSE_NAMES: [0x7b74e117, 0x070320, 0x0703c0, 0x0703a8, 0x071820],
|
||||
HORSE_MANES: [0x9c6cfd3f, 0x0a6478, 0x0a6538, 0x0a6520, 0x0a7f18],
|
||||
HORSE_TYPES: [0xc247b696, 0x0b46f8, 0x0b47d8, 0x0b47b8, 0x0b6780],
|
||||
HORSE_BONDS: [0xe1a0ca54, 0x0c3670, 0x0c3738, 0x0c3710, 0x0c5bb0], /* max=0x3f80 */
|
||||
|
||||
KOROK_SEED_COUNTER: [0x8a94e07a, 0x076148, 0x0761f8, 0x0761e0],
|
||||
DEFEATED_HINOX_COUNTER: [0x54679940, 0x04d2b8, 0x04d368, 0x04d358],
|
||||
DEFEATED_TALUS_COUNTER: [0x698266be, 0x063010, 0x0630c0, 0x0630a8],
|
||||
DEFEATED_MOLDUGA_COUNTER:[0x441b7231, 0x0466d0, 0x046788, 0x046780],
|
||||
KOROK_SEED_COUNTER: [0x8a94e07a, 0x076148, 0x0761f8, 0x0761e0, 0x0778f8],
|
||||
DEFEATED_HINOX_COUNTER: [0x54679940, 0x04d2b8, 0x04d368, 0x04d358, 0x04e158],
|
||||
DEFEATED_TALUS_COUNTER: [0x698266be, 0x063010, 0x0630c0, 0x0630a8, 0x064218],
|
||||
DEFEATED_MOLDUGA_COUNTER:[0x441b7231, 0x0466d0, 0x046788, 0x046780, 0x0472a8],
|
||||
|
||||
PLAYTIME: [0x73c29681, 0x067888, 0x067920, 0x067908],
|
||||
PLAYTIME: [0x73c29681, 0x067888, 0x067920, 0x067908, 0x068c40],
|
||||
|
||||
RELIC_GERUDO: [0x97f925c3, 0x07adc0, 0x07ae80, 0x07ae68],
|
||||
RELIC_GORON: [0xf1cf4807, 0x0cb3c0, 0x0cb488, 0x0cb460],
|
||||
RELIC_RITO: [0xfda0cde4, 0x0da0d8, 0x0da190, 0x0da160]
|
||||
RELIC_GERUDO: [0x97f925c3, 0x07adc0, 0x07ae80, 0x07ae68, 0x07c7e0],
|
||||
RELIC_GORON: [0xf1cf4807, 0x0cb3c0, 0x0cb488, 0x0cb460, 0x0cdbf8],
|
||||
RELIC_RITO: [0xfda0cde4, 0x0da0d8, 0x0da190, 0x0da160, 0x0dcac0]
|
||||
},
|
||||
|
||||
|
||||
@ -471,10 +471,23 @@ SavegameEditor={
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
function setValueByHash(hash, val){
|
||||
var offset=SavegameEditor._searchHash(hash);
|
||||
if(offset){
|
||||
if(val.length && val.length===3){
|
||||
SavegameEditor._writeValue(offset, val[0]);
|
||||
SavegameEditor._writeValue(offset, val[1], 1);
|
||||
SavegameEditor._writeValue(offset, val[2], 2);
|
||||
}else if(typeof val==='string'){
|
||||
SavegameEditor._writeString(offset, val);
|
||||
}else{
|
||||
SavegameEditor._writeValue(offset, val);
|
||||
}
|
||||
}else{
|
||||
alert('invalid hash '+SavegameEditor._toHexInt(hash));
|
||||
}
|
||||
}*/
|
||||
|
||||
function setBooleans(hashTable, counterElement){
|
||||
var counter=0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user