Commit Graph

106 Commits

Author SHA1 Message Date
Kyzentun c16f045cb4 Fixed UnknownStyleSupport. 2014-10-20 05:14:54 -06:00
Jason Felds 395107d3d5 Revert "Preserve Steps of unknown Style."
This reverts commit 8edd929e24.

This also updates the song cache.
2014-10-19 10:06:40 -04:00
Kyzentun 8edd929e24 Preserve Steps of unknown Style. 2014-10-01 17:12:01 -06:00
Ben "root" Anderson a16a42cb02 Edit loading overhaul: Load edits from song folders; Allow a songfolder-style hierarchy in profile edit folders; Make the #SONG tag optional if we can infer the intended song from the directory hierarchy. 2013-11-14 13:29:00 -06:00
Devin J. Pohly 3cb3098696 Enforce valid timing changes in SSC, hopefully also fix cache 2013-05-28 23:39:11 -04:00
Jason Felds 51027a3904 Revert "Fix problem when loading from cache"
This reverts commit 7c3a9eb427.

Also force increment the cache in case others
got the prior commit.
2013-05-28 21:45:56 -04:00
Devin J. Pohly 7c3a9eb427 Fix problem when loading from cache 2013-05-27 16:14:32 -04:00
Devin J. Pohly f6c1bd8084 Fix timing loading in SSC files
ProcessBPMsAndStops was always making the timing nonempty, which confused
StepMania into thinking every chart had steps timing.  Now we only call this
function on SSC files (1) for song timing, and (2) if the steps have at least
one BPM specified.
2013-05-20 22:17:50 -07:00
Devin J. Pohly c04553846a "Combine" processing for BPMs and stops.
Prep for replacing with new negative-converting algorithm.
2013-05-17 16:43:53 -04:00
Devin J. Pohly 785cff2abc Remove unneeded return value from ProcessBPMs 2013-05-17 05:43:25 -04:00
Devin J. Pohly b1d2f68737 Finish moving ProcessBPMs and ProcessStops together 2013-05-17 05:34:14 -04:00
Devin J. Pohly 8eb76829fb Don't allow edits with no valid #NOTES 2013-05-09 17:45:25 -04:00
Devin J. Pohly adb0d5d4a1 Separate functions for BPM/stop parsing and processing 2013-05-09 00:00:14 -04: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 2f10209fcf removed the ugly debugging code
I still don't know how to make LOG->Trace work so I just use fprintf. Just forgot to remove it before last commit.
2011-11-11 19:02:45 +07: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
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
Jason Felds acaaf1bfba Fix reading pre-split timing ssc files.
Welcome to the first cache of the next series.
Start placing your bets again on what the final
cache value will be for SM5 final.

As a reminder, we are on cache version 202 now.
2011-08-21 01:19:50 -04:00
Jason Felds 114a5de8ad Only write step timing/attack tags when needed. 2011-08-02 22:30:54 -04: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
Alberto Ramos a612d6eb93 fix warnings
retrieving placeholders (will work with those later I promise)
2011-07-18 11:27:28 -06: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 7399f19865 [timing] Convert the others to use AddSegment.
I was given enough confirmation to continue on.
2011-07-14 19:23:29 -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 95a9e71bb1 Change the copying to moving. 2011-07-07 16:37:08 -04:00
Jason Felds f16fec8438 Well EXCUUUUUUUUUUUUUUUUUUUUUUUUUSE ME, Princess! 2011-07-07 13:55:46 -04:00
Jason Felds c4ee0110d0 The people voted: different namings upcoming.
Old #DESCRIPTION will become #CHARTNAME.
#DESCRIPTION will now be used for general comments
or other theme related stuff.

Old SSC files will have their #DESCRIPTION converted
to #CHARTNAME when completed.
2011-07-07 13:40:19 -04:00
Jason Felds fc19060491 Preparing for a new #TAG, "WARNINGS".
There needs to be a place for warnings on
a stepfile without using #TITLE, #SUBTITLE,
or #ARTIST. This tag will hopefully be that new place.

No version or cache incrementing yet: it's still
not complete. Still, what's here shouldn't harm anything.
2011-07-07 11:48:33 -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 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 3b1260bb79 Start detecting which files have errors.
Guess we needed this as a class/struct after all.
2011-06-14 13:35:59 -04:00
Jason Felds 4830ecc730 [notesreader] Ready to test again. 2011-06-09 22:00:10 -04:00
Jason Felds bb642827a8 [notesloader] More abstracting. 2011-06-09 21:41:56 -04:00
Jason Felds 1e296ed0bf [notesloader] More virtuals. 2011-06-09 21:27:47 -04:00
Jason Felds 68fd21fdc8 [notesloader] More cleanup.
Need to test something in gameplay before continuing.
2011-06-09 15:14:47 -04:00
Jason Felds dec615a2e7 [notesloader] Handle fakes on their own. 2011-06-09 14:53:58 -04:00
Jason Felds 48eefc7700 [notesloader] Have common ground. 2011-06-09 14:45:30 -04:00
Jason Felds e00b7f3616 [notesloader] Some refactoring done. 2011-06-09 14:01:55 -04:00
Jason Felds b6bf776716 New branch: [notesloader]
Time to better unify our files and refactor properly.
2011-06-09 13:46:30 -04:00
Jason Felds f9eb6fb387 Speed Segments Satisfied. 2011-05-31 15:27:27 -04:00
Thai Pangsakulyanont fe9573975c [scroll] 90% of scroll segments 2011-05-25 22:44:41 +07:00