Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  porting a sdl game
« previous next »
  • Print
Pages: [1]

Author Topic: porting a sdl game  (Read 2091 times)

Offline uomoartificiale

  • Member
  • *
  • Posts: 4
porting a sdl game
« on: July 11, 2009, 08:36:49 PM »
Hi guys.
I'm a mighty developer, 'mighty' because I'm adeveloper just as guybrush is a migthy pirate. I have some coding skills, so I can mess with code but my capabilities don't allow me to go too far by myself.
So I tought I could make some port of games. The most promising I found (for the control scheme, the resolution and the appeal) are written in SDL.
note:
I was able to build the target sim in cygwin and add and basicly modify the helloworld plugin project.

1) Is it possible and how hard is to port an sdl game? Is there some plugin I can look for an example? Is there some common practice for this in rockbox? and even if there's no rockbox SDL, is there an effective tutorial about developing graphical app with rockbox that could help (I only found generic infos about the LCD interface)?

2) My final goal would be to port REMINESCENCE, an interpreter for the game Flashback (http://cyxdown.free.fr/reminiscence/) wich uses SDL. 'Another World' would be great too (but there are license limitations). The amiga joystiq could be easily replaced by most targets controls.
Apart from the feasibility of a SDL port, do you think that the actual rockbox targets have the power to run the interpreter?

I hope to get positive answers to my questions.  ;)
Logged

Offline Didgeridoohan

  • Member
  • *
  • Posts: 102
Re: porting a sdl game
« Reply #1 on: July 12, 2009, 06:48:43 AM »
Don't know much about writing code myself, but have you checked out the Development Guide in the wiki? You might get some answers there...
Logged
Remember, the MANUAL, WIKI and the SEARCH funtions are your friends.

Offline uomoartificiale

  • Member
  • *
  • Posts: 4
Re: porting a sdl game
« Reply #2 on: July 12, 2009, 11:17:01 AM »
thanks for your reply, Didgeridoohan. Yes I checked it. In fact I was able to compile the rockbox source and to get a working base plugin.

I assume (maybe I'm wrong) that much of the games ported were actually developed with sdl. So I'm asking if there is any common route I can refer to before even trying.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: porting a sdl game
« Reply #3 on: July 12, 2009, 02:23:59 PM »
Since there is no port of SDL for Rockbox, you assume wrongly. All plugins that have been developed for Rockbox (games or otherwise) are developed using only Rockbox's own Plugin API.
Logged

Read The Manual Please

Offline uomoartificiale

  • Member
  • *
  • Posts: 4
Re: porting a sdl game
« Reply #4 on: July 13, 2009, 04:01:51 AM »
Thanks GodEater. I see your point.
Is there any detailed tutorial on how to use he graphical API? Though I found the references for the commands, I wasn't able to find a tutorial-like page about the subject in the wiki.
If there's not,  I will share my findings (when there are any).

Thanks again and keep up the good work  ;)
Logged

Offline graey

  • Member
  • *
  • Posts: 4
Re: porting a sdl game
« Reply #5 on: July 13, 2009, 05:08:41 AM »
Just starting on plugin development myself, I found this come in handy:
http://www.rockbox.org/twiki/bin/view/Main/DocsIndex#For_Developers
Under 'about the code' there's pages on all kinds of APIs, including graphics :)
Logged

Offline uomoartificiale

  • Member
  • *
  • Posts: 4
Re: porting a sdl game
« Reply #6 on: July 13, 2009, 05:16:36 PM »
Thanks graey.
Looking forward to see your efforts as well as mine.  ;)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  porting a sdl game
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.082 seconds with 15 queries.