Author Topic: How to compose a levelpack.ini file ?  (Read 4026 times)

0 Members and 1 Guest are viewing this topic.

Offline Turrican

  • Posts: 339
    • View Profile
How to compose a levelpack.ini file ?
« on: May 27, 2021, 07:00:43 AM »
The following days , I will try to make a levelpack , which will contain 20 Superlemmini levels , divided in two ranks .

My question here is how to make the levelpack.ini file ? What I need to know about that ?

Also how I should handle the music tracks for the levels ? Can Dropbox free do the job ? How it works ?
My Youtube channel ( Turrican Lemm )  :
https://www.youtube.com/channel/UCYGFBOHdYITHlsqa203Tu8Q

Offline Tsyu

  • Moderator
  • Posts: 350
    • View Profile
Re: How to compose a levelpack.ini file ?
« Reply #1 on: May 27, 2021, 07:55:24 AM »
Below is a template levelpack.ini to get you started. To learn what everything means, see Level Pack Format.txt in the docs folder that came with SuperLemmini.

Code: [Select]
name = Title Goes Here

codeSeed = ANYTENLTRS

# music selection
music_0 = song1.mod
music_1 = song2.mod
music_2 = song3.mod
music_3 = song4.mod
music_4 = song5.mod


# ratings
level_0 = First Rating
level_1 = Second Rating


# Levels: name, music ID

# Rating 0 - First Rating

# First Rating 1 -  Level 1-1
level_0_0 = level00.ini,0
# First Rating 2 -  Level 1-2
level_0_1 = level01.ini,1
# First Rating 3 -  Level 1-3
level_0_2 = level02.ini,2
# First Rating 4 -  Level 1-4
level_0_3 = level03.ini,3
# First Rating 5 -  Level 1-5
level_0_4 = level04.ini,4


# Rating 1 - Second Rating

# Second Rating 1 -  Level 2-1
level_1_0  = level10.ini,0
# Second Rating 2 -  Level 2-2
level_1_1  = level11.ini,1
# Second Rating 3 -  Level 2-3
level_1_2  = level12.ini,2
# Second Rating 4 -  Level 2-4
level_1_3  = level13.ini,3
# Second Rating 5 -  Level 2-5
level_1_4  = level14.ini,4

You can find more examples in root.lzp, which is just an ordinary zip file. (You may first need to rename the ".lzp" part to ".zip", but if you do, copy the file first and rename the copy.)

Regarding music, you place the music files that you want to use in the "music" folder and add the file names to your levelpack.ini as shown above.

A free Dropbox account will probably work, but keep in mind that a free account is limited to 20 GB of download bandwidth and 100,000 downloads per day. (And that's for the entire account, not for each file!) Paid accounts have higher limits, depending on the plan.

Offline Turrican

  • Posts: 339
    • View Profile
Re: How to compose a levelpack.ini file ?
« Reply #2 on: May 27, 2021, 08:45:04 AM »
Thank you Tsyu ! :thumbsup: I will stydy this template .
My Youtube channel ( Turrican Lemm )  :
https://www.youtube.com/channel/UCYGFBOHdYITHlsqa203Tu8Q