Author Topic: Native now has SDL  (Read 22625 times)

Harteex (OP)

  • * Administrator
  • Posts: 709
    • Harteex Productions
Native now has SDL
« on: August 20, 2010, 02:03:50 am »
I've spent a lot of time on porting SDL to native and I'm now very happy to have finally made it.
Of course, also thanks to alekmaul and especially flatmush, which code I'm using parts of.

So what's ported?
* SDL
* SDL_ttf
  - freetype
* SDL_image
  - libpng
* SDL_mixer
  - tremor (ogg)
  - libmikmod (xm, mod, it, ...)

Right now the video device only supports 320x240 16bit, but I plan on adding scaling for 640x480 and possibly other resolutions as well.


What does this mean?
Porting some games will be much easier now, so hopefully we'll see a bunch of new releases.

If you want to develop using SDL, be sure to grab the latest version of the dingoo-sdk at
http://code.google.com/p/dingoo-sdk/downloads/detail?name=dingoo_sdk_r251.zip
(Mirror)
« Last Edit: August 20, 2010, 02:26:20 am by Harteex »

Shin-NiL

  • *
  • Posts: 375
    • Shin-NiL's Personal Web Page (Brazilian Portuguese)
Re: Native now has SDL
« Reply #1 on: August 20, 2010, 02:13:32 am »
Thank you for the hard work of all of you! You are opening wide possibilities for the native system this way.

I will be testing as soon as possible!  :)

alekmaul

  • *
  • Posts: 330
    • Portabledev
Re: Native now has SDL
« Reply #2 on: August 20, 2010, 05:48:10 am »
thanks for the hard work Harteex and sorry to be a little out of the scene actually  :-\ ...

VampireSlug

  • *
  • Posts: 36
    • Vampire Slugs Deviant Art page
Re: Native now has SDL
« Reply #3 on: August 20, 2010, 10:19:55 am »
This is awesome news... congrats!
"The Earth starts to rumble, world powers fall. A 'warring for the heavens, a peaceful man stands tall...." - Mustaine. ?1992 Screen Gems/EMI

protomank

  • *
  • Posts: 96
    • Rockbot Game Engine
Re: Native now has SDL
« Reply #4 on: August 20, 2010, 02:47:45 pm »
WoW! That is GREAT news! :)
I was planning to port my projet (a megaman-like game) to Dingux, but now I can port it to the native. I use the exactaly same libs (sdl, sdl_ttf, sdl_image and sdl_mixer) that were ported, awesome! :D
Rockbot Lead game designer.

zear

  • * Moderator
  • Posts: 2379
Re: Native now has SDL
« Reply #5 on: August 20, 2010, 02:52:04 pm »
WoW! That is GREAT news! :)
I was planning to port my projet (a megaman-like game) to Dingux, but now I can port it to the native. I use the exactaly same libs (sdl, sdl_ttf, sdl_image and sdl_mixer) that were ported, awesome! :D
Why don't you port it to both? A lot of people here don't use native os at all.

kswildside

  • Guest
Re: Native now has SDL
« Reply #6 on: August 20, 2010, 04:57:06 pm »
Zear not saying your wrong but to say most don't use native is not true I use both some emulators on native aren't on Dingux just as I use Dingux for emulators that aren't on Native or work better ;)

alekmaul

  • *
  • Posts: 330
    • Portabledev
Re: Native now has SDL
« Reply #7 on: August 20, 2010, 06:38:31 pm »
yes, i also think 'non linux users' are on native os.
so sdl port is really a GREAT thing. Thanks again for that Harteex

kswildside

  • Guest
Re: Native now has SDL
« Reply #8 on: August 20, 2010, 07:11:03 pm »
I think there are alot of native OS users they have just learned that the community is more unix and open source based than developing for the Native and have learned to live with it. But we have a great core of native developers who deserve more appreciation then they get...

vgx

  • Guest
Re: Native now has SDL
« Reply #9 on: August 20, 2010, 10:38:27 pm »
Thanks a lot guys!!! You're simply awesome :).

Harteex (OP)

  • * Administrator
  • Posts: 709
    • Harteex Productions
Re: Native now has SDL
« Reply #10 on: August 20, 2010, 10:48:32 pm »
Glad you all like it  :)
Feel free to post if you encounter any problems.

And hi again alekmaul. I'm also hoping we'll get a Dingoo with more RAM available for native, as this will probably hinder some of the larger SDL games/emulators.
« Last Edit: August 20, 2010, 10:51:47 pm by Harteex »

Kojote

  • *
  • Posts: 36
    • PDRoms - Homebrew for you!
Re: Native now has SDL
« Reply #11 on: August 20, 2010, 11:43:23 pm »
i smell a SQRXZ http://www.sqrxz.de port for Dingoo native, by alekmaul?! ;)
CEO & Editor @ pdroms.de
Editor @ retromagazine.eu
Project Manager @ retroguru.com

zear

  • * Moderator
  • Posts: 2379
Re: Native now has SDL
« Reply #12 on: August 20, 2010, 11:51:47 pm »
I hope you guys are still interested in dingux port of SQRXZ? Because I wait for it since it was first announced ;D

Kojote

  • *
  • Posts: 36
    • PDRoms - Homebrew for you!
Re: Native now has SDL
« Reply #13 on: August 21, 2010, 12:28:51 am »
I hope you guys are still interested in dingux port of SQRXZ? Because I wait for it since it was first announced ;D

We would love to work with Slaanesh again, as he also brought Giana's Return to Dingux. Slaanesh currently enjoys his summer outdoor hobbys rather than porting things, so I fear no Dingux Sqrxz before autumn/winter. Maybe we can get alekmaul to port to native Dingoo for now. Still working on Sqrxz v0.9.9.6 with multi language support. Spanish and French are pending, German should be done and needs another test run. So once the latest version is done, let's see what will happen.
CEO & Editor @ pdroms.de
Editor @ retromagazine.eu
Project Manager @ retroguru.com

alekmaul

  • *
  • Posts: 330
    • Portabledev
Re: Native now has SDL
« Reply #14 on: August 21, 2010, 05:54:02 am »
ok for a try of porting SQRXZ to dingoo native OS, no pb.
Just have to finish some things on another handheld and i will try to port it.

spn-x

  • *
  • Posts: 109
Re: Native now has SDL
« Reply #15 on: August 21, 2010, 09:22:29 am »
SB got a good tutorial for sth easy ? ( hello world or sth. ... i've some free time so i want to get into this )
My Dingoo : Dingux // dmenu 0.3 ; gmenu2x // Native : FW 1.2
                    Joystick Mod

joyrider

  • *
  • Posts: 220
    • Willems Soft
Re: Native now has SDL
« Reply #16 on: August 21, 2010, 03:41:00 pm »
almost have my sokoban game running on native, i did had to include sdl_gfx (which is quite easy) to the sdl lib and had to add -fno-rtti since it used c++ and gotten weird errors otherwise, i'm down to 1 stupid error some undefined reference to lrint, which should have something to do with the math lib, if i can't find a solution on how to fix it i'll just search for another implementation of it. But didn't bother anymore with it atm :)

Harteex (OP)

  • * Administrator
  • Posts: 709
    • Harteex Productions
Re: Native now has SDL
« Reply #17 on: August 21, 2010, 06:10:41 pm »
Nice, we don't seem to have lrint though (yet).

spn-x: Might add some kind of sample tomorrow.

spn-x

  • *
  • Posts: 109
Re: Native now has SDL
« Reply #18 on: August 22, 2010, 08:41:13 am »
@harteex : Do u think it would be easier to start with dingux ? Or is there no difference between Native and Dingux.
My Dingoo : Dingux // dmenu 0.3 ; gmenu2x // Native : FW 1.2
                    Joystick Mod

zear

  • * Moderator
  • Posts: 2379
Re: Native now has SDL
« Reply #19 on: August 22, 2010, 09:47:53 am »
@harteex : Do u think it would be easier to start with dingux ? Or is there no difference between Native and Dingux.
Well, as for Dingux you can start with any SDL tutorial for windows/linux as there is no difference between that platforms and Dingux :)

 

Post a new topic