Files
asphyxia_plugins/sdvx@asphyxia/webui/update webui assets.pug
T
2023-11-06 03:56:30 +08:00

64 lines
2.1 KiB
Plaintext

div
.card
button.collapse() Notes
.card-info.collapsible-card
p.card-header-info
h5() Notes:
ul
li() For use with Exceed Gear arcade data.
li() Use this if you have arcade data that can be used. It wouldn't work otherwise.
li() Make sure you have your 'Exceed Gear Data Directory' in the plugin settings properly configured.
li() Update your datacode in the ea3-config.xml file.
br
p.card-header-bgm-guide
h5() BGM asset guide
p() This feature pulls BGM files from the data, however they are in the WMA file format, which is unsupported. For BGM preview to work, they have to be converted to MP3 format.
p() To convert these files to MP3, you can use ffmpeg. If you have ffmpeg already installed, there is a bgm_convert.bat script in the SDVX plugin directory that can automate the conversion to mp3.
ul
li() <a href="https://www.gyan.dev/ffmpeg/builds/">ffmpeg</a> - download and extract ffmpeg.exe and put it in the same directory as the bat script (or put ffmpeg.exe in PATH environment variable)
.card
.card-header
p.card-header-title
span.icon
i.mdi.mdi-account-edit
| Update WebUI Assets (pull from game files)
.card-content
.field
button.button.is-primary(type="update" id="updateResources")
span.icon
i.mdi.mdi-check
span Update
.field
textarea.log-field(rows="50" id="logtextarea" name="logtextarea" disabled)
script(src="https://requirejs.org/docs/release/2.3.5/minified/require.js")
script(type="text/javascript" src="static/asset/js/updateResources.js")
style(type='text/css').
.collapse {
background-color: #4a4a4a;
color: white;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 20px;
}
.collapse:hover {
background-color: #777;
}
.collapsible-card {
padding:15px;
}
.log-field {
width: 100%;
height: 100%;
background: #4a4a4a;
color: #ffffff;
border-radius: 6px;
padding: 5px;
font-size: 15px;
}