{"id":20137114,"url":"https://github.com/devkitpro/tex3ds","last_synced_at":"2025-04-09T17:50:22.334Z","repository":{"id":51114160,"uuid":"84268308","full_name":"devkitPro/tex3ds","owner":"devkitPro","description":"3DS Texture Conversion","archived":false,"fork":false,"pushed_at":"2024-10-13T21:21:07.000Z","size":389,"stargazers_count":41,"open_issues_count":7,"forks_count":11,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-23T19:51:21.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devkitPro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-08T02:18:43.000Z","updated_at":"2025-01-03T09:59:05.000Z","dependencies_parsed_at":"2022-09-21T18:11:14.268Z","dependency_job_id":null,"html_url":"https://github.com/devkitPro/tex3ds","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkitPro%2Ftex3ds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkitPro%2Ftex3ds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkitPro%2Ftex3ds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkitPro%2Ftex3ds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkitPro","download_url":"https://codeload.github.com/devkitPro/tex3ds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248082803,"owners_count":21044977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T21:25:22.777Z","updated_at":"2025-04-09T17:50:22.311Z","avatar_url":"https://github.com/devkitPro.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tex3ds \u0026 [mkbcfnt](#mkbcfnt)\n\n**3DS Texture Conversion**\n\n```\nUsage: ./tex3ds [OPTIONS...] \u003cinput\u003e\n  Options:\n    -d, --depends \u003cfile\u003e         Output dependency file\n    -f, --format \u003cformat\u003e        See \"Format Options\"\n    -H, --header \u003cfile\u003e          Output C header to file\n    -h, --help                   Show this help message\n    -i, --include \u003cfile\u003e         Include options from file\n    -m, --mipmap \u003cfilter\u003e        Generate mipmaps. See \"Mipmap Filter Options\"\n    -o, --output \u003coutput\u003e        Output file\n    -p, --preview \u003cpreview\u003e      Output preview file\n    -q, --quality \u003cetc1-quality\u003e ETC1 quality. Valid options: low, medium (default), high\n    -r, --raw                    Output image data only\n    -t, --trim                   Trim input image(s)\n    -v, --version                Show version and copyright information\n    -z, --compress \u003ccompression\u003e Compress output. See \"Compression Options\"\n    -a, --atlas                  Generate texture atlas\n    -c, --cubemap                Generate a cubemap. See \"Cubemap\"\n    -s, --skybox                 Generate a skybox. See \"Skybox\"\n    -b, --border \u003cborder-type\u003e   Inserts a border around each image. See \"Border Options\"\n    \u003cinput\u003e                      Input file\n```\n\n## Format Options\n\n```\n    -f rgba, -f rgba8, -f rgba8888\n      32-bit RGBA (8-bit components) (default)\n\n    -f rgb, -f rgb8, -f rgb888\n      24-bit RGB (8-bit components)\n\n    -f rgba5551\n      16-bit RGBA (5-bit RGB, 1-bit Alpha)\n\n    -f rgb565\n      16-bit RGB (5-bit Red/Blue, 6-bit Green)\n\n    -f rgba4, -f rgba444\n      16-bit RGBA (4-bit components)\n\n    -f la, -f la8, -f la88\n      16-bit Luminance/Alpha (8-bit components)\n\n    -f hilo, -f hilo8, -f hilo88\n      16-bit HILO (8-bit components)\n      Note: HI comes from Red channel, LO comes from Green channel\n\n    -f l, -f l8\n      8-bit Luminance\n\n    -f a, -f a8\n      8-bit Alpha\n\n    -f la4, -f la44\n      8-bit Luminance/Alpha (4-bit components)\n\n    -f l4\n      4-bit Luminance\n\n    -f a4\n      4-bit Alpha\n\n    -f etc1\n      ETC1\n\n    -f etc1a4\n      ETC1 with 4-bit Alpha\n\n    -f auto-l8\n      L8 when input has no alpha, otherwise LA8\n\n    -f auto-l4\n      L4 when input has no alpha, otherwise LA4\n\n    -f auto-etc1\n      ETC1 when input has no alpha, otherwise ETC1A4\n```\n\n## Mipmap Filter Options\n\n```\n    -m bartlett\n    -m bessel\n    -m blackman\n    -m bohman\n    -m box\n    -m catrom\n    -m cosine\n    -m cubic\n    -m gaussian\n    -m hamming\n    -m hanning\n    -m hermite\n    -m jinc\n    -m kaiser\n    -m lagrange\n    -m lanczos\n    -m lanczos-radius\n    -m lanczos-sharp\n    -m lanczos2\n    -m lanczos2-sharp\n    -m mitchell\n    -m parzen\n    -m point\n    -m quadratic\n    -m robidoux\n    -m robidoux-sharp\n    -m sinc\n    -m spline\n    -m triangle\n    -m welsh\n```\n\n## Compression Options\n\n```\n    -z auto              Automatically select best compression (default)\n    -z none              No compression\n    -z huff, -z huffman  Huffman encoding\n    -z lzss, -z lz10     LZSS compression\n    -z lz11              LZ11 compression\n    -z rle               Run-length encoding\n\n    NOTE: All compression types use a compression header: a single byte which\n          denotes the compression type, followed by three bytes (little-endian)\n          which specify the size of the uncompressed data. If the compression\n          type byte has the MSB (0x80) set, the size is specified by four bytes\n          (little-endian) plus three bytes of reserved (zero) padding.\n\n    Types:\n      0x00: Fake (uncompressed)\n      0x10: LZSS\n      0x11: LZ11\n      0x28: Huffman encoding\n      0x30: Run-length encoding\n```\n\n## Border Options\n\n```\n  Border Options:\n    -b none        No border (default)\n    -b transparent 1px transparent shared border around images\n    -b edge        1px color-matched unshared border around images\n```\n\n## Cubemap\n\n```\n    A cubemap is generated from the input image in the following convention:\n    +----+----+---------+\n    |    | +Y |         |\n    +----+----+----+----+\n    | -X | +Z | +X | -Z |\n    +----+----+----+----+\n    |    | -Y |         |\n    +----+----+---------+\n```\n\n## Skybox\n\n```\n    A skybox is generated from the input image in the following convention:\n    +----+----+---------+\n    |    | +Y |         |\n    +----+----+----+----+\n    | -X | -Z | +X | +Z |\n    +----+----+----+----+\n    |    | -Y |         |\n    +----+----+---------+\n```\n\n# mkbcfnt\n\n**3DS Font Conversion**\n\n```\nUsage: ./mkbcfnt [OPTIONS...] \u003cinput\u003e\n  Options:\n    -h, --help                   Show this help message\n    -o, --output \u003coutput\u003e        Output file\n    -s, --size \u003csize\u003e            Set font size in points\n    -v, --version                Show version and copyright information\n    \u003cinput\u003e                      Input file\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkitpro%2Ftex3ds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkitpro%2Ftex3ds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkitpro%2Ftex3ds/lists"}