Alpha XDK Xbox 360

Discussion in 'Xbox 360 Development' started by Dandu, Dec 21, 2014.

  1. CodeAsm

    CodeAsm Site Supporter 20??

    Joined:
    Dec 22, 2010
    Messages:
    1,385
    Likes Received:
    56
    Got:
    Code:
    FATX: found unrecognized signature
    PS: PsLoadImage: 'xbdm.dll' failed to load (C000014F)
    INIT: Debug monitor failed to start (C000014F)
    FATX: found unrecognized signature
    PS: PsLoadImage: 'default.exe' failed to load (C000014F)
    INIT: Default executable failed to start (C000014F)
    
    aswell after creating a disk aswell. Its a older thread but I think some people still might be intrested.

    ive made the disk usings CDIMAGE (and the original one apears to be made with XDiscImage) but that apears not to be realy important.
    you can get cdimage ( 2.47?) by a bit of searching... could share it, but hey, this isnt for the noobs yet.

    used this command:
    Code:
    cdimage -lfussy "D:\Some\Folder\Structure\imagecontents" thedisk.img -u2
    Also, to do kerneldebugging, I had to run that command as administrator, then start the giano project. else I would get that failed pipe file story. (hint, I made a batch file for the kddebug)
    Maybe ill try more, but time and other projects.
     
    Last edited: Mar 9, 2016
    Lehvak likes this.
  2. karcsi89

    karcsi89 Member

    Joined:
    Feb 28, 2013
    Messages:
    5
    Likes Received:
    0
    Found out about Giano yesterday....Pretty cool understanding how it works peeking and poking at it.

    I myself was interested once i found the .img file and opened it in 7zip to find some files there wondering if I can edit them..
    Upon further examination thanks to Notepad, I saw that the file was created with Xdisk which I could not find any documentation on last night. It also had some information regarding the ISO type and UDF Files System..So I got to thinking in my old Xbox ways and wondered if FatXplorer would be able to open them up... Then I remembered a program called Qwix created Xbox ISO format and attempted to open the file but t did not work. Going through the tools on xbox-scene I found C-Xbox Tool 2.0.6 A nifty tool similar to Qwix. I extracted the files with 7zip and was able to load them into a folder to be created with C-Xbox Tool. The only problem was it was looking for a default.xbe which was not in the folder...so what did I do? grabbed an .xbe file from a game and popped it in the folder and created the iso =]

    Now after the success of creating the XISO I was curious to see if it would even work...Renamed the iso to zecdrom.img as an iso file in the G5 Directory. Being all excited with the command prompt open I run "giano -platform Alphakit.plx"..........wait for it....

    BAM! Default.exe loads with no issues. Successfully imported a file to the img!
    So...Now what!!??........

    Since this is the second day, I am looking into the framework a little more. I'm curious as to how far this can go. Maybe i'll read through all of the documentation on Giano. I also am curious what the .exe's were compiled with to see if we can get custom compiled exes to run.

    Not knowing what test.exe did in the same folder had me a bit curious. Maybe there are other commands to get it to run? When you run the Demo file it states the "Xbox" option runs test"s".. I left it running for some time but was unsure if it would cycle to the next test if there is one? which it does not. Another thing i noticed was when an exe is executed there is some type of address listed next to it

    "giano: Loaded xboxkrnl.exe @80010000..80a10800" <--wondering what this means.

    I duplicated test.exe and renamed it to default.exe re-created the image and loaded it up. Heres what I got.
    Everything seems to load fine. the xboxkrnl.exe is seen loading fine until it reaches "giano: PPC Cpu1::!RESET"

    Normally it would load default.exe within about 4 seconds or so after seeing the above command. This is where I am confused..does the test.exe even do anything relative to the virtual screen? I figured okay lets go even deeper with this and try something that may not give any results either... hoping for some garbald image. What could I test on this framework for a Xenon Alpha? How about an alpha build of a Xenon game! lol

    I obtained an early build of Condemned criminal origins here on the forums which has an exe as the executable instead of a XeX... Why not give it a try?

    I applied the Condemned build in the main directory of the image and renamed to default.exe...Attempted to run that and I get the same output as the test.exe.. after the CPU RESET command the console window just idles after that.

    If anyone has any further information or was working on getting other applications to load but was stuck at this IMG process I wanted to share my experience. I hope other people find interest in this now that the info is here on how to edit the .img file. I will post any other information or progress I come across and hope you do as well! =]

    Here is an output of the custom image loading normally with other files in place. (no usable files anyway)


    F:\Program Files\Microsoft Research\Microsoft Giano\bin>giano -Platform Alphakit
    .plx
    [0] Warning(1): Failed to open VirtualPC Network driver - not installed?
    giano: OpenPacketDriver: no NIC.
    [0] Warning(2): Pro100: No packet driver. This will not work.
    Configuration Alpha loaded ok.
    giano: Cpu1: f=20.3833
    giano: Cpu0: f=20.3833
    Simulation Alpha is running...
    1394 pipe is \\.\pipe\1394KDPipe
    giano: Loaded xboxkrnl.exe @80010000..80a10800
    giano: [Starting processor 1]
    giano: PPC Cpu1::!RESET.​
     
  3. fate6

    fate6 Haha, I killed a Pumpkin!

    Joined:
    May 16, 2013
    Messages:
    525
    Likes Received:
    136
    it's telling you where in memory the kernel is being loaded is what that address means.
     
  4. CodeAsm

    CodeAsm Site Supporter 20??

    Joined:
    Dec 22, 2010
    Messages:
    1,385
    Likes Received:
    56
    Not sure, but I dont think the kernel actualy loaded any of your files. But if it did, the framebuffer seems to be very basic, we probably not going to run any fancy graphics here, not even static 2d with MS libraries I think.

    This was probably just a test, maybe a quick run to try porting the kernel to powerpc, they probably went to real hardware after this with real videocards (based on my own thoughts, no sources)
    what Fate6 said, and try getting a kernel debugger on your running instance ;)
    I think http://xenia.jp/ is a better way to go for the most of us. It surpriced me that Giano came with actual xbox360 code, and whatever it is, we could play with it, maybe someone can make it run on early hardware or some simple executables run in giano (if we realy understand how to make a vallid image, cause even if I made an exact copy with my tools, the kernel exits.) The Fatx drive seems promising, but still hard to gues what it expects...

    Do note, I did not yet fully dissasemble any code. I did once for a quick peek, but havent looked at any code for fatx drive checking or what the kernel expects from a executable. (also, other projects are cool )
     

Share This Page