This commit is contained in:
SrGooglo 2024-03-21 00:04:59 +01:00
parent 0b768045ad
commit f8c6795d3f
2 changed files with 13 additions and 14 deletions

View File

@ -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
}) })
}) })

View File

@ -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 = {
@ -115,15 +115,14 @@ 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(`RFS Mounted: ${rfs_files[0]}`)
console.log(`Executing game engine...`) 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`], { await pkg.libraries.exec.file(`yuzu-windows-msvc/yuzu-cmd.exe`, [`${pkg.install_path}/rfs_mount/01002DA013484000_v0/main.nsp`], {
shell: true shell: true
}) })
}, 2000)
})
}, },
close: async (pkg) => { close: async (pkg) => {
await pkg.rfs.unmount(rfs_files[0]) await pkg.rfs.unmount(rfs_files[0])
@ -134,7 +133,7 @@ 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) {