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