WIP SDL 1.2.15 for Switch (libnx based)

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by nop90, Feb 24, 2018.

  1. realWinterMute

    realWinterMute GBAtemp Regular

    Member
    4
    Feb 24, 2011
    Everything is now released. See https://devkitpro.org/viewtopic.php?f=13&t=8702&p=15914#p15914 for details. Check your PMs too
     
    cpasjuste, nop90 and Psi-hate like this.
  2. Psi-hate

    Psi-hate GBATemp's Official Psi-Hater

    Member
    9
    Dec 14, 2014
    United States
    Houston
    nop90 likes this.
  3. sweetlilmre

    sweetlilmre Member

    Newcomer
    4
    Aug 15, 2010
    Hi,

    I used pacman to install SDL2, got a basic hello world up and running, it's very very slick. Nice work!
    Looking forward to the SDL 1.2 port!
    -(e)
     
  4. delete12345

    delete12345 GBAtemp Advanced Fan

    Member
    6
    Feb 27, 2010
    United States
    Taipei, Taiwan
    How did you get SDL2 SDL_ttf working via pacman packages?
     
  5. sweetlilmre

    sweetlilmre Member

    Newcomer
    4
    Aug 15, 2010
    I didn't. By hello world I meant a block of colour on the screen. I'll have a look later though and see what's up with the ttf stuff.
    I've been trying to get 1.2 running today with no luck so far.

    Sent from my ONEPLUS A3003 using Tapatalk
     
  6. delete12345

    delete12345 GBAtemp Advanced Fan

    Member
    6
    Feb 27, 2010
    United States
    Taipei, Taiwan

    I was sure WinterMute said SDL 1.2 is not ready yet, and should use SDL2 for the time being.

    But, if you are able to get SDL_ttf working on SDL2, it would be awesome to hear. Because the way I know of right now, even with a tiny code calling TTF_Init(), it would fail to compile.
     
    Last edited by delete12345, Apr 2, 2018
  7. sweetlilmre

    sweetlilmre Member

    Newcomer
    4
    Aug 15, 2010
    He did. I was trying to build from the initial source release. There are a ton of projects I would like to port that require 1.2. A 2.0 rework would be too much effort.

    -(e)
     
  8. delete12345

    delete12345 GBAtemp Advanced Fan

    Member
    6
    Feb 27, 2010
    United States
    Taipei, Taiwan
    [​IMG]

    Found out how to set up the flags properly, thanks to TurtleP.
     
  9. delete12345

    delete12345 GBAtemp Advanced Fan

    Member
    6
    Feb 27, 2010
    United States
    Taipei, Taiwan
    So, I'm not quite sure what to do with the dkp-pkg-helper that comes with dkp-pacman packages.
     
    Last edited by delete12345, Apr 3, 2018
  10. sweetlilmre

    sweetlilmre Member

    Newcomer
    4
    Aug 15, 2010
    That's me. Well met

    -(e)
     
  11. delete12345

    delete12345 GBAtemp Advanced Fan

    Member
    6
    Feb 27, 2010
    United States
    Taipei, Taiwan
    ok. Removed the tweet, just in case.
     
  12. sweetlilmre

    sweetlilmre Member

    Newcomer
    4
    Aug 15, 2010
    Post removed as per discussion with WinterMute

    Thanks
    -(e)
     
    Last edited by sweetlilmre, Apr 8, 2018
  13. realWinterMute

    realWinterMute GBAtemp Regular

    Member
    4
    Feb 24, 2011
    These instructions are *wrong*. Please do *not* do this.

    If you have patches and you have tested them then please PR them to https://github.com/devkitPro/SDL/tree/switch-sdl-1.2. Once we get a working port we can roll a package rather than having half finished and improperly built forks all over the place.
     
  14. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Sorry for bumping, did this SDL 1.2 get finished and everything? I've seen stuff using SDL2, but obviously 1.2 has its uses for various ports too.
     
  15. delete12345

    delete12345 GBAtemp Advanced Fan

    Member
    6
    Feb 27, 2010
    United States
    Taipei, Taiwan
    It's still in active development. The latest commit on the repo was done by WinterMute himself a day ago.
     
    hippy dave and kprovost7314 like this.
  16. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Cool thanks :)
     
  17. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Hate to be that guy, but any more updates? :D
     
  18. nop90
    OP

    nop90 GBAtemp Advanced Maniac

    Member
    12
    Jan 11, 2014
    Italy
    Rome
    the lib is now maintained in devkitPro and an updated version can be downloaded with pacman. Main coder shoulb be @cpasjuste

    At the moment I'm not working on switch, next week I'm going to release a new retroguru game (completely wrotre bt me) at Retrokomp in Polland, so I'm very busy testing and cleaning everything for the release, than I and have a project for a game on an old handheld.

    But I'm considering to start a switch project for the gbatemp competition.
     
    Last edited by nop90, Oct 4, 2018
    cearp, hippy dave and Cid2mizard like this.
  19. jonyluke

    jonyluke GBAtemp Regular

    Member
    6
    Aug 22, 2018
    Spain
    What is the command to install SDL2 with devkitpro?
     
  20. unxnow

    unxnow Member

    Newcomer
    2
    Oct 2, 2018
    Yemen
    i can help u, pm
     
Quick Reply
Draft saved Draft deleted
Loading...