Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you add an option to export charts? #417

Open
sfhijg opened this issue Sep 27, 2024 · 9 comments
Open

Could you add an option to export charts? #417

sfhijg opened this issue Sep 27, 2024 · 9 comments
Labels
enhancement New feature or request

Comments

@sfhijg
Copy link

sfhijg commented Sep 27, 2024

Could you add an option to export charts, my source files are missing, but I want to play on a different device now

@NuanRMxi
Copy link
Member

To ensure the copyright of the author, we may not do so.

@NuanRMxi NuanRMxi added the enhancement New feature or request label Sep 27, 2024
@XiaoTDM
Copy link

XiaoTDM commented Sep 28, 2024 via email

@NuanRMxi
Copy link
Member

However, this can make it extremely hard to move data between different devices. I think it's possible to export all the data, including charts and resource packs, in a file with a specific suffix. 但是这样会使得在设备之间迁移数据变得异常困难。 我觉得可以直接导出全部数据,包括谱面和资源包,以一个特定的后缀名文件保存。

________________________________ From: NuanR_Mxi @.> Sent: Saturday, September 28, 2024 1:07:17 AM To: TeamFlos/phira @.> Cc: Subscribed @.> Subject: Re: [TeamFlos/phira] Could you add an option to export charts? (Issue #417) To ensure the copyright of the author, we may not do so. ― Reply to this email directly, view it on GitHub<#417 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BB55AZOFGNQUNFQ2XHCIBMDZYWGELAVCNFSM6AAAAABO7RQMNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZG4YTMMJTHE. You are receiving this because you are subscribed to this thread.Message ID: @.>

You can completely rely on the system's built-in app backup method and one click switch to achieve this operation, which may have stronger compatibility, but it cannot be migrated across Android and iOS

你完全可以依赖系统自带的app备份方式与一键换机来实现这个操作,那样做可能兼容性还更强只不过不能跨安卓和iOS迁移

@YuevUwU
Copy link
Contributor

YuevUwU commented Sep 28, 2024

According to ADB Backup Restriction, users using Android 12 and above CANNOT backup non-debuggable software.

I have tested MIUI Backup on POCO M5s, and it said it's not support to backup Phira.

As far as I know, all we can do is to change debuggable to true before installing (quick tutorial and effect), or inject a file provider via MT2.
Or if needed, downgrade by ADB (tutorial)

Or...We need a rooted device

I don't think the copyright can convince players, we can still download these chart through the desktop version or API.
(But please don't take encryption measures because of this, thank you orz)

根据 ADB Backup Restriction,使用 Android 12 及以上版本的用户无法备份debuggable非true的软件。

我也在 POCO M5s 上测试过用 MIUI 系统备份,但确实不支持

据我所知,我们能做的就是在安装前将 debuggable 更改为 true (快速教程和效果),或者通过 MT2 注入文件提供器。
或者用ADB降级这几种可用(教程)

或者说...只能去root了

我觉得版权问题不能说服玩家,毕竟我们还是可以通过桌面版或者API下载这些谱面。

@NuanRMxi
Copy link
Member

According to ADB Backup Restriction, users using Android 12 and above CANNOT backup non-debuggable software.

I have tested MIUI Backup on POCO M5s, and it said it's not support to backup Phira.

As far as I know, all we can do is to change debuggable to true before installing (quick tutorial and effect), or inject a file provider via MT2. Or if needed, downgrade by ADB (tutorial)

Or...We need a rooted device

I don't think the copyright can convince players, we can still download these chart through the desktop version or API. (But please don't take encryption measures because of this, thank you orz)

根据 ADB Backup Restriction,使用 Android 12 及以上版本的用户无法备份debuggable非true的软件。

我也在 POCO M5s 上测试过用 MIUI 系统备份,但确实不支持

据我所知,我们能做的就是在安装前将 debuggable 更改为 true (快速教程和效果),或者通过 MT2 注入文件提供器。 或者用ADB降级这几种可用(教程)

或者说...只能去root了

我觉得版权问题不能说服玩家,毕竟我们还是可以通过桌面版或者API下载这些谱面。

If this button were directly integrated into the game, I can't imagine what it would be like for the chart to be widely circulated externally. I think it's better to maintain the status quo and let capable players extract and backup it themselves. When you see the chart you uploaded on Phira being leaked to other places similar to a paid chart collection, your first reaction is definitely that Phira's export button caused this consequence rather than the player extracting the chart file themselves.

如果这个按钮直接被做进游戏内,我不敢想象谱面被在外部疯传会是什么样子,我认为不如保持现状,让有能力的玩家自行提取与备份,当你看见你上传在phira上的谱面被外传到其他什么类似于收费谱面合集的地方时,你的第一反应绝对是phira的导出按钮造成了这一后果而非玩家自行提取谱面文件。

@NuanRMxi
Copy link
Member

The threshold should not be too low.
“门槛不应过低。”

@YuevUwU
Copy link
Contributor

YuevUwU commented Sep 28, 2024

Well, there is a compromise.
Record the Chart ID to a file so that players can download these chart back to their Local Category.
Or add a Custom Collection/Category for users so that they can easily retrieve them.
This should solve the problem of some charter who do not want their chart to be leaked and have removed them from Phira.
But ResPack and External Chart is more difficult to handle.
But I would like to ask the original issuer what data he wants to back up🤔
As long as you don't delete external resources, you should still be able to find it in the "Downloads" folder.

这样吧,有个折衷方案。
把Chart ID纪录下来并导入/导出,让玩家可以下载回来这些谱面回本地。
或是添加个Custom Collection/Category给用户并可传到云端,让他们能轻易找回与下载。
这样应该能避免谱师不想外流而从Phira下架的谱面,但ResPack就比较难处理了。

不過还是得问问原提议者想备份哪些资料🤔
对于外部资料只要不要删掉应该仍可以在"下载"资料夹找到。

@XiaoTDM
Copy link

XiaoTDM commented Sep 28, 2024

I think there can be two options to export online and offline charts (local) and an export button in the resource pack interface.
我觉得可以设置两个选项,分别导出在线的离线谱面(本地),在资源包界面也放置一个导出按钮。

@sfhijg
Copy link
Author

sfhijg commented Oct 8, 2024

The threshold should not be too low. “门槛不应过低。”

I've tried a lot of methods, including adb backup, but my phone manufacturer seems to have banned this method, maybe you can make the multiplayer server support the offline paving option, or release a debug version because I don't have your signature
我已经尝试过很多方法了,包括adb backup,但我的手机厂商似乎禁止了这种方法,或许你们可以让多人服务器支持离线铺面的选择,或者发布debug版本,因为我没有你们的签名

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants