|
  |
Edit Bios Code |
|
|
| ferrari_rulz_02 |
Sep 30 2005, 01:55 AM
|

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
|
|
|
|
| |
| ferrari_rulz_02 |
Oct 1 2005, 08:54 AM
|

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
|
|
|
|
| |
| raydn |
Oct 1 2005, 10:22 AM
|
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..
|
|
|
|
| |
| raydn |
Oct 1 2005, 11:08 AM
|
X-S Senior Member
 
Group: Members
Posts: 233
Joined: 24-March 05
Member No.: 208615

|
REF: http://www.xcheater.com/tutorials/sheep_agtp2.txtQUOTE(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
|
|
|
|
| |
|
  |
|