xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
 
Reply to this topicStart new topic
> Dxbx 0.0.0.9 Christmas release
Xbox-Scene
post Dec 26 2008, 05:14 AM
Post #1


Memba Numero Uno
Group Icon

Group: Admin
Posts: 5189
Joined: 17-May 02
From: Yurop
Member No.: 1
Xbox Version: unk
360 version: unknown



Dxbx 0.0.0.9 Christmas release
Posted by XanTium | December 25 23:14 EST | News Category: Xbox
 
From shadowtj.org:
[QUOTE]
Dxbx 0.0.9 [The Cxbx(info) [PC Xbox Emulator] Delphi Port] is out now!
With this special xmas release of Dxbx we want to show anyone who
is still following our progress what has been changed in Dxbx.

Not everyone has the possibility to compile the Dxbx sources from sourceforge, so for your convenience we provide a setup too.

A lot has happened since the 0.0.7 official and the none-official 0.0.8 release. Unlike version 0.0.7, we now provide the necessary DLL files inside the setup. So no more searching for the dll`s on the internet.

DLL`s that are included:
* Cxbxkrnl.dll - this is the original Cxbx DLL
* DxbxKrnl.dll - this is the dxbx delphi ported version of Cxbxkrn.dll

When using the Cxbx.DLL, Dxbx can run up until the movie in Turok
(the main game we're trying to emulate first), but not any further, as controls are not fully implemented yet.

When selecting loading an game's default.xbe file, Dxbx converts it to a windows-native executable; Make sure you save that file in the same folder as where the game's Xbe file was located.
(You could save the exe somewhere else, but this has not been tested.)
Also the DLL`s of Cxbx or Dxbx need to copied to the game folder.

Don't forget : When using Cxbx.DLL, you'll also need to make sure that msvcrtd.dll and cklibver.dll are in your path!

About XDKTracker : A few visual improvements where made and lots of xbox games are added to our collection.

Special thanks to N1ghtjar and Nexxus for making so much xbe dumps!
Thanks to them and others, we now have a significant list of 300+ game
dumps (among other things containing the XDK versions they are linked to).

Xiso has also lots of changes, especially speeding up to extract the Xiso format.
[/QUOTE]

Official Site/Download: shadowtj.org




User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Altima NEO
post Dec 26 2008, 08:14 AM
Post #2


X-S Freak
*****

Group: Members
Posts: 1404
Joined: 7-March 04
Member No.: 105464
Xbox Version: v1.4
360 version: v1 (xenon)



So maybe this is a dumb question, but why is Turok their target game to emulate? You think theyd try something that challenges the hardware (or is at least a good game) like Riddick, Halo 2, or Jet Set Radio.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
obcd
post Dec 26 2008, 11:43 AM
Post #3


X-S Hacker
******

Group: Moderator
Posts: 2737
Joined: 5-April 07
Member No.: 337188
Xbox Version: v1.0
360 version: none



During development of something so complex as a xbox emulator, it is wise to start with something simple. If that works, you can try the more complex games and see if they use features that are not yet implemented or working as expected. Turok was the first commercial game that came to live on the original xbmc emulator. That's probably why they keep working with that game, to see how they progress compared to the original emulator from Caustic.

regards.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
frieko
post Dec 26 2008, 08:17 PM
Post #4


X-S Member
*

Group: Members
Posts: 141
Joined: 25-June 04
Member No.: 127283
Xbox Version: v1.1



Hate to rain on his parade, but in what way does rewriting a pre-alpha C program in Delphi make anything better for anyone?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kungpaomaster
post Dec 26 2008, 11:05 PM
Post #5


X-S Enthusiast


Group: Members
Posts: 25
Joined: 15-August 04
Member No.: 138998



I think that's a good challenge to make an emulator for the 1st gen xbox.

Just a suggestion to aid others when trying to follow/contribute to the work.

How about setting up a VM image that contains everything you need? In this day and age of Virtualization it makes so much more sense to do that than try to explain what hardware works with what and what files need to found where.

I think it would do more good for the process to isolate the hardware requirements using a VM like setup.

Good idea? Bad idea?

-KPM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
obcd
post Dec 27 2008, 11:02 AM
Post #6


X-S Hacker
******

Group: Moderator
Posts: 2737
Joined: 5-April 07
Member No.: 337188
Xbox Version: v1.0
360 version: none



Rewriting the pre-alpha C in delphi might make it interesting for delphi programmers as well.
You need a full understanding of the original sources before you can rewrite them. During those analyse phase, some bugs might be detected and resolved.

A VM uses a basic hardware setup. Although the latest versions support directx, their speed is Slow compared to real hardware accelerated directx.

VM's are just great for a server setup, since you can do the setup hardware independant. In a big company, they might make it possible to create one pc setup for everybody, no matter what pc they have on their desk.

It will still take a while before we have a fully functional xbox 1 emulator for pc.
Every progress should be supported. Maybe in a couple of years we will all have a Pentium 5 10Ghz with 16 cores on our dektop, that will be able to run the emulator at perfect speed.

regards.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
d-range
post Dec 27 2008, 04:37 PM
Post #7


X-S Senior Member
**

Group: Members
Posts: 254
Joined: 23-September 06
Member No.: 301668



QUOTE
Rewriting the pre-alpha C in delphi might make it interesting for delphi programmers as well.


Why on earth would you want to make this interesting to Delphi developers?? I don't think the very few Delphi developers that are still around are particularly skilled in writing emulators, as opposed to boring office space applications dragged and dropped on a TForm and glued together with ugly Basic-esque 'code that gets the work done, no more no less'. Delphi is no more than a dead-end language that has no place in this world anymore, now that we have C#, Java, D, scripting languages like Python etc. Putting that aside, for serious emulation work you pretty much have only 1 option, which is C/C++ (or maybe D nowadays, don't know much about that).

I can speak from experience because I've been working as a Delphi software engineer in the past and as a C/C++ and embedded C developer now, and I can assure you: besides familiarity with the language there's really _no argument_ that justifies using a dead, nowadays mostly unsupported, effectively single-platform (yes I know there were bastard versions somewhat working on Linux at some point), proprietary, largely crippled in many ways, not to mention excruciatingly frustrating for any kind of advanced software development kind-of-environment such as Delphi. Did I just forget mentioning the terrific IDE that crashes at least 6 times on an average work day?

Really, I don't see the point of this, just get skilled in C or C++ and work on the original code because this really is a waste of time, unless you do this for personal pleasure, in which case you can disregard anything I just said.

By the way, I don't think you'd actually need a P5 10Ghz to emulate an Xbox 1. In fact, I guess a puny C2D at 2Ghz with a mid-range GPU would already more than suffice if you can do binary translation on the decrypted excutable, to convert the Xbox-specific hardware interfacing code to native DirectX code, which should be easy compared to emulating something like a PS2.

This post has been edited by d-range: Dec 27 2008, 04:41 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
obcd
post Dec 28 2008, 09:09 AM
Post #8


X-S Hacker
******

Group: Moderator
Posts: 2737
Joined: 5-April 07
Member No.: 337188
Xbox Version: v1.0
360 version: none



Delphi is the only non Microsoft solution that is an alternative for Visual Basic. So, don't call it a dead end language. It uses the Pascal syntax instead of the Basic syntax.

If someone is capable of converting a dll written in C to a dll written in delphi, I assume he understands both languages pretty well.

The only thing important is the fact that the work on the pc xbox emulator is moving on.

It is perfectly possible in Delphi to use API calls. This makes it nearly as powerfull as the other languages.

Considering the speed, you should keep in mind that the xbox is running the game application only, while your pc has a large amount of other processes running in the background consuming cpu time.

regards.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
mik30
post Dec 28 2008, 06:18 PM
Post #9


X-S Member
*

Group: Members
Posts: 78
Joined: 19-March 06
Member No.: 276115



QUOTE(obcd @ Dec 28 2008, 10:45 AM) *

Considering the speed, you should keep in mind that the xbox is running the game application only, while your pc has a large amount of other processes running in the background consuming cpu time.


That is commonly spreaded but unreflected bullshit.
I advice you to open a CPU monitor or if you do not own such
a piece of software the taskmanager and click the CPU-Time column
to sort the processes according to their consumed CPU-Time.
Then even the dumbest mind will recognize that 99% of the
available CPU time on a Common XP system is consumed
by the IDLE-Process but not the operating system.

BTW:

A regular 3 GHz P4 CPU with a Gforce 8600 GFX Card
is *by far* much faster than the XBOX hardware & Kernel
if the XBE file would be crosslinked rather than interpreted or
even crosscompiled. Since the XBOX-CPU is a simple
Celeron Type and the XBOX Hardware is fully encapsulated
with API calls that should perfectly be possible.
Regarding that the genuine XDK uses a C++ compiler it
makes no sense at all to do this job with delphi or any other
even more uncommon high level language.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
d-range
post Dec 28 2008, 11:50 PM
Post #10


X-S Senior Member
**

Group: Members
Posts: 254
Joined: 23-September 06
Member No.: 301668



QUOTE(obcd @ Dec 28 2008, 09:45 AM) *

Delphi is the only non Microsoft solution that is an alternative for Visual Basic. So, don't call it a dead end language. It uses the Pascal syntax instead of the Basic syntax.


Why is it the only non-Microsoft solution if you can also use C/C++? Aside from that, almost nobody has access to a Delphi environment, so using Delphi you will shut out a lot of potential devs. As for the dead-end language: I don't think Borland is actively working on keeping Delphi up to date anymore, in fact, when I was still developing with it (Delphi 2005) the compiler was still the same as the one from Delphi 5. It *is* a dead-end language that will fade away, there's no particular niche for new development using it anymore. Supporting existing codebases and providing new controls for the Delphi-shops that are still in business is about the only market left for it.

QUOTE
If someone is capable of converting a dll written in C to a dll written in delphi, I assume he understands both languages pretty well.


Probably but not necessarily. But I'm not sure why you should first have to port the code before understanding it.

QUOTE
The only thing important is the fact that the work on the pc xbox emulator is moving on.


True, but my personal view would be that more could be achieved working on the original code, or at least porting it to C++ or another 'open' language that is still used by so many other developers.

QUOTE
It is perfectly possible in Delphi to use API calls. This makes it nearly as powerfull as the other languages.


Oh don't get me wrong, you can do almost anything in Delphi. Some stuff won't come out pretty, but it's as powerful as C++, Java, C# or whatnot. However, that doesn't make it the most obvious choice for writing emulators or sharing the code so other people can work on it.

QUOTE
Considering the speed, you should keep in mind that the xbox is running the game application only, while your pc has a large amount of other processes running in the background consuming cpu time.


Seeing that the Xbox has a 733 Mhz Celeron CPU with a less-than-Geforce 3 GPU, I think you can safely assume a modern PC will more than compensate for the difference ;-)

This post has been edited by d-range: Dec 28 2008, 11:53 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
obcd
post Dec 29 2008, 10:19 AM
Post #11


X-S Hacker
******

Group: Moderator
Posts: 2737
Joined: 5-April 07
Member No.: 337188
Xbox Version: v1.0
360 version: none



It's pretty normal all cpu time goes to the idle process when you look at the taskmanager since the pc is doing nothing. Windows is an event driven operating system. I can assure you that you will need cpu time if you won't to emulate a xbox screen at a rate 50 frames/seconds. If you need to emulate the xbox sound system, that will cost time as well.

If I take dosbox as an example. I have a dos program that runs perfectly on a 486DX4 100MHZ in true dos mode. If I run it on the emulator, some things simply aren't emulated full speed on a P4 1.8Ghz.

Take the microsoft pocket pc emulator they use for windows CE development. It simply runs much slower than a real device with a 300MHZ ARM risc processor. I know arm processors are supposed to run faster because they have a Risc architecture, but still, we are talking about 300MHz which is 10 times slower that what our modern desktop is giving us.

Even a rather simple thing like emulating sound blaster audio with vdmsound in a dos window eats cpu time.

If the xbox d3d api calls could easily be translated to the pc directx interface, I agree that things might possibly work full speed.

I am no fan of delphi either, but if someone feels himself better in that development environment, and he books results in the same amount of man hours as someone else would do in another environment, I see no reason why he should be forced to use another development environment, unless the work is done by a group.

If the fixes and improvements made to the emulator are well documented, they can easily be ported back to the original C and C++ code, if that would run any faster or more stable.

It's easy to criticise somebody's work. It is a lot harder to add a usefull contribution to it.

regards.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
malkalm
post Dec 30 2008, 12:54 AM
Post #12


X-S Enthusiast


Group: Members
Posts: 20
Joined: 18-February 05
Member No.: 199673



does this run any homebrew software like xbmc, i like it better then the windows/linux version
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
obcd
post Dec 30 2008, 08:57 AM
Post #13


X-S Hacker
******

Group: Moderator
Posts: 2737
Joined: 5-April 07
Member No.: 337188
Xbox Version: v1.0
360 version: none



It won't run Xbmc for the moment. They haven't reached that stage yet.

regards.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
moltres
post May 11 2010, 05:48 PM
Post #14


X-S Enthusiast


Group: Members
Posts: 10
Joined: 29-December 08
Member No.: 400811



where i can get the cklibver.dll file?

This post has been edited by moltres: May 11 2010, 05:49 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 24th May 2013 - 05:33 AM