PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Porting Command & Conquer to PocketPC?

I believe it would be possible, considering the game is playable on a 486, and runs in 320x240x256.. Wouldn't even have color problems on the iPaq.

A friend a mine is developing an open source engine for Command & Conquer, and so far, it's coming along quite well.. It's called FreeCNC, and you can check it out @ freecnc.sourceforge.net

It has a Windows port, as well as a Linux port. Does anyone here besides me think this could be ported?
Oh and, if this was ported.. It wouldn't be hard to port over Red Alert, considering the engines are quite similar. In fact, C&C; 95 was based off the Red Alert engine.

The only thing we'd lose in the port, would be the movies.. But with a 512MB CF card, wouldn't even lose that.
I would certainly think a port would be possible. How stable / complete is his engine?

Dan East
This thread makes 0 seanse after the first post. You do all relaize this right?
it makes perfect sense for me.
paul obviously complained about rage posting about cnc. later he modified his post and inserted the last part of dans post so he appears to be smart.
you wanna know what i posted? here it is:

"yeah, okay... do it."

so dan has a go at me then i replied saying "i wasnt attacking him, i dont come in here doing that etc etc" but it messed up when i hit the submit button so in the end i just modified my other post.
We'll just pretend the post never existed in the first place. Hmm, what post?

Dan East
i already tried that, it didnt work, thankyouverymuch mister schwarz.
Well, it appears that it is working well, since this thread is making less and less sense as everyone is trying to explain themselves...
i like muffins.
Do these muffins you speak of involve chocolate?
The engine is developed using SDL. What's that? :) I believe porting would only be viable if C/C++ sources are available.
SDL looks like it's just a library:

Simple DirectMedia Layer is a cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device.


http://www.libsdl.org/download-1.2.html

Source is available.

IMHO Command and Conquer should be a viable project for a PocketPC (if anybody actually wants to get it going).

Cheers,

Refractor.
Dan East wrote:
I would certainly think a port would be possible. How stable / complete is his engine?

Dan East


Sadly, the post it only about half done.. The AI, alot of unit logic, and other code, haven't even been started :\
I think we should wait till the project is more mature. By that time, it would be extremely interesting to port it, IMO.
RaGe,

How can your friend develop "an open source engine for Command & Conquer?"

Does he own the code base to C&C;? If not, he's walking on very thin ice because chances are, Westwood/EA will slap him with a pretty good lawsuit.
no. He built the engine himself, it just so happens that it can read Red Alert data files and interpret them properly, that's all.
Interesting, although still illegal.
No it's not. He's not distributing any data files and he's building it on his own from scratch.
Exactly. Why do you think emulators are legal?
Emulators are not illegal.
That's what I said.
If you're into symmantics, that's what I insinuated.
I thought you said "illegal," I must be going blind.
This is one more reason for someone to port SDL :) Yeah, I know. I should do it myself.

It can't really be that hard; the sound portion of it was already ported by the PocketSCUMM guy (sorry, forgot your name), and the SDL people have some information you can read about doing a win CE port. (found here).

The code almost compiles. The audio doesn't work because WinCE 2.1 doesn't contain semaphore support, and the video doesn't work because there doesn't seem to be a way to set the palette in a DIBSection. I can't test this code, so I'm relying on you all for coding support.


As I said the audio has already been ported, and I would guess (though I may be wrong) that the video thing is possible in WinCE 3.

With SDL ported sucessfuly, porting games such as this C&C; engine, and Exult (Ultima 7 Engine) would be as easy as pie. I could go on and write an essay about why Exult would be really cool to have on the pocketPC, but I won't. :)