40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
const vars = {
|
|
version: "1.0.1",
|
|
id: "zelda-skyward_sword_hd",
|
|
icon: "https://upload.wikimedia.org/wikipedia/commons/9/91/The_Legend_of_Zelda_Skyward_Sword.png",
|
|
name: "The Legend of Zelda: Skyward Sword HD",
|
|
author: "Nintendo XD",
|
|
description: "FileStream API Test"
|
|
}
|
|
|
|
const rfs_files = [
|
|
"http://fr01.ragestudio.net:3000"
|
|
]
|
|
|
|
module.exports = {
|
|
...vars,
|
|
executable: true,
|
|
rsb_minimun_version: "0.14.0",
|
|
import_libs: [
|
|
"ipc",
|
|
"rfs",
|
|
"exec",
|
|
],
|
|
install_steps: {
|
|
http_downloads: [
|
|
{
|
|
path: "yuzu-windows-x64.zip",
|
|
url: "https://storage.ragestudio.net/rs-bundler/dependencies/yuzu-windows-x64.zip",
|
|
extract: "./",
|
|
delete_after_extract: true,
|
|
}
|
|
]
|
|
},
|
|
execute: async (pkg) => {
|
|
await pkg.libraries.rfs.mount(rfs_files[0])
|
|
await pkg.libraries.exec.file(`${pkg.install_path}/yuzu-windows-msvc/yuzu-cmd.exe`, [`-c ${pkg.install_path}/config`, `-f`, `${pkg.install_path}/rfs_mount/01002DA013484000_v0/main.nsp`])
|
|
},
|
|
close: async (pkg) => {
|
|
await pkg.rfs.unmount(rfs_files[0])
|
|
}
|
|
} |