Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Unable to parse a UGE song from "...": There was an error parsing the UGE file! #36

Description

@sttng

I get the following error when trying to parse the attached .uge files. It works fine in normal hUGETracker:

error: Unable to parse a UGE song from "07_Dance of Gold_05_192a.uge": There was an error parsing the UGE file!
        (0x24eeb bytes into the data) Instrument out of range (0x10))
        (0x24eda bytes into the data) parsing v2 cell from here
        (0x24dca bytes into the data) Error in parser "Count"
        (0x24dca bytes into the data) parsing v2 pattern from here
        (0x24dc6 bytes into the data) parsing v2 pattern map entry from here
        (0xf882 bytes into the data) parsing v2 pattern map from here
        (0x4    bytes into the data) parsing v6 song from here
(Either the file is corrupted, or our UGE parser has a bug. If the latter, please attach your UGE file and the above in your bug report!)
error: Unable to parse a UGE song from "24_Wandering Ghosts_new5_192.uge": There was an error parsing the UGE file!
        (0x713e bytes into the data) Instrument out of range (0x15))
        (0x712d bytes into the data) parsing v2 cell from here
        (0x7061 bytes into the data) Error in parser "Count"
        (0x7061 bytes into the data) parsing v2 (sub)pattern from here
        (0x6f38 bytes into the data) parsing v3 instrument from here
        (0x542b bytes into the data) Error in parser "Count"
        (0x542b bytes into the data) parsing v3 instrument bank from here
        (0x304  bytes into the data) parsing v3 instr collection from here
        (0x4    bytes into the data) parsing v6 song from here
(Either the file is corrupted, or our UGE parser has a bug. If the latter, please attach your UGE file and the above in your bug report!)

07_Dance of Gold_05_192a.zip

24_Wandering Ghosts_new5_192.zip

And the below error for these files:

19_Silence_01.zip

21_Waltz of Pearls (Dance of Pales)_02.zip

thread 'main' panicked at teNOR\src\optimise\overlapping.rs:62:14:
How come no ordering survived!?
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I'm on Windows 11 by the way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions