Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backgrounds should also be shown in the song selection #4

Closed
H3LL0U opened this issue Feb 20, 2024 · 2 comments
Closed

Backgrounds should also be shown in the song selection #4

H3LL0U opened this issue Feb 20, 2024 · 2 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@H3LL0U
Copy link
Owner

H3LL0U commented Feb 20, 2024

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 H3LL0U self-assigned this Feb 20, 2024
@H3LL0U H3LL0U added bug Something isn't working help wanted Extra attention is needed labels Feb 20, 2024
@H3LL0U
Copy link
Owner Author

H3LL0U commented Feb 22, 2024

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
Copy link
Owner Author

H3LL0U commented Feb 23, 2024

Solution implomented

@H3LL0U H3LL0U closed this as completed Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant