![Node.js Takes Steps Towards Removing Corepack](https://cdn.sanity.io/images/cgdhsj6q/production/5fa307ef6135347f38e009b4da8cebcb3b9a386a-1948x1336.png?w=400&fit=max&auto=format)
Security News
Node.js Takes Steps Towards Removing Corepack
Node.js is taking steps towards removing Corepack from its distribution, aiming for changes in the next major release.
cemu-smm
Advanced tools
This is a module to simplify all kinds of tasks with Loadiine Super Mario Maker save files and respectively Cemu
Readme
This is a module to simplify all kinds of tasks with Loadiine Super Mario Maker save files and respectively Cemu. It uses Javascript's async/await keywords that are available from Node >= 7.6.
With npm:
$ npm install --save cemu-smm
let smm = require("cemu-smm");
let fs = require("fs");
(async () => {
// let us load our SMM save file
let save = await smm.loadSave("path/to/your/cemu/save/mlc01/emulatorSave/updateID");
// reorder our course folders to match actual ingame appearance
save.reorder();
// recalculate crc checksum and write to 'save.dat'
// this always has to be done when changing bytes, e.g. in a Hex Editor
// internally done by reorder(), so unnecessary right here
save.writeCrc();
// extract all tnl files to jpeg in their respective course folder
save.exportJpeg();
// convert tnl to jpeg
let tnl = smm.loadImage("path/to/your/tnl/file");
let jpeg = await tnl.toJpeg();
fs.writeFileSync("path/to/newly/created/jpeg", jpeg);
// convert jpeg to tnl
jpeg = smm.loadImage("path/to/your/jpeg/file");
tnl = await jpeg.fromJpeg();
fs.writeFileSync("path/to/newly/created/tnl", tnl);
})();
MIT License Copyright (c) 2017 Mario Reder
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
This is a module to simplify all kinds of tasks with Loadiine Super Mario Maker save files and respectively Cemu
The npm package cemu-smm receives a total of 12 weekly downloads. As such, cemu-smm popularity was classified as not popular.
We found that cemu-smm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Node.js is taking steps towards removing Corepack from its distribution, aiming for changes in the next major release.
Security News
OpenSSF has released a guide to help package repositories adopt Trusted Publishers, which enhances security by using short-lived identity tokens for authentication, reducing the risks associated with long-lived secrets.
Employee Spotlight
Philipp Burckhardt recounts his journey from childhood computer fascinations, to building an e-learning platform at Carnegie Mellon University, and on to his current role at Socket.