TeamFlos / phira

GNU General Public License v3.0
1.19k stars 107 forks source link

Could you add an option to export charts? #417

Open sfhijg opened 6 days ago

sfhijg commented 6 days ago

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

NuanRMxi commented 6 days ago

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

XiaoTDM commented 6 days ago

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 GitHubhttps://github.com/TeamFlos/phira/issues/417#issuecomment-2379716139, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BB55AZOFGNQUNFQ2XHCIBMDZYWGELAVCNFSM6AAAAABO7RQMNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZG4YTMMJTHE. You are receiving this because you are subscribed to this thread.Message ID: @.***>

NuanRMxi commented 5 days ago

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 commented 5 days ago

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 commented 5 days ago

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 commented 5 days ago

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

YuevUwU commented 5 days ago

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 commented 5 days ago

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