Help - Search - Members - Calendar
Full Version: Openxdk With Dev-c++
Scenyx Entertainment Community > Xbox1 Forums > Software Forums > Development
Olipro
I have downloaded the OpenXDK set and have subsequently managed to get it to compile things (and link them) using the tools provided with Dev-C++.

when it compiles, it throws no errors, as I have followed the instrustions on the OpenXDK website, I ironed out the "typedef int bool" problem, made sure all the command-line args were good, and successfully assembled the proverbial test program;
CODE

#include <openxdk/openxdk.h>
void XBoxStartup()
{
   HalReturnToFirmware(ReturnFirmwareFatal);
}


yet, when i use CXBX (note, CXBX, not CXBE since I don't have cygwin) and it generates me the XBE, when I actually run it on the Xbox (NKPatcher, UXE) it does absolutely sod all, thus making me wonder whether the problem lies with Dev-C++ or with CXBX.

I do not know what sort of information I need to provide regarding the use of Dev-C++ so whatever it is that is required, i.e. the makefile or how I set it up etc, please ask and I hope the information I provide will make it possible for someone to help me.

I should also point out that I am getting it to compile as C code with gcc and not g++.
The Terrible Two
feel free to email me the .exe at th0mas.si_nospam_xbit.org@gmail.com, lacking the _nospam_ of course

I'll test it on my setup I know to work, and let you know what happens.
Carcharius
I've not attempted to use cxbx to create the xbe myself.

But I do believe that edwardaux made some changes to cxbe in order to get things to work. I'm not sure that cxbx includes those changes.

You'll also need to make sure that Dev-CPP isn't trying to link to any of the standard mingw libraries.

When you installed OpenXDK did you download the 0.06 binary release or did you download and rebuild the latest source from cvs?

Carcharius
edwardaux
Indeed, I did make some changes to cxbe to get it to work with gcc compiled binaries.

Looking at the latest CXBX CVS sources, I see that Caustik has integrated it into the right file (XBE.cpp)... however, I don't know enough about the way CXBX works to say whether my code changes actually get executed when you get CXBX to convert your XBEs (in fact, I didn't even know that CXBX could do that - I always thought its role was to convert XBEs to EXEs). Oh well...

--
Edwardaux
Olipro
ok, I'll mail the executable through to you for testing, much appreciated.
The Terrible Two
it reboots and gives me an error 21, like it should (right? ReturnFirmwareFatal is supposed to do that?)

anyways, I emailed you back the XBE to test out, see if it works on your xbox.

Olipro
well, since I can't edit posts in this forum;

It's sent. short and sweet.
Olipro
yup, thanks for that, that was precisely the desired effect.

now, what setup do you have for converting executables to XBE's, since it's less than practical to be mailing them off to some kind soul every time I need something converted for Xbox.
Olipro
all sorted now, grabbed myself cygwin1.dll out of an FTP mirror and now I can get cxbe working fine
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.