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

关于dataFileVersion的一点疑问 #9

Closed
ywgrit opened this issue Mar 21, 2022 · 1 comment
Closed

关于dataFileVersion的一点疑问 #9

ywgrit opened this issue Mar 21, 2022 · 1 comment
Labels
question Further information is requested

Comments

@ywgrit
Copy link

ywgrit commented Mar 21, 2022

您好, 我有一点疑问想请教一下您,dataFileVersion是一直递增的吗?如果在migrate前,数据文件目录下有1.data、2.data、3.data、4.data,并且这4个数据文件可以被整合为3个数据文件。那么migrate后,这四个旧的数据文件就会被删除,会生成3个新的数据文件,此时数据文件目录下为5.data、6.data、7.data。是这样的对吗?我在本地安装mod失败,所以没法运行观察

是这样的话,有什么办法使得migrate后,数据文件目录下为1.data、2.data、3.data,而不是为5.data、6.data、7.data吗?
如果是在migrate后再修改这三个新的数据文件的名字,那么index中的索引就失效了,想请教一下您有什么好的办法?

@auula
Copy link
Owner

auula commented Mar 23, 2022

对都是方便排序的,数据在migrate的时候,如果数据记录不是重复那么一样按照索引里面的数据进行归并整理,其实整理还是差不多,只是把之前的记录干掉了,数据目录全部是排序的,目前索引和数据文件是对应的,这样是方便数据文件排序用,有其他办法就是在后续版本里面引入自定义格式化功能,但是我觉得没有必要,你安装mod怎么失败了?请附上你的截图,谢谢,或者加二维码群,程序有bug很正常,毕竟我写出来就扔出来了。

@auula auula added the question Further information is requested label Mar 23, 2022
@auula auula closed this as completed Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants