Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

LibNX-SDL2 Switch: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=libnx-SDL2 |image=libnxsdl2switch.png |description=SDL2 partial implementation of libnx. |author=rock88 |lastupdated=2018/07/30 |type=Developments |version=wip |license=MIT |download=https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch.7z |website=https://gbatemp.net/threads/libnx-sdl2.513099/ |source=https://github.com/rock88/libnx-SDL2 |donation= }} {{#seo: |title=Switch Homebrew PC Tools (Developments) - GameBrew |title_mode=app...")
 
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=libnx-SDL2
|title=libnx-SDL2
|image=libnxsdl2switch.png
|image=libnxsdl2nx.png
|description=SDL2 partial implementation of libnx.
|description=SDL2 partial implementation of libnx.
|author=rock88
|author=rock88
|lastupdated=2018/07/30
|lastupdated=2018/07/30
Line 9: Line 8:
|version=wip
|version=wip
|license=MIT
|license=MIT
|download=https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2nx.7z
|website=https://gbatemp.net/threads/libnx-sdl2.513099/
|website=https://gbatemp.net/threads/libnx-sdl2.513099/
|source=https://github.com/rock88/libnx-SDL2
|source=https://github.com/rock88/libnx-SDL2
|donation=
|donation=
}}
}}
{{#seo:
SDL2 partial implementation of [https://github.com/switchbrew/libnx libnx].
|title=Switch Homebrew PC Tools (Developments) - GameBrew
 
|title_mode=append
==User guide==
|image=libnxsdl2switch.png
===Install===
|image_alt=libnx-SDL2
Make sure SDL2 install correctly (sdl2-config work properly).
}}
{{cleanup|article|Needs cleanup}}
SDL2 partial implementation of libnx.


$ git clone <nowiki>https://github.com/rock88/libnx-SDL2.git</nowiki>
$ cd libnx-SDL2
$ make
$ export DEVKITPRO=`pwd`
Go to switch-examples (graphics/simplegfx for example), and make it. Then run ./simplegfx.nro.


==Media==
===What's supported===
<youtube></youtube>
*Console output to screen (consoleInit(NULL));
*Part of gfx;
*Part of hid.


===Limitation===
*Any hardware specific functional (but can be simulated);
*Any not implemented functions, you just got error like:
Undefined symbols for architecture x86_64:
  "_accountInitialize", referenced from:
      _main in main.o
when try link binary.


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch-01.png
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2nx4.png
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch-02.png
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch-03.png
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch-04.png
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch-05.png
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch-06.png
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch-07.png
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2switch-08.png


==Changelog==
https://dlhb.gamebrew.org/switchhomebrews/libnxsdl2nx5.png
'''v.1.0'''
* First Release.


== External links ==
== External links ==
* Gbatemp - https://gbatemp.net/threads/libnx-sdl2.513099/
* GitHub - https://github.com/rock88/libnx-SDL2
* Github - https://github.com/rock88/libnx-SDL2
* GBAtemp - https://gbatemp.net/threads/libnx-sdl2.513099/
* Reddit -

Revision as of 02:55, 3 Haziran 2023

libnx-SDL2
Libnxsdl2nx.png
General
Authorrock88
TypeDevelopments
Versionwip
LicenseMIT License
Last Updated2018/07/30
Links
Download
Website
Source

SDL2 partial implementation of libnx.

User guide

Install

Make sure SDL2 install correctly (sdl2-config work properly).

$ git clone https://github.com/rock88/libnx-SDL2.git
$ cd libnx-SDL2
$ make
$ export DEVKITPRO=`pwd`

Go to switch-examples (graphics/simplegfx for example), and make it. Then run ./simplegfx.nro.

What's supported

  • Console output to screen (consoleInit(NULL));
  • Part of gfx;
  • Part of hid.

Limitation

  • Any hardware specific functional (but can be simulated);
  • Any not implemented functions, you just got error like:
Undefined symbols for architecture x86_64:
  "_accountInitialize", referenced from:
      _main in main.o

when try link binary.

Screenshots

libnxsdl2nx4.png

libnxsdl2nx5.png

External links

Advertising: