Skip to content

level.csv

This document explains the structure and contents of the level.csv file, which plays a critical role in displaying songs on the song selection screen in Piano Tiles 2. The information in this file is based on the data defined in music_json.csv.

By understanding the structure and meaning of each field in level.csv, you can gain valuable insights into how songs are presented and categorized within the Piano Tiles 2 game.

File Structure

The CSV file is organized with each line representing a song entry on the song selection screen. Each line contains various fields separated by commas.

Field Descriptions

Here's a breakdown of each field in the CSV file:

  • Id: This field determines the order in which songs are displayed on the song selection screen.
  • Mid: This field references the unique music identifier defined in music_json.csv.
  • Type: This field indicates the type of song or level. Possible values include:
    • 1: Normal level
    • 2: Purchased level
    • 3: Arena level
    • 10: Class song
    • 15: Facebook song
    • 16: Popular song
  • Lock: This field specifies how the song is unlocked. Possible values include:
    • 1: Unlocked by reaching a specific level
    • 2: Unlocked by spending coins
    • 13: Unlocked by spending diamonds
    • 14: Unlocked by having a VIP subscription
    • 15: Unlocked through Facebook
    • 16: Unlocked by watching a video
    • 17: Unlocked by using a music key on a normal level song
    • 18: Unlocked by using a music key
    • 19: Unlocked through in-app purchase
    • 22: Unlocked by purchasing an album
  • NeedLv: This field specifies the level requirement needed to unlock the song, if applicable.
  • NeedGold: This field specifies the amount of coins needed to unlock the song, if applicable.
  • NeedDiamond: This field specifies the number of diamonds needed to unlock the song, if applicable.
  • NeedCrow: This field specifies the number of stars needed to unlock the song, if applicable.
  • NeedCrow2: This field specifies the number of crowns needed to unlock the song, if applicable.
  • Musiclevel: This field represents a calculated value based on the song's speed.
  • RewarID: This field is likely related to rewards associated with the song.
  • LocalMusicVer: This field indicates whether the song is a new addition.
  • Recommend: This field marks whether the song is recommended to players.
  • MusicCard: This field refers to the corresponding card displayed for the song in the game's interface.
  • FavoriteRate: This field represents the song's popularity rating.
  • Playmark: This field provides notes about the gameplay mechanics featured in the song. Possible values include:
    • 1: Black tiles
    • 2: Long tiles
    • 3: Double tiles
    • 4: Frenzy tiles (Combo tiles)
    • 5: Slider tiles
    • 6: Burst tiles
  • Stylelabel: This field provides notes about the song's style or genre. See the table below for possible values.
  • Fallingrate: This field is likely related to the speed at which tiles fall in the game.
  • TID: This field is currently unclear.
  • GoldenSong: This field indicates whether the song is considered a hard difficulty level. This information is used for a button on the game over screen that recommends playing a hard song.
  • MusicTime: This field contains a timestamp of when the song became available in the game.
  • HomeOrder: This field determines the song's order on the game's home screen.
  • VipMusicVersion: This field indicates the VIP subscription period associated with the song, if applicable.
  • VipCn: This field is related to handling VIP subscriptions in the Chinese version of the game.
  • ProduceId: This field likely refers to the product ID associated with the song for in-app purchases.
  • card_selection: This field specifies the filename of the card image used for in-app purchase songs.
  • needvideo: This field indicates whether watching a video is required to unlock the song.

Style Label Values

The Stylelabel field uses numerical values to represent different musical styles or genres. Here's a table of possible values:

ValueStyle/Genre
1Folk Music
2Sonata
3Etude
4Art Song
5Nocturne
6March
7Dance Music
8Tango
9Piano Piece
10Symphony
11Variation
12Sonatina
13Serenades
14Rondo
15Ragtime
16Opera Overture
17Creative Music
18Humoresque
19Suite
20Unknown
21Impromptu
22Orchestral Music
23Concerto
24Rhapsody
25Fugue
26Prelude
27Opera Excerpt
28Romance
29Ensemble Music
30Cello Suite
31Czardas
32Chinese Music
33Meditation
34Requiem
35Toccata
36Dream Music
37Interlude
38Religious Music
39Cantata
40Partita
41Capriccio
42Heavy
43Fast-paced
44Joyful
45Lively
46Lyrical
47Neutral
48Sad
49Bright
50Passionate
51Refreshing

Usage

The information in level.csv is used by Piano Tiles 2 to determine the order in which songs are displayed on the song selection screen. It also specifies how each song is unlocked, whether it is purchaseable, and other relevant information for presenting songs to players. The game references this data to populate the song selection screen and provide appropriate information and options to players based on their progress and level.

Released under the MIT License.