WEB开发网
开发学院手机开发Windows Phone开发 Windows Phone 游戏 Galaga Legions DX 去除 XBL ... 阅读

Windows Phone 游戏 Galaga Legions DX 去除 XBL 服务

 2012-09-06 13:55:07 来源:WEB开发网   
核心提示: Windows Phone Marketplace 链接:http://www.windowsphone.com/zh-HK/apps/28bcc57b-e1d8-4f61-a508-fc5b2b91157dXAP 包下载地址:http://www.wpxap.com/thread-476471-1-1.html修改

 Windows Phone Marketplace 链接:
http://www.windowsphone.com/zh-HK/apps/28bcc57b-e1d8-4f61-a508-fc5b2b91157d

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

修改很简单,将 isNeedGamerServices 这个变量初始化成 false 即可。
ui.dll 的 IL 修改如下:

*** ui.org.il	Thu Sep  6 12:09:42 2012
--- ui.il	Thu Sep  6 12:10:34 2012
***************
*** 25510,25516 ****
      IL_0013:  stsfld     bool ui.NetWorking::isLicensed
      IL_0018:  ldc.i4.0
      IL_0019:  stsfld     bool ui.NetWorking::s_hasUploadLeaderboards
!     IL_001e:  ldc.i4.1
      IL_001f:  stsfld     bool ui.NetWorking::isNeedGamerServices
      IL_0024:  ldnull
      IL_0025:  stsfld     class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GamerServices.GamerServicesComponent ui.NetWorking::s_gamerServicesInstance
--- 25510,25516 ----
      IL_0013:  stsfld     bool ui.NetWorking::isLicensed
      IL_0018:  ldc.i4.0
      IL_0019:  stsfld     bool ui.NetWorking::s_hasUploadLeaderboards
!     IL_001e:  ldc.i4.0
      IL_001f:  stsfld     bool ui.NetWorking::isNeedGamerServices
      IL_0024:  ldnull
      IL_0025:  stsfld     class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GamerServices.GamerServicesComponent ui.NetWorking::s_gamerServicesInstance

Tags:Windows Phone 游戏

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接