I came up with some insane juggling.
1. Install TextFX to Notepad++.
2. TextFX -> Tools -> Insert line numbers.
3. TextFX -> Tools -> uncheck Sort ascending.
4. TextFX -> Tools -> Sort lines case sensitive.
5. TextFX -> Tools -> Delete line numbers.
We have them sorted right now.
6. Hold Alt, put mouse cursor to the first column, select all the lines by moving down the cursor, with Alt and LMB held.
7. As you see the huge tall cursor, type in the following text:
[module:frames|amount=
8. To allow further manipulations, pad the duration frame column with spaces so that it is perfectly aligned throughout the whole file, and first line duration frame is at the same horrizontal position as the last one. Use Alt+LMB for that too.
9. Select the column right before duration frames now, type there the following:
|fps=60.1]%%%
where 60.1 is whatever fps that system uses:
http://tasvideos.org/PlatformFramerates.html
You will get something like this:
[module:frames|amount=60 |fps=60.0988]%%%240 This run aims for fastest time to ending. (Standard any% run)
[module:frames|amount=360 |fps=60.0988]%%%240 For the uninitiated, this is a TAS (Tool-Assisted Speedrun)
[module:frames|amount=660 |fps=60.0988]%%%240 TAS: Frame-by-frame, memory reading, scripting, that stuff.
[module:frames|amount=960 |fps=60.0988]%%%240 But TAS does not use cheats or modify the game at all.
[module:frames|amount=7300 |fps=60.0988]%%%240 The basement of Area 1 is actually shared by Areas 3 & 4.
[module:frames|amount=7580 |fps=60.0988]%%%240 I can't go Area 1->4 by basement, as there's no connection.
[module:frames|amount=9400 |fps=60.0988]%%%240 My inventory can only hold 12 items, but it's plenty for me.
[module:frames|amount=9700 |fps=60.0988]%%%240 Outside of speedruns, 12 slots feels really, really cramped.
[module:frames|amount=10100 |fps=60.0988]%%%240 Boulders are instant death. I bypass it using Warp Magic.
[module:frames|amount=10360 |fps=60.0988]%%%240 A Dimensional Box is here. Has 12 inventory slots. (I skip it)
[module:frames|amount=10620 |fps=60.0988]%%%240 Taking a detour to pick up Fire Magic.
[module:frames|amount=10900 |fps=60.0988]%%%240 I will use Fire Magic much, much later in this run.
[module:frames|amount=11200 |fps=60.0988]%%%240 It shoots a ball of fire forward. Damage based on Knowledge.
10. Now select the whole module, before
[ and after
%%%, for all the lines, with Alt+LMB, and Copy.
11. Go to
http://tasvideos.org/SandBox.html, Edit it, clear the contents, and Paste, then Save the page.
You have the frames perfectly converted to times, considering the exact fraction framerate, even AegiSub can't do that!
12. Copy the result, go to your file, select everything but the subtitle text, again with Alt+LMB, delete that mess, press Space for 50 times to create free space on the left.
13. Put cursor to the very beginning and paste. Start times are there now!
14. Pad all start times to format: 00:00:00.0 (mass adding characters with guess which method?) that corresponds to hours:minutes:seconds.milliseconds.
15. Select all dot columns and press the comma key, it will mass replace the characters.
16. Select the whole column after start times, type:
--> 00:00:00,0
with 1 empty space before the arrow.
17. TextFX -> Tools -> Insert line numbers.
18. Mass select the first column, put there:
%%% %%%
19. Select the column before subtitle text, put there:
%%%
You'll see someting like this:
%%% %%%00000001 00:00:02,990 --> 00:00:07,990%%%This run aims for fastest time to ending. (Standard any% run)
%%% %%%00000002 00:00:07,990 --> 00:00:12,980%%%For the uninitiated, this is a TAS (Tool-Assisted Speedrun)
%%% %%%00000003 00:00:12,980 --> 00:00:17,970%%%TAS: Frame-by-frame, memory reading, scripting, that stuff.
%%% %%%00000004 00:00:17,970 --> 00:00:22,960%%%But TAS does not use cheats or modify the game at all.
%%% %%%00000005 00:00:22,960 --> 00:00:28,290%%%Basically, be the master of the game, all within its rules.
20. Copy all that, again put to
http://tasvideos.org/SandBox.html and save the page.
21. Select all the result, Copy, create a new file in Notepad++ and Paste.
22. You now have properly formatted srt!!! Save it with that extension.
23. Drag it into AegiSub.
24. Timing -> Shift times. Time: 0:00:02.00. Forward, All rows, Start and end times. OK.
25. Select all the lines (Ctrl+A), Rightclick -> Make times continuous (change end).
25. Save the file with the same full filename as your encode, and .srt at the end.
26. Simply replay the encode to see if everything is okay, if it's not, edit the styles and save as .ass.