forked from akanyan/STARTLINER
fix: aimeio not applying
This commit is contained in:
@ -134,6 +134,9 @@ impl Segatools {
|
||||
if self.amnet.name.len() > 0 {
|
||||
aimeio.set("serverName", &self.amnet.name);
|
||||
}
|
||||
} else if let Aime::Other(key) = &self.aime {
|
||||
ini_out.with_section(Some("aimeio"))
|
||||
.set("path", util::pkg_dir().join(key.to_string()).join("segatools").join("aimeio.dll").stringify()?);
|
||||
}
|
||||
} else {
|
||||
ini_out.with_section(Some("aime"))
|
||||
|
@ -154,7 +154,10 @@ listen<{ message: string; header: string }>('invoke-error', (event) => {
|
||||
><div class="pi pi-box"></div
|
||||
></Tab>
|
||||
<Tab
|
||||
v-if="prf.current?.meta.game === 'chunithm'"
|
||||
v-if="
|
||||
prf.current?.meta.game === 'chunithm' &&
|
||||
prf.current.data.sgt.target.length > 0
|
||||
"
|
||||
value="patches"
|
||||
><div class="pi pi-ticket"></div
|
||||
></Tab>
|
||||
@ -255,6 +258,20 @@ listen<{ message: string; header: string }>('invoke-error', (event) => {
|
||||
<div v-else>
|
||||
Patches require <code>mempatcher</code> to be installed
|
||||
and enabled.
|
||||
|
||||
<div>
|
||||
<Button
|
||||
label="Add mempatcher"
|
||||
icon="pi pi-plus"
|
||||
class="mt-3"
|
||||
@click="
|
||||
() =>
|
||||
pkg.installFromKey(
|
||||
'mempatcher-mempatcher'
|
||||
)
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</TabPanel>
|
||||
<TabPanel value="info">
|
||||
|
@ -40,7 +40,8 @@ if (unsupported.value === true && model.value === true) {
|
||||
<UpdateButton :pkg="pkg" />
|
||||
<span
|
||||
v-tooltip="
|
||||
unsupported && 'This package is not compatible with STARTLINER.'
|
||||
unsupported &&
|
||||
'This package is currently incompatible with STARTLINER.'
|
||||
"
|
||||
>
|
||||
<ToggleSwitch
|
||||
|
@ -84,6 +84,7 @@ load();
|
||||
</OptionRow>
|
||||
<OptionRow
|
||||
title="Aime code"
|
||||
tooltip="Only applicable with the segatools built-in emulation or with compatible third-party packages"
|
||||
v-if="prf.current!.data.sgt.aime !== 'Disabled'"
|
||||
>
|
||||
<InputText
|
||||
|
@ -329,7 +329,7 @@ export const usePrfStore = defineStore('prf', () => {
|
||||
if (timeout !== null) {
|
||||
clearTimeout(timeout);
|
||||
}
|
||||
timeout = setTimeout(() => invoke('save_current_profile'), 2000);
|
||||
timeout = setTimeout(() => invoke('save_current_profile'), 600);
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user