Welcome, Guest. Please login or register.

Author Topic: Working XBOX Emulator  (Read 3930 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Working XBOX Emulator
« on: April 01, 2006, 09:02:10 AM »
After long discussions with Team Xecuter (who produce mod chips for the Microsoft XBOX console) I have been able to unpack XBE files, which are binary executables for XBOX games and applications. I felt this presented an opportunity to learn more about the way the binaries are built and maybe write some custom XBOX software.

What I found, however, was much more exciting. Once unpacked, I was able to successfully recompile the binary in the XBOX development environment, and execute it on an XBOX, which proved that the binary could be unpacked and repacked successfully.

I then wrote an application for the Amiga which recompiles the unpacked XBE in to an Amiga PPC executable, which means an emulator is not required to execute it. This does still leave the problem that the software is unported - so it is still expecting the XBOX kernel and hardware to be there.

I realised that a potential solution would be to develop an emulation environment which loads a patched kernel image, and allows the recompiled XBE to run as a native PPC executable, while translating the requirements for XBOX hardware into Amiga equivalents.

I won't go in to technical details yet, but the upshot is that I have a working emulator. A utility patches the kernel image for use with the emulator. When run, the emulator executes the recompiled XBE and allows it to run as a native PPC executable. The modified kernel uses P96 instead of the XBOX GPU, and translates where necessary. Control of the game is achieved using a keyboard at present, but I am working on USB support. Since XBOX pads are only USB anyway, with the correct cable (or by wiring on a USB connector) you could in theory use an XBOX pad connected to a Subway/Spider USB controller to play the XBOX game. Sound doesn't work yet, but hopefully I can patch the kernel to use AHI instead of looking for the XBOX DSP chip.

Of course, it's not as simple as putting an XBOX game in a DVD drive on an Amiga and then running it. You need a modified XBOX so you can get FTP access to its DVD drive. Then you copy the files across a network connection from the XBOX DVD on to your Amiga. You also need to FTP across a kernel image. Then, once the files are on your Amiga, you patch the kernel image, run the utility which de-/re-compiles the XBE, and then it can run.

I have tested with a few games and it seems to work quite well, though obviously performance isn't as good as it is on a real XBOX. Nothing is released yet, but here is a screenshot to whet your appetite.

XBOXEmu Screenshot

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline jlariv8957

  • Full Member
  • ***
  • Join Date: Feb 2005
  • Posts: 111
    • Show only replies by jlariv8957
Re: Working XBOX Emulator
« Reply #1 on: April 01, 2006, 09:13:46 AM »
What a cool project,
I feel i will soon present My Playstation 3 emulator for amiga, running on a 68K with 512K...
 

Offline ajlwalker

  • Sr. Member
  • ****
  • Join Date: May 2004
  • Posts: 458
    • Show only replies by ajlwalker
Re: Working XBOX Emulator
« Reply #2 on: April 01, 2006, 09:22:47 AM »
lol

U almost had me there
 :blush:
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Working XBOX Emulator
« Reply #3 on: April 01, 2006, 10:35:18 AM »
:lol: :-D

Offline PPC

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 291
    • Show only replies by PPC
    • http://home.planet.nl/~seele069
Re: Working XBOX Emulator
« Reply #4 on: April 01, 2006, 10:45:27 AM »
it's april 1st agaian  :lol:
Amiga is addictive coz it is fun to use

A1200 Elbox power tower, BPPC 040/25+603e 240 Mhz, 128 MB RAM,Bvision,Zorro IV&Zorro IV PCI busboard,X-surf,Buddha IDE
A4000 Elbox power tower,CSPPC 060/60+604e 233Mhz, 128 MB RAM,CvisonPPC, AriadneII
A600+Vampire V2,A604N+RTC,SUM USB keyboard controller,Topolino with logitech wireless keyboard&mouse
 

Offline zevs789

  • Newbie
  • *
  • Join Date: Jul 2005
  • Posts: 5
    • Show only replies by zevs789
Re: Working XBOX Emulator
« Reply #5 on: April 01, 2006, 10:48:57 AM »
Nice april 1.st.... :-D  :-D  :-D

This one is better, OS4 is recompiled for x86!!!
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: Working XBOX Emulator
« Reply #6 on: April 01, 2006, 01:04:15 PM »
 :roflmao:

@Motorollin, whatever happened to your JIT CELL emulator that works on a Palm IIIx ?
On schedule, and suing
 

Offline Opus

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 134
    • Show only replies by Opus
Re: Working XBOX Emulator
« Reply #7 on: April 01, 2006, 01:31:20 PM »
imagine what this would do for Amiga, and especially PPC sales!
I was had for a whole 2 minutes  =/  good one!
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Working XBOX Emulator
« Reply #8 on: April 01, 2006, 01:42:35 PM »
And I thought it was so convincing  :lol:

Happy April 1st everybody  :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Waccoon

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1057
    • Show only replies by Waccoon
Re: Working XBOX Emulator
« Reply #9 on: April 01, 2006, 01:50:51 PM »
Um, dude?  Your technical specifications are very, very wrong...

...you have a working XBox 360 emulator, not XBOX.  Be sure to add that in bold print before you post it to all the emu forums.  Sheesh.  Do you expect people to take you seriously with that slack of detail?
 

Offline Oliver

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 803
    • Show only replies by Oliver
Re: Working XBOX Emulator
« Reply #10 on: April 01, 2006, 04:58:52 PM »
 :-D  As I read through the post earlier today, I was waiting for the punchline.  Now I get it.  April.  Me slow.

Nice one!  
Good good study, day day up!
 

Offline kas1e

Re: Working XBOX Emulator
« Reply #11 on: April 01, 2006, 06:14:30 PM »
evil {bleep}s :) i really believe in this :))
 

Offline huronking

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 301
    • Show only replies by huronking
Re: Working XBOX Emulator
« Reply #12 on: April 01, 2006, 06:28:30 PM »
The dead giveaway is the

"I wont go into techical details yet".

Nobody here would miss an oportunity to go into
technical details about anything,
unless they were full of sh*t. :) :) :)
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Working XBOX Emulator
« Reply #13 on: April 01, 2006, 06:37:23 PM »
I should have removed that sentence, as I did actually give some technical details  :-P

I think most of what I wrote was technically feasible (given a fast enough CPU/GPU/DSP). Feel free to rip my technical description to pieces though :lol:

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Tripitaka

  • Hero Member
  • *****
  • Join Date: Jun 2005
  • Posts: 1307
    • Show only replies by Tripitaka
    • http://acidapple.com
Re: Working XBOX Emulator
« Reply #14 on: April 01, 2006, 08:39:40 PM »
I'll beta test for you with my "Xbox on FPGA chip".   :roflmao:
Falling into a dark and red rage.