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, } ] }, configs: { language: { label:"Language", type: "select", default: "en", ui_component_props: { options: [ { value: "0", label: "Japanese" }, { value: "1", label: "American English" }, { value: "2", label: "French" }, { value: "3", label: "German" }, { value: "4", label: "Italian" }, { value: "5", label: "Spanish" }, { value: "6", label: "Chinese" }, { value: "7", label: "Korean" }, { value: "8", label: "Portuguese" } ] } }, region: { label:"Region", type: "select", default: "0", ui_component_props: { options: [ { value: "0", label: "Japan" }, { value: "1", label: "USA" }, { value: "2", label: "Europe" }, { value: "3", label: "Australia" }, { value: "4", label: "China" }, { value: "5", label: "Korea" }, { value: "6", label: "Taiwan" } ] } } }, 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]) } } class YuzuConfig { static default = { "language_index": 0, "region_index": 0, } static async write(data) { } }