xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
4 Pages V  1 2 3 > »   
Reply to this topicStart new topic
> Edit Bios Code
ferrari_rulz_02
post Sep 30 2005, 12:14 AM
Post #1


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



hey all

i got a bit of code i want to inject into a bios. how do i go about opening the bios.bin file so i can insert the text.

is there any compiling i have to do before i can use it?

any help appreciated
cheers
beerchug.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Sep 30 2005, 01:55 AM
Post #2


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



bit of a bump/more info.

nee this thread, post 257.

i want to insert this code into a BIOS, to force games into 480p.

another question, what would i have to change, to force say 720p?

if you cant be bothered clicking teh link, this is the code i need to insert (thanks dr oldschool)

CODE
patchvideoprogr:
push ebp
mov ebp,esp
push eax
mov eax,[ebp+16]
or eax,eax
js .cont; hdtv mode
jz .640; default mode (?)
test ah,01h
mov eax,88080801h; 720x480p
jz .chng
.640: mov eax,88070701h; 640x480p
.chng: mov [ebp+16],eax
.cont: pop eax
.frame: sub esp,1Ch
VJMP jback
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Oct 1 2005, 04:52 AM
Post #3


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



bump. how do i open a bios.bin file so that i can insert the code i want to?

any help appreciated
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LightningStruckMyXbox
post Oct 1 2005, 07:26 AM
Post #4


X-S Expert
***

Group: Members
Posts: 520
Joined: 19-August 05
From: Here!
Member No.: 241604
Xbox Version: v1.6
360 version: none



Think you might have to hex-edit it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Oct 1 2005, 08:54 AM
Post #5


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



QUOTE(LightningStruckMyXbox @ Oct 1 2005, 05:37 PM)
Think you might have to hex-edit it.
*



well i tried that. dr oldschool said theyre be heaps of room in the bios (there was, lots of places that are just full of 00 00 00 00 00 00's.

so i whacked it in there, gave it a whirl on the box, but i dont think it worked.

if it did, it would run a non 480p game in 480p. i tried it on colin mcrae rally 3, with no sucsess (i have a hex patched xbe file for it, so i know it should work).

im thinking it is like xbe's, ill need source code for it. hopefully its not
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
raydn
post Oct 1 2005, 10:22 AM
Post #6


X-S Senior Member
**

Group: Members
Posts: 233
Joined: 24-March 05
Member No.: 208615



Find a space in the code for the code you want to inject and then...something like this from sheep's Gamehacking Tutorial

CODE


0120:00008096  01585A              ADD     [EAX+5A],EBX

0120:00008099  E9xxxxxxxx    .---- JMP     500000        <--- we create our gateway here...

0120:0000809B  B486          |     MOV     AH,86  <----.

0120:0000809F  55            |     PUSH    EBP         |

0120:000080A0  1E            |     PUSH    DS          |

0120:000080A1  50            |     PUSH    EAX         |

0120:000080A2  E86E078ED8    |     CALL    D88E8815    |

                            |                         |

                            |                         |

0120:00500000  OUR CODE! <---'                         |  

0120:00500002  OUR CODE!                               |

0120:00500004  OUR CODE!                               |

0120:00500006  JMP 809B -------------------------------' <--- once our code is done we jmp back..


User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Oct 1 2005, 10:28 AM
Post #7


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



ok then, ill try that, but i got a few questions:

1) this is a bios, it has to be a certian size (256kb). do i just remove some unneeded 00 000's

2) where about does this code need to go? anywhere in particular?

3) di i just do it in a hex editor, and striaght copy over the code i have posted?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
raydn
post Oct 1 2005, 11:08 AM
Post #8


X-S Senior Member
**

Group: Members
Posts: 233
Joined: 24-March 05
Member No.: 208615



REF: http://www.xcheater.com/tutorials/sheep_agtp2.txt

QUOTE(ferrari_rulz_02 @ Oct 1 2005, 10:39 AM)
ok then, ill try that, but i got a few questions:

1) this is a bios, it has to be a certian size (256kb). do i just remove some unneeded 00 000's


As far as i know (still learning) I belive so, as long as it the inject the code in a 'code cave' and it doesnt affect the size or anything else.

QUOTE
2) where about does this code need to go? anywhere in particular?


like you said b4 in a space with 00's. find the address of start of this bit you use and asm up a hex jmp to it. Place the hex jump over the code you want to modify. (probably be 5 bytes xx xx xx xx xx) If you replace more than that change the remaining bytes to 90 (nop) and move what you replaced if needed into the jump.


QUOTE
3) di i just do it in a hex editor, and striaght copy over the code i have posted?
*




think so wink.gif blink.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Oct 1 2005, 11:45 AM
Post #9


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



shit man i cant get it to work.

all i can get is no screen and the eject leds to do various things.

raydn, pm'd ya
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Oct 1 2005, 01:01 PM
Post #10


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



ok ive been trying this all wrong.

if i open it up in a hex editor, there is no AvSetDisplayMode in the code.

do i need an uncompiled bios or another program to open it with?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Oct 1 2005, 01:33 PM
Post #11


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



is this how it has to be done??

id give it a go, but i cant get my hands on a copy of ms visual studio 6
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Oct 1 2005, 02:07 PM
Post #12


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



ok, i cant get my hand son a copy of ms visual studio 6.

what i need is an assembled copy of xbflash. if anyoen can help me out, id love to hear from you.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
heinrich
post Oct 2 2005, 01:12 AM
Post #13


..assuming the role of God
*********

Group: Head Moderator
Posts: 5576
Joined: 9-May 03
From: Ohio
Member No.: 36927
Xbox Version: v1.0
360 version: v1 (xenon)



what is wrong with just using xbtool to pack/unpack? You can also use nghtshd's biostools, which is based on xbflash.
QUOTE
if i open it up in a hex editor, there is no AvSetDisplayMode in the code.

You'll probably want to find a copy of (or make) an xbox FLIRT file and load up the xbox kernal image in IDA or similiar tool.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Oct 2 2005, 07:30 AM
Post #14


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



ok, just tried xbtool, and i got this:
CODE
== 10/02/05 16:39:35 == Unpack ==
Loading ROM image file 'C:\Documents and Settings\Daniel\Desktop\bios 480p\ind-bios.5001.06.vga.bfm.bin'...
Extracting 2BL image...
Extracting compressed KERNEL image... Invalid config params for kernel extract!


ill try nghtshd's biostools soon
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ferrari_rulz_02
post Oct 2 2005, 08:50 AM
Post #15


X-S Transcendental
**********

Group: Members
Posts: 6395
Joined: 9-January 03
From: Lara, Victoria, Australia
Member No.: 18411
Xbox Version: v1.2
360 version: v1 (xenon)



QUOTE(ferrari_rulz_02 @ Oct 2 2005, 05:41 PM)
ill try nghtshd's biostools soon
*



ok so xbtool wont work and xbflash doesnt work.

i cant find nghtshd's biostools. i know it illegal to request files..........

ill keep looking but ive tried the usual places
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





4 Pages V  1 2 3 > » 
Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 23rd May 2013 - 09:30 PM