Observed since 20 Oct, 19:40 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
3ds-smdh
Reads and writes Nintendo 3DS SMDH files
Reads and writes Nintendo 3DS SMDH files
ObjectBufferA Buffer object that is exactly 0x200 bytes long
Object.<TitleObject>ObjectKind: global class
SMDHTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectTitleObjectsSMDHSMDHSMDHSMDHSMDHSMDHSMDHSMDHSMDHSMDHSMDHSMDHSMDHSMDHPromise.<PNG>Promise.<PNG>Promise.<Buffer>Promise.<buffer>BufferA class for reading and writing 3DS SMDH data.
| Param | Type | Description |
|---|---|---|
| [buffer] | Buffer | An existing SMDH buffer to load |
SMDHWrites the title buffer to the SMDH buffer at the specified index
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| buffer | TitleBuffer | The buffer to write |
| index | Integer | The index to write to |
TitleObjectGets the title object from the SMDH at the specified index
Kind: instance method of SMDH
| Param | Type | Description |
|---|---|---|
| index | Integer | The title index to read |
TitleObjectGets the Japanese title object
Kind: instance method of SMDH
TitleObjectGets the English title object
Kind: instance method of SMDH
TitleObjectGets the French title object
Kind: instance method of SMDH
TitleObjectGets the German title object
Kind: instance method of SMDH
TitleObjectGets the Italian title object
Kind: instance method of SMDH
TitleObjectGets the Spanish title object
Kind: instance method of SMDH
TitleObjectGets the Simplified Chinese title object
Kind: instance method of SMDH
TitleObjectGets the Korean title object
Kind: instance method of SMDH
TitleObjectGets the Dutch title object
Kind: instance method of SMDH
TitleObjectGets the Portuguese title object
Kind: instance method of SMDH
TitleObjectGets the Russian title object
Kind: instance method of SMDH
TitleObjectGets the Traditional Chinese title object
Kind: instance method of SMDH
TitleObjectsGets object with the all title objects
Kind: instance method of SMDH
SMDHSets the title in the SMDH for the specified index
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| index | Integer | The title index to write to |
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the Japanese title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the English title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the French title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the German title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the Italian title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the Spanish title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the Simplified Chinese title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the Korean title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the Dutch title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the Portuguese title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the Russian title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets the Traditional Chinese title
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
SMDHSets all of the titles
Kind: instance method of SMDH
Returns: SMDH - The current class
| Param | Type | Description |
|---|---|---|
| shortDescription | String | The short description, max of 64 characters |
| longDescription | String | The long description, max of 128 characters |
| publisher | String | The publisher, max of 64 characters |
Promise.<PNG>Get the small icon image as a pngjs PNG object
Kind: instance method of SMDH
Returns: Promise.<PNG> - A promise with a pngjs PNG object
| Param | Type | Description |
|---|---|---|
| [callback] | function | An optional node.js style callback |
Promise.<PNG>Get the small icon image as a pngjs PNG object
Kind: instance method of SMDH
Returns: Promise.<PNG> - A promise with a pngjs PNG object
| Param | Type | Description |
|---|---|---|
| [callback] | function | An optional node.js style callback |
Promise.<Buffer>Sets the icon specified with iconSize
Kind: instance method of SMDH
Returns: Promise.<Buffer> - The current SMDH buffer
| Param | Type | Description |
|---|---|---|
| bitmap | BitmapObject | A pngjs PNG-like object with RGBA bitmap data, width, and height. Must be either 24x24 or 48x48. |
| iconSize | Integer | The destination icon size, 24 sets the small icon, and 48 sets the large icon |
| [callback] | function | An optional node.js style callback |
Promise.<buffer>Sets both the small and large icons
Kind: instance method of SMDH
Returns: Promise.<buffer> - The current SMDH data buffer
| Param | Type | Description |
|---|---|---|
| bitmap | BitmapObject | A square bitmap object |
| [callback] | function | An optional node.js style callback |
BufferGets the current SMDH buffer
Kind: instance method of SMDH
Returns: Buffer - The SMDH data buffer
ObjectKind: global typedef
Properties
| Name | Type | Description |
|---|---|---|
| shortDescription | String | The short description |
| longDescription | String | The long description |
| publisher | String | The publisher |
BufferA Buffer object that is exactly 0x200 bytes long
Object.<TitleObject>Kind: global typedef
Properties
| Name | Type | Description |
|---|---|---|
| japanese | TitleObject | The Japanese title object |
| english | TitleObject | The English title object |
| french | TitleObject | The French title object |
| german | TitleObject | The German title object |
| italian | TitleObject | The Italian title object |
| spanish | TitleObject | The Spanish title object |
| simplifiedChinese | TitleObject | The Simplified Chinese title object |
| korean | TitleObject | The Korean title object |
| dutch | TitleObject | The Dutch title object |
| portuguese | TitleObject | The Portuguese title object |
| russian | TitleObject | The Russian title object |
| traditionalChinese | TitleObject | The Traditional Chinese title object |
ObjectKind: global typedef
Properties
| Name | Type | Description |
|---|---|---|
| data | Buffer | Raw RGBA bitmap data buffer |
| width | Integer | Image width |
| height | Integer | Image height |
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
jimpEnvironment{
"local_name": "jimp",
"alias": false,
"peer_metadata": null
} | ^0.2.28 | runtime |
pngjsEnvironment{
"local_name": "pngjs",
"alias": false,
"peer_metadata": null
} | ^3.3.0 | runtime |
tiled-image-toolsEnvironment{
"local_name": "tiled-image-tools",
"alias": false,
"peer_metadata": null
} | ^1.0.2 | runtime |
jsdoc-to-markdownEnvironment{
"local_name": "jsdoc-to-markdown",
"alias": false,
"peer_metadata": null
} | ^3.0.0 | development |
Source distribution
{
"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="
}
]
}Shared repository data · GitHub
Observed since 20 Oct, 19:40 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:080d26fb9a469a8ed32b828675fcdc44687fd901027716f101378e072a585fc4