SSG for SpoilerAL ver 6.2 [script] [title]RPGツクールXP [maker]エンターブレイン [creator]RICK [process]Game.exe [note] 【対応Version】 標準仕様 【注意事項】 ●SSGデバッグモードについて ・ステータスの装備項目及びアイテムエディタ使用中は重くなることが予想されます。 ●アイテムエディタについて ・まだ手に入れていない物については増やせません。 ・ただし、武器・防具については装備変更してから外せば取得できます。 ●テストモードについて ・Ctrlキーを押しながら移動ですりぬけが有効になります。 ・F9キーを押すとデバッグモードが開けます。 ●タイマー値について ・単位は1/40秒です。 【使用不可の場合】 「XXXX=>key;」のXXXXの部分を求める必要があります。 各種アドレスの構文に沿ってポインタをたどって求めてください。 [/note] [involve]Game [group]main [define find_key]$count=30;while(([:$base:]!=$key)&&$count--)[:$base+0x0C:]=>base [define common1][:$base+0x04:]=>modulo;[:[:$base+0x0C:]+($modulo?$key%$modulo*4:0):]=>base;{find_key} [define common2][:[:[:[:$base+0x08:]+0x00:]+0x04:]+0x08:]=>base; [define common3][:[:$base+0x08:]+0x08:]=>base; [define common4][:[:[.0x00.]:]+0x08:]=>base; [define common5][.0x00.]=>base; [define global1][:[:(MName::RGSS103J.dll)+0x003BB6:]+0x019C30:] [define global2][:(MName::RGSS104J.dll)+0x184498:] [define global]((MName::RGSS103J.dll)?(({global1}):0)|((MName::RGSS104J.dll)?(({global2})):0)=>base;{common1} [define $TEST1][:(MName::RGSS103J.dll)+0x003BB6:]+0x019B3C [define $TEST2](MName::RGSS104J.dll)+0x1843A4 [define $TEST]((MName::RGSS103J.dll)?({$TEST1}):0)|((MName::RGSS104J.dll)?({$TEST2}):0)=>TEST [define $Game_Party]$key=0x4763;{global};{common2};$base=>Game_Party [define $Game_Actors]$key=0x4A3B;{global};{common2};$base=>Game_Actors [define $Game_Switches]$key=0x49E3;{global};{common2};$base=>Game_Switches [define $Game_Variables]$key=0x4F1B;{global};{common2};$base=>Game_Variables [define $Game_Player]$key=0x4A63;{global};{common2};$base=>Game_Player [define $Game_System]$key=0x4AC3;{global};{common2};$base=>Game_System [define @gold]$key=0x31FA;{common1};$base=>gold [define @data]$key=0x2A0A;{common1};[:[:$base+0x08:]+0x10:]=>data [define @level]$key=0x2EC2;{common4};{common1};$base=>level [define @exp]$key=0x31F2;{common4};{common1};$base=>exp [define @hp]$key=0x392A;{common4};{common1};$base=>hp [define @sp]$key=0x3932;{common4};{common1};$base=>sp [define @maxhp_plus]$key=0x44E2;{common4};{common1};$base=>maxhp_plus [define @maxsp_plus]$key=0x44EA;{common4};{common1};$base=>maxsp_plus [define @str_plus]$key=0x30FA;{common4};{common1};$base=>str_plus [define @dex_plus]$key=0x3102;{common4};{common1};$base=>dex_plus [define @agi_plus]$key=0x310A;{common4};{common1};$base=>agi_plus [define @int_plus]$key=0x3112;{common4};{common1};$base=>int_plus [define @weapon_id]$key=0x2D82;{common4};{common1};$base=>weapon_id [define @armor1_id]$key=0x2D8A;{common4};{common1};$base=>armor1_id [define @armor2_id]$key=0x2D92;{common4};{common1};$base=>armor2_id [define @armor3_id]$key=0x2D9A;{common4};{common1};$base=>armor3_id [define @armor4_id]$key=0x2DA2;{common4};{common1};$base=>armor4_id [define @items]$key=0x4A1A;{common1};{common3};$base=>items [define @weapons]$key=0x4A22;{common1};{common3};$base=>weapons [define @armors]$key=0x4A2A;{common1};{common3};$base=>armors [define @through]$key=0x2B5A;{common1};$base=>through [define @timer_working]$key=0x4272;{common1};$base=>timer_working [define @timer]$key=0x426A;{common1};$base=>timer [define @save_disabled]$key=0x427A;{common1};$base=>save_disabled [define @save_count]$key=0x42A2;{common1};$base=>save_count [define @menu_disabled]$key=0x4282;{common1};$base=>menu_disabled [define @encounter_disabled]$key=0x428A;{common1};$base=>encounter_disabled [size]4 [e_with],signed [io_fep]($Val*2+1),$Val%2=>mul;($Val-1)/2=>tmp0;$tmp0<0x3FFFFFFF=>mul0;$tmp0>=0x40000000=>mul1;$tmp0-0x80000000=>tmp1;$tmp0*$mul0+$tmp1*$mul1=>tmp;$tmp*$mul [subject]所持金:calc,_{$Game_Party};$Game_Party=>base;{@gold};$gold+0x08,0,9999999 [subject]ステータス:dir [replace]_{$Game_Actors};$Game_Actors=>base;{@data};$data,Game->status [back] [subject]スイッチ関連:dir [replace]_{$Game_Switches};$Game_Switches=>base;{@data};$data,Game->switches [back] [subject]変数関連:dir [replace]_{$Game_Variables};$Game_Variables=>base;{@data};$data,Game->variables [back] [child_rw] [e_with],0,99 [subject]アイテムエディタ:dir [subject]アイテム:dir [replace]_{$Game_Party};$Game_Party=>base;{@items};$items,Game->item [back] [subject]武器:dir [replace]_{$Game_Party};$Game_Party=>base;{@weapons};$weapons,Game->weapon [back] [subject]防具:dir [replace]_{$Game_Party};$Game_Party=>base;{@armors};$armors,Game->armor [back] [back] [/e_with] [/child_rw] [subject]システム関連:dir [subject]テストモード//_/:toggle,_{$TEST};$TEST,02,00 [subject]すり抜け//_/:toggle,_{$Game_Player};$Game_Player=>base;{@through};$through+0x08,02000000,00000000 [subject]タイマー関連:dir [subject]タイマー始動//_/:toggle,_{$Game_System};$Game_System=>base;{@timer_working};$timer_working+0x08,02000000,00000000 [subject]タイマー値:calc,_{$Game_System};$Game_System=>base;{@timer};$timer+0x08,0,99999999 [back] [subject]セーブ関連:dir [subject]セーブ禁止//_/:toggle,_{$Game_System};$Game_System=>base;{@save_disabled};$save_disabled+0x08,02000000,00000000 [subject]セーブ回数:calc,_{$Game_System};$Game_System=>base;{@save_count};$save_count+0x08,0,99999999 [back] [subject]メニュー禁止//_/:toggle,_{$Game_System};$Game_System=>base;{@menu_disabled};$menu_disabled+0x08,02000000,00000000 [subject]エンカウント禁止//_/:toggle,_{$Game_System};$Game_System=>base;{@encounter_disabled};$encounter_disabled+0x08,02000000,00000000 [back] [/io_fep] [/e_with] [/size] [undef @encounter_disabled] [undef @menu_disabled] [undef @save_count] [undef @save_disabled] [undef @timer] [undef @timer_working] [undef @through] [undef @armors] [undef @weapons] [undef @items] [undef @armor4_id] [undef @armor3_id] [undef @armor2_id] [undef @armor1_id] [undef @weapon_id] [undef @int_plus] [undef @agi_plus] [undef @dex_plus] [undef @str_plus] [undef @maxsp_plus] [undef @maxhp_plus] [undef @sp] [undef @hp] [undef @exp] [undef @level] [undef @data] [undef @gold] [undef $Game_System] [undef $Game_Player] [undef $Game_Variables] [undef $Game_Switches] [undef $Game_Actors] [undef $Game_Party] [undef $TEST] [undef global] [undef common5] [undef common4] [undef common3] [undef common2] [undef common1] [undef find_key] [/group] //ステータス [group]status [repeat]Game->status_ssr,0,999,1 [/group] [group]status_ssr [subject][!L($Val+1)!]人目:dir [replace]0x[!0x04+$Val*4!],Game->status_info [back] [/group] [group]status_info [subject]LV:calc,_{@level};$level+0x08,0,99 [subject]EXP:calc,_{@exp};$exp+0x08,0,999999999 [subject]現在値:dir [subject]現在HP:calc,_{@hp};$hp+0x08,0,9999 [subject]現在SP:calc,_{@sp};$sp+0x08,0,999 [back] [subject]補正値:dir [subject]最大HP:calc,_{@maxhp_plus};$maxhp_plus+0x08,0,9999 [subject]最大SP:calc,_{@maxsp_plus};$maxsp_plus+0x08,0,999 [subject]腕力 :calc,_{@str_plus};$str_plus+0x08,0,999 [subject]器用さ:calc,_{@dex_plus};$dex_plus+0x08,0,999 [subject]素早さ:calc,_{@agi_plus};$agi_plus+0x08,0,999 [subject]魔力 :calc,_{@int_plus};$int_plus+0x08,0,999 [back] [subject]装備:dir [subject]通常:dir [subject]武器:calc,_{@weapon_id};$weapon_id+0x08,0,999 [subject]盾:calc,_{@armor1_id};$armor1_id+0x08,0,999 [replace]0x00,Game->equipment [back] [subject]二刀流:dir [subject]武器1:calc,_{@weapon_id};$weapon_id+0x08,0,999 [subject]武器2:calc,_{@armor1_id};$armor1_id+0x08,0,999 [replace]0x00,Game->equipment [back] [back] [/group] [group]equipment [subject]頭:calc,_{@armor2_id};$armor2_id+0x08,0,999 [subject]身体:calc,_{@armor3_id};$armor3_id+0x08,0,999 [subject]装飾品:calc,_{@armor4_id};$armor4_id+0x08,0,999 [/group] //スイッチ関連 [group]switches [repeat]Game->switches_ssr,0,1000,1 [/group] [group]switches_ssr [subject]S[!L($Val+1)!]:toggle,0x[!0x04+$Val*0x04!],02000000,00000000 [/group] //変数関連 [group]variables [repeat]Game->variables_ssr,0,1000,1 [/group] [group]variables_ssr [subject]V[!L($Val+1)!]:calc,0x[!0x04+$Val*0x04!],-99999999,99999999 [/group] //アイテムエディタ //アイテム [group]item [repeat]Game->item_ssr,0,999,1 [/group] [group]item_ssr [subject]アイテム番号[!L($Val+1)!]番:calc,_0x[!$Val+1!]*2+1=>key;{common5};{common1};$base+0x08 [/group] //武器 [group]weapon [repeat]Game->weapon_ssr,0,999,1 [/group] [group]weapon_ssr [subject]武器番号[!L($Val+1)!]番:calc,_0x[!$Val+1!]*2+1=>key;{common5};{common1};$base+0x08 [/group] //防具 [group]armor [repeat]Game->armor_ssr,0,999,1 [/group] [group]armor_ssr [subject]防具番号[!L($Val+1)!]番:calc,_0x[!$Val+1!]*2+1=>key;{common5};{common1};$base+0x08 [/group] [/involve] [replace]0x00,Game->main [/script]