Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / [LOCKED] PS2 and wait for it........... DB!

Author
Message
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 12th Mar 2004 18:45
This is probaly the 1000th thread on this topic but if a ps2 uses DVD-ROM's (on some games) why not

work out the conversion from C++ to the ps2 (.psx?)
then work out conversion from DB to C++
and your laughing arent you.


Rich

Resist the power of the ring...
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 12th Mar 2004 19:06
Omg, first you say some odd idea, then you pretend to be rich O_O you monster!

Quote: "and your laughing arent you."

Yeah, at you

Seriously though, its not as simple as you would think

Always have, never will =)
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 12th Mar 2004 19:22 Edited at: 12th Mar 2004 19:23
Quote: "work out the conversion from C++ to the ps2 (.psx?)
then work out conversion from DB to C++
and your laughing arent you."


Are you serious ?! - I'm presuming your post was intended to be humerous, but for those that actually think this is possible-

The 3 elements you listed are not the same anyway:

DarkBASIC is a development system.
C++ is a programming language.
PS2 is a games console.

There are a 1000 and one reasons why DB -> PS2 will never, ever, not in a million years, ever happen. Not least of which is that you need a license from Sony, a PS2 software development kit costing thousands, and than PS2 games are protected by an anti-piracy system which requires discs created in a suitable factory using appropriate equipment.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Andy Igoe
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 12th Mar 2004 21:54
You need a PS2 blue box, then you need to get DX working on a PS2, then you need to use the DB .dll's from within C++ and THEN you are laughing ELSE laughing at the thought of it.


God created the world in 7 days, but we're still waiting for the patch.
MiR
21
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 12th Mar 2004 22:50
Wouldn´t it be posible using the Linux thingy that the ps2 has. All you´d have to do then is hack into DB, convert it into an open gl version and find some way of installing it on the ps2´s hard drive.

Libera tu mente y te liberaras a ti.
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 12th Mar 2004 22:56
DB cant work on OGL
DrakeX
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 12th Mar 2004 23:16
"All you´d have to do then is hack into DB, convert it into an open gl version"

people don't understand things. i've come to that conclusion

OK, i was a bit conservative with my release date. predicted DBP P6 release date: Bjork 45, 3418

cookies, milk, and communism.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 12th Mar 2004 23:58 Edited at: 12th Mar 2004 23:59
Quote: "Wouldn´t it be posible using the Linux thingy that the ps2 has. All you´d have to do then is hack into DB, convert it into an open gl version and find some way of installing it on the ps2´s hard drive."


Oh boy, some people never give up. It is not going to happen

- PS2 probably uses a different processor type to PCs, ergo DBPro's machine code wouldn't work even under WINE.
- It would take Lee a year and 50,000+ lines of code to convert DarkBASIC from DX to OGL, trying to do it by "hacking" would be impossible.
- Linux on PS2 isn't as easy as 1-2-3, ask anyone who has attempted Linux on XBOX (without voiding their warranty).

I imagine an advanced user *might* be able to get an extremely basic (non-3D) DBPro app working - but that relies on a few unknowns.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Elleomea
21
Years of Service
User Offline
Joined: 2nd Aug 2003
Location: England
Posted: 13th Mar 2004 00:08
Mmm, Rob, I think he was being sarcastic

Plus:
Quote: "- Linux on PS2 isn't as easy as 1-2-3, ask anyone who has attempted Linux on XBOX (without voiding their warranty)."


Totally different story between XBox and PS2. Microsoft (naturally) are against people using Linux on the XBox. Sony sell a PS2 Linux kit themselves.

How much ham could a hamster stir, if a hamster could stir ham?
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 13th Mar 2004 00:41
Converting from DirectX to OpenGL requires rewriting the whole program. It's not as simple as just setting a flag that tells it to use OpenGL instead. lol.


"Computers are useless they can only give you answers."
james1980
22
Years of Service
User Offline
Joined: 18th Sep 2002
Location:
Posted: 13th Mar 2004 01:49
their linux kit is a low budget dev kit for $300 bucks
and comes with a c++ complier or can use another of your choice
and it turns your ps2 into a computer i got quake 2 running off windows 98 after a few system tweaks so its possible.
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 13th Mar 2004 05:26
Quote: " So maybe somebody could make a chip like that so it would work with DBC, DBP."

Similar chips already in existance: Athlon processor / Pentium.
Unfortunatly, those aren't for PS2.

Can I see a demo now?
DARKGuy
20
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 13th Mar 2004 06:55
hmmmmmmm if DB was developed on C++ (I think) then it can't be possible to translate DB to C++?? also, ALL and I repeat, ALL the console games MUST BE programmed on a PC first (even the good-old PSOne!), so when the DB code is translated to C++...it can't be then converted to PS2 language (or maybe XBox)??

Current Projects: F-16 Gold Wings
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 13th Mar 2004 09:11
'Rich'
Thats my name!!!
I have a way you could do it its brilliant. Look at this



Resist the power of the ring...
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 13th Mar 2004 10:41
On a similar note, I have invented an exoskeleton for a pig with retractable wings and jet engine based propulsion. Look! A flying pig!

I think my point is made.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home
Elleomea
21
Years of Service
User Offline
Joined: 2nd Aug 2003
Location: England
Posted: 13th Mar 2004 12:33 Edited at: 13th Mar 2004 12:34
Quote: "hmmmmmmm if DB was developed on C++ (I think) then it can't be possible to translate DB to C++?? also, ALL and I repeat, ALL the console games MUST BE programmed on a PC first (even the good-old PSOne!), so when the DB code is translated to C++...it can't be then converted to PS2 language (or maybe XBox)??
"


It's not a matter of the language used when it comes to C++. It's the libraries. DarkBasic makes use of the DirectX libraries for the majority of its functions. DirectX is not available for any operating system besides Microsoft Windows.
Converting something from DarkBasic to C++ would itself be a very difficult task, it would practically be the equivelent amount of work to completely rewritting DarkBasic.
Cross platform programming is possible with C++, but only if you use libraries which are available on many different platforms, such as SDL and OpenGL.
Chances are PS2 games are written in C++ using OpenGL and some proprietary libraries from Sony. Same with the XBox only using a modified version of DirectX instead of OpenGL.

How much ham could a hamster stir, if a hamster could stir ham?
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 13th Mar 2004 16:59
Quote: "and it turns your ps2 into a computer i got quake 2 running off windows 98 after a few system tweaks so its possible."


Quake 2 is written in OpenGL, and isn't too platform specific by design. Its engine tech is pretty simple by modern standards as well. This means that Q2 is well over half-way there.

DBPro is heavily reliant on DirectX and uses almost every DX9 feature under the sun - a totally different battle.

People have successfully managed to get DBPro 2D apps working under Linux using WINEX, but if you can't get 3D working, it rather defeats the point of the exercise.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
flibX0r
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 13th Mar 2004 17:12
To back up Rob K and philip and all them other people who aaren't being stupid:

YOU CAN'T F***ING DO A PS2 EMULATOR WITH DBPRO. GET IT THROUGH YOUR THICK SKULLS

I don't mean to start a flame war, but some of you people are trying to do things that areb't possible and making up ways to do it that aren't possible.

Current Project: Interactive DBPro Showcase Example
Project Status: Game COde Structure Done
http://www.w3th.tk <-- Soon to have some content
Powersoft
21
Years of Service
User Offline
Joined: 1st Aug 2003
Location: United Kingdom
Posted: 13th Mar 2004 19:08
sorry were obviously not all as intelligent as you are then!

My avatar's cool. It has a mirror
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 13th Mar 2004 20:12
There needs to be a rule about these kinds of posts.
This is not a response to get into this silly topic, this is just a response to shut-up some stupid an ignorant people.

1. Emulator Development in DarkBASIC Professional. This is possible in one of two ways; either utilising IanM's ASM Plugin, which although not as fully functional as NASM/MASM/TASM it is still extremely useful and has the features you require to encode an emulation layer. The second is by accessing the ASM pointers directly via DarkBASIC Professional's pointer system. Although this is much more dangerous and requires you to know the address points for the registers it does also give you full access to the system.
In both methods you will be simply converting TX79 RISC Motorola (in the case of the Playstation2) to x86 Intel calls.
This is harder than it sounds as first you must do a runtime byte-flip operation as all of your values are backwards.
You would then have to encode a wrapper for the Graphics/Sound/Input calls given to the system and place them into a format which DBP can use and run.

Doing such a task within DarkBASIC Professional, is not impossible. Simply very difficult, very complex and it will not have the speed which pure ASM/C based Emulators have. (none of which that i know are particularly impressively fast)

2. Anyone who has ever developed for the X-Box or Playstation/Playstation2 will know that these consoles SDKs come with thier own versions of DirectX.
X-Box with Microsoft DirectX 8.1 and the Playstation2 with Sony DirectX 8.2... Both of which are specially recompiled runtimes to work with that systems Operating System.
Although you could not convert a Win32 -> SCE, you could easily (infact the SDK has the tool to do it) convert Win32 -> XBE.
Your games would need to be recoded specifically to access the Controllers, however apart from that it would port without much hassle.
The Game Creators are already aware of this being possible as there are a number of professional software houses currently using DarkBASIC Professional for prototyping in for thier X-Box games.
(Prototyping DOES NOT mean using it to create the game, simply as a pre-built engine test for features and such.)

3. Codewarrior C/C++ 6.0/7.0 for Playstation2 by Metrowerks

Sorry but the attitude of some so called 'respected' programmers here is appauling. Although i admit these sort of posts can be annoying, the reaction from these more seasoned users is bringing the entire tone of the forum down.

I'm sure your mothers have told you, "if you can't say anything nice, then don't say anything at all."
It is about bloody time some of you actually started to do that, particularly the so-called moderator in this post.


Athlon64 FX-51 | 1.5Gb DDR2 PC3400 | GeForce FX 5900 Ultra 56.60 | DirectX9.1 SDK | Audigy2 | Windows XP 64-Bit
Saikoro
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location: California
Posted: 13th Mar 2004 20:16
Oooooo... Ravens got a point. Give confidence, everyone, confidence!

-Vash the Stampede

"This world is LOVE and PEACE!" -Vash the Stampede

OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 13th Mar 2004 20:50
I'm going to start lock any posts that suggest a DB program should/could/would be converted to another OS or games console, starting from this one.

Its not going to converted to another OS. You will be lucky getting it running under emulation, and will not be supported if you do.


The place for all great plug-ins.
XP3000+,1Gb RAM,FX5600,1Mb ADSL,Router,.Net 2003 Pro & me
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 13th Mar 2004 20:51
Yes, But if Raven has to explain it then it must be complicated. (which it seems to be)


Login to post a reply

Server time is: 2024-11-24 21:37:27
Your offset time is: 2024-11-24 21:37:27