月亮岛 发表于 2022-7-26 11:35:10

【原创】【仅 Android 基岩版】文件存储路径为应用程序时如何导入/导出资源

<br /><br /><table cellspacing="0" class="t_table" ><tr style="background-color:#008B8B"><td><table cellspacing="0" class="t_table" ><tr style="background-color:#FFFFFF"><td><font size="6"><strong><font color="#20B2AA">文件存储路径为「应用程序」时如何导入/导出资源?</font></strong></font><hr class="l" /><table cellspacing="0" class="t_table" ><tr style="background-color:#5F9EA0"><td><table cellspacing="0" class="t_table" ><tr style="background-color:#FFFFFF"><td>▶<strong><font color="red">前言</font></strong><br /><br />众所周知,论坛上已经有很多有关导入/导出资源的教程。然而这些教程都是针对存储路径设置为<strong>外部</strong>的玩家的。那么,问题来了:<br /><blockquote>对于存储路径设置为应用程序的玩家来说,应该如何导入/导出资源?</blockquote><br />这个教程,我们就来解决这个问题。<br /><br />▶<strong><font color="green">导入</font></strong></font><br /><br />其实导入资源非常简单,可参照<a href="https://klpbbs.com/thread-2181-1-1.html" target="_blank">【安卓】超详细!Minecraft基岩版地图/资源包/附加包导入指南</a>。<br />▼<strong><font color="purple">注意事项</font></strong>▼<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td>1.该导入教程中,<strong>丢包(把资源放入对应的文件夹中)的方法不可用!!!</strong><strike>除非你能Root</strike><br />2.当你第一次导入时,会出现类似于这样的对话框:<br /><img title="Screenshot_20220726_104113_com.android.permissioncontroller.jpg" onerror="study_killerrpic(this)" aid="163962" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/104220ced32zhgn2mgnarj.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/104220ced32zhgn2mgnarj.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_163962" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br />让我们在此处分析:<br />◇如果我们点击<strong>允许</strong>,那么我们导入的资源会放在<strong>外部存储</strong>中,这会导致存储在应用程序的资源(包括地图、附加包等)不显示!若出现这种情况,如图所示,在<strong>设置&gt;存储&gt;文件存储位置</strong>中把“外部”改为“应用程序”即可恢复。(当然你导入的资源也消失了,因为它被放置在外部存储中)<br /><img title="Screenshot_20220911_212824_com.mojang.minecraftpe.jpg" onerror="study_killerrpic(this)" aid="197250" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202209/11/212836kz0hljve3xccdm42.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202209/11/212836kz0hljve3xccdm42.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_197250" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br />PS:如果你的游戏版本是 1.19.40 前,文件存储位置的设置可在<strong>设置&gt;档案&gt;文件存储位置</strong>中找到,如下图所示。<br /><img title="Screenshot_20220724_090812_com.mojang.minecraftpe.jpg" onerror="study_killerrpic(this)" aid="163964" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/104557cxgfwxttjjjxvyxu.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/104557cxgfwxttjjjxvyxu.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_163964" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><br />◇如果我们点击<strong>拒绝</strong>,那么我们导入的资源就会被放在<strong>应用程序</strong>中。<br />3.若文件无法导入,<a href="https://klpbbs.com/t/31605" target="_blank">这个教程(可点)</a>可能会对你有所帮助。</td></table><br />▶<strong><font color="blue">导出</font></strong><br /><br /><font color="red"><strong>警告!从 Beta/Preview 1.20.60.23 起,Ore UI 已实装至编辑世界界面。此教程将随时有可能不可用。故文件存储路径仍设为应用程序的玩家应尽快设法将游戏文件(世界、附加包)迁出。</strong></font><br />导出资源就比较麻烦了,不像设置为外部时的情况,可以直接从对应文件夹里提取出资源,而且非 Root 环境下还不能导出皮肤。<strike>当然如果你有 Root 就是另一回事了</strike><br />请先下载、导入并在全局资源激活<a href="https://klpbbs.com/t13992" target="_blank">这个资源包(可点击)</a>,后续要用到(导入时一定不要给予 Minecraft 存储权限,否则如上文所述,它会直接被放在外部存储)。<br /><table cellspacing="0" class="t_table" ><tr style="background-color:#5F9EA0"><td><table cellspacing="0" class="t_table" ><tr style="background-color:#FFFFFF"><td><strong>导出世界</strong><br /><hr class="l" />1.选择一个你想导出的世界。<br />2.点击其右边的修改按钮(就是类似“笔”图案的按钮)。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220726_110556_com.mojang.minecraftpe.jpg" onerror="study_killerrpic(this)" aid="163975" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/110711zeg49ftly140e407.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/110711zeg49ftly140e407.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_163975" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>3.往下翻,找到并点击导出世界按钮。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220726_110618_com.mojang.minecraftpe.jpg" onerror="study_killerrpic(this)" aid="163976" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/110744mppch09a8pahpii8.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/110744mppch09a8pahpii8.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_163976" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>4.选择导出的位置,点击保存按钮。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220726_110635_com.android.documentsui.jpg" onerror="study_killerrpic(this)" aid="163980" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/110758sv2rrr2nkohaohoz.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/110758sv2rrr2nkohaohoz.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_163980" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>大功告成。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220726_110647_com.mojang.minecraftpe.jpg" onerror="study_killerrpic(this)" aid="163982" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/110838pu0181r21fg8w8no.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/110838pu0181r21fg8w8no.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_163982" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table></td></tr><tr style="background-color:#FFFFFF"><td><strong>导出附加包</strong><br /><hr class="l" />⚠️事先说明,这里的附加包是包括资源包和行为包的。<br /><hr class="l" />到这里也许就会有人会问:“啊啊啊啊啊啊!附加包我找 114514 次了都找不到它的导出按钮,怎么办……”<br />别急,这里我们可以通过间接导出的方式来导出附加包。<br /><hr class="l" />1.创建一个世界,把你想导出的附加包都在这个世界中激活。这里以连锁采集(包括资源包和行为包)为例。然后,进入这个世界并退出。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220726_111448_com.mojang.minecraftpe.jpg" onerror="study_killerrpic(this)" aid="163996" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/111522etkazx586qx4a66a.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/111522etkazx586qx4a66a.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_163996" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br />资源包<br /><img title="Screenshot_20220726_111454_com.mojang.minecraftpe.jpg" onerror="study_killerrpic(this)" aid="163997" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/111607ojicw0rlzvwjweww.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/111607ojicw0rlzvwjweww.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_163997" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br />行为包</td></table>2.按照上述方法导出刚刚创建的世界。<br />3.找到刚刚导出的世界,将其扩展名改为.zip。<br />PS:MT管理器其实无需修改文件扩展名就可以直接查看压缩文件,但是大多数文件管理并不支持。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220726_112021_bin.mt.plus.jpg" onerror="study_killerrpic(this)" aid="164006" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112040gvb0q0oq0zq7c0qj.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112040gvb0q0oq0zq7c0qj.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_164006" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><img title="Screenshot_20220726_112032_bin.mt.plus.jpg" onerror="study_killerrpic(this)" aid="164007" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112043g02il2fa93iyqkl3.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112043g02il2fa93iyqkl3.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_164007" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>4.解压此文件。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220726_112322_bin.mt.plus.jpg" onerror="study_killerrpic(this)" aid="164019" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112332qnso5f7lsivfirf8.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112332qnso5f7lsivfirf8.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_164019" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>5.找到解压后的文件夹,并找到其中的“behavior_packs”和“resource_packs”文件夹,其中存放着你要导出的附加包。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220726_112502_bin.mt.plus.jpg" onerror="study_killerrpic(this)" aid="164029" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112507y5lde7qzmneeonqe.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112507y5lde7qzmneeonqe.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_164029" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><img title="Screenshot_20220726_112524_bin.mt.plus.jpg" onerror="study_killerrpic(this)" aid="164031" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112544pdl1gdhghgggplvl.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112544pdl1gdhghgggplvl.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_164031" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><img title="Screenshot_20220726_112536_bin.mt.plus.jpg" onerror="study_killerrpic(this)" aid="164032" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112547jpegomxkknxhijxh.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202207/26/112547jpegomxkknxhijxh.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_164032" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>6.把导出的附加包压缩(请使用正确压缩,参见<a href="https://klpbbs.com/t/29445" target="_blank">此教程(可点)</a>,以免出现“嵌套文件夹”的问题),导出完成!<img onerror="study_killerrpic(this)" src="https://klpbbs.com/static/image/smiley/bilibili/29.png"border="0" alt="" /><br /><br />▼<strong><font color="purple">注意事项</font></strong>▼<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td>1.Minecraft 基岩版的市场的资源只能通过 Root 提取。<br /><strong>提醒:不能在公开场合发布付费的市场资源!否则终有一日会被制裁!</strong><br />2.导出附加包时,如果出现导出的世界的“behavior_packs”和“resource_packs”文件夹为空的情况,请重试。(但一般……不会出现这种情况……吧?)</td></table><br>来源:<a href="https://klpbbs.com/thread-52486-1-6.html" target="_blank">https://klpbbs.com/thread-52486-1-6.html</a><br>免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!

子帆baby 发表于 2022-7-26 11:40:54

很妙的导入导出方式<img onerror="study_killerrpic(this)" src="https://klpbbs.com/static/image/smiley/bilibili/28.png"border="0" alt="" />

北陆翰飞 发表于 2022-7-26 11:49:40

好家伙,最后还是改成外部

巧克优奶 发表于 2022-9-10 09:20:54

<img onerror="study_killerrpic(this)" src="https://klpbbs.com/static/image/smiley/tieba/4.png"border="0" alt="" />

光赫君 发表于 2022-11-1 01:51:01

会很尴尬刚刚人

桃子起泡酒 发表于 2022-11-1 21:15:59

真的吗?那么我就不用去文件管理器里面再把存档提取出来了,好耶!

月光刻本 发表于 2022-11-2 09:37:50

对于存储路径设置为应用程序的玩家来说,应该如何导入/导出资源?

娅静小仙女 发表于 2023-1-17 11:45:14

回复看看

星星住在对岸 发表于 2023-3-12 16:10:16

感谢分享

千凡少爷 发表于 2023-4-1 12:47:15

66666666666666
页: [1]
查看完整版本: 【原创】【仅 Android 基岩版】文件存储路径为应用程序时如何导入/导出资源