Fixed songs dir
@@ -33,7 +33,8 @@ public class SongHandler {
|
||||
if(Window.ON_RASP)
|
||||
dir = new File(System.getProperty( "user.home" ) + "/ColorStrike/Songs");
|
||||
else
|
||||
dir = new File(System.getProperty( "user.home" ) + "/ColorStrike/Songs");
|
||||
dir = new File(System.getProperty( "user.home" ) + "/Documents/songs");
|
||||
|
||||
songs = DirScanner.scanDirectories(dir);
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 221 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 296 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 253 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 36 KiB |
@@ -1,72 +0,0 @@
|
||||
{
|
||||
"meta": {
|
||||
"title": "title of song",
|
||||
"subtitle": "subtitle of song",
|
||||
"author": "author of song",
|
||||
"sample_start": 12.00,
|
||||
"BPM": 0
|
||||
},
|
||||
"file": {
|
||||
"audio": "NAME_OF_SONG.mp3",
|
||||
"background": "background.png",
|
||||
"banner": "banner.png"
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"difficulty": "easy",
|
||||
"objects": [
|
||||
{
|
||||
"time": 1,
|
||||
"direction": 1,
|
||||
"button": 0,
|
||||
"hold": true,
|
||||
"length": 1000
|
||||
},
|
||||
{
|
||||
"time": 16,
|
||||
"direction": 6,
|
||||
"button": 1
|
||||
}
|
||||
],
|
||||
"button": [
|
||||
{
|
||||
"time": 0,
|
||||
"button": 0,
|
||||
"color": 0
|
||||
},
|
||||
{
|
||||
"time": 20,
|
||||
"button": 6,
|
||||
"color": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"difficulty": "medium",
|
||||
"objects": [
|
||||
{
|
||||
"time": 4,
|
||||
"direction": 3,
|
||||
"button": 3
|
||||
},
|
||||
{
|
||||
"time": 12,
|
||||
"direction": 5,
|
||||
"button": 2
|
||||
}
|
||||
],
|
||||
"button": [
|
||||
{
|
||||
"time": 0,
|
||||
"button": 0,
|
||||
"color": 0
|
||||
},
|
||||
{
|
||||
"time": 20,
|
||||
"button": 6,
|
||||
"color": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 247 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 228 KiB |
|
Before Width: | Height: | Size: 45 KiB |
@@ -1,72 +0,0 @@
|
||||
{
|
||||
"meta": {
|
||||
"title": "Song #2",
|
||||
"subtitle": "Some song",
|
||||
"author": "Kenneth",
|
||||
"sample_start": 136.000,
|
||||
"BPM": 44.260
|
||||
},
|
||||
"file": {
|
||||
"audio": "NAME_OF_SONG.mp3",
|
||||
"background": "background.png",
|
||||
"banner": "banner.png"
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"difficulty": "easy",
|
||||
"objects": [
|
||||
{
|
||||
"time": 1,
|
||||
"direction": 1,
|
||||
"button": 0,
|
||||
"hold": true,
|
||||
"length": 1000
|
||||
},
|
||||
{
|
||||
"time": 16,
|
||||
"direction": 6,
|
||||
"button": 1
|
||||
}
|
||||
],
|
||||
"button": [
|
||||
{
|
||||
"time": 0,
|
||||
"button": 0,
|
||||
"color": 0
|
||||
},
|
||||
{
|
||||
"time": 20,
|
||||
"button": 6,
|
||||
"color": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"difficulty": "medium",
|
||||
"objects": [
|
||||
{
|
||||
"time": 4,
|
||||
"direction": 3,
|
||||
"button": 3
|
||||
},
|
||||
{
|
||||
"time": 12,
|
||||
"direction": 5,
|
||||
"button": 2
|
||||
}
|
||||
],
|
||||
"button": [
|
||||
{
|
||||
"time": 0,
|
||||
"button": 0,
|
||||
"color": 0
|
||||
},
|
||||
{
|
||||
"time": 20,
|
||||
"button": 6,
|
||||
"color": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 201 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 327 KiB |
|
Before Width: | Height: | Size: 177 KiB |
|
Before Width: | Height: | Size: 25 KiB |