Homebrew [WIP]libSDL 1.2.15 for 3DS

Wenting

Member
OP
Newcomer
Joined
Feb 14, 2017
Messages
8
Trophies
0
Location
PA
Website
www.zephray.com
XP
109
Country
United States
Hello everyone, I'm new here and I'm currently working on an libSDL 1.2 port for 3DS.

It is basically working (video, audio, keypad, multithread...), but there are still some works to be done before it can perfectly handle a SDL game.

I ported this because I am porting SDLPAL (a RPG game) to 3DS but none of the exist SDL port would handle sound and 8bit(256color) video. I started based on nop90's port, which actually used many xerpi's SDL2 port code. Thanks to their great work.

Download

So here is the source:
https://github.com/nbzwt/SDL-1.2-N3DS

Updates may or may not be announced here, but I would keep the github repo updated. The best way to submit a bug report would be using the GitHub's issue function, just create a new issue and we can work on that.

Usage:

Run cp Makefile.3ds Makefile && make && make install, and you would be able to use it!

Games ported using this library:

https://gbatemp.net/threads/release...dlpal-a-classical-dos-rpg-port-to-3ds.461422/
 
Last edited by Wenting,

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Great, I have so few time to finish the audio part.

but why did you not contributed to my project instead of making a new one?

If it's ok for you I'll merge your code in mine (giving you proper credit).
 

Wenting

Member
OP
Newcomer
Joined
Feb 14, 2017
Messages
8
Trophies
0
Location
PA
Website
www.zephray.com
XP
109
Country
United States
Great, I have so few time to finish the audio part.

but why did you not contributed to my project instead of making a new one?

If it's ok for you I'll merge your code in mine (giving you proper credit).

Well, the reason for a new private repo is similar to yours, I can try some my own tricks. Since I was experiencing issues with the citro3d, I have heavily modified the video driver (mainly dropped the GPU acceleration and double buffer support, but this made it more flexable for now). It is totally okay if you merge the code, but newly added code still need testin. The game I am going to port is now passing the compile without changing the code, but it is playing the music at a weird speed. I am still actively working on this project so keep an eye on my commit, especially the timer part. Maybe someday both of our work would be cleaned up and merged into mainline SDL mirror.
 
Last edited by Wenting,
  • Like
Reactions: VegaRoXas

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
@Wenting I fixed the joystick support and I'm merging your mods to the timer in my code.

I'm also trying to implement a 8 bit mode but based on my gpu based rendering.

After merging your fixes to the audio deiver I have an audio output, but it's only weird noise at the moment. Maybe I missed something from your code. I'm checking everything again than I'll release a new version tomorrow.
 
Last edited by nop90,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    guys why the hell is my internet connection so shit rn?
  • SylverReZ @ SylverReZ:
    @BakerMan, If it's so shitty, why don't you clean it up. :tpi:
    +1
  • AncientBoi @ AncientBoi:
    [uploads TP] :D
    +1
  • BigOnYa @ BigOnYa:
    @BakerMan I bet your mom found out you watching those kind of vids on your 3ds again, and put a limit on you.
    +3
  • BakerMan @ BakerMan:
    first of all, i don't watch those kinds of videos, and if i did i'd pull a verbalase 50k but with wizards and wario
    +1
  • BakerMan @ BakerMan:
    second of all, i don't even have a 3ds
  • BigOnYa @ BigOnYa:
    OnlyWizard&WarioFans.com
    +2
  • BakerMan @ BakerMan:
    i just want a wizard to stick his wand (whether literal or figurative is up to interpretation, either way it's either freaky or sus, or both i guess) up my ass
  • BigOnYa @ BigOnYa:
    I'm making Texas sheet cake for first time today, my Nieghbor brought us some few weeks ago and damn that's good, so I got her recipe and gonna try it today.
  • BakerMan @ BakerMan:
    mmm, sounds good
  • BigOnYa @ BigOnYa:
    Its not a brownie, and its not a cake, so what is it- Texas sheet cake.
  • BigOnYa @ BigOnYa:
    I tried making chocolate lava cakes the other day in cupcake pan, what a mess, my lava exploded out of the cakes everywhere while baking, was still ok tho, just no lava inside.
  • BigOnYa @ BigOnYa:
    We had our grandkids over yesterday and I got a small above ground swimming pool I filled for them to play in. Well today I woke to find 3 ducks swimming around in it. Don't mind really but they are annoyingly loud, quack quack. Gotta drain it today. Guess what were having for dinner, lol.
    +1
  • BakerMan @ BakerMan:
    lol
  • AncientBoi @ AncientBoi:
    BBQ'd 🦆
    +1
  • BakerMan @ BakerMan:
    also i'm sorry your molten lava cakes failed
    +2
  • BakerMan @ BakerMan:
    just looked up a pic of texas sheet cake, and it looks delicious
    +1
  • AncientBoi @ AncientBoi:
    🌋 Science Project?
  • BakerMan @ BakerMan:
    i think i might need to try making lava cakes for the 4th of july fr
    +2
  • BigOnYa @ BigOnYa:
    I used butter instead of vegetable oil, and think that's why they squirted out during baking, who knows
  • BakerMan @ BakerMan:
    yeah i think oil is the right call
    +1
  • BakerMan @ BakerMan:
    plus if you're making brownies or lava cakes for people with dairy allergies, you should use oil instead of butter anyway
    +1
    BakerMan @ BakerMan: plus if you're making brownies or lava cakes for people with dairy allergies, you should use oil... +1