gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > simcity org dos code released. porting to DS?

#171186 - dtp30 - Thu Nov 05, 2009 4:17 am

hello all,
I have noticed that the original simcity classic for dos code has been released. do you think it would be possible to port to ds? are there any guides on how to do it? i havejava experance. but no arm or asm code stuff. can people like me do it? were would i start?
thanks, Tim.

#171193 - wintermute - Thu Nov 05, 2009 2:14 pm

Given that micropolis is tcl/tk based porting it to DS would be a seriously major effort and not for the faint of heart. It would probably amount to a complete rewrite.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#171199 - keldon - Fri Nov 06, 2009 12:01 am

MicropolisCore uses C++/Python.

#171317 - dtp30 - Fri Nov 13, 2009 12:49 pm

So i guess thats a no go then? I had herd it had been ported to Linux.. so i was hoping that was a good sign! Guess not.

Bummer.

#171818 - keldon - Sat Dec 26, 2009 5:03 pm

dtp30 wrote:
So i guess thats a no go then? I had herd it had been ported to Linux.. so i was hoping that was a good sign! Guess not.

Bummer.


Not necessarily since it uses C++/Python now instead of tcl/tk so there's a chance it could be done.

#171843 - dtp30 - Tue Dec 29, 2009 1:00 pm

I Hope so! :-) How possible do you think?

#171844 - SteveH - Tue Dec 29, 2009 1:43 pm

dtp30 wrote:
hello all,
I have noticed that the original simcity classic for dos code has been released. do you think it would be possible to port to ds? are there any guides on how to do it? i havejava experance. but no arm or asm code stuff. can people like me do it? were would i start?
thanks, Tim.


It's not the DOS version that's been donated, it's the X11 port of the Mac port of the DOS port of the original C64 version... But the source code has been released :)

keldon wrote:
MicropolisCore uses C++/Python.


C++ and Python, and GTK, and SWIG, Pycairo, AND TCL/TK...

To actually port this to the DS you would have to start with the cleanest source code you can find, the "original" tcl/tk version and strip out the interface code and rewrite that bit. Only problem there is that from my initial look at the tcl/tk C source is that there's a lot of intergration, and from reading the posts on the site it took the OLPC guys 2 years to convert it from tcl.tk to Python/SWIG/C++ and provide the build environments for Windows. If you want this ported to the DS, you will have to plan for a long term project and not an overnight patch job.

Oh and if you do manage to port the game, put the plane crash back in, it was removed because of the 9/11 disaster...

#171886 - keldon - Thu Dec 31, 2009 2:29 pm

Why not port from the C++ / Python code? If the underlying engine is self contained then wouldn't it be best to start from there?

I'm not that interested in this, just asking for the sake of others who may want to pick this up.