Skip to content

MrHuu/openai-3ds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building

To build the following libraries are required:

Available by devkitPro:

libctru
citro3d
libpng
libcurl
flite
jansson

Build from source:

citro2d - https://github.com/piepie62/citro2d/tree/layoutText
libsndfile - https://github.com/libsndfile/libsndfile

TLS

A CA certificate in PEM format is required by default: https://curl.se/docs/caextract.html
To include, copy cacert.pem to rsrc\romfs

TLS can be disabled by defining: CURL_NO_CERT

API-Key

It is possible to include you API-Key in the ROMFS:
Provide your API-Key in a JSON format: api_key.json

{
    "api_key": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

Copy to: api_key.json to rsrc\romfs