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

[bug]: 可能无法管理部分 Flash 游戏的进度 #6

Open
Cnotech opened this issue Jul 26, 2022 · 0 comments
Open

[bug]: 可能无法管理部分 Flash 游戏的进度 #6

Cnotech opened this issue Jul 26, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Cnotech
Copy link
Owner

Cnotech commented Jul 26, 2022

bug 描述

如果当前 Windows 系统曾经在另一个路径运行过同一个 .swf 文件,则在 Flash Collector 中无法管理同一游戏的进度。

原因分析

由于独立 Flash 播放器在遇到相同哈希但是不同路径的文件时会为后执行的游戏创建一个临时的进度目录,导致不会存在原本可以由路径解析的进度目录位置。此临时进度目录名称生成随机,且找不到保存目录名称与 .swf 文件路径的映射关系。

可能的解决方案

  • 提前清理 Flash Player 的缓存,使得在 Flash Collector 中启动的 .swf 文件能够创建”正确的“进度缓存目录;但是这种方案可能会导致其他目录下的 Flash 游戏进度丢失
  • 查找到临时目录名称与 .swf 文件路径的映射关系并进行解析
@Cnotech Cnotech added the help wanted Extra attention is needed label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant