• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

How do I compile this?

Started by rocky, April 01, 2006, 02:08:07 PM

Previous topic - Next topic

rocky

I have changed the supertux files and put my own pictures in it and i am wonder how I compile the source code. I couldnt find any place that says it and I also couldent find any forums so could someone help me. the source code is here

http://supertux.berlios.de/wiki/index.php/Download/Installation

I have made a ds hello world thing before but I forget how I did that.  Do I just do something with the make files?

bitblt

( I assume you mean for DS?)

One method would be to take an existing devkitPro sample project (say complex 2D sample) and use programmers notepad to replace the existing project files with supertux project files.

Then you will need to include the latest SDL port for DS.  Supertux uses the SDL library, so porting it to DS should make things somewhat painless.  Hopefully most of the supertux SDL calls will be supported.

You might need to modify the code some, like with sound in particular.  Browse the header files for compile options, resolution settings, etc.  Don't expect everything to compile perfectly the first time. I'm sure there will be many details to work out before it will compile and run.  The main.cpp file will need to be modified for the DS platform.

Supertux has 13MB of game content so it would need support for FAT drivers.

You might also consider taking the ScummVM project source and try stripping it down to the core engine. Then merge in the supertux project files.

Regardless of your plan of attack it will require some programming skill. Overall I think this would be a fun project with a nice payoff for relatively little effort.



rocky

Yea sorry I actualy ment for windows I guess I should have put that in their somewhere. Thanks anyway.  I am just learning the whole c++ and other programing crap right now so I dont realy know much but I think it would be a awsome if someone could make it for the DS.  It was already made for the psp so I dont know if they have anything in comon or not but if they did maybe someone could copy it eaier using that.