Page 1 of 1

Yelo Neighborhood: Scripts

Posted: Wed Jun 30, 2010 1:43 pm
by XZodia
Halo 2
  • Freeze Game

    Code: Select all

    CPUContext context = new CPUContext();
    context.Xmm0 = 1.0f;
    context.Xmm1 = 0;
    XBox.CallAddressEx(0x146860, context, true, 0);
    XBox.SetMemory(XBox.GetUInt32(0x510C54) + 12, 0.0f);
    Reset Map

    Code: Select all

    XBox.SetMemory(0x547F6E, (byte)1, (byte)1);
    Win Game

    Code: Select all

    XBox.CallAddress(0x1388E0, false);
    Load Map as Multiplayer - FileType: map

    Code: Select all

    ulong mapID = XBox.GetUInt64(XBox.GetUInt32(0x4E6094) + 0x138);
    XBox.SetMemory(0x4ED3A8, 2, (int)0x001E0101, new byte[20], Filename);
    XBox.SetMemory(0x4ED39D, (byte)1);
    Load Map as Singleplayer - FileType: map

    Code: Select all

    ulong mapID = XBox.GetUInt64(XBox.GetUInt32(0x4E6094) + 0x138);
    XBox.SetMemory(0x4ED3A8, 1, (int)0x001E0101, new byte[20], Filename);
    XBox.SetMemory(0x4ED39D, (byte)1);
    Save Checkpoint

    Code: Select all

    XBox.SetMemory(XBox.GetUInt32(0x4E6948), (byte)0);
    XBox.SetMemory(0x547F70, (byte)1);
    Load Checkpoint

    Code: Select all

    XBox.SetMemory(0x547F6F, (byte)1);
    XBox.SetMemory(0x547F74, (ushort)0x0101);

Re: Yelo Neighborhood: Scripts

Posted: Wed Jun 30, 2010 6:21 pm
by Gary
How do you find these?

Re: Yelo Neighborhood: Scripts

Posted: Wed Jun 30, 2010 7:00 pm
by XZodia
xbox7887 gave them to me

Re: Yelo Neighborhood: Scripts

Posted: Sun Jul 04, 2010 3:09 am
by Grimdoomer
Gary wrote:How do you find these?
Xbe reversing.

Re: Yelo Neighborhood: Scripts

Posted: Sun Jul 04, 2010 2:28 pm
by XZodia
back when I wrote contribute.

Re: Yelo Neighborhood: Scripts

Posted: Sun Jul 04, 2010 2:49 pm
by rentreg
i can really see where your going to use "Freeze game" :lol: thats like byte code or something

Re: Yelo Neighborhood: Scripts

Posted: Fri Jul 01, 2011 8:05 am
by troymac1ure
XZodia wrote: Freeze Game

Code: Select all

CPUContext context = new CPUContext();
context.Xmm0 = 1.0f;
context.Xmm1 = 0;
XBox.CallAddressEx(0x146860, context, true, 0);
XBox.SetMemory(XBox.GetUInt32(0x510C54) + 12, 0.0f);
Any idea what the CPU calls were for on this? Obviously the last line allows one to set the game speed, but are the previous calls really necessary?

Re: Yelo Neighborhood: Scripts

Posted: Fri Jul 01, 2011 10:05 am
by XZodia
I think mike said its to pause some stuff that isnt controlled by the game speed...It is needed.

Re: Yelo Neighborhood: Scripts

Posted: Fri Jul 01, 2011 4:03 pm
by Ogrish
It might be fun to edit the remove those extra calls and edit the control speed so the whole game plays faster.

I used yelo to speed the game up one time for a one on one match but i dont remember if it was faster just for host or for client too.
Now i dont remember what cntrl i used.

Re: Yelo Neighborhood: Scripts

Posted: Fri Jul 01, 2011 5:17 pm
by JacksonCougar
I slow down games by a percentage in my Contribute tool when you screen capture to allow you time to stream all the frames back to your HDD and capture a full 30FPS at full resolution. Good times.