Compare commits

..

No commits in common. "main" and "v1.0.8" have entirely different histories.
main ... v1.0.8

6 changed files with 5500 additions and 5286 deletions

1562
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -7,8 +7,7 @@
"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"
"preview": "vite preview"
},
"dependencies": {
"@mantine/core": "7.11.1",
@ -24,7 +23,7 @@
"@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",
"@vanilla-extract/vite-plugin": "^4.0.11",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
@ -33,7 +32,7 @@
"postcss-preset-mantine": "1.15.0",
"postcss-simple-vars": "^7.0.1",
"typescript": "^5.5.2",
"vite": "^6.3.5"
"vite": "^5.3.1"
},
"packageManager": "yarn@4.3.1"
}

View file

@ -1,5 +1,5 @@
.root {
border-radius: var(--mantine-radius-lg);
border-radius: var(--mantine-radius-md);
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
}
@ -16,7 +16,7 @@
background-color: var(--mantine-color-body);
border-color: light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-4));
box-shadow: var(--mantine-shadow-md);
border-radius: var(--mantine-radius-lg);
border-radius: var(--mantine-radius-md);
}
}

View file

@ -1,335 +1,111 @@
import "@mantine/core/styles.css";
import {
Accordion,
Anchor, Badge, Button, Center, Flex,
Group,
List,
MantineProvider,
Space,
Stack, Text, Title
Accordion, Anchor, Badge, Button, Container,
Flex, Group, List, MantineProvider, Menu,
Space, Stack, Text, Title, rem
} from "@mantine/core";
import {
IconDeviceMobile,
IconDeviceTablet,
IconDeviceLaptop,
IconCardboards
} from '@tabler/icons-react';
import { useState } from "react";
import { theme } from "./theme";
import classes from './App.module.css';
export default function App() {
const changes = [
{
text: 'Latest Changes',
secondaryText: 'Updated 2nd July 2025',
details: [
{
header: 'Added',
items: [
{
title: 'Added missing functions to IAudioController to include FW 19.0.0+ support',
subtitle: ''
},
{
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: ''
}
]
},
{
header: 'Changed',
items: []
},
{
header: 'Deprecated',
items: []
},
{
header: 'Fixed',
items: []
},
{
header: 'Removed',
items: []
},
{
header: 'Security',
items: []
}
]
},
{
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'}>
<Flex align={'center'} h={'100vh'} justify={'center'} mx={'md'}>
<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>
</MantineProvider>
)
}
/*export default function App() {
const changes = [
{
version: 'v1.0.15',
sha: 'c7431bd',
text: 'v1.0.8',
sha: '450b52f',
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",
items: [
{
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'
primaryText: 'Improved memory accuracy and sizing',
secondaryText: null
}
]
},
{
version: 'v1.0.14',
sha: '6178075',
system: "Windows",
items: [
{
primaryText: 'Improved memory accuracy and sizing',
secondaryText: null
}
]
}
]
},
{
text: 'v1.0.7',
sha: 'xxxxxxx',
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: 'Windows',
items: [
{
primaryText: 'Fixed an issue in Super Bomberman R 2 that caused the game to not boot due to an error in the Friend service',
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'
]
primaryText: 'Fixed an issue in Animal Well that caused the game to not boot due to the audio core revision number being too low',
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: []
primaryText: 'Fixed an issue in Princess Peach: Showtime! that caused the game to run into a black screen',
secondaryText: 'Please be aware this fix is not complete and Princess Peach: Showtime! will still drop to 0fps occasionally'
},
{
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'
primaryText: 'Fixed an issue in Paper Mario: The Thousand Year Door that caused the sewers to be black when using an AMD graphics card',
secondaryText: 'Thank you to Ryujinx for the pointer towards LogicOp'
}
]
}
]
}
];
const items = changes.map((item) => {
const listItems = item.details.map((detail, index) => {
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 (
<Accordion.Item key={item.version} value={item.version}>
<>
<Title order={3}>
{detail.system}
</Title>
<List>
{detailItems}
</List>
<Space h={index === changes.length ? 0 : 'md'} />
</>
);
});
return (
<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})`}
@ -341,43 +117,20 @@ 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 [opened, setOpened] = useState(false);
const date = new Date();
return (
<MantineProvider theme={theme} forceColorScheme={date.getHours() >= 7 && date.getHours() <= 19 ? "light" : "dark"}>
<Container my={'xl'}>
<Container>
<Flex align={'center'} justify={'center'} h={'100vh'}>
<Stack>
<Anchor href='https://twitter.com/antique_codes' ta={'center'} target='_blank'>
@antique_codes
@ -388,14 +141,54 @@ export default function App() {
<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://drive.google.com/file/d/1L_gb5v22wgxhNAOWasEAIwZm2WRvXKxE/view?usp=sharing" 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://drive.google.com/file/d/1bMWQtBkQwU7_oPjL0NGllOOMVyS_YV4j/view?usp=sharing" 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 radius={'lg'} variant="contained">
<Accordion classNames={classes} radius={'md'} 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>
)
}*/
);
}

View file

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

1066
yarn.lock

File diff suppressed because it is too large Load diff