日期:2014-05-17  浏览次数:20685 次

Windows Phone 游戏 Roll In The Hole 去除 XBL 服务
Windows Phone Marketplace 链接:
http://www.windowsphone.com/zh-HK/apps/70f3c02b-0d27-4772-877e-df6726b05732

XAP 包下载地址:
http://www.wpxap.com/thread-473098-1-1.html

RollInTheHole.dll 的 IL 修改如下:
*** r.org.il	Thu Aug 30 16:35:46 2012
--- r.il	Thu Aug 30 16:43:20 2012
***************
*** 185,195 ****
      IL_00ac:  ldarg.0
      IL_00ad:  ldfld      class [XNAPandaEngine]XNAPandaEngine.Base.BackgroundMusicManager RollInTheHole.Main::musicManager
      IL_00b2:  callvirt   instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0)
-     IL_00b7:  ldarg.0
-     IL_00b8:  call       instance class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GameComponentCollection [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.Game::get_Components()
-     IL_00bd:  ldarg.0
-     IL_00be:  newobj     instance void [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GamerServices.GamerServicesComponent::.ctor(class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.Game)
-     IL_00c3:  callvirt   instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0)
      IL_00c8:  call       class [XNAPandaEngine]XNAPandaEngine.EngineManager [XNAPandaEngine]XNAPandaEngine.EngineManager::get_Instance()
      IL_00cd:  ldarg.0
      IL_00ce:  ldfld      class [XNAPandaEngine]XNAPandaEngine.Base.BackgroundMusicManager RollInTheHole.Main::musicManager
--- 185,190 ----
XNAPandaEngine.dll 的 IL 修改如下:
*** x.org.il	Thu Aug 30 16:47:15 2012
--- x.il	Thu Aug 30 17:01:44 2012
***************
*** 33592,33597 ****
--- 33592,33598 ----
      .locals init (class [Microsoft.Xna.Framework.GamerServices]Microsoft.Xna.Framework.GamerServices.SignedInGamer V_0,
               class [Microsoft.Xna.Framework.GamerServices]Microsoft.Xna.Framework.GamerServices.LeaderboardWriter V_1,
               class [Microsoft.Xna.Framework.GamerServices]Microsoft.Xna.Framework.GamerServices.LeaderboardEntry V_2)
+               ret
      IL_0000:  call       bool [Microsoft.Xna.Framework.GamerServices]Microsoft.Xna.Framework.GamerServices.Guide::get_IsTrialMode()
      IL_0005:  brtrue.s   IL_0040
  
***************
*** 33704,33709 ****
--- 33705,33711 ----
      .locals init (int32 V_0,
               object V_1,
               class [Microsoft.Xna.Framework.GamerServices]Microsoft.Xna.Framework.GamerServices.SignedInGamer V_2)
+               ret
      IL_0000:  ldc.i4.0
      IL_0001:  stloc.0
      IL_0002:  newobj     instance void [mscorlib]System.Object::.ctor()
***************
*** 40278,40360 ****
      IL_0270:  call       instance class XNAPandaEngine.Base.Node XNAPandaEngine.Base.Node::AddChild(class XNAPandaEngine.Base.Node,
                                                                                                      float32)
      IL_0275:  pop
-     IL_0276:  call       class [Microsoft.Xna.Framework.GamerServices]Microsoft.Xna.Framework.GamerServices.AchievementCollection XNAPandaEngine.Achievments.LiveSupport::GetAchievments()
-     IL_027b:  stloc.3
-     IL_027c:  ldc.i4.0
-     IL_027d:  stloc.s    V_4
-     IL_027f:  ldc.i4.0
-     IL_0280:  stloc.s    V_5
-     IL_0282:  ldc.i4.0
-     IL_0283:  stloc.s    V_6
-     IL_0285:  ldloc.3
-     IL_0286:  callvirt   instance class [mscorlib]System.Collections.Generic.IEnumerator`1 [Microsoft.Xna.Framework.GamerServices]Microsoft.Xna.Framework.GamerServices.AchievementCollection::GetEnumerator()
-     IL_028b:  stloc.s    V_11
-     .try
-     {
-       IL_028d:  br.s       IL_0304
- 
-       IL_028f:  ldloc.s    V_11
-       IL_0291:  callvirt   instance !0 class [mscorlib]System.Collections.Gene