added new

This commit is contained in:
SrGooglo 2024-03-20 23:52:06 +01:00
parent b22025798c
commit 80d3cd2506
1 changed files with 130 additions and 0 deletions

130
manifests/mk.manifest Normal file
View File

@ -0,0 +1,130 @@
const vars = {
version: "1.0.0",
id: "mario_kart_8_deluxe",
icon: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQYIqfWrxzJpebOC8XMJpUr3Uk-lLhv9YKSpQ&usqp=CAU",
name: "Mario Kart 8 Deluxe",
author: "Nintendo XD",
description: "Nintendo dont sue my ples"
}
const rfs_files = [
"http://fr01.ragestudio.net:1050"
]
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], () => {
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/01002DA013484000_v0/main.nsp`], {
shell: true
})
})
},
close: async (pkg) => {
await pkg.rfs.unmount(rfs_files[0])
}
}