Commit Graph

81 Commits

Author SHA1 Message Date
Devin J. Pohly 533b0f9eff NotesWriterSSC: fix steps offset when saving 2013-01-24 00:20:56 -05:00
Jason Felds ada0c3cdd0 Restore storing to 6 decimals. 2013-01-06 21:15:36 -05:00
Jason Felds 44d8eaa10a Don't write empty labels.
Not worth a cache increase I think.
2012-01-16 13:10:10 -05:00
Marcio Barrientos 11a02660be Change #PREVIEWBG to #PREVIEWVID and update the changelog 2012-01-11 14:21:55 -06:00
Marcio Barrientos da84ef04ad Added tags #PREVIEW for .sma and #PREVIEWBG for .ssc
Added HasPreviewBG() and GetPreviewBGPath() lua bindings
2012-01-11 13:53:30 -06:00
AJ Kelly 63055788ca add #JACKET, #CDIMAGE, and #DISCIMAGE tags to .ssc format (up to v0.81 now). 2012-01-04 12:42:53 -06:00
Thai Pangsakulyanont 248504f275 escape # in first keysound entry, fixed ADPCM reader and make PMS load more correctly.
- [NoteField] fix build warnings, and change the maximum number of displayed notes
  after the receptor to 64.
- [Player] fix build warnings.
- [NotesLoaderSSC, NotesWriterSSC] The MSD file reader seems to treat # that comes
  directly after : as new tag, and as many PMS and BMS files has keysounds which filename
  starts with #, so it looks like this: #KEYSOUNDS:#bgm.wav,01.wav,02.wav,..
  The MSD parser will see it as 2 different tags. So I added a backslash in front of the
  # sign if it's at the start when saving and remove it when loading.
- [RageSoundReader_WAV] ADPCM now works very well and doesn't return error when
  end of file is reached anymore.
- [Steps] Use BMS loader when loading the note data.
2011-11-11 18:40:34 +07:00
AJ Kelly 382f16cc00 small todo 2011-11-10 23:13:16 -06:00
AJ Kelly 391dd8624a try to get attack tags (song timing) to print out like course mods do in .ssc files (I tried doing the same with the one in the steps, but it didn't work so it's not included) 2011-11-10 01:11:28 -06:00
Jason Felds c6fff60998 Finish the 3 decimal write out.
Observation: we have two ways of writing out timing tags in
NotesWriterSSC. Perhaps these should be unified soon.
2011-09-23 22:33:46 -04:00
Mark Cannon 8099e25dcc stage 3 of TimingData changes: changed external interface, enforce encapsulation more strictly 2011-09-15 03:28:58 +00:00
Jason Felds 047bc7a5dc Allow all timing tags regardless of timing. 2011-09-12 19:43:41 -04:00
Mark Cannon df9c4d8142 segment renovation stage 2: redefine TimingSegments as simple structs, standardize names and functions, use only rows for constructors (we'll limit allocation through TimingData::AddSegment in the near future) 2011-09-11 17:13:10 +00:00
Mark Cannon 0d4e43f9e3 stage 1 of TimingSegment cleanup: consolidate genericizable code in TimingData, use a proper variable name 2011-09-10 03:08:59 +00:00
AJ Kelly e06c7d334f back to 3 significant digits for .ssc files. 2011-09-07 22:17:20 -05:00
Jason Felds e854b79b84 Trying to reduce tags for non split timing.
Need assistance to finish the task.

Please bump SSC version to 0.78 when completed.
2011-07-31 23:44:48 -04:00
Jason Felds 7c75347e40 Revert "Remove #INSTRUMENTTRACK. It's guitar only."
This reverts commit 176b6f55ea.

Glad I learned this command.
2011-07-30 15:56:30 -04:00
Jason Felds 176b6f55ea Remove #INSTRUMENTTRACK. It's guitar only. 2011-07-30 15:33:00 -04:00
Jason Felds b6fe8a0de0 [timing] Notes* mostly covered. 2011-07-27 22:33:50 -04:00
Jason Felds 92bab49a16 Hurp-a-durp.
...never let me say that again. Cache increased.
2011-07-17 22:21:16 -04:00
Jason Felds 48226f2027 No longer store #NOTES in cache.
Use the #STEPFILENAME tag to access the files
as appropriate.

To the betting pool fans: file cache version is 192.
2011-07-17 16:06:40 -04:00
Jason Felds 09dc94cfe8 Abstract common functionality. 2011-07-17 12:54:50 -04:00
Jason Felds 759fc0fa6b [timing] This one is converted. 2011-07-14 14:12:20 -04:00
Jason Felds 08d5f8f722 Add Miss Combo support in #COMBOS tag. 2011-07-09 02:28:15 -04:00
Jason Felds c528e8ced3 Start using the tag.
I think this is needed for proper testing.
2011-07-07 18:27:59 -04:00
Jason Felds f16fec8438 Well EXCUUUUUUUUUUUUUUUUUUUUUUUUUSE ME, Princess! 2011-07-07 13:55:46 -04:00
Jason Felds 57e3c2fc80 Use accessor functions instead of direct calls. 2011-06-30 02:19:37 -04:00
Jason Felds 5940bdeddb More abstraction. 2011-06-30 02:10:58 -04:00
Jason Felds 8bc2c38142 Replace #BEAT tags with #SECOND tags.
Split Timing has made this necessary.

Yes, this means another recache.
2011-06-30 01:11:38 -04:00
Jason Felds 4aa404d38e We should write 6 for consistency.
Not worth a cache reload yet.
2011-06-29 23:42:14 -04:00
Jason Felds 8051cd7ad2 .ssc format change, recache required.
This is being done so that beat based #ATTACKS
can be possible.
2011-06-27 20:27:59 -04:00
Jason Felds a0372924ae Newlines are good.
Not worth a cache reload here.
2011-06-26 12:47:26 -04:00
Jason Felds 5ce88d4b54 Attacks can be saved in the editor.
It's more flexible to do it by hand though.
2011-06-24 22:11:07 -04:00
Jason Felds fdfed5c316 Extra colon. Still not working. 2011-06-24 11:47:01 -04:00
Jason Felds b51eec691d Step Attacks will be written.
The cache won't be incremented until this is
given some testing.
2011-06-24 11:27:20 -04:00
Jason Felds df6a00b53e Stops (and Delays) now templated.
This is all of them at this present time.

At some point in the future, we should make
DelaySegments separate from StopSegments.
2011-06-01 09:50:34 -04:00
Jason Felds 50e93045cc Scroll Segments Satisfied.
Just the Stops and Delays...in one segment.
Yeah, maybe those should be split up at some point.
2011-06-01 08:44:09 -04:00
Jason Felds f9eb6fb387 Speed Segments Satisfied. 2011-05-31 15:27:27 -04:00
Jason Felds b1eab10594 Time Signatures, the other big one. :D 2011-05-31 14:27:55 -04:00
Thai Pangsakulyanont 1d2dd19ab1 Yeah, BPM segments, big one :D 2011-05-31 23:41:39 +07:00
Jason Felds 714427f154 ComboSegments brought in.
Five to go I believe.
2011-05-31 11:45:25 -04:00
Jason Felds da73396895 Labels templated.
Six more to go.
2011-05-31 11:22:21 -04:00
Jason Felds 1fcf290571 Warps are properly templated.
Seven more to go I believe.
2011-05-31 10:59:18 -04:00
Jason Felds 8a315634dc Bring TickcountSegments to refactored level.
I wonder how many of the 8 will be claimed upon wakeup.
2011-05-31 01:20:22 -04:00
Jason Felds 1d3000e520 FakeSegments refactored.
Few things of note:

1) Slowly going away from hungarian notation.
2) Trying to respect public/private members.
2a) Yes, structs can work like this.
3) Trying to not require horizontal scrolling.

If anyone else wants a crack, go ahead:
we have 9 segments left. :)
2011-05-31 00:51:25 -04:00
Thai Pangsakulyanont fe9573975c [scroll] 90% of scroll segments 2011-05-25 22:44:41 +07:00
Jason Felds 65ac4b1850 [splittiming] Allow Warps to be editable always.
This should be the only stopping point.
2011-05-17 15:24:34 -04:00
Jason Felds 399fabbf3c [splittiming] Write only default #SPEEDS value. 2011-05-16 12:28:18 -04:00
Thai Pangsakulyanont c11c8db883 [splittiming] it builds! time to merge. 2011-05-16 22:06:07 +07:00
Jason Felds 329798e0d6 [splittiming] Few things with NotesLoader/Writer:
1) Start to accept FakeSegments.
2) Start the transition to relative points for Warps.
3) Again, song timings don't get FakeSegments.
2011-05-16 10:02:57 -04:00