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
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i heard dkoldies is worse
  • realtimesave @ realtimesave:
    they aren't that hard to take apart. I can pop them apart with a jeweler's screwdriver any more
  • SylverReZ @ SylverReZ:
    @Xdqwerty, DKOldies is a scam.
  • SylverReZ @ SylverReZ:
    I've already seen a lot of videos about them, and people no longer care.
  • realtimesave @ realtimesave:
    @Xdqwerty that's ok tho if you ever needed another model they are only like 60-80 dollars on offerup. pretty cheap
    +2
  • SylverReZ @ SylverReZ:
    eBay sells Xbox 360s for £30.
  • realtimesave @ realtimesave:
    I wonder if there's an hdmi adapter for the old model
  • realtimesave @ realtimesave:
    cos that jtag works pretty damn good
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, ik its a scam, thats why i mentioned it
    +1
  • realtimesave @ realtimesave:
    even though it is a system prone to rrod which it doesn't have
    +1
  • BigOnYa @ BigOnYa:
    I would not recommend 360 phat models anymore, slims are better, and RGH3 possible, phats only rgh1 or jtag
    +1
  • realtimesave @ realtimesave:
    ya but phat has ps2 chip in it :)
  • SylverReZ @ SylverReZ:
    This is a great buying guide that I recommend.
  • realtimesave @ realtimesave:
    my rgh systems glitch pretty damn fast
  • SylverReZ @ SylverReZ:
    @BigOnYa, Except Winchester, which even to this day, is not moddable.
    +1
  • realtimesave @ realtimesave:
    now I'm trying to figure out PS4 modding.
    +1
  • realtimesave @ realtimesave:
    looks easy
  • SylverReZ @ SylverReZ:
    @realtimesave, It definitely did take a while for the PS4 to be fully hacked, much like the PS Vita.
  • SylverReZ @ SylverReZ:
    Sony has announced that they will be using a non-x86 processor for their next-gen console.
  • BigOnYa @ BigOnYa:
    Amazon fire sticks switching to a custom linuxOs instead of Android, sucks for 3rd party apks
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, is the red ring of death still common in phat xbox 360s?
  • SylverReZ @ SylverReZ:
    @BigOnYa, And Linux, regardless of its distro, is still easy to install 3rd-party modifications.
  • BigOnYa @ BigOnYa:
    Yes, phats are just a good heater for the winter months
    +1
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Yes, its only relatively common on early models.
    +1
    SylverReZ @ SylverReZ: @Xdqwerty, Yes, its only relatively common on early models. +1