本帖最后由 lanceka77 于 2012-3-21 20:18 编辑
全机型适用”『Plants vs. Zombies 』植物大战僵尸 :http://www.wpxap.com/thread-332424-1-1.html
模拟器运行效果如图:
lumia 800 测试可用! 但不保证没有隐藏的bug。
下载地址:
游客,此处内容一周内自动解除隐藏,如果您要立即查看请 回复。
这个游戏的破解比《植物大战僵尸》复杂一些,IL的改动很小,如下所示:- *** xx.org.il Wed Mar 21 14:19:42 2012
- --- xx.il Wed Mar 21 14:22:46 2012
- ***************
- *** 145184,145193 ****
- IL_0011: ldarg.0
- IL_0012: newobj instance void [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GamerServices.GamerServicesComponent::.ctor(class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.Game)
- IL_0017: stsfld class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GamerServices.GamerServicesComponent a.bs::d
- ! IL_001c: ldarg.0
- ! IL_001d: callvirt instance class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GameComponentCollection [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.Game::get_Components()
- ! IL_0022: ldsfld class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GamerServices.GamerServicesComponent a.bs::d
- ! IL_0027: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1<class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.IGameComponent>::Add(!0)
- IL_002c: ldc.i4.1
- IL_002d: stsfld bool a.bs::b
- IL_0032: ret
- --- 145184,145193 ----
- IL_0011: ldarg.0
- IL_0012: newobj instance void [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GamerServices.GamerServicesComponent::.ctor(class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.Game)
- IL_0017: stsfld class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GamerServices.GamerServicesComponent a.bs::d
- ! // IL_001c: ldarg.0
- ! // IL_001d: callvirt instance class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GameComponentCollection [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.Game::get_Components()
- ! // IL_0022: ldsfld class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.GamerServices.GamerServicesComponent a.bs::d
- ! // IL_0027: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1<class [Microsoft.Xna.Framework.Game]Microsoft.Xna.Framework.IGameComponent>::Add(!0)
- IL_002c: ldc.i4.1
- IL_002d: stsfld bool a.bs::b
- IL_0032: ret
复制代码 不过这个游戏要求登录xbox才能玩,所以需要一个额外的Loader,代码如下(需用Reflexil将代码中引用到的类、方法、成员变量改成public的):- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Microsoft.Xna.Framework;
- using Microsoft.Xna.Framework.Audio;
- using Microsoft.Xna.Framework.Content;
- using Microsoft.Xna.Framework.GamerServices;
- using Microsoft.Xna.Framework.Graphics;
- using Microsoft.Xna.Framework.Input;
- using Microsoft.Xna.Framework.Input.Touch;
- using Microsoft.Xna.Framework.Media;
- using a;
- namespace WPGame
- {
- public class Game1 : IloMilo.GameEngine
- {
- bool login = false;
- int clk = 0;
- public Game1() { }
- protected override void Initialize()
- {
- base.Initialize();
- }
- protected override void Update(GameTime gameTime)
- {
- if (!login && clk > 60)
- {
- login = true;
- a.bi x = new a.bi { z = null };
- if (!x.d(true))
- {
- x.a(b1.g, (uint)0);
- }
- IloMilo.GameEngine.al = x;
- IloMilo.GameEngine.d();
- IloMilo.GameEngine.bn.a(false, false, false, false, null);
- }
- clk++;
- try
- {
- base.Update(gameTime);
- }
- catch (Exception ex) { ex.ToString(); }
- }
- }
- }
复制代码 高手们如果觉得上面的方法有问题,欢迎指教! |