Yelo Neighborhood: Scripts

Post here the finished release of your halo 2 mod project.
Post Reply
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Yelo Neighborhood: Scripts

Post 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);
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
Gary
Posts: 1946
Joined: Thu Feb 14, 2008 10:17 pm
Location: USA, FL
Contact:

Re: Yelo Neighborhood: Scripts

Post by Gary »

How do you find these?
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: Yelo Neighborhood: Scripts

Post by XZodia »

xbox7887 gave them to me
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
Grimdoomer
Admin
Posts: 1835
Joined: Sun Dec 09, 2007 9:09 pm

Re: Yelo Neighborhood: Scripts

Post by Grimdoomer »

Gary wrote:How do you find these?
Xbe reversing.
Don't snort the magic, we need it for the network.
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: Yelo Neighborhood: Scripts

Post by XZodia »

back when I wrote contribute.
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
rentreg
Posts: 327
Joined: Sun Jul 26, 2009 3:11 am

Re: Yelo Neighborhood: Scripts

Post by rentreg »

i can really see where your going to use "Freeze game" :lol: thats like byte code or something
Most users ever online was 152 on March 16th, 2012, 7:02 am
what happened on March 16th, 2012 at 7:02 am? 0_o
User avatar
troymac1ure
Keeper of Entity
Posts: 1282
Joined: Sat Aug 09, 2008 4:16 am
Location: British Columbia, Canada, eh
Contact:

Re: Yelo Neighborhood: Scripts

Post 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?
User avatar
XZodia
Staff
Posts: 2208
Joined: Sun Dec 09, 2007 2:09 pm
Location: UK
Contact:

Re: Yelo Neighborhood: Scripts

Post by XZodia »

I think mike said its to pause some stuff that isnt controlled by the game speed...It is needed.
Image
JacksonCougar wrote:I find you usually have great ideas.
JacksonCougar wrote:Ah fuck. Why must you always be right? Why.
User avatar
Ogrish
Posts: 1512
Joined: Wed Dec 12, 2007 2:56 am

Re: Yelo Neighborhood: Scripts

Post 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.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: Yelo Neighborhood: Scripts

Post 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.
Post Reply