54 lines
1.5 KiB
Plaintext
54 lines
1.5 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,
|
|
}
|
|
]
|
|
},
|
|
config: {
|
|
language: {
|
|
label:"Language",
|
|
type: "select",
|
|
default: "en",
|
|
}
|
|
},
|
|
execute: async (pkg) => {
|
|
await pkg.libraries.rfs.mount(rfs_files[0], undefined, () => {
|
|
console.log(`RFS Mounted: ${rfs_files[0]}`)
|
|
console.log(`Executing game engine...`)
|
|
setTimeout(() => {
|
|
pkg.libraries.exec.file(`yuzu-windows-msvc/yuzu-cmd.exe`, [`${pkg.install_path}/rfs_mount/01002DA013484000_v0/main.nsp`], {
|
|
shell: true
|
|
})
|
|
}, 2000)
|
|
})
|
|
},
|
|
close: async (pkg) => {
|
|
await pkg.rfs.unmount(rfs_files[0])
|
|
}
|
|
} |