I was wondering if there is an way to do this, so that PPC games can work under Linux, and/or Linux games work under PPC? Something like an emulator, might be able to achieve this. I figure this might be an easier way for cross platform development, so that PPC games might work on the future Linux Palm products, and existing Linux handhelds, as well as having an vehicle for PSP Linux.
I know there are problems with speed and such, that neither an natively emulated PPC system software, or native machine code translated, wont completely resolve, but some performance loss is acceptable.
Another thing that comes to mind, is that there is an open-source version of .net, and other related stuff, for Linux. I was wondering how useful that might be for cross platform development between PPC and Linux. if it works, how limited would it be for games?
Thanks
Wayne.
It would depend on the game. Fortunately, most games are pretty lean and don't use as many Windows APIs as other types of applications. aygshell would be used by pretty much all games to hide various Pocket PC components like the taskbar and SIP button, as well as showing the actual SIP. Some games may require enumeration of storage cards, which is another API. Other than that it would be basic Windows creation and messaging for various keyboard and mouse events, file IO, GAPI for direct screen access, and low-level sound routines.
When I say it would depend on the game, that would involve things like does the game use standard file IO (fopen, fwrite, etc), or a Microsoft API (CreateFile, WriteFile, etc). Similarly, if the game is multiplayer does it use standard Berkeley sockets or Microsoft's API.
You could always run into a game that uses MFC to differing extents (Strings, File IO, Sockets, Windows GUI, etc).
Dan East
Thanks for that Dan. Basically, you are saying, that if I avoid the MS specific API's it can easily cross compile. I am still interested in using the code from good PPC development tools on other systems, to break the development bottleneck. If anybody knows and effective emulator for PPC on Linux, Linux on PPC, and how useful is .net (using OpenGL/Direct X 3D) for doing this in 2D, or 3D between them?
When I first read your post I mistakingly thought that you wanted to make existing games that others had developed run under linux. If you are writing the code then making it portable should be fairly easy, and would require a pretty minimal amount of unique code for each platform.
Dan East
But this does not work if the tool, say an authorware product for Linux, or game engine, produces the code non portable, even if I get an source, I would have to go through and change. In essence, something that acted as an virtual engine of the PPC on Linux, that could be shipped with an game, would allow customisation for max performance on PPC and quick port to future Linux Palm, Linux PSP, Linux desktop. The other way about, desktop Linux authorware tools could be used to produce code (preferably source that can be arm compiled) to an Linux virtual environment on PPC. It would not be an full OS, but something that works within the present OS. Pity there is no game authorware with native compilers, for Java, but believe it or not, I did find at least one FPS engine I am yet to check out (I think jmonkey).
I know that you might say that this is going to sacrifice performance, but changing the graphics set for the performance is possibly the solution. Found some neat stuff for the other authorware thread that illustrates my point there, the cube author did an Quake engine game on the older basic Nokia smart phones, and some other games before that, they look pretty good, as their graphics are built to suite the hardware, and the game. Will try to post sometime. In essence, that is what Yeti3D, and cube, was doing, to some extent, an little sacrifice for great performance, and then did the graphic content to suit.
Thanks Dan.