Alexander Griffin and MrThatKid
c0981c42ec
Changing BannerCache into ImageCache to support more imagetypes ( #1532 )
2017-09-19 14:49:42 -07:00
Kyzentun and Colby Klein
2aee27a276
Backport custom song support. Prefs are CustomSongsEnable, CustomSongsMaxCount, CustomSongsLoadTimeout, CustomSongsMaxSeconds, CustomSongsMaxMegabytes. Metrics are NumProfileSongGroupColors and the colors with it. Profile custom load function is passed PlayerNumber now. Stepmania must run as root to save USB profile scores. ( #1470 )
2017-06-06 05:30:06 -07:00
Nickito12 and Colby Klein
6225e114ad
Online protocol improvements ( #1393 )
...
* Chartkey generation
* Simfile filehash generation
* Read filehash on NSCRSG. Add FLU packets and friendlist vectors. Add
getserverversion method. Send chartkey, filehash and rate on start request.
* Use filehash to find the selected song if it is not empty.
* Friendlist update broadcast.
* Send note row size if it's bigger than 1
* Used for chartkey generation
* Define the ReportScore function with numNotes when WITHOUT_NETWORKING is defined
2017-02-10 04:57:59 -08:00
Kyzentun Keeslala
bd3da6a46d
Added GetMainTitle to Song to bypass ShowNativeLanguage pref.
2015-10-26 13:38:23 -06:00
Kyzentun Keeslala
2d64694f14
Changed Song and ScreenEdit to not save a .sm file when split timing is used.
2015-10-02 16:26:59 -06:00
Kyzentun
5852067f47
Added RadarCategory_Notes. Rewrote NoteDataWithScoring stuff to only traverse the NoteData once, and match the radar code in NoteDataUtil. Fixed hand and lift counting in NoteDataUtil::CalculateRadarValues. Removed cap from RadarValues so that Stream, Voltage, Air, Freeze, and Chaos can be over 1.0. Fixed Stream and Voltage to not count hold heads twice. Changed SetRadarValues in NotesLoaderSSC to not require the stepfile version number.
2015-04-06 18:45:23 -06:00
Kyzentun
8b09da8e64
Various changes to speed up start up time:
...
Added delay_save_cache to SongCacheIndex so that it doesn't write the entire cache index file after every song is loaded when loading songs.
Added m_SongsByDir to SongManager so that GetSongFromDir doesn't have to walk the entire list of songs.
Minor changes to when LoadEnabledSongsFromPref occurs and how SanityCheckGroupDir works to speed up loading.
Song::ReloadFromSongDir removes cache file to force an actual reload from the song dir instead of reloading from the cache. ReloadFromSongDir exposed to lua.
Reordered Actor::LoadFromNode to put Command first because that case is more common.
Course::GetTrailUnsorted reserves entries before starting to save time reallocating.
join in RageUtil calculates the final size of the concatenated strings reserves it to save time reallocating.
Added time log file to RageLog for profiling.
2015-03-30 17:45:52 -06:00
Kyzentun
a2798e16f4
More aggressive caching. In general, this makes Stepmania avoid looking in the song directory at all if the song is in the cache, in order to load songs faster. All the RadarValue calculations were also rolled into one to reduce the time needed to build the cache.
2015-03-23 11:35:30 -06:00
Kyzentun
ddb1683bb7
Autosave completed but not tested.
2015-03-09 19:47:44 -06:00
Kyzentun
064aead73c
Added autosave to edit mode.
2015-03-09 19:47:43 -06:00
Kyzentun
fa0478affa
Merged per-chart music. Updated changelog.
2015-03-09 19:06:57 -06:00
Kyzentun
0318f07d2d
Implement preview music properly as a new optional tag in the ssc file. Changed ScreenManager to emit an error instead of asserting if a screen attempts to use SetNewScreen inside an InitCommand. Changed decorations layer to be a proper child instead of stripping away the ActorFrame.
2015-03-04 01:31:02 -07:00
Kyzentun
846f79879c
Added MUSIC tag to note data to allow each chart in a simfile to use a different music file.
2015-03-02 18:44:01 -07:00
Kyzentun
9381276fd3
Changed ScreenSelectMusic and Song to look for preview.ogg and use it for a sample if it exists instead of the music file. Sample length still comes from simfile. Changed foreach_ordered to work on tables with string and number keys.
2015-03-01 15:40:16 -07:00
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
freem
6a39fb5ded
Changelog_SSCformat.txt said we were on v0.82, but Song.h said we were on v0.81... fix that.
...
also update FILE_CACHE_VERSION to regenerate cache for #PREVIEWVID tag (if it isn't already)
2014-08-05 10:45:15 -05:00
AJ Kelly
2806f86699
do it right this time.
2012-07-01 12:30:14 -05:00
AJ Kelly
64e7b85a9e
add SaveToJsonFile() function from SM4 betas.
2012-07-01 12:24:39 -05:00
Jason Felds
26f5e8d78c
Replace Steps:UseSplitTiming.
...
Instead, use Song:IsStepsUsingDifferentTiming.
2012-04-08 23:56:28 -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
AJ Kelly
145d2ebf0f
remove duplicated comment
2011-09-18 20:35:10 -05:00
Jason Felds
047bc7a5dc
Allow all timing tags regardless of timing.
2011-09-12 19:43:41 -04:00
AJ Kelly
e06c7d334f
back to 3 significant digits for .ssc files.
2011-09-07 22:17:20 -05:00
AJ Kelly
01c6c1679e
[Song] Added Jacket, CD image (a la early DDR), and Disc (PIU-style) support. Added GetJacketPath(), GetCDImagePath(), GetDiscPath(), HasJacket(), HasDisc(), and HasCDImage() Lua bindings.
2011-08-21 19:03:19 -05:00
AJ Kelly
dc456b0e07
[Song] Add ShowInDemonstrationAndRanking() Lua binding.
2011-08-19 15:01:21 -05:00
Jason Felds
114a5de8ad
Only write step timing/attack tags when needed.
2011-08-02 22:30:54 -04:00
AJ Kelly
7ce28b7b88
attempt to fix crashes by removing more guitar stuff
2011-07-30 17:21:48 -05: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
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
bafcea2a6b
Just about all that can be done before Loading.
...
This next commit will be the big one it seems.
2011-07-17 13:27:47 -04:00
Jason Felds
08d5f8f722
Add Miss Combo support in #COMBOS tag.
2011-07-09 02:28:15 -04:00
Jason Felds
fe299a616c
Cache, change log, the usual.
2011-07-07 18:48:59 -04:00
Jason Felds
aff802e502
Move Display enum to Steps. Song still compiles.
2011-07-07 15:27:09 -04:00
Jason Felds
f16fec8438
Well EXCUUUUUUUUUUUUUUUUUUUUUUUUUSE ME, Princess!
2011-07-07 13:55:46 -04:00
Jason Felds
7cff5036f5
Today, on "choose your commit message":
...
Wolfman wanted a better name for the function thanks to its new purpose.
Wolfman wanted everyone to suffer by forcing recompilation of 88 files.
Wolfman wanted a sandwich.
2011-07-05 15:04:24 -04:00
Jason Felds
57e3c2fc80
Use accessor functions instead of direct calls.
2011-06-30 02:19:37 -04:00
Jason Felds
80d3618b8e
Prepare for function abstraction.
2011-06-30 01:56:50 -04:00
Jason Felds
7627cbe5ac
Unused.
2011-06-30 01:30:14 -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
a8da45978d
Prep work for cache tag adjusting.
...
Hopefully this won't take too long.
2011-06-29 23:32: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
f2d1ca1d4b
Make Step #ATTACKS official.
2011-06-24 11:58:51 -04:00
Jason Felds
3d155c9970
NOW I start moving prototypes to headers?
...
I need to be more consistent...gah, hungry.
2011-06-12 19:35:24 -04:00
Jason Felds
87d151687f
Allow 15 edits per profile.
2011-06-11 15:24:16 -04:00
Thai Pangsakulyanont
687affa1e5
merge.
...
I seem to get an EXC_BAD_ACCESS error about libpng on app starting, so I don't know if the merge succeeded at all :<
2011-06-04 19:18:55 +07:00