mirror of
https://git.chinosk6.cn/chinosk/gkms-local.git
synced 2026-05-18 00:58:58 +07:00
Feature dump more text (#16)
* 修复 Dump 重复判断出错的问题 * 支持 dump 更多 generic 文本 * 支持加载多个 generic json 文件, 增加强制导出资源, 构建排除 `raw` 文件夹 * add version display * update build.yml * update deps * generic 文本支持去标签匹配 * Generic dump 只 dump 分割后的文本 * add sign * update event dispatcher * 增加 generic dump 开关、dump 文件编号调整 * update config.hpp * Add `BaseDefine.h`
This commit is contained in:
@@ -41,6 +41,12 @@
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textViewResVersion"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/black" />
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="25sp" />
|
||||
@@ -77,6 +83,33 @@
|
||||
android:text="文本 hook 测试模式" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:id="@+id/textExport"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:checked="@={config.dumpText}"
|
||||
android:onCheckedChanged="@{(view, value) -> listener.onDumpTextChanged(value)}"
|
||||
android:text="导出文本" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:id="@+id/textForceExtract"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:checked="@={config.forceExportResource}"
|
||||
android:onCheckedChanged="@{(view, value) -> listener.onForceExportResourceChanged(value)}"
|
||||
android:text="启动后强制导出资源" />
|
||||
</TableRow>
|
||||
|
||||
|
||||
<TableRow
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
@@ -125,6 +158,7 @@
|
||||
android:id="@+id/SwitchUnlockAllLive"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:visibility="@{config.dbgMode ? android.view.View.VISIBLE : android.view.View.GONE}"
|
||||
android:checked="@={config.unlockAllLive}"
|
||||
android:onCheckedChanged="@{(view, value) -> listener.onUnlockAllLiveChanged(value)}"
|
||||
android:text="@string/unlockAllLive" />
|
||||
@@ -139,6 +173,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:visibility="@{config.dbgMode ? android.view.View.VISIBLE : android.view.View.GONE}"
|
||||
android:paddingLeft="10sp"
|
||||
android:paddingRight="10sp"
|
||||
android:paddingBottom="10sp"
|
||||
@@ -431,6 +466,7 @@
|
||||
android:weightSum="2">
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/editTextReflectionQualityLevelLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
@@ -454,6 +490,7 @@
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/editTextLodQualityLevelLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
|
||||
Reference in New Issue
Block a user