xboxscene.org forums

Author Topic: Problems With DivX Player & Other Homebrew Dev.  (Read 148 times)

jubilex

  • Archived User
  • Jr. Member
  • *
  • Posts: 51
Problems With DivX Player & Other Homebrew Dev.
« on: May 31, 2002, 01:09:00 PM »

Interesting. Not knowing anything about Xbox coding, I wouldn't think that would be a problem -- wouldn't it be up to the software to allow or disallow disk swapping?  How do the games work that let you use your own mp3s or audio tracks, don't they let you put in an audio or mp3 cd? (I don't have a 'Box yet, so excuse my ignorance).

The Xbox gameshark (not sure if it's out yet, but I know it's on the way) will certainly allow disk swapping, so I guess if nothing else someone just needs to take a peek at their code.
Logged

Tor Landeel

  • Archived User
  • Newbie
  • *
  • Posts: 6
Problems With DivX Player & Other Homebrew Dev.
« Reply #1 on: May 31, 2002, 06:37:00 PM »

I hope this will be possible, but frankly I doubt it.. sad.gif
It should be something driven by hardware, and not by software, I hope to be wrong!
Logged

Samsinite

  • Archived User
  • Newbie
  • *
  • Posts: 14
Problems With DivX Player & Other Homebrew Dev.
« Reply #2 on: June 01, 2002, 01:41:00 AM »

Isn't divx compression is its own format.  As long as you have a mod chip and software on the HD to read the Divx movie you should be able to play it. I dont see why it would need to be in a different format.  For example, mp3's will play on windows & linux. Besides emulators can be created.
Logged

Satan00

  • Archived User
  • Sr. Member
  • *
  • Posts: 441
Problems With DivX Player & Other Homebrew Dev.
« Reply #3 on: June 01, 2002, 09:08:00 AM »

dont you have to include the avi file with the divx player?
or maybe the divx player installs itself to the harddrive and you have an option of loading it in the bios?
Logged

krawhitham

  • Archived User
  • Full Member
  • *
  • Posts: 212
Problems With DivX Player & Other Homebrew Dev.
« Reply #4 on: June 01, 2002, 11:00:00 AM »

all the programmer has to do is send a disc eject signal to the xbox,   Like in windows when you are in my computer you can right click the drive and press eject.  the disc is ejected and no button on the drive had to be pushed.


You could have a menu press A to open disc tray,  press X to close disc tray. the problem of the pic chip resetting the xbox when the eject button is hit is fixed because you never have to touch a real cd eject button.

Logged

Squirelly

  • Archived User
  • Newbie
  • *
  • Posts: 4
Problems With DivX Player & Other Homebrew Dev.
« Reply #5 on: June 03, 2002, 04:59:00 AM »

I think its a bit trickier than sending an eject signal to the drive, I've tried sending it the standard atapi command for eject disk, and it ignores it.

However it must be possible to tell the box not to reset when the eject button is pressed, because the dashboard does it. When you press eject whilst dashboard is running the console doesn't reset, it must detect the disks itself, and then decide what to do with it depending on the type of disk you insert.

I want to get hold of xboxdash.xbe and dissasemble it to work out what the hell it is doing, but I really don't wanna have to swap trick my HD to get at it. Has anyone got a better/more reliable way of getting at the HD data??

Logged

Satan00

  • Archived User
  • Sr. Member
  • *
  • Posts: 441
Problems With DivX Player & Other Homebrew Dev.
« Reply #6 on: June 03, 2002, 05:10:00 AM »

uh
enigmah announced that they're making their software be copied to the harddrive and you can run off the bios
Logged

pmow

  • Archived User
  • Full Member
  • *
  • Posts: 150
Problems With DivX Player & Other Homebrew Dev.
« Reply #7 on: June 03, 2002, 11:40:00 AM »

So the reset signal is HARDWARE?  Since we're essentially replaced the bios of the xbox with these modchips, wouldn't the "software" in the "hardware" be able to include NOT resetting when the drive is opened?  

I think this can easily be done, as LONG AS the DVD drive itself reads CDs, which it does.  It should be a firmware upgrade in a future release of the modchip bios.  

If the bios is different (the elemental part of the computer) then loading and hard drive installations would be easy.  We could have same as PC OSs, upgrading thru CD images, since we already have bios support.  Once the bios supports loading a different xboxdash.xbe, for example, couldn't some crafty programmers simply make a cute little menu screen?  This would need to be standardized for both chips, or a version of adding menu options would be made for each.
 For example, to add the divx player to the hard drive, we would need to access the program.  The easiest way, to forget f***ing around with opening CD drives, etc., is to install on the HD.  This would only need an install program (again, with a new modchip bios this could be possible) available on CD, and then a menu option could be added.  To play a divx movie on a CD, there would be the "divx program" with browser to see what avis are on the CD.  Just a thought =)
Logged

Squirelly

  • Archived User
  • Newbie
  • *
  • Posts: 4
Problems With DivX Player & Other Homebrew Dev.
« Reply #8 on: June 03, 2002, 03:06:00 PM »

I believe this can be done purely in software. I have found some very interesting exported functions in xboxkrnl.lib, but I can't get VC to link to them. Just get 'unresolved external' linker error, even though I know the function is there.

Is anyone on here a real good VC programmer who could possibly help me out???

Logged

pmow

  • Archived User
  • Full Member
  • *
  • Posts: 150
Problems With DivX Player & Other Homebrew Dev.
« Reply #9 on: June 03, 2002, 11:28:00 PM »

Quote (Squirelly @ Jun 3 2002, 09:06 PM)
I believe this can be done purely in software. I have found some very interesting exported functions in xboxkrnl.lib, but I can't get VC to link to them. Just get 'unresolved external' linker error, even though I know the function is there.

Is anyone on here a real good VC programmer who could possibly help me out???

                   Would this be starting with the bios?
Logged

Squirelly

  • Archived User
  • Newbie
  • *
  • Posts: 4
Problems With DivX Player & Other Homebrew Dev.
« Reply #10 on: June 04, 2002, 01:04:00 PM »

Managed to get them to work now, I wasn't declaring using an "extern 'c'" round them (doh!).

As for what the functions are, there are loads for talking to things like the SMBus, USB ports etc. I have got a few to work (the ones that don't require parameters) that do things like reboot the box, and turn back on the secure eject system on the drive.

Unfortunately I haven't found the one yet that turns off the secure eject system on the drive, i guess you have to post some values on the SMBus, but I havent worked out what, and what the parameters are yet.

I'm starting to disassemble xboxdash, to try and work it out because it must do it, but its hard work without a disassembler that can handle xbe's. smile.gif

Logged

pmow

  • Archived User
  • Full Member
  • *
  • Posts: 150
Problems With DivX Player & Other Homebrew Dev.
« Reply #11 on: June 06, 2002, 01:20:00 PM »

Squirelly: is there some kind of universal forum for xbox dev stuff?  I mean, there's gotta be the Enigmah camp, freelance people doing stuff, and all.  Is there a universal website for what you're doing with hardware/software issues, or is it just a hodgepodge of crap?  I'm sorry if I'm completely ignorant, I just don't know anything about programming.  I just thought usually, (you know, linux, usb projects, etc) that this kind of stuff is open source or sharing knowledge kind of stuff.  Isn't the scene like this?
Logged