1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 09:50:04 +08:00
Files
osu-lazer/osu.Game/Localisation
T
Bartłomiej Dach 3712093158 Add explicit menu item for exporting guest difficulties from editor
A few facts of life:

- Guest difficulties are at this point a staple of mapping.

- People are very much used to flinging `.osu`s around (because there's
  no better alternative).

- Currently there are two ways to get an `.osu` out of lazer. You can:

  - Export the beatmap as "compatibility" to an `.osz`, then
    transmogrify the `.osz` to a `.zip`, then extract the `.zip`, then
    pluck out the `.osu`. This is the "correct" way to make sure stable
    works, but is also stupidly arcane.

  - Use "edit externally" to mount the beatmap files to disk, then
    copy-paste out the `.osu`. This is the *wrong* way to make sure
    stable works, because the mounting process exposes the raw "for
    editing" format with features stable doesn't support, but it the
    actual easy one.

- Reports about guest difficulties exported from lazer "working wrong on
  stable" are prevalent. Probably mostly because of the preceding point.

What this PR does is introduce a *third* method to export an `.osu`,
which is designed to be both the easiest one yet *and* correct. I am
hoping this will curb the complaints until support for direct submission
of guest difficulties is added - which I still hope to see, but it will
be a significant effort *client-side* (the server side has been ready
for years now).

And yes, you will notice that much of the code added in
`LegacyBeatmapExporter` related to manipulation of the path is
copy-pasted from `LegacyExporter`. I don't care enough to invent
protected / abstract / whatever else OOP faff for something that may not
survive review and is mostly a weird semi-temporary wart.
3712093158 · 2025-12-22 11:36:23 +01:00
History
..
2025-08-18 12:46:53 +02:00
2025-02-17 22:42:03 +09:00
2025-01-04 01:28:33 +09:00
2025-11-21 17:13:44 +09:00
2024-11-28 02:37:31 -05:00
2024-05-01 21:18:56 +03:00
2022-11-06 15:35:26 +01:00
2025-01-07 19:32:30 +09:00
2024-11-22 21:21:04 +09:00