H3LL0U / background_remover_osu-

GNU General Public License v2.0
1 stars 0 forks source link

Backgrounds should also be shown in the song selection #4

Closed H3LL0U closed 6 months ago

H3LL0U commented 6 months ago

The images get copied to the maps folder, but they do not get shown because each map contains a text file which stores information about each background [Events] //Background and Video events Video,103,"vid.mp4" 0,0,"BG.jpg",0,0 #<------- this section is resposible. //Break Periods 2,40756,42629 //Storyboard Layer 0 (Background) //Storyboard Layer 1 (Fail) //Storyboard Layer 2 (Pass) //Storyboard Layer 3 (Foreground) //Storyboard Layer 4 (Overlay) //Storyboard Sound Samples

the program should also be able to edit this part

H3LL0U commented 6 months ago

Solution that is going to be implomented: Upon saving of the backgrounds a config file is also created it contains: 1.the name of the .osu file 2.the configuration that it had at this position: [Events] //Background and Video events Video,103,"vid.mp4" 0,0,"BG.jpg",0,0 #<------- this section is resposible. //Break Periods 2,40756,42629 //Storyboard Layer 0 (Background) //Storyboard Layer 1 (Fail) //Storyboard Layer 2 (Pass) //Storyboard Layer 3 (Foreground) //Storyboard Layer 4 (Overlay) //Storyboard Sound Samples example of how config stores information: some_map [easy]: 0,0,"BG.png",0,0 some_map [hard]: 0,0,"BG.jpg",0,0 etc...

Upon restoration the saves in the config will be applied to .osu file

H3LL0U commented 6 months ago

Solution implomented