mirror of
https://github.com/emuplace/sudachi.emuplace.app.git
synced 2025-09-18 17:30:04 +02:00
Compare commits
No commits in common. "main" and "v1.0.10" have entirely different histories.
8 changed files with 5637 additions and 5299 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no" />
|
||||
<title>Sudachi</title>
|
||||
</head>
|
||||
|
|
9154
package-lock.json
generated
9154
package-lock.json
generated
File diff suppressed because it is too large
Load diff
73
package.json
73
package.json
|
@ -1,39 +1,38 @@
|
|||
{
|
||||
"name": "vite-min-template",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "tsc && vite build",
|
||||
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview",
|
||||
"emulate": "npm run build && firebase emulators:start --only hosting"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mantine/core": "7.11.1",
|
||||
"@mantine/hooks": "7.11.1",
|
||||
"@mantine/vanilla-extract": "7.11.1",
|
||||
"@tabler/icons-react": "^3.11.0",
|
||||
"@vanilla-extract/css": "^1.15.3",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
||||
"@typescript-eslint/parser": "^7.13.1",
|
||||
"@vanilla-extract/vite-plugin": "^5.0.7",
|
||||
"@vitejs/plugin-react": "^4.3.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.2",
|
||||
"eslint-plugin-react-refresh": "^0.4.7",
|
||||
"postcss": "^8.4.38",
|
||||
"postcss-preset-mantine": "1.15.0",
|
||||
"postcss-simple-vars": "^7.0.1",
|
||||
"typescript": "^5.5.2",
|
||||
"vite": "^6.3.5"
|
||||
},
|
||||
"packageManager": "yarn@4.3.1"
|
||||
"name": "vite-min-template",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "tsc && vite build",
|
||||
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mantine/core": "7.11.1",
|
||||
"@mantine/hooks": "7.11.1",
|
||||
"@mantine/vanilla-extract": "7.11.1",
|
||||
"@tabler/icons-react": "^3.11.0",
|
||||
"@vanilla-extract/css": "^1.15.3",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
||||
"@typescript-eslint/parser": "^7.13.1",
|
||||
"@vanilla-extract/vite-plugin": "^4.0.11",
|
||||
"@vitejs/plugin-react": "^4.3.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.2",
|
||||
"eslint-plugin-react-refresh": "^0.4.7",
|
||||
"postcss": "^8.4.38",
|
||||
"postcss-preset-mantine": "1.15.0",
|
||||
"postcss-simple-vars": "^7.0.1",
|
||||
"typescript": "^5.5.2",
|
||||
"vite": "^5.3.1"
|
||||
},
|
||||
"packageManager": "yarn@4.3.1"
|
||||
}
|
||||
|
|
1
public/favicon.svg
Normal file
1
public/favicon.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><g fill="none" fill-rule="evenodd"><rect width="500" height="500" fill="#339AF0" rx="250"/><g fill="#FFF"><path fill-rule="nonzero" d="M202.055 135.706c-6.26 8.373-4.494 20.208 3.944 26.42 29.122 21.45 45.824 54.253 45.824 90.005 0 35.752-16.702 68.559-45.824 90.005-8.436 6.215-10.206 18.043-3.944 26.42 6.26 8.378 18.173 10.13 26.611 3.916a153.835 153.835 0 0024.509-22.54h53.93c10.506 0 19.023-8.455 19.023-18.885 0-10.43-8.517-18.886-19.023-18.886h-29.79c8.196-18.594 12.553-38.923 12.553-60.03s-4.357-41.436-12.552-60.03h29.79c10.505 0 19.022-8.455 19.022-18.885 0-10.43-8.517-18.886-19.023-18.886h-53.93a153.835 153.835 0 00-24.509-22.54c-8.438-6.215-20.351-4.46-26.61 3.916z"/><path d="M171.992 246.492c0-15.572 12.624-28.195 28.196-28.195 15.572 0 28.195 12.623 28.195 28.195 0 15.572-12.623 28.196-28.195 28.196-15.572 0-28.196-12.624-28.196-28.196z"/></g></g></svg>
|
After (image error) Size: 937 B |
89
public/index.html
Normal file
89
public/index.html
Normal file
|
@ -0,0 +1,89 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Welcome to Firebase Hosting</title>
|
||||
|
||||
<!-- update the version number as needed -->
|
||||
<script defer src="/__/firebase/10.12.3/firebase-app-compat.js"></script>
|
||||
<!-- include only the Firebase features as you need -->
|
||||
<script defer src="/__/firebase/10.12.3/firebase-auth-compat.js"></script>
|
||||
<script defer src="/__/firebase/10.12.3/firebase-database-compat.js"></script>
|
||||
<script defer src="/__/firebase/10.12.3/firebase-firestore-compat.js"></script>
|
||||
<script defer src="/__/firebase/10.12.3/firebase-functions-compat.js"></script>
|
||||
<script defer src="/__/firebase/10.12.3/firebase-messaging-compat.js"></script>
|
||||
<script defer src="/__/firebase/10.12.3/firebase-storage-compat.js"></script>
|
||||
<script defer src="/__/firebase/10.12.3/firebase-analytics-compat.js"></script>
|
||||
<script defer src="/__/firebase/10.12.3/firebase-remote-config-compat.js"></script>
|
||||
<script defer src="/__/firebase/10.12.3/firebase-performance-compat.js"></script>
|
||||
<!--
|
||||
initialize the SDK after all desired features are loaded, set useEmulator to false
|
||||
to avoid connecting the SDK to running emulators.
|
||||
-->
|
||||
<script defer src="/__/firebase/init.js?useEmulator=true"></script>
|
||||
|
||||
<style media="screen">
|
||||
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
|
||||
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px; border-radius: 3px; }
|
||||
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
|
||||
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
|
||||
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
|
||||
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
|
||||
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
|
||||
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
|
||||
@media (max-width: 600px) {
|
||||
body, #message { margin-top: 0; background: white; box-shadow: none; }
|
||||
body { border-top: 16px solid #ffa100; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="message">
|
||||
<h2>Welcome</h2>
|
||||
<h1>Firebase Hosting Setup Complete</h1>
|
||||
<p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p>
|
||||
<a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a>
|
||||
</div>
|
||||
<p id="load">Firebase SDK Loading…</p>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const loadEl = document.querySelector('#load');
|
||||
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
|
||||
// // The Firebase SDK is initialized and available here!
|
||||
//
|
||||
// firebase.auth().onAuthStateChanged(user => { });
|
||||
// firebase.database().ref('/path/to/ref').on('value', snapshot => { });
|
||||
// firebase.firestore().doc('/foo/bar').get().then(() => { });
|
||||
// firebase.functions().httpsCallable('yourFunction')().then(() => { });
|
||||
// firebase.messaging().requestPermission().then(() => { });
|
||||
// firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { });
|
||||
// firebase.analytics(); // call to activate
|
||||
// firebase.analytics().logEvent('tutorial_completed');
|
||||
// firebase.performance(); // call to activate
|
||||
//
|
||||
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
|
||||
|
||||
try {
|
||||
let app = firebase.app();
|
||||
let features = [
|
||||
'auth',
|
||||
'database',
|
||||
'firestore',
|
||||
'functions',
|
||||
'messaging',
|
||||
'storage',
|
||||
'analytics',
|
||||
'remoteConfig',
|
||||
'performance',
|
||||
].filter(feature => typeof app[feature] === 'function');
|
||||
loadEl.textContent = `Firebase SDK loaded with ${features.join(', ')}`;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
loadEl.textContent = 'Error loading the Firebase SDK, check the console.';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
550
src/App.tsx
550
src/App.tsx
|
@ -1,364 +1,175 @@
|
|||
import "@mantine/core/styles.css";
|
||||
import {
|
||||
Container,
|
||||
Flex,
|
||||
MantineProvider,
|
||||
Title,
|
||||
Text,
|
||||
Stack,
|
||||
Anchor
|
||||
Accordion, Anchor, Badge, Button, Container,
|
||||
Flex, Group, List, MantineProvider,
|
||||
Space, Stack, Text, Title
|
||||
} from "@mantine/core";
|
||||
import { theme } from "./theme";
|
||||
import classes from './App.module.css';
|
||||
|
||||
export default function App() {
|
||||
/*
|
||||
const changes = [
|
||||
{
|
||||
text: 'Latest Changes',
|
||||
secondaryText: 'Updated 2nd July 2025',
|
||||
text: 'v1.0.10',
|
||||
sha: 'f2e32a9',
|
||||
isLatest: false,
|
||||
isUpcoming: true,
|
||||
details: [
|
||||
{
|
||||
header: 'Added',
|
||||
system: "Android",
|
||||
download: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.10/app-mainline-release.apk',
|
||||
last: false,
|
||||
items: [
|
||||
{
|
||||
title: 'Added missing functions to IAudioController to include FW 19.0.0+ support',
|
||||
subtitle: ''
|
||||
primaryText: 'Added some support for QLaunch (Home Menu) and added QLaunch option to Applet launcher submenu',
|
||||
secondaryText: null
|
||||
},
|
||||
{
|
||||
title: 'Added missing functions to IParentalControlService to include FW 18.0.0+ support',
|
||||
subtitle: ''
|
||||
},
|
||||
{
|
||||
title: 'Added missing functions to IProfile and IProfileEditor to include FW 15.0.0 and 18.0.0+ support',
|
||||
subtitle: ''
|
||||
primaryText: 'Improved accuracy of several IPC interface services',
|
||||
secondaryText: null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
header: 'Changed',
|
||||
items: []
|
||||
system: "Linux",
|
||||
download: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.10/sudachi-linux-v1.0.10.7z',
|
||||
last: false,
|
||||
items: [
|
||||
{
|
||||
primaryText: 'Added some support for QLaunch (Home Menu) and added QLaunch option to Tools submenu',
|
||||
secondaryText: null
|
||||
},
|
||||
{
|
||||
primaryText: 'Improved accuracy of several IPC interface services',
|
||||
secondaryText: null
|
||||
},
|
||||
{
|
||||
primaryText: 'Improved game library loading by using native C++ directory recursion',
|
||||
secondaryText: null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
header: 'Deprecated',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
header: 'Fixed',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
header: 'Removed',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
header: 'Security',
|
||||
items: []
|
||||
system: "Windows",
|
||||
download: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.10/sudachi-windows-v1.0.10.7z',
|
||||
last: true,
|
||||
items: [
|
||||
{
|
||||
primaryText: 'Added some support for QLaunch (Home Menu) and added QLaunch option to Tools submenu',
|
||||
secondaryText: null
|
||||
},
|
||||
{
|
||||
primaryText: 'Improved accuracy of several IPC interface services',
|
||||
secondaryText: null
|
||||
},
|
||||
{
|
||||
primaryText: 'Improved game library loading by using native C++ directory recursion',
|
||||
secondaryText: null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
url: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.10/latest.zip'
|
||||
},
|
||||
{
|
||||
text: 'Older Changes',
|
||||
secondaryText: 'Updated 20th June 2025',
|
||||
details: [
|
||||
{
|
||||
header: 'Added',
|
||||
items: [
|
||||
{
|
||||
title: 'Added missing master_key_* identifiers from 0x0B to 0x13 to include FW 18.0.0+ support',
|
||||
subtitle: ''
|
||||
},
|
||||
{
|
||||
title: 'Added AliasRegionExtraSize to Kernel, ProgramMetadata and SVC to include FW 18.0.0+ support',
|
||||
subtitle: ''
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
header: 'Changed',
|
||||
items: [
|
||||
{
|
||||
title: 'Rewrote the AppletAE, MM:U and NVMEMP services to improve accuracy',
|
||||
subtitle: ''
|
||||
},
|
||||
{
|
||||
title: 'Rewrote the RawNACP structure to improve accuracy and include FW 20.0.0+ support',
|
||||
subtitle: ''
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
header: 'Deprecated',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
header: 'Fixed',
|
||||
items: [
|
||||
{
|
||||
title: 'Fixed compilation errors and issues with Mbed-TLS',
|
||||
subtitle: ''
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
header: 'Removed',
|
||||
items: []
|
||||
},
|
||||
{
|
||||
header: 'Security',
|
||||
items: []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
const items = changes.map((item) => {
|
||||
return (
|
||||
<Accordion.Item key={item.text} value={item.text}>
|
||||
<Accordion.Control>
|
||||
<Group justify={'space-between'} mr={'sm'}>
|
||||
<Text>
|
||||
{item.text}
|
||||
</Text>
|
||||
<Text c={'dimmed'}>
|
||||
{item.secondaryText}
|
||||
</Text>
|
||||
</Group>
|
||||
</Accordion.Control>
|
||||
<Accordion.Panel mr={'md'}>
|
||||
{
|
||||
item.details.map((detail, index) => (
|
||||
<>
|
||||
<Title order={2}>
|
||||
{detail.header}
|
||||
</Title>
|
||||
<List>
|
||||
{
|
||||
detail.items.length == 0 ? (
|
||||
<Text c={'dimmed'}>Unchanged</Text>
|
||||
) : (
|
||||
detail.items.map((item) => (
|
||||
<List.Item>
|
||||
<Text c={'dimmed'}>
|
||||
{item.title}
|
||||
</Text>
|
||||
</List.Item>
|
||||
))
|
||||
)
|
||||
}
|
||||
</List>
|
||||
<Space h={index == item.details.length - 1 ? 0 : 'md'} />
|
||||
</>
|
||||
))
|
||||
}
|
||||
</Accordion.Panel>
|
||||
</Accordion.Item>
|
||||
)
|
||||
})
|
||||
*/
|
||||
|
||||
const date = new Date()
|
||||
|
||||
return (
|
||||
<MantineProvider theme={theme} forceColorScheme={date.getHours() >= 7 && date.getHours() <= 19 ? 'light' : 'dark'}>
|
||||
<Container>
|
||||
<Flex align={'center'} mih={'100vh'} justify={'center'}>
|
||||
<Stack>
|
||||
<Anchor href='https://twitter.com/getsudachiemu' target={'_blank'}>
|
||||
<Text c={theme.primaryColor} ta={'center'}>
|
||||
@getsudachiemu
|
||||
</Text>
|
||||
</Anchor>
|
||||
<Title order={1} ta={'center'}>
|
||||
Development Postponed
|
||||
</Title>
|
||||
<Flex align={'center'} gap={'xs'} justify={'center'}>
|
||||
<Text c={'dimmed'}>
|
||||
Check out
|
||||
</Text>
|
||||
<Anchor href='https://folium.emuplace.app' target={'_blank'}>
|
||||
<Text c={theme.primaryColor} ta={'center'}>
|
||||
Folium
|
||||
</Text>
|
||||
</Anchor>
|
||||
<Text c={'dimmed'}>
|
||||
for iPad and iPhone
|
||||
</Text>
|
||||
</Flex>
|
||||
</Stack>
|
||||
{/*
|
||||
<Stack>
|
||||
<Anchor href='https://twitter.com/getsudachiemu' target={'_blank'}>
|
||||
<Text c={theme.primaryColor} ta={'center'}>
|
||||
@getsudachiemu
|
||||
</Text>
|
||||
</Anchor>
|
||||
<Title order={1} ta={'center'}>
|
||||
Sudachi, a Nintendo Switch emulator
|
||||
</Title>
|
||||
<Center>
|
||||
<Badge variant={'dot'}>
|
||||
#a-new-beginning
|
||||
</Badge>
|
||||
</Center>
|
||||
<Text c={'dimmed'} ta={'center'}>
|
||||
Nintendo Switch emulation focusing on accuracy, performance and support
|
||||
</Text>
|
||||
<Space h={'md'} />
|
||||
<Accordion radius={'lg'} variant={'contained'}>
|
||||
{items}
|
||||
</Accordion>
|
||||
<Space h={'md'} />
|
||||
<Center>
|
||||
<Stack>
|
||||
<Text c={'dimmed'} ta={'center'}>
|
||||
Sudachi is no longer in-development and won't be for some time due to my required commitment to my paid project, Folium<br />For a fork that also provides real, significant changes, check out Eden below
|
||||
</Text>
|
||||
<Flex justify={'center'}>
|
||||
<Button color={'violet'} component={'a'} href={'https://eden-emu.dev'} radius={'xl'} target={'_blank'} variant={'light'}>
|
||||
Check out Eden
|
||||
</Button>
|
||||
</Flex>
|
||||
</Stack>
|
||||
</Center>
|
||||
</Stack>
|
||||
*/}
|
||||
</Flex>
|
||||
</Container>
|
||||
</MantineProvider>
|
||||
)
|
||||
}
|
||||
|
||||
/*export default function App() {
|
||||
const changes = [
|
||||
{
|
||||
version: 'v1.0.15',
|
||||
sha: 'c7431bd',
|
||||
text: 'v1.0.9',
|
||||
sha: 'e56a8a0',
|
||||
isLatest: true,
|
||||
isUpcoming: false,
|
||||
details: [
|
||||
{
|
||||
title: 'Added support for XCX:DE by stubbing ssl:s',
|
||||
subtitles: [
|
||||
'Currently the menu and a small section of the game has been tested'
|
||||
system: "Android",
|
||||
download: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.9/app-mainline-release.apk',
|
||||
last: true,
|
||||
items: [
|
||||
{
|
||||
primaryText: 'Added an additional page to the setup flow and button to the settings page allowing users to select a title.keys file',
|
||||
secondaryText: null
|
||||
},
|
||||
{
|
||||
primaryText: 'Fixed an issue where the app would crash when installing a DLC or update',
|
||||
secondaryText: 'Requires both prod.keys and title.keys'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'Changed how MoltenVK is obtained for macOS to get newer versions',
|
||||
subtitles: [
|
||||
'Artifacts are now used which can now be updated more frequently'
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'Changed from SDL2 to SDL3 bringing over its improvements',
|
||||
subtitles: []
|
||||
},
|
||||
{
|
||||
title: 'Fixed issues related to caps by reverting the rewrite temporarily',
|
||||
subtitles: []
|
||||
},
|
||||
{
|
||||
title: 'Fixed several compilation errors on macOS',
|
||||
subtitles: []
|
||||
},
|
||||
{
|
||||
title: 'Updated vcpkg to the latest version',
|
||||
subtitles: []
|
||||
},
|
||||
],
|
||||
downloads: [
|
||||
{
|
||||
color: 'green',
|
||||
platform: 'Android',
|
||||
url: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.15/app-mainline-release.apk'
|
||||
},
|
||||
{
|
||||
color: 'orange',
|
||||
platform: 'Linux',
|
||||
url: ''
|
||||
},
|
||||
{
|
||||
color: 'violet',
|
||||
platform: 'macOS',
|
||||
url: ''
|
||||
},
|
||||
{
|
||||
color: 'blue',
|
||||
platform: 'Windows',
|
||||
url: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.15/sudachi-windows-v1.0.15.7z'
|
||||
},
|
||||
{
|
||||
color: 'gray',
|
||||
platform: 'Source Code',
|
||||
url: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.15/latest.zip'
|
||||
}
|
||||
]
|
||||
],
|
||||
url: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.9/latest.zip'
|
||||
},
|
||||
{
|
||||
version: 'v1.0.14',
|
||||
sha: '6178075',
|
||||
text: 'v1.0.8',
|
||||
sha: '450b52f',
|
||||
isLatest: false,
|
||||
isUpcoming: false,
|
||||
details: [
|
||||
{
|
||||
title: 'Added support for booting the initial setup screen via -setup',
|
||||
subtitles: [
|
||||
'Only available on Linux, macOS and Windows via Terminal or Tools > Open Initial Setup',
|
||||
'Only partial support for now, will be improved in the future'
|
||||
system: "Android",
|
||||
download: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.8/app-mainline-release.apk',
|
||||
last: false,
|
||||
items: [
|
||||
{
|
||||
primaryText: 'Improved memory accuracy and sizing',
|
||||
secondaryText: null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'Added several missing functions to allow the initial setup screen to be launched',
|
||||
subtitles: [
|
||||
'Fixes an issue where some newer games would not boot'
|
||||
system: "Windows",
|
||||
download: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.8/sudachi-windows-v1.0.8.7z',
|
||||
last: true,
|
||||
items: [
|
||||
{
|
||||
primaryText: 'Improved memory accuracy and sizing',
|
||||
secondaryText: null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: 'Fixed an issue with mm:u where Get and GetOld would not return after pushing a found session\'s minimum value',
|
||||
subtitles: []
|
||||
},
|
||||
{
|
||||
title: 'Started rewrite of caps, caps:a and caps:su to improve accuracy',
|
||||
subtitles: []
|
||||
}
|
||||
],
|
||||
downloads: [
|
||||
{
|
||||
color: 'green',
|
||||
platform: 'Android',
|
||||
url: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.14/app-mainline-release.apk'
|
||||
},
|
||||
{
|
||||
color: 'orange',
|
||||
platform: 'Linux',
|
||||
url: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.14/sudachi-linux-v1.0.14.7z'
|
||||
},
|
||||
{
|
||||
color: 'violet',
|
||||
platform: 'macOS',
|
||||
url: ''
|
||||
},
|
||||
{
|
||||
color: 'blue',
|
||||
platform: 'Windows',
|
||||
url: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.14/sudachi-windows-v1.0.14.7z'
|
||||
},
|
||||
{
|
||||
color: 'gray',
|
||||
platform: 'Source Code',
|
||||
url: 'https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.14/latest.zip'
|
||||
}
|
||||
]
|
||||
url: ''
|
||||
}
|
||||
]
|
||||
];
|
||||
|
||||
const items = changes.map((item) => {
|
||||
const listItems = item.details.map((detail) => {
|
||||
const detailItems = detail.items.map((item) => (
|
||||
<>
|
||||
<List.Item>
|
||||
<Text>{item.primaryText}</Text>
|
||||
<Text c={'dimmed'} size="sm" hidden={item.secondaryText == '' || item.secondaryText == null}>
|
||||
{item.secondaryText}
|
||||
</Text>
|
||||
</List.Item>
|
||||
</>
|
||||
));
|
||||
|
||||
return (
|
||||
<>
|
||||
<Title order={3}>
|
||||
{detail.system}
|
||||
</Title>
|
||||
<List>
|
||||
{detailItems}
|
||||
</List>
|
||||
<Space h={'md'} />
|
||||
<Group>
|
||||
<Button component="a" disabled={detail.download == '' || detail.download == null} href={detail.download} radius={'md'} size="sm">
|
||||
Download
|
||||
</Button>
|
||||
<Button color="gray" component="a" disabled={item.url == '' || item.url == null} href={item.url} radius={'md'} size="sm">
|
||||
Source Code
|
||||
</Button>
|
||||
</Group>
|
||||
<Space h={detail.last ? 0 : 'md'} />
|
||||
</>
|
||||
);
|
||||
});
|
||||
|
||||
return (
|
||||
<Accordion.Item key={item.version} value={item.version}>
|
||||
<Accordion.Item key={item.text} value={item.text}>
|
||||
<Accordion.Control>
|
||||
<Group justify='space-between' pr={'md'}>
|
||||
<Group gap={'sm'}>
|
||||
<Text>
|
||||
{item.version}
|
||||
{item.text}
|
||||
</Text>
|
||||
<Text c={'dimmed'}>
|
||||
{`(${item.sha})`}
|
||||
|
@ -370,61 +181,76 @@ export default function App() {
|
|||
</Group>
|
||||
</Accordion.Control>
|
||||
<Accordion.Panel>
|
||||
<List>
|
||||
{item.details.map((detail) => (
|
||||
<List.Item>
|
||||
<Text>
|
||||
{detail.title}
|
||||
</Text>
|
||||
<List>
|
||||
{detail.subtitles.map((subtitle) => (
|
||||
<List.Item>
|
||||
<Text c={'dimmed'} size="sm">
|
||||
{subtitle}
|
||||
</Text>
|
||||
</List.Item>
|
||||
))}
|
||||
</List>
|
||||
</List.Item>
|
||||
))}
|
||||
</List>
|
||||
<Space h={'md'} />
|
||||
<Flex gap={'md'} wrap={'wrap'} justify="flex-start"
|
||||
align="flex-start">
|
||||
{item.downloads.map((download) => (
|
||||
<Button color={download.color} radius={'md'} component="a" disabled={download.url == '' || download.url == null} href={download.url}>
|
||||
{download.platform}
|
||||
</Button>
|
||||
))}
|
||||
</Flex>
|
||||
{...listItems}
|
||||
</Accordion.Panel>
|
||||
</Accordion.Item>
|
||||
)
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
const date = new Date()
|
||||
const date = new Date();
|
||||
|
||||
return (
|
||||
<MantineProvider theme={theme} forceColorScheme={date.getHours() >= 7 && date.getHours() <= 19 ? "light" : "dark"}>
|
||||
<Container my={'xl'}>
|
||||
<Stack>
|
||||
<Anchor href='https://twitter.com/antique_codes' ta={'center'} target='_blank'>
|
||||
@antique_codes
|
||||
</Anchor>
|
||||
<Title order={1} ta={'center'}>
|
||||
Sudachi, a Nintendo Switch emulator
|
||||
</Title>
|
||||
<Text c={'dimmed'} ta={'center'}>
|
||||
Nintendo Switch emulation without the iffy bits and support for more games
|
||||
</Text>
|
||||
<Title order={2}>
|
||||
Changes
|
||||
</Title>
|
||||
<Accordion radius={'lg'} variant="contained">
|
||||
{items}
|
||||
</Accordion>
|
||||
</Stack>
|
||||
<Container>
|
||||
<Flex align={'center'} justify={'center'} h={'100vh'}>
|
||||
<Stack>
|
||||
<Anchor href='https://twitter.com/antique_codes' ta={'center'} target='_blank'>
|
||||
@antique_codes
|
||||
</Anchor>
|
||||
<Title order={1} ta={'center'}>
|
||||
Sudachi, a Nintendo Switch emulator
|
||||
</Title>
|
||||
<Text c={'dimmed'} ta={'center'}>
|
||||
Nintendo Switch emulation without the iffy bits and support for more games
|
||||
</Text>
|
||||
{/*<Flex align={'center'} justify={'center'}>
|
||||
<Group ta={'center'}>
|
||||
<Button component="a" href="https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.9/app-mainline-release.apk" color="green" radius={'xl'} variant="filled">Android</Button>
|
||||
<Menu opened={opened} onChange={setOpened}>
|
||||
<Menu.Target>
|
||||
<Button radius={'xl'} variant="filled" disabled>Apple</Button>
|
||||
</Menu.Target>
|
||||
|
||||
<Menu.Dropdown>
|
||||
<Menu.Label>iOS, iPadOS</Menu.Label>
|
||||
<Menu.Item leftSection={<IconDeviceTablet style={{ width: rem(14), height: rem(14) }} />}>
|
||||
iPad
|
||||
</Menu.Item>
|
||||
<Menu.Item leftSection={<IconDeviceMobile style={{ width: rem(14), height: rem(14) }} />}>
|
||||
iPhone
|
||||
</Menu.Item>
|
||||
<Menu.Divider />
|
||||
<Menu.Label>macOS</Menu.Label>
|
||||
<Menu.Item leftSection={<IconDeviceLaptop style={{ width: rem(14), height: rem(14) }} />} disabled>
|
||||
Apple Silicon
|
||||
</Menu.Item>
|
||||
<Menu.Item leftSection={<IconDeviceLaptop style={{ width: rem(14), height: rem(14) }} />} disabled>
|
||||
Intel
|
||||
</Menu.Item>
|
||||
<Menu.Divider />
|
||||
<Menu.Label>visionOS</Menu.Label>
|
||||
<Menu.Item leftSection={<IconCardboards style={{ width: rem(14), height: rem(14) }} />} disabled>
|
||||
Apple Vision Pro
|
||||
</Menu.Item>
|
||||
</Menu.Dropdown>
|
||||
</Menu>
|
||||
<Button color="orange" radius={'xl'} variant="filled" disabled>Linux</Button>
|
||||
<Button color="blue" component="a" href="https://github.com/emuplace/sudachi.emuplace.app/releases/download/v1.0.8/sudachi-windows-v1.0.8.7z" radius={'xl'} variant="filled">Windows</Button>
|
||||
<Button color="gray" component="a" href="https://drive.google.com/file/d/149zdnytWES7-2f8SpXuceVBz--xKgp2c/view?usp=sharing" radius={'xl'} variant="filled">Source Code</Button>
|
||||
</Group>
|
||||
</Flex>*/}
|
||||
<Title order={2}>
|
||||
Changes
|
||||
</Title>
|
||||
<Accordion classNames={classes} radius={'lg'} variant="contained">
|
||||
{items}
|
||||
</Accordion>
|
||||
<Text c={'red'}>
|
||||
Please backup and delete all folders within the Sudachi directory, this will fix the downloadable content and updates issue
|
||||
</Text>
|
||||
</Stack>
|
||||
</Flex>
|
||||
</Container>
|
||||
</MantineProvider>
|
||||
)
|
||||
}*/
|
||||
);
|
||||
}
|
||||
|
|
|
@ -2,6 +2,6 @@ import { createTheme } from "@mantine/core";
|
|||
import { themeToVars } from "@mantine/vanilla-extract";
|
||||
|
||||
export const theme = createTheme({
|
||||
primaryColor: 'green'
|
||||
primaryColor: 'violet'
|
||||
});
|
||||
export const vars = themeToVars(theme);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue