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
99
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
99
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

Recent Content

General chit-chat
Help Users
    rvtr @ rvtr: Spam bots again.