.ssc format change, recache required.
This is being done so that beat based #ATTACKS can be possible.
This commit is contained in:
@@ -9,6 +9,9 @@ change to JSON, but it is unsure if this will be done.
|
|||||||
Implement .ssc at your own risk.
|
Implement .ssc at your own risk.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
[v0.72] - Wolfman2000
|
||||||
|
* Have #OFFSET come before #ATTACKS in the Step data.
|
||||||
|
|
||||||
[v0.71] - Wolfman2000
|
[v0.71] - Wolfman2000
|
||||||
* Have #ATTACKS work per step as well.
|
* Have #ATTACKS work per step as well.
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ StepMania 5.0 Preview 2 | 201106??
|
|||||||
probably going to be better overall. [Wolfman2000]
|
probably going to be better overall. [Wolfman2000]
|
||||||
* [TimingData] Preserve the length of time for Speed Segment scaling when using
|
* [TimingData] Preserve the length of time for Speed Segment scaling when using
|
||||||
beats. [Wolfman2000]
|
beats. [Wolfman2000]
|
||||||
|
* [NotesLoader/WriterSSC] #OFFSET is to be before #ATTACKS. This is required if
|
||||||
|
we pursue beat based attacks and not just second based. [Wolfman2000]
|
||||||
|
|
||||||
2011/06/26
|
2011/06/26
|
||||||
----------
|
----------
|
||||||
|
|||||||
@@ -51,6 +51,7 @@
|
|||||||
#CREDIT:;
|
#CREDIT:;
|
||||||
|
|
||||||
// steps-based timingdata
|
// steps-based timingdata
|
||||||
|
#OFFSET:;
|
||||||
#BPMS:;
|
#BPMS:;
|
||||||
#STOPS:;
|
#STOPS:;
|
||||||
#DELAYS:;
|
#DELAYS:;
|
||||||
@@ -62,7 +63,6 @@
|
|||||||
#FAKES:;
|
#FAKES:;
|
||||||
#LABELS:;
|
#LABELS:;
|
||||||
#ATTACKS:;
|
#ATTACKS:;
|
||||||
#OFFSET:;
|
|
||||||
|
|
||||||
// actual step data
|
// actual step data
|
||||||
#NOTES:;
|
#NOTES:;
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ const float VERSION_RADAR_FAKE = 0.53f;
|
|||||||
const float VERSION_WARP_SEGMENT = 0.56f;
|
const float VERSION_WARP_SEGMENT = 0.56f;
|
||||||
/** @brief The version that formally introduced Split Timing. */
|
/** @brief The version that formally introduced Split Timing. */
|
||||||
const float VERSION_SPLIT_TIMING = 0.7f;
|
const float VERSION_SPLIT_TIMING = 0.7f;
|
||||||
|
/** @brief The version that moved the step's Offset higher up. */
|
||||||
|
const float VERSION_OFFSET_BEFORE_ATTACK = 0.72f;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The SSCLoader handles all of the parsing needed for .ssc files.
|
* @brief The SSCLoader handles all of the parsing needed for .ssc files.
|
||||||
|
|||||||
@@ -317,6 +317,7 @@ static RString GetSSCNoteData( const Song &song, const Steps &in, bool bSavingCa
|
|||||||
lines.push_back( ssprintf( "#RADARVALUES:%s;", join(",",asRadarValues).c_str() ) );
|
lines.push_back( ssprintf( "#RADARVALUES:%s;", join(",",asRadarValues).c_str() ) );
|
||||||
|
|
||||||
lines.push_back( ssprintf( "#CREDIT:%s;", SmEscape(in.GetCredit()).c_str() ) );
|
lines.push_back( ssprintf( "#CREDIT:%s;", SmEscape(in.GetCredit()).c_str() ) );
|
||||||
|
lines.push_back( ssprintf( "#OFFSET:%.6f;", in.m_Timing.m_fBeat0OffsetInSeconds ) );
|
||||||
|
|
||||||
GetTimingTags( lines, in.m_Timing );
|
GetTimingTags( lines, in.m_Timing );
|
||||||
|
|
||||||
@@ -332,8 +333,6 @@ static RString GetSSCNoteData( const Song &song, const Steps &in, bool bSavingCa
|
|||||||
Trim(attacks, ":"); // just in case something screwy happens.
|
Trim(attacks, ":"); // just in case something screwy happens.
|
||||||
lines.push_back( ssprintf( "#ATTACKS:%s;", attacks.c_str()));
|
lines.push_back( ssprintf( "#ATTACKS:%s;", attacks.c_str()));
|
||||||
|
|
||||||
lines.push_back( ssprintf( "#OFFSET:%.6f;", in.m_Timing.m_fBeat0OffsetInSeconds ) );
|
|
||||||
|
|
||||||
RString sNoteData;
|
RString sNoteData;
|
||||||
in.GetSMNoteData( sNoteData );
|
in.GetSMNoteData( sNoteData );
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
* @brief The internal version of the cache for StepMania.
|
* @brief The internal version of the cache for StepMania.
|
||||||
*
|
*
|
||||||
* Increment this value to invalidate the current cache. */
|
* Increment this value to invalidate the current cache. */
|
||||||
const int FILE_CACHE_VERSION = 184;
|
const int FILE_CACHE_VERSION = 185;
|
||||||
|
|
||||||
/** @brief How long does a song sample last by default? */
|
/** @brief How long does a song sample last by default? */
|
||||||
const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f;
|
const float DEFAULT_MUSIC_SAMPLE_LENGTH = 12.f;
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@ void FixupPath( RString &path, const RString &sSongPath );
|
|||||||
RString GetSongAssetPath( RString sPath, const RString &sSongPath );
|
RString GetSongAssetPath( RString sPath, const RString &sSongPath );
|
||||||
|
|
||||||
/** @brief The version of the .ssc file format. */
|
/** @brief The version of the .ssc file format. */
|
||||||
const static float STEPFILE_VERSION_NUMBER = 0.71f;
|
const static float STEPFILE_VERSION_NUMBER = 0.72f;
|
||||||
|
|
||||||
/** @brief How many edits for this song can each profile have? */
|
/** @brief How many edits for this song can each profile have? */
|
||||||
const int MAX_EDITS_PER_SONG_PER_PROFILE = 15;
|
const int MAX_EDITS_PER_SONG_PER_PROFILE = 15;
|
||||||
|
|||||||
Reference in New Issue
Block a user