Emuforums.com

Go Back   Emuforums.com > Xbox Emulation > Dxbx Official Discussion
Home About Us Register FAQ Members List Calendar Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old April 11th, 2007   #41 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560

Yust back from work... had something to eat so i gonne start to make the simple website update.

not much fancy stuff yust the basic starting code of the cxbx port..

When its uploaded will let you know..
Also made a forum item on my website yust for this project..


www.shadowtj.com :: View Forum - Dxbx - The Cxbx Delphi port


<edit1>

Does annyone know where to find the DirectX 8 SDK ???
pls a direct link to it... so i can try to get cxbx working on visual c++ 2005 express, after the update of website

</edit>

<edit 2>
Ok Annyone who want to help....

I need some more information on my website about how to compile the original cxbx sources with the Free C++ 2005 Express edition..

Something like a Step by Step tutorial...

AnnyOne who is willing to spend some time on making 1 ??
</edit 2>

<edit 3>
As promised... The link to the website update.

Here you can download the code dump 0.0.1
Also placed some background information..

It is not much... but its a start.

before i forget..

Link:
Shadow_tj - 3d and development

</edit 3>


Last edited by shadow_tj; April 11th, 2007 at 19:08. Reason: Automerged Doublepost
shadow_tj is offline   Reply With Quote
Old April 11th, 2007   #42 (permalink)
Survivor
 
S.T.@.R.S's Avatar
 
Join Date: Aug 2006
Location: Raccoon City
Posts: 271
that's it. finally a section for this project at your site. thatnks a lot.
about DirectX 8 SDK, I don't know where to find it but I'll try to ask sb for this. thanks again.
__________________


Northwood Intel P4 2.8 GHZ; 500MB RAM; MSI nVidia GeForce 5500FX
S.T.@.R.S is offline   Reply With Quote
Old April 13th, 2007   #43 (permalink)
Helper Monkey
 
jimmsta's Avatar
 
Join Date: Jul 2003
Location: New Jersey
Posts: 42
Despite the fact that I haven't signed in for over 2 years, I still lurk here, watching for any news on the cxbx front. Good luck with your conversion project - Now that you've brought up Delphi, I think I'm going to learn delphi, as it may offer just what I've been looking for in a computer language...
jimmsta is offline   Reply With Quote
Old April 13th, 2007   #44 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
Welcome to the party then.. if you need more delphi stuff like books lessons and other stuff be free to send a pm.
shadow_tj is offline   Reply With Quote
Old April 13th, 2007   #45 (permalink)
Registered User
 
Join Date: Aug 2002
Posts: 15
You don't need the dx8 sdk, the dx9 sdk you can download from the microsoft site should do fine.

To compile cxbx in vc 2005 express edition:
- download & install the platform sdk from SDK Update - Home . If you select custom installation and deselect some packages, you might miss some libs later on.
- download & install dx sdk
- in visual c++ go to Tools->Options->Projects and Solutions->VC++ Directories
- here, you can add paths VC++ will search for executables, includes, libs, ...
- you need to add "<folder you installed platform sdk to>/include", "<folder you installed platform sdk to>/include/mfc" and "<folder you installed the dx sdk to>/include" to the includes. Make sure the dx include-folder is BELOW the platform sdk-folder.
- add the /lib folders of platform sdk and dx sdk to the libs-list.
- add the following libs to cxbxkrnl (properties->linker->input->Additional dependencies): user32.lib, shell32.lib, gdi32.lib, advapi32.lib
- add the following libs to cxbx: user32.lib, shell32.lib, gdi32.lib, advapi32.lib, comdlg32.lib
- compile & ignore deprecated warnings

Now, cxbe and cxbxkrnl should compile and link correctly. cxbx will compile but not link with an error about _iob being undefined. I don't know a correct solution to this. On the Inet I found the suggestion to define _iob yourself like this: extern "C" { FILE _iob[_NFILE] = {0}; }
Add this to jpeglib.h and cxbx will compile & link too, but I don't know what consequences this hack will have. At least it starts up for me.
The better solution would probably be to replace the jpeglib, which hasn't been updated since 1998...

EDIT: You're right, some dx8 headers are missing from the dx9 sdk. You can get older dx-sdks from ftp://ftp.ncnu.edu.tw/MsDownload/directx

Last edited by Leviathan; April 13th, 2007 at 10:44.
Leviathan is offline   Reply With Quote
Old April 18th, 2007   #46 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
Annyone interested in a new code dump ?
shadow_tj is offline   Reply With Quote
Old April 18th, 2007   #47 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
Codedump....

this one is without cxbx sources.
Attached Files
File Type: rar Dxbx.rar (415.4 KB, 38 views)
shadow_tj is offline   Reply With Quote
Old April 18th, 2007   #48 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 122
so wat exactly is implemented so far?
magiceyes118 is offline   Reply With Quote
Old April 19th, 2007   #49 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
user side:
- Video configuration

Programmer side:
- Started Xbe conversion -> uXbe
- Started EmuExe Conversion -> uEmuExe
- Started Exe Conversion -> uExe

some other stuff also imported.. busy now with filling xbe headers for more information.. for example game title
shadow_tj is offline   Reply With Quote
Old April 19th, 2007   #50 (permalink)
 
shafeen's Avatar
 
Join Date: Aug 2006
Location: india<<hyderabad..it rocks>>
Posts: 2,012
hmm nice to see the development going....... hopes the first screen shots would be released soon.
__________________

shafeen is offline   Reply With Quote
Old April 19th, 2007   #51 (permalink)
Registered User
 
Join Date: Jan 2004
Posts: 122
shadowTj goodluck i hope people support you no matter what at least we will see what other programming languages are like when emulating an system
magiceyes118 is offline   Reply With Quote
Old April 20th, 2007   #52 (permalink)
Registered User
 
Join Date: Jul 2003
Location: London, England
Posts: 131
Good luck. also if the NullDC project asks for help and it gets posted as a news item then why hasn't this been?
chipsugar is offline   Reply With Quote
Old April 22nd, 2007   #53 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
last week i had not much time for programming..

but the header is now implemented and the first part of the certificate, finally got the the port displaying the game names.

Also implemented the first part of the xbe dump to console.
shadow_tj is offline   Reply With Quote
Old April 23rd, 2007   #54 (permalink)
Survivor
 
S.T.@.R.S's Avatar
 
Join Date: Aug 2006
Location: Raccoon City
Posts: 271
WOW! this is great, man.
__________________


Northwood Intel P4 2.8 GHZ; 500MB RAM; MSI nVidia GeForce 5500FX
S.T.@.R.S is offline   Reply With Quote
Old April 26th, 2007   #55 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
however that my c++ knowladge is not that good..
its going wonderfull with the port.


Also the xbe dump is going amezing good..

here are dumps from burnout 3.

xbe.txt is one generated by cxbx.
xbe_dxbx.txt is the one genereated with the dxbx delphi port.


About the amezing part... that the digital signature are exact the same output as cxbx..
So i`m going the right direction
Attached Files
File Type: txt Xbe.txt (17.6 KB, 32 views)
File Type: txt Xbe_DXBX.txt (2.6 KB, 19 views)
shadow_tj is offline   Reply With Quote
Old April 26th, 2007   #56 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
Normally i don`t just dump my sources online :P

but here are the new dumps.. check it out for yourselfs..
in the Bin directory is also a compiled .exe for who yust wanne take a look.


For those who wanne compile the sources..
You need delphi 6 or 7..Jedi components and DirectX9 Headers files from cloothie.
Jedi can be found on sourceforge and look for Jedi JCL and Jedi JVCL.
The Cloothie header files can be found on my website...


For people who does not have delphi 6 or 7... it has been tested by Pcuncho with delphi 2005.. but that is not working with jedi component pack,...
When all is working ok... prehaps in near future i will try also a Lazerus port.. that is a free cross delphi version.. so others with Lunix systems can also work with the port...
If that gonne work... i can not tell yet
First things first... so back to coding


21:41 update
Pcucho is now testing with delphi 2005, i removed the Jedi libraries.. it was used before.. but i forget to remove them..
So hopefully it is working in delphi 2005..
Also now i`m downloading the free version of delphi... its called Turbo delphi... some of the old programmers remember the name Turbo.. because there where in the 90`s the versions of Turbo Pascal.. now there is a free version of delphi called Turbo delphi.
Hopefully it will compile also on this free version.
Attached Files
File Type: rar Dxbx_DUMP_26_4_07.rar (452.4 KB, 29 views)

Last edited by shadow_tj; April 26th, 2007 at 20:44.
shadow_tj is offline   Reply With Quote
Old April 27th, 2007   #57 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
found some free time for coding... and it has also results..
more xbe dumping made possible..
Attached Files
File Type: txt Xbe_DXBX.txt (4.9 KB, 27 views)
shadow_tj is offline   Reply With Quote
Old April 29th, 2007   #58 (permalink)
Veni, vidi, vici!
 
Vlado's Avatar
 
Join Date: Jul 2006
Location: Sera
Posts: 312
How is it going shadow?
__________________
.:E4300@3.2Ghz «-» BFG 8600GTS OC «-» WD External 1000GB HD «-» 2x1GB Umax 800Mhz «-» C-zone - Master 18Mb/s Internet dl/ul Speed:.
Vlado is offline   Reply With Quote
Old April 30th, 2007   #59 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
mmmm its going ... some prv things going on here.. not to good if you look it that way, if you look it to dxbx..
then its going well Pcucho is going to look at the library sections, while i can study the emuexe functions..
shadow_tj is offline   Reply With Quote
Old May 2nd, 2007   #60 (permalink)
Emu author
 
shadow_tj's Avatar
 
Join Date: Jul 2003
Location: Netherlands
Posts: 560
litle free time..

The EmuExe is slow on progress, and litle stuck on library sections.
but we will go on

all the progress is a bit more
shadow_tj is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT. The time now is 11:18.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5