import{_ as c}from"./plugin-vue_export-helper-x3n3nnut.js";import{r,o as h,c as p,a as e,b as t,d as a,w as o,e as l}from"./app-DLdAQsjV.js";const g={},m=e("h1",{id:"faq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faq","aria-hidden":"true"},"#"),t(" FAQ")],-1),f=e("h2",{id:"how-to-create-desktop-shortcut-with-no-admin-privilege",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-to-create-desktop-shortcut-with-no-admin-privilege","aria-hidden":"true"},"#"),t(" How to create desktop shortcut (with no admin privilege)")],-1),w={class:"hint-container tip"},b=e("p",{class:"hint-container-title"},"Community Power",-1),v={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12",target:"_blank",rel:"noopener noreferrer"},k=l('

How to create desktop shortcut with Administrator privilege

Starting from Snap Hutao 1.7.4, you can create a desktop shortcut with Administrator privilege by click Create Desktop Shortcut in the settings page.

You can move this shortcut to any place you need.

How to run Snap Hutao when Windows starts

This is a workaround solution

',6),_={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/184",target:"_blank",rel:"noopener noreferrer"},y=e("li",null,"Create a Scheduled Task, run the bat when Windows startup, or drag it to Windows start folder",-1),S=l('

Use Snap Hutao to quick start the game

Use Snap Hutao with Network Proxy

',3),x=e("h2",{id:"mojibake-in-snap-hutao",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#mojibake-in-snap-hutao","aria-hidden":"true"},"#"),t(" Mojibake in Snap Hutao")],-1),H=e("li",null,[t("If you are using Windows 10 and see some button are not display properly "),e("ul",null,[e("li",null,[t("You can download "),e("code",null,"Segoe Fluent Icons"),t(" font")]),e("li",null,"You need to install it for all users")])],-1),C={href:"https://aka.ms/SegoeFluentIcons",target:"_blank",rel:"noopener noreferrer"},A=l('

MiHoYo BBS Account often Lose Login Status

Snap Hutao use saved MiHoYo BBS cookies to maintain login status. If you log out your account in your browser or other device, cookie will become invalid, and Snap Hutao will also be forced to log out, account will be automatically removed.

This problem may also be caused by network error, you should check this first; If it's not caused by network issue, you can use Refresh Cookie in the account panel; You can also remove your account manually and add it back again.

Since October 2022, MiYouShe (Chinese BBS) rapidly increased bot detection and may set users' account as under-risk status, this may cause Snap Hutao failed to check validation of the cookie

Game Account Lose Login Status in the Launcher

Snap Hutao Throws Failed to add Scheduled Task Error

If you are using Administrator privilege to start real-time notes feature, Snap Hutao's scheduled task will be created as Administrator role. When next time edit real-time notes settings without Administrator privilege, the program will have a lack of privilege to edit the settings and throw out this error.

Run Snap Hutao as Administrator to edit your settings to solve this issue.

Stuck at Installing Required Framework when Using MSIX Package to Install

Unable to Run Snap Hutao as Administrator

This issue only occurs in Windows 10 older than 22H2 version

How to Recover config.ini Configuration File

In some particular conditions (such as wrong game folder permission), config.ini may lose after server conversion. This will cause user not able to get into advanced launcher page and launch the game.

After identify the server version on your device, you can manually create and fill the configuration file with the right content. The following are common configurations.

',17),I=e("div",{class:"language-text line-numbers-mode","data-ext":"text"},[e("pre",{class:"language-text"},[e("code",null,`[General] channel=1 cps=mihoyo game_version=4.1.0 sub_channel=1 plugin_7_version=1.0.0 `)]),e("div",{class:"line-numbers","aria-hidden":"true"},[e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"})])],-1),T=e("div",{class:"language-text line-numbers-mode","data-ext":"text"},[e("pre",{class:"language-text"},[e("code",null,`[General] channel=1 cps=mihoyo game_version=4.1.0 sub_channel=0 plugin_7_version=1.0.0 `)]),e("div",{class:"line-numbers","aria-hidden":"true"},[e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"}),e("div",{class:"line-number"})])],-1),W=e("h2",{id:"how-to-fully-backup-recover-client-data",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-to-fully-backup-recover-client-data","aria-hidden":"true"},"#"),t(" How to Fully Backup/Recover Client Data")],-1),R=e("div",{class:"hint-container warning"},[e("p",{class:"hint-container-title"},"Data Security Warning"),e("p",null,[e("code",null,"Userdata.db"),t(" contains all client data, including MiHoYO BBS Cookie, please save the data file properly and do NOT share it with anyone.")])],-1),q=e("p",null,[t("Copy "),e("code",null,"Userdata.db"),t(" from Snap Hutao data folder ("),e("code",null,"%userprofile%/Documents/Hutao"),t(" by default) to your backup location, this file contains entire data of the client.")],-1);function B(M,O){const d=r("RouterLink"),i=r("ExternalLinkIcon"),u=r("Tabs");return h(),p("div",null,[m,e("p",null,[t("If the following answers can not solve your issue, feel free to "),a(d,{to:"/ru/statements/bug-report.html"},{default:o(()=>[t("report bug to us")]),_:1}),t("!")]),f,e("div",w,[b,e("p",null,[t("Thanks to "),e("a",v,[t("solution provided by CzHUV"),a(i)]),t("。")])]),k,e("ul",null,[e("li",null,[t("Create a bat file, content refers to "),e("a",_,[t("this Issue"),a(i)]),t(", it allows bat to run Snap Hutao with Administrator privilege")]),y]),S,e("p",null,[t("Refer to "),a(d,{to:"/ru/advanced/exceptions.html#_502-bad-gateway"},{default:o(()=>[t("HttpRequestException Error (502)")]),_:1}),t(" document")]),x,e("ul",null,[H,e("li",null,[t("You can find this font from "),e("a",C,[t("Microsoft"),a(i)])])]),A,a(u,{id:"247",data:[{id:"CN Server Official"},{id:"Global Server Official"}],"tab-id":"game_config_samples"},{title0:o(({value:n,isActive:s})=>[t("CN Server Official")]),title1:o(({value:n,isActive:s})=>[t("Global Server Official")]),tab0:o(({value:n,isActive:s})=>[I]),tab1:o(({value:n,isActive:s})=>[T]),_:1}),W,R,q])}const U=c(g,[["render",B],["__file","FAQ.html.vue"]]);export{U as default};