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

Libnx Switch: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 4: Line 4:
|description=Library for Switch Homebrew.
|description=Library for Switch Homebrew.
|author=switchbrew
|author=switchbrew
|lastupdated=2024/11/25
|lastupdated=2025/05/08
|type=Developments
|type=Developments
|version=4.8.0
|version=4.9.0
|license=ISC
|license=ISC
|download=https://github.com/switchbrew/libnx/releases
|download=https://github.com/switchbrew/libnx/releases
Line 25: Line 25:


==Changelog==
==Changelog==
'''v4.9.0'''
* Fixes for GCC 15 by [https://github.com/SciresM @SciresM] in [https://github.com/switchbrew/libnx/pull/672 #672]
* Basic support for 20.0.0 by [https://github.com/SciresM @SciresM] in [https://github.com/switchbrew/libnx/pull/671 #671]
* Update setsysEdid struct by [https://github.com/masagrator @masagrator] in [https://github.com/switchbrew/libnx/pull/654 #654]
* Fix wrong names in SetSysModeLine by [https://github.com/masagrator @masagrator] in [https://github.com/switchbrew/libnx/pull/656 #656]
* nvchannel: fix submit ioctl by [https://github.com/averne @averne] in [https://github.com/switchbrew/libnx/pull/662 #662]
* nvfence: expose nvhost-ctrl fd by [https://github.com/averne @averne] in [https://github.com/switchbrew/libnx/pull/660 #660]
* hidsys: add commands for setting/checking state of joycons attached via rails by [https://github.com/ndeadly @ndeadly] in [https://github.com/switchbrew/libnx/pull/657 #657]
* btdrv: misc. fixes and updates to BLE related functions and type definitions by [https://github.com/ndeadly @ndeadly] in [https://github.com/switchbrew/libnx/pull/658 #658]
* btdrv: document timeout parameter to btdrvTriggerConnection by [https://github.com/ndeadly @ndeadly] in [https://github.com/switchbrew/libnx/pull/669 #669]
* set: update SetSysBluetoothDevicesSettings with new fields found in recent firmwares by [https://github.com/ndeadly @ndeadly] in [https://github.com/switchbrew/libnx/pull/667 #667]
* btmsys: add missing 13.0.0 commands by [https://github.com/ndeadly @ndeadly] in [https://github.com/switchbrew/libnx/pull/664 #664]
* update capsdc for 18.0.0 by [https://github.com/HookedBehemoth @HookedBehemoth] in [https://github.com/switchbrew/libnx/pull/665 #665]
'''v4.8.0'''
'''v4.8.0'''
* Add missing hid shared memory structures and accessor functions for system buttons by [https://github.com/ndeadly @ndeadly] in [https://github.com/switchbrew/libnx/pull/647 #647]
* Add missing hid shared memory structures and accessor functions for system buttons by [https://github.com/ndeadly @ndeadly] in [https://github.com/switchbrew/libnx/pull/647 #647]

Revision as of 02:02, 11 May 2025

Libnx
General
Authorswitchbrew
TypeDevelopments
Version4.9.0
LicenseISC
Last Updated2025/05/08
Links
Download
Website
Source

Nintendo Switch AArch64-only userland library. It is an adaptation of libctru.

See Switchbrew for install instructions.

Features

  • Based on libctru.
  • Nintendo Switch AArch64-only.
  • Userland library.
  • Library for Switch Homebrew.

Changelog

v4.9.0

  • Fixes for GCC 15 by @SciresM in #672
  • Basic support for 20.0.0 by @SciresM in #671
  • Update setsysEdid struct by @masagrator in #654
  • Fix wrong names in SetSysModeLine by @masagrator in #656
  • nvchannel: fix submit ioctl by @averne in #662
  • nvfence: expose nvhost-ctrl fd by @averne in #660
  • hidsys: add commands for setting/checking state of joycons attached via rails by @ndeadly in #657
  • btdrv: misc. fixes and updates to BLE related functions and type definitions by @ndeadly in #658
  • btdrv: document timeout parameter to btdrvTriggerConnection by @ndeadly in #669
  • set: update SetSysBluetoothDevicesSettings with new fields found in recent firmwares by @ndeadly in #667
  • btmsys: add missing 13.0.0 commands by @ndeadly in #664
  • update capsdc for 18.0.0 by @HookedBehemoth in #665

v4.8.0

  • Add missing hid shared memory structures and accessor functions for system buttons by @ndeadly in #647
  • bt: fill in unknowns and update function parameters to match their btdrv counterparts by @ndeadly in #644
  • spl: add missing service header by @IrneRacoonovich in #649
  • Basic support for 19.0.0 by @SciresM in #651
  • btm: add audio profile by @ndeadly in #650
  • use nproc for max jobs on github workflow by @WinterMute in #652

v4.7.0

v4.6.0

  • svc: fix query/insecure names by @SciresM.
  • Add NX_ prefix to PACKED, NORETURN, IGNORE_ARG and DEPRECATED macros by @Ghabry.
  • Add fsDeviceOperatorGetGameCardUpdatePartitionInfo by @ITotalJustice.
  • Fix: avoid segfault at static destructors by @ThisALV.

v4.5.0

  • Services:
    • btdrv: Missing definitions for ble were added.
    • capsdc: Updated for [17.0.0+].
    • hidsys: Support was added for many commands.
    • fs:
      • Updated for [17.0.0+].
      • Support was added for many fsDeviceOperator commands.
    • ncm: Updated for [17.0.0+].
    • nfc: Support was added for all remaining commands.
    • ns: Added nsEstimateSizeToMove.
    • pctl: Support was added for many commands.
    • ssl: Updated sslConnectionSetPrivateOption for [17.0.0+].
    • ts: Updated for [17.0.0+].
  • Devices:
    • socket: Updated wrapper to automatically select latest available bsd service version (fixes multicast support).
  • Miscellaneous:
    • The linker script/crt0 were updated to support relro.
    • A bug was fixed in aes-cbc block decryption.
    • A number of problems were corrected involving incorrect ipc serialization with pointer arguments.
  • Several issues were fixed, and usability and stability were improved.

v4.4.2

  • System:
    • Ensure correct addresses for bss.
  • Miscellaneous:
    • Fix timezone to allow +/- and alphanumrics.
    • End compile_commmands generation when elf linked.

v4.4.1

  • Miscellaneous:
    • Add missing separator to local path.
  • Several issues were fixed, and usability and stability were improved.

v4.4.0

  • Services:
    • Applet: add appletGetMessageEvent.
    • usbcomms: add async API.
    • usbcomms: expose VID:PID configuration.
  • Miscellaneous:
    • Correct problems revealed by gcc 13.
    • Mitigate race condition bug in nvservices.
    • Several issues were fixed, and usability and stability were improved.

v4.3.0

  • Services:
    • Applet: Updated for [15.0.0+]. Added __nx_applet_init_timeout.
    • audctl:
      • Added audctlGetActiveOutputTarget.
      • Fixed TargetVolume functions.
    • auddev: Added auddevGetActiveAudioDeviceName.
    • bpc: Fixed GetSleepButtonState/GetPowerButton.
    • fs: Updated for [16.0.0+].
    • hiddbg: Changed hiddbgAttachHdlsWorkBuffer to accept a user-supplied buffer and size.
    • ncm: Updated for [15.0.0+] and [16.0.0+].
    • pdm:
      • Updated for [16.0.0+].
      • Fixed pdmqryQueryAccountEvent on older sysvers.
      • Updated structs.
    • pl: Added [16.0.0+] sysver checks.
    • ssl:
      • Added support for new [16.0.0+] functionality.
      • Added ssl:s support [15.0.0+].
      • Added sslClearTls12FallbackFlag [14.0.0+].
      • Updated SslCaCertificateId enum.
    • usbhs: Added the remaining cmds and expose more functionality.
    • vi: Added [16.0.0+] Manager commands.
    • wlaninf: Added sysver check to account for its removal in [15.0.0+].
  • Devices:
    • nxlinkConnectToHost: Added timeout to avoid long hang when -s isn't specified for nxlink.
  • Miscellaneous:
    • Added CMSG macros to BSD headers.
  • Several issues were fixed, and usability and stability were improved.

Release notes.

External links

Advertising: