hato-ya / CubicTimer

Cubic Timer is a fork project from Twisty Timer by Ari Neto that support external stack timer. It uses the TNoodle library to generate scramble sequences for all current official speedsolving puzzles.
GNU General Public License v3.0
10 stars 1 forks source link

Add possibility to move a category from a puzzle to an other #191

Open benjozu opened 2 months ago

benjozu commented 2 months ago

Context : I have a "One-Handed" category in the standard 3x3 puzzle and a "FTO" category in Others. I would like to be able to move all my times form these categories to the new FTO puzzle and 3x3OH. (The main reason I use Cubic Timer is to keep a global history of my solves)

To manage the case where the origin puzzle and destination puzzle have different scrambles, I think it's ok to transfer the times without the scrambles.

hato-ya commented 2 months ago

Thank you for your comment.

I understand the purpose and I will consider this as a development item for the future.

In the meantime, I have two workaround suggestions:

Option 1: Export the data for other timers and then re-import it. Option 2: Export the data as a backup, modify the puzzle names, and then re-import it.

In any case, I recommend that you back up your data before proceeding with any of these steps.

Option 1

  1. Open menu -> Export/Import -> Export... -> For other timers
  2. Select the puzzle and category that you want to move from
  3. EXPORT
  4. Select file location
  5. Save
  6. Open menu -> Export/Import -> Import... -> From .txt file
  7. Select the puzzle and category that you want to move to
  8. IMPORT
  9. OK
  10. Select the file that you saved on step4

If you use this way, the comment and penalty will be removed. But scramble, time, and date are preserved.

Option 2

  1. Open menu -> Export/Import -> Export... -> For backup
  2. Select file location
  3. Save
  4. Edit the file exported by the text editor and replace the puzzle type and category For example "other";"FTO"; to "fto";"Normal" or "333";"oh" to "333oh";"Normal" (The first item means puzzle type and the second item means category)
  5. Open menu -> Export/Import -> Import... -> From backup
  6. Select the file that you edited in step4

In this way, you can move all items with a comment or penalty. But it is necessary to edit the backup file.