Compare commits

..

2 Commits

Author SHA1 Message Date
SrGooglo b22025798c updatre 2024-03-16 18:54:29 +01:00
SrGooglo 040de931db update 2024-03-16 18:53:19 +01:00
1 changed files with 13 additions and 12 deletions

View File

@ -8,7 +8,7 @@ const vars = {
} }
const rfs_files = [ const rfs_files = [
"ws://fr01.ragestudio.net:1050" "http://fr01.ragestudio.net:3000"
] ]
module.exports = { module.exports = {
@ -115,14 +115,15 @@ module.exports = {
} }
}, },
execute: async (pkg) => { execute: async (pkg) => {
await pkg.libraries.rfs.mount(rfs_files[0]) await pkg.libraries.rfs.mount(rfs_files[0], undefined, () => {
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(() => {
await pkg.libraries.exec.file(`yuzu-windows-msvc/yuzu-cmd.exe`, [`${pkg.install_path}/rfs_mount/01002DA013484000_v0/main.nsp`], { 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])
@ -133,7 +134,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) {