Commit Graph

130 Commits

Author SHA1 Message Date
Jason Felds c1c63611ef Guess I was it. 2012-01-08 19:27:18 -05:00
Jason Felds 4a6bf9282f DWI files can't get the speedy goodness.
Upgrade your files people!
2012-01-08 16:37:08 -05:00
Thai Pangsakulyanont cf3916cd89 don't adjust duplicate steps when loading from cache: another optimization. 2012-01-08 18:58:45 +07:00
Thai Pangsakulyanont 6eed983329 wrap the probing part with if( !duringCache ), speeds up loading from cache.
From my benchmark with around 1600 songs, it goes from 30 seconds to less than 10 seconds.
2012-01-08 13:23:38 +07:00
AJ Kelly 842810c0dd [Song] Fixed a bug where a sample start of 0 wouldn't work. 2011-12-23 02:54:51 -06:00
AJ Kelly c7fab6014f [Various] Allow loading of *.jpeg in addition to *.jpg. 2011-12-17 03:21:12 -06:00
AJ Kelly f91e85c53e some small changes to background/disc graphic finding logic. 2011-10-06 14:58:00 -05:00
Jason Felds 4f2e40874c I don't like plain asserts. Add a message. 2011-09-29 22:00:57 -04:00
Jason Felds 041d59f315 Anyone recall WHY I had this code?
Remove forced timing data copying if only one Step.
2011-09-23 22:51:06 -04: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
Jason Felds 83c3899c00 Fix loading of steps from .sm files.
Some files were using non standard difficulty names
that weren't being caught properly.
2011-09-23 22:06:43 -04:00
Jason Felds a67ee09abf Added two new Lua bindings to Song.
GetSampleStart()
  GetSampleLength()
2011-09-18 14:41:28 -04:00
Jason Felds 51725c188a Fix label segments not loading right. 2011-09-12 22:28:07 -04:00
Jason Felds 047bc7a5dc Allow all timing tags regardless of timing. 2011-09-12 19:43:41 -04:00
Jason Felds 48ca50940a Update the cache due to previous commit. 2011-09-12 00:12:55 -04: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
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
AJ Kelly dc456b0e07 [Song] Add ShowInDemonstrationAndRanking() Lua binding. 2011-08-19 15:01:21 -05:00
Jason Felds f5f4268b19 Delays are significant timing changes.
Yes, I'm committing while I'm on vacation.
Deal with it: I'm in an area with not much to do.
2011-08-07 15:12:44 -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 bb6263c76b Be sure guitar caches are rocked out. 2011-07-31 00:17:08 -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 1cff1bc973 Radar fix, cache update. 2011-07-29 23:09:54 -04:00
Jason Felds 3d58d76fcb Radar values fixed for KSF files.
Yes, this causes a cache update. No, I don't care.
2011-07-25 04:35:51 -04:00
Jason Felds f4f38ad12a Minor improvements with KSF loader.
Cache version up to 196.
2011-07-20 00:18:14 -04:00
Jason Felds acbf2e9aa7 Another syntax bug, another cache force.
...alright, even I'm getting annoyed with this.
2011-07-17 23:42:38 -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 f8446ac3ca That "h" wasn't behaving right. Remove. 2011-07-17 16:18:22 -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 497f460b42 Properly calculate radars for Couple charts.
This does force another cache update.
2011-07-13 04:19:39 -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 cc4f7b6d5d Add more defaults. 2011-07-07 17:10:04 -04:00
Jason Felds 98a974a3d3 Increment the cache.
Who wants to place their bets on the final cache value
when we hit SM5 final?
2011-07-07 15:18:53 -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 0a791850d6 More horizontal scrolling reduction. 2011-07-05 15:01:30 -04:00
Jason Felds f4c2c7f0be Reduce horizontal scrolling. Other small fixes. 2011-07-05 14:54:01 -04:00
Jason Felds 9ffc253441 Make GetBannerPath consistent with Background. 2011-07-05 14:44:22 -04:00
Jason Felds 57e3c2fc80 Use accessor functions instead of direct calls. 2011-06-30 02:19:37 -04:00
Jason Felds df14721d0f Last update requires recache fix.
Accidentally wasn't reading the right tag.
2011-06-30 02:11:32 -04:00
Jason Felds 5940bdeddb More abstraction. 2011-06-30 02:10:58 -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 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