{"_id":"3ds-smdh","_rev":"3-3fcbe18ad8d374f4829b8182ad9d15af","name":"3ds-smdh","description":"Reads and writes Nintendo 3DS SMDH files","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"3ds-smdh","version":"1.0.0","description":"Reads and writes Nintendo 3DS SMDH files","main":"index.js","scripts":{"build-docs":"jsdoc2md --template README.template.md index.js > README.md"},"repository":{"type":"git","url":"git+https://github.com/DanTheMan827/3ds-smdh.git"},"author":{"name":"DanTheMan827"},"license":"AGPL-3.0","bugs":{"url":"https://github.com/DanTheMan827/3ds-smdh/issues"},"homepage":"https://github.com/DanTheMan827/3ds-smdh#readme","dependencies":{"jimp":"^0.2.28","pngjs":"^3.3.0","tiled-image-tools":"^1.0.2"},"devDependencies":{"jsdoc-to-markdown":"^3.0.0"},"gitHead":"9ae1ff2224e7d471d1a09f07958cc52099dd97c3","_id":"3ds-smdh@1.0.0","_shasum":"a4d1dbb4dc0491295d1fd79299a3d58a2c83a8b9","_from":".","_npmVersion":"3.10.5","_nodeVersion":"7.7.4","_npmUser":{"name":"dantheman827","email":"daniel.radtke@gmail.com"},"dist":{"shasum":"a4d1dbb4dc0491295d1fd79299a3d58a2c83a8b9","tarball":"https://registry.npmjs.org/3ds-smdh/-/3ds-smdh-1.0.0.tgz","integrity":"sha512-cUdjCTBTek5w9kwKUZX5B/hpbSglYfA1vqixPzfje2jh3EpQHDh9mj5MebFg2EM2qPtxAI7CoaDUmps6MM0XSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEyI6TJ1WJimkL0gHhjKLpWcBlZ4Gf0BWc/eh0jMMXllAiEAn2hMYXeSxsjOQ+WvR1p73pywnCSm8+h/Zsg3ZU9rg08="}]},"maintainers":[{"name":"dantheman827","email":"daniel.radtke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3ds-smdh-1.0.0.tgz_1503669465087_0.603039595996961"},"directories":{}},"1.0.1":{"name":"3ds-smdh","version":"1.0.1","description":"Reads and writes Nintendo 3DS SMDH files","main":"index.js","scripts":{"build-docs":"jsdoc2md --template README.template.md index.js > README.md","test":"exit 0"},"repository":{"type":"git","url":"git+https://github.com/DanTheMan827/node-3ds-smdh.git"},"author":{"name":"DanTheMan827"},"license":"AGPL-3.0","bugs":{"url":"https://github.com/DanTheMan827/node-3ds-smdh/issues"},"homepage":"https://github.com/DanTheMan827/node-3ds-smdh#readme","dependencies":{"jimp":"^0.2.28","pngjs":"^3.3.0","tiled-image-tools":"^1.0.2"},"devDependencies":{"jsdoc-to-markdown":"^3.0.0"},"gitHead":"b4c4f73bce438973ec9cf788308a1cba563a5d1e","_id":"3ds-smdh@1.0.1","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-nfRh2tZC5Ux6ihsHaq2gQV9YstL00ZS7OJJXJ76FoXypyZAF5CSzQ/VS2P8joT0w2XDGRABM/vWMVCC9CS4Fcg==","shasum":"11dd7b50b4d0c429a3752710de14963a130cb69c","tarball":"https://registry.npmjs.org/3ds-smdh/-/3ds-smdh-1.0.1.tgz","fileCount":5,"unpackedSize":75458,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGBb+gLpe2h8JUzwuu3eflWP3kuQjnBEQxafTnT9hVxAiAkR3L7Gi6w32XGY2Y7Vveo873MWxMmOFO5MNWGBEgF/g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJiz+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyJQ/9FZxQmJd5YggH0YQEOu6dVFDzUsZusZMvpmiIglQquxiLr206\r\nVu9cn0MgOeOuUYnETNlNepOv+sURk1+BQ702oHsrdqAiRkCdM81NNBI6tFJr\r\nWSrRBKGDwdgZ7Ipe71pYe7LxGwnPIhiyjw2Asj8AnlRRHuevmJ6Ik7s+FmsP\r\nfCcQGeyog26f/8/3f6Uf6QmUxitnLXWzOBLul2dZPK4XTKcmgHC/ACbA2I1P\r\n4x39A93Xz5sQnRnFIihTtJWyN2iVWIllijYzJKLyMtqfBa+R3G/IhZN4DOvx\r\nTVHjGwmhzynDdESbX3Is+eURYMEHFcShEON29xvvfmbMo7BeRtoyTO4SugFB\r\njHvs2e4FYN1U0zoJLJomwT2y47RDMBw16XovsEI0S3GogAiFejMZf/QxvrhA\r\nEPx/zLOpFnlQynMLXpICIjgs382coGZf4fLmsWlHJFWtBtx4gh55ojpRYaNK\r\nqTqiA5Tmh+gyyU8TsW0q6kFSrg3Kf6RZ/qrC2QA376v6cFAH+TpVuwndph+0\r\nbhfMXazwcLAwTLV7OGbPkOcgPrgwWiiih7R6U5IinGQKe5ztn0EbKIpPbwJ6\r\nG+POYff/SPspu+X5fkTfRoF+enee347ttHsKeLCsXVlfHngpCyc4RhDtJzPo\r\n0JUhz5u0aKMirpxGxcj8OwPnE+uMBz3SlX8=\r\n=MUof\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dantheman827","email":"daniel.radtke@gmail.com"},"directories":{},"maintainers":[{"name":"dantheman827","email":"daniel.radtke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3ds-smdh_1.0.1_1680223485866_0.2460500152599785"},"_hasShrinkwrap":false}},"readme":"# 3ds-smdh\nReads and writes Nintendo 3DS SMDH files\n\n# API Reference\n## Classes\n\n<dl>\n<dt><a href=\"#SMDH\">SMDH</a></dt>\n<dd></dd>\n</dl>\n\n## Typedefs\n\n<dl>\n<dt><a href=\"#TitleObject\">TitleObject</a> : <code>Object</code></dt>\n<dd></dd>\n<dt><a href=\"#TitleBuffer\">TitleBuffer</a> : <code>Buffer</code></dt>\n<dd><p>A Buffer object that is exactly 0x200 bytes long</p>\n</dd>\n<dt><a href=\"#TitleObjects\">TitleObjects</a> : <code><a href=\"#TitleObject\">Object.&lt;TitleObject&gt;</a></code></dt>\n<dd></dd>\n<dt><a href=\"#BitmapObject\">BitmapObject</a> : <code>Object</code></dt>\n<dd></dd>\n</dl>\n\n<a name=\"SMDH\"></a>\n\n## SMDH\n**Kind**: global class  \n\n* [SMDH](#SMDH)\n    * [new SMDH([buffer])](#new_SMDH_new)\n    * [.writeTitleBuffer(buffer, index)](#SMDH+writeTitleBuffer) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.getTitle(index)](#SMDH+getTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getJapaneseTitle()](#SMDH+getJapaneseTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getEnglishTitle()](#SMDH+getEnglishTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getFrenchTitle()](#SMDH+getFrenchTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getGermanTitle()](#SMDH+getGermanTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getItalianTitle()](#SMDH+getItalianTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getSpanishTitle()](#SMDH+getSpanishTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getSimplifiedChineseTitle()](#SMDH+getSimplifiedChineseTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getKoreanTitle()](#SMDH+getKoreanTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getDutchTitle()](#SMDH+getDutchTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getPortugueseTitle()](#SMDH+getPortugueseTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getRussianTitle()](#SMDH+getRussianTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getTraditionalChineseTitle()](#SMDH+getTraditionalChineseTitle) ⇒ [<code>TitleObject</code>](#TitleObject)\n    * [.getAllTitles()](#SMDH+getAllTitles) ⇒ [<code>TitleObjects</code>](#TitleObjects)\n    * [.setTitle(index, shortDescription, longDescription, publisher)](#SMDH+setTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setJapaneseTitle(shortDescription, longDescription, publisher)](#SMDH+setJapaneseTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setEnglishTitle(shortDescription, longDescription, publisher)](#SMDH+setEnglishTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setFrenchTitle(shortDescription, longDescription, publisher)](#SMDH+setFrenchTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setGermanTitle(shortDescription, longDescription, publisher)](#SMDH+setGermanTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setItalianTitle(shortDescription, longDescription, publisher)](#SMDH+setItalianTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setSpanishTitle(shortDescription, longDescription, publisher)](#SMDH+setSpanishTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setSimplifiedChineseTitle(shortDescription, longDescription, publisher)](#SMDH+setSimplifiedChineseTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setKoreanTitle(shortDescription, longDescription, publisher)](#SMDH+setKoreanTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setDutchTitle(shortDescription, longDescription, publisher)](#SMDH+setDutchTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setPortugueseTitle(shortDescription, longDescription, publisher)](#SMDH+setPortugueseTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setRussianTitle(shortDescription, longDescription, publisher)](#SMDH+setRussianTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setTraditionalChineseTitle(shortDescription, longDescription, publisher)](#SMDH+setTraditionalChineseTitle) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.setAllTitles(shortDescription, longDescription, publisher)](#SMDH+setAllTitles) ⇒ [<code>SMDH</code>](#SMDH)\n    * [.getSmallIcon([callback])](#SMDH+getSmallIcon) ⇒ <code>Promise.&lt;PNG&gt;</code>\n    * [.getLargeIcon([callback])](#SMDH+getLargeIcon) ⇒ <code>Promise.&lt;PNG&gt;</code>\n    * [.setIcon(bitmap, iconSize, [callback])](#SMDH+setIcon) ⇒ <code>Promise.&lt;Buffer&gt;</code>\n    * [.setIcons(bitmap, [callback])](#SMDH+setIcons) ⇒ <code>Promise.&lt;buffer&gt;</code>\n    * [.getBuffer()](#SMDH+getBuffer) ⇒ <code>Buffer</code>\n\n<a name=\"new_SMDH_new\"></a>\n\n### new SMDH([buffer])\nA class for reading and writing 3DS SMDH data.\n\n\n| Param | Type | Description |\n| --- | --- | --- |\n| [buffer] | <code>Buffer</code> | An existing SMDH buffer to load |\n\n<a name=\"SMDH+writeTitleBuffer\"></a>\n\n### smdH.writeTitleBuffer(buffer, index) ⇒ [<code>SMDH</code>](#SMDH)\nWrites the title buffer to the SMDH buffer at the specified index\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| buffer | [<code>TitleBuffer</code>](#TitleBuffer) | The buffer to write |\n| index | <code>Integer</code> | The index to write to |\n\n<a name=\"SMDH+getTitle\"></a>\n\n### smdH.getTitle(index) ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the title object from the SMDH at the specified index\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| index | <code>Integer</code> | The title index to read |\n\n<a name=\"SMDH+getJapaneseTitle\"></a>\n\n### smdH.getJapaneseTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the Japanese title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getEnglishTitle\"></a>\n\n### smdH.getEnglishTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the English title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getFrenchTitle\"></a>\n\n### smdH.getFrenchTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the French title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getGermanTitle\"></a>\n\n### smdH.getGermanTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the German title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getItalianTitle\"></a>\n\n### smdH.getItalianTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the Italian title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getSpanishTitle\"></a>\n\n### smdH.getSpanishTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the Spanish title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getSimplifiedChineseTitle\"></a>\n\n### smdH.getSimplifiedChineseTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the Simplified Chinese title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getKoreanTitle\"></a>\n\n### smdH.getKoreanTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the Korean title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getDutchTitle\"></a>\n\n### smdH.getDutchTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the Dutch title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getPortugueseTitle\"></a>\n\n### smdH.getPortugueseTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the Portuguese title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getRussianTitle\"></a>\n\n### smdH.getRussianTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the Russian title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getTraditionalChineseTitle\"></a>\n\n### smdH.getTraditionalChineseTitle() ⇒ [<code>TitleObject</code>](#TitleObject)\nGets the Traditional Chinese title object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+getAllTitles\"></a>\n\n### smdH.getAllTitles() ⇒ [<code>TitleObjects</code>](#TitleObjects)\nGets object with the all title objects\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n<a name=\"SMDH+setTitle\"></a>\n\n### smdH.setTitle(index, shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the title in the SMDH for the specified index\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| index | <code>Integer</code> | The title index to write to |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setJapaneseTitle\"></a>\n\n### smdH.setJapaneseTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the Japanese title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setEnglishTitle\"></a>\n\n### smdH.setEnglishTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the English title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setFrenchTitle\"></a>\n\n### smdH.setFrenchTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the French title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setGermanTitle\"></a>\n\n### smdH.setGermanTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the German title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setItalianTitle\"></a>\n\n### smdH.setItalianTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the Italian title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setSpanishTitle\"></a>\n\n### smdH.setSpanishTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the Spanish title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setSimplifiedChineseTitle\"></a>\n\n### smdH.setSimplifiedChineseTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the Simplified Chinese title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setKoreanTitle\"></a>\n\n### smdH.setKoreanTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the Korean title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setDutchTitle\"></a>\n\n### smdH.setDutchTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the Dutch title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setPortugueseTitle\"></a>\n\n### smdH.setPortugueseTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the Portuguese title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setRussianTitle\"></a>\n\n### smdH.setRussianTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the Russian title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setTraditionalChineseTitle\"></a>\n\n### smdH.setTraditionalChineseTitle(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets the Traditional Chinese title\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+setAllTitles\"></a>\n\n### smdH.setAllTitles(shortDescription, longDescription, publisher) ⇒ [<code>SMDH</code>](#SMDH)\nSets all of the titles\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: [<code>SMDH</code>](#SMDH) - The current class  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description, max of 64 characters |\n| longDescription | <code>String</code> | The long description, max of 128 characters |\n| publisher | <code>String</code> | The publisher, max of 64 characters |\n\n<a name=\"SMDH+getSmallIcon\"></a>\n\n### smdH.getSmallIcon([callback]) ⇒ <code>Promise.&lt;PNG&gt;</code>\nGet the small icon image as a pngjs PNG object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: <code>Promise.&lt;PNG&gt;</code> - A promise with a pngjs PNG object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| [callback] | <code>function</code> | An optional node.js style callback |\n\n<a name=\"SMDH+getLargeIcon\"></a>\n\n### smdH.getLargeIcon([callback]) ⇒ <code>Promise.&lt;PNG&gt;</code>\nGet the small icon image as a pngjs PNG object\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: <code>Promise.&lt;PNG&gt;</code> - A promise with a pngjs PNG object  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| [callback] | <code>function</code> | An optional node.js style callback |\n\n<a name=\"SMDH+setIcon\"></a>\n\n### smdH.setIcon(bitmap, iconSize, [callback]) ⇒ <code>Promise.&lt;Buffer&gt;</code>\nSets the icon specified with iconSize\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: <code>Promise.&lt;Buffer&gt;</code> - The current SMDH buffer  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| bitmap | [<code>BitmapObject</code>](#BitmapObject) | A pngjs PNG-like object with RGBA bitmap data, width, and height. Must be either 24x24 or 48x48. |\n| iconSize | <code>Integer</code> | The destination icon size, 24 sets the small icon, and 48 sets the large icon |\n| [callback] | <code>function</code> | An optional node.js style callback |\n\n<a name=\"SMDH+setIcons\"></a>\n\n### smdH.setIcons(bitmap, [callback]) ⇒ <code>Promise.&lt;buffer&gt;</code>\nSets both the small and large icons\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: <code>Promise.&lt;buffer&gt;</code> - The current SMDH data buffer  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| bitmap | [<code>BitmapObject</code>](#BitmapObject) | A square bitmap object |\n| [callback] | <code>function</code> | An optional node.js style callback |\n\n<a name=\"SMDH+getBuffer\"></a>\n\n### smdH.getBuffer() ⇒ <code>Buffer</code>\nGets the current SMDH buffer\n\n**Kind**: instance method of [<code>SMDH</code>](#SMDH)  \n**Returns**: <code>Buffer</code> - The SMDH data buffer  \n<a name=\"TitleObject\"></a>\n\n## TitleObject : <code>Object</code>\n**Kind**: global typedef  \n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| shortDescription | <code>String</code> | The short description |\n| longDescription | <code>String</code> | The long description |\n| publisher | <code>String</code> | The publisher |\n\n<a name=\"TitleBuffer\"></a>\n\n## TitleBuffer : <code>Buffer</code>\nA Buffer object that is exactly 0x200 bytes long\n\n**Kind**: global typedef  \n<a name=\"TitleObjects\"></a>\n\n## TitleObjects : [<code>Object.&lt;TitleObject&gt;</code>](#TitleObject)\n**Kind**: global typedef  \n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| japanese | [<code>TitleObject</code>](#TitleObject) | The Japanese title object |\n| english | [<code>TitleObject</code>](#TitleObject) | The English title object |\n| french | [<code>TitleObject</code>](#TitleObject) | The French title object |\n| german | [<code>TitleObject</code>](#TitleObject) | The German title object |\n| italian | [<code>TitleObject</code>](#TitleObject) | The Italian title object |\n| spanish | [<code>TitleObject</code>](#TitleObject) | The Spanish title object |\n| simplifiedChinese | [<code>TitleObject</code>](#TitleObject) | The Simplified Chinese title object |\n| korean | [<code>TitleObject</code>](#TitleObject) | The Korean title object |\n| dutch | [<code>TitleObject</code>](#TitleObject) | The Dutch title object |\n| portuguese | [<code>TitleObject</code>](#TitleObject) | The Portuguese title object |\n| russian | [<code>TitleObject</code>](#TitleObject) | The Russian title object |\n| traditionalChinese | [<code>TitleObject</code>](#TitleObject) | The Traditional Chinese title object |\n\n<a name=\"BitmapObject\"></a>\n\n## BitmapObject : <code>Object</code>\n**Kind**: global typedef  \n**Properties**\n\n| Name | Type | Description |\n| --- | --- | --- |\n| data | <code>Buffer</code> | Raw RGBA bitmap data buffer |\n| width | <code>Integer</code> | Image width |\n| height | <code>Integer</code> | Image height |\n\n","maintainers":[{"name":"dantheman827","email":"daniel.radtke@gmail.com"}],"time":{"modified":"2023-03-31T00:44:46.075Z","created":"2017-08-25T13:57:46.395Z","1.0.0":"2017-08-25T13:57:46.395Z","1.0.1":"2023-03-31T00:44:45.966Z"},"homepage":"https://github.com/DanTheMan827/node-3ds-smdh#readme","repository":{"type":"git","url":"git+https://github.com/DanTheMan827/node-3ds-smdh.git"},"author":{"name":"DanTheMan827"},"bugs":{"url":"https://github.com/DanTheMan827/node-3ds-smdh/issues"},"license":"AGPL-3.0","readmeFilename":"README.md"}