xboxscene.org forums

Author Topic: Sweet Ghost/walk Alias  (Read 151 times)

xbill

  • Archived User
  • Jr. Member
  • *
  • Posts: 91
Sweet Ghost/walk Alias
« on: May 10, 2005, 07:01:00 AM »

I created a sweet little ghost toggle that maps to the Back button.  Since ghost is not a toggle itself you need to toggle it with a walk command.  Normally you would need two buttons: one for ghost, and one for walk.  With this alias you only need one button.

This needs to go in user.ini***

Aliases[1]=(Command="set input Joy14 xwalk | ghost",Alias="xghost")
Aliases[2]=(Command="set input Joy14 xghost | walk",Alias="xwalk")


***If you have not yet extracted the files from xboxdynamic.umd and xboxfiles.umd, you will have to hex edit xboxdynamic.umd manually. (Unless you have another method)

Here are some instructions for hex editing the NTSC version of R63:

(This assumes you will be playing R63 from your hard drive)

Copy the xboxdynamic.umd file from your xbox to your PCs hard drive.

Copy it to a file called xboxdynamic.org for backup.

Fire up your favorite hex edit (Winhex is my hex editor of choice)  If your hex editor has any configuration options, make sure it will enter carriage return and line feed 0x0D and 0x0A each time you press enter (at the end of a line)

Open xboxdynamic.umd and do a search for: [DefaultPlayer] or jump to offset 0x0012BA30.  This is the start of the embedded user.ini file.  This file should always be 5762 bytes in length.  You can define a block of this size to edit in some hex editors.

You should be able to see some Aliases listed.

Find the Alias[1] and check that your hex editor is in overwrite mode and NOT insert mode.   Then, type in the above line and press enter, or make sure the line is followed by 0x0D and 0x0A.  Then type in the second line

See the listing below (in red):

0012BA30   5B 44 65 66 61 75 6C 74  50 6C 61 79 65 72 5D 0D   [DefaultPlayer].
0012BA40   0A 4E 61 6D 65 3D 0D 0A  74 65 61 6D 3D 32 35 35   .Name=..team=255
0012BA50   0D 0A 43 4C 41 53 53 3D  52 36 45 6E 67 69 6E 65   ..CLASS=R6Engine
0012BA60   2E 52 36 52 61 69 6E 62  6F 77 0D 0A 53 6B 69 6E   .R6Rainbow..Skin
0012BA70   3D 0D 0A 46 61 63 65 3D  0D 0A 0D 0A 5B 45 6E 67   =..Face=....[Eng
0012BA80   69 6E 65 2E 49 6E 70 75  74 5D 0D 0A 41 6C 69 61   ine.Input]..Alia
0012BA90   73 65 73 5B 30 5D 3D 28  43 6F 6D 6D 61 6E 64 3D   ses[0]=(Command=
0012BAA0   22 42 75 74 74 6F 6E 20  62 46 69 72 65 20 7C 20   "Button bFire |
0012BAB0   46 69 72 65 22 2C 41 6C  69 61 73 3D 22 50 72 69   Fire",Alias="Pri
0012BAC0   6D 61 72 79 46 69 72 65  22 29 0D 0A 41 6C 69 61   maryFire")..Alia
0012BAD0   73 65 73 5B 31 5D 3D 28  43 6F 6D 6D 61 6E 64 3D   ses[1]=(Command=
0012BAE0   22 73 65 74 20 69 6E 70  75 74 20 4A 6F 79 31 34   "set input Joy14
0012BAF0   20 78 77 61 6C 6B 20 7C  20 67 68 6F 73 74 22 2C    xwalk | ghost",
0012BB00   41 6C 69 61 73 3D 22 78  67 68 6F 73 74 22 29 0D   Alias="xghost").
0012BB10   0A 41 6C 69 61 73 65 73  5B 32 5D 3D 28 43 6F 6D   .Aliases[2]=(Com
0012BB20   6D 61 6E 64 3D 22 73 65  74 20 69 6E 70 75 74 20   mand="set input
0012BB30   4A 6F 79 31 34 20 78 67  68 6F 73 74 20 7C 20 77   Joy14 xghost | w
0012BB40   61 6C 6B 22 2C 41 6C 69  61 73 3D 22 78 77 61 6C   alk",Alias="xwal
0012BB50   6B 22 29 0D 0A 41 6C 69  61 73 65 73 5B 33 5D 3D   k")..
Aliases[3]=


If your edits don't line up with Aliases[3] like mine does, don't panic.  Just enter 0x0D 0x0A pairs overwriting the Alias[3] line.

Don't worry about removing Aliases[3], R63 doesn't care if one of them is missing.
Save the file.  Copy it back you you xbox and start the game.
Start a level and press the Back button.  Now try to move up, down, or around.
You should be flying.  Now press the Back button again and you should drop to the ground.

If it doesn't work or locks up the xbox, check your work.  Be sure you typed it exacly as it appears here, and do not insert, OVERWRITE!


Here's how the alias works:

The first line assigns Joy14 (the Back button) to the alias called xwalk.  Then the ghost command is executed. You can execute multiple commands by separating them with a | (pipe symbol).  The last part of the line gives that sequence the alias name of xghost.  The next line does nearly the same thing except it assigns Joy14 to the alias called xghost which we created on the first line.  Then it executes the walk command.  This alias is named xwalk.  When you press the Back button the first time, the button immediately gets reassigned to the xwalk alias then executes the ghost command.  Now you're flying.   Fly up and around and then press the Back button again.  The xwalk alias is executed which reassigns the button to the xghost alias and executes the walk command.  Now you fall to the ground or whatever is beneath you.   A note of caution: be sure you have adjusted your safe fall height or more simply, enabled god mode.   In god mode you can fall from any height and will not die, nor take any damage.  Be careful if you drop out of the map also, it's hard to see once you move far beyond the map.

Have fun.

This post has been edited by xbill: May 10 2005, 02:03 PM
Logged

xbill

  • Archived User
  • Jr. Member
  • *
  • Posts: 91
Sweet Ghost/walk Alias
« Reply #1 on: May 10, 2005, 12:57:00 PM »

***** UPDATE: PLEASE READ

I realized after further testing that you can edit the alias section of the user.ini on the HD without any problems.  The section with the Joy1 - Joy16 however gets overwritten.

So,  you can add the god/walk toggle to the alias section in user.ini, but then you'll have to hex edit xboxdynamic.umd buttonconfig to add xghost to one of your buttons.

Either way, it will still involve hex editing, unless you've extracted ControllerConfig.ini.


Logged

th3flawl3ss1

  • Archived User
  • Newbie
  • *
  • Posts: 42
Sweet Ghost/walk Alias
« Reply #2 on: June 17, 2005, 03:42:00 AM »

bump
Logged

mrjkwik

  • Archived User
  • Hero Member
  • *
  • Posts: 769
Sweet Ghost/walk Alias
« Reply #3 on: June 17, 2005, 10:26:00 PM »

did a similiar edit to dynamicxbox.umd on splintercell:ct.  adds ghost to the downdirectional pad.  doesnt overwrite anythng else.  anybody wants it i can send them the patch or what not.
Logged

whydodonutshaveholes

  • Archived User
  • Newbie
  • *
  • Posts: 1
Sweet Ghost/walk Alias
« Reply #4 on: June 24, 2005, 08:58:00 PM »

I can't get it to work.  I just recently got the hang of hex editing, but when i compared the hex lines with the ones on your post they matched exactly. Very perplexing. :uhh:
Logged

Meekel

  • Archived User
  • Newbie
  • *
  • Posts: 4
Sweet Ghost/walk Alias
« Reply #5 on: July 07, 2005, 08:22:00 AM »

You'll know if you've got it right becuase the file will stay the same size exactly.
Logged