This commit is contained in:
parent
0b768045ad
commit
f8c6795d3f
|
@ -119,7 +119,7 @@ module.exports = {
|
||||||
console.log(`RFS Mounted: ${rfs_files[0]}`)
|
console.log(`RFS Mounted: ${rfs_files[0]}`)
|
||||||
console.log(`Executing game engine...`)
|
console.log(`Executing game engine...`)
|
||||||
|
|
||||||
pkg.libraries.exec.file(`yuzu-windows-msvc/yuzu-cmd.exe`, [`${pkg.install_path}/rfs_mount/0100152000022000_v0/main.nsp`], {
|
pkg.libraries.exec.file(`yuzu-windows-msvc/yuzu.exe`, ["-f", "-g", `${pkg.install_path}/rfs_mount/0100152000022000_v0/main.nsp`], {
|
||||||
shell: true
|
shell: true
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
@ -8,7 +8,7 @@ const vars = {
|
||||||
}
|
}
|
||||||
|
|
||||||
const rfs_files = [
|
const rfs_files = [
|
||||||
"http://fr01.ragestudio.net:3000"
|
"ws://fr01.ragestudio.net:1050"
|
||||||
]
|
]
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
@ -32,7 +32,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
configs: {
|
configs: {
|
||||||
language: {
|
language: {
|
||||||
label:"Language",
|
label: "Language",
|
||||||
type: "select",
|
type: "select",
|
||||||
default: "en",
|
default: "en",
|
||||||
ui_component_props: {
|
ui_component_props: {
|
||||||
|
@ -77,7 +77,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
region: {
|
region: {
|
||||||
label:"Region",
|
label: "Region",
|
||||||
type: "select",
|
type: "select",
|
||||||
default: "0",
|
default: "0",
|
||||||
ui_component_props: {
|
ui_component_props: {
|
||||||
|
@ -115,14 +115,13 @@ module.exports = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
execute: async (pkg) => {
|
execute: async (pkg) => {
|
||||||
await pkg.libraries.rfs.mount(rfs_files[0], undefined, () => {
|
await pkg.libraries.rfs.mount(rfs_files[0])
|
||||||
console.log(`RFS Mounted: ${rfs_files[0]}`)
|
|
||||||
console.log(`Executing game engine...`)
|
console.log(`RFS Mounted: ${rfs_files[0]}`)
|
||||||
setTimeout(() => {
|
console.log(`Executing game engine...`)
|
||||||
pkg.libraries.exec.file(`yuzu-windows-msvc/yuzu-cmd.exe`, [`${pkg.install_path}/rfs_mount/01002DA013484000_v0/main.nsp`], {
|
|
||||||
shell: true
|
await 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) => {
|
close: async (pkg) => {
|
||||||
|
@ -134,9 +133,9 @@ class YuzuConfig {
|
||||||
static default = {
|
static default = {
|
||||||
"language_index": 0,
|
"language_index": 0,
|
||||||
"region_index": 0,
|
"region_index": 0,
|
||||||
|
"use_docked_mode": true,
|
||||||
}
|
}
|
||||||
static async write(data) {
|
static async write(data) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue