#Some charts won't load into the game

102 messages · Page 1 of 1 (latest)

thick oyster
#

This has been an issue I've been dealing with since day one. At least half the songs I have are simply not loaded into the game.
And they aren't read as "bad songs" either, it's as if the charts are ignored entirely. Looking into the files of the charts there seems to be absolutely nothing different from the ones that do work

shut dragon
#

Can you preform a scan, close the game, then send the log file? Thanks

stark windBOT
#

Your Player.log file may be found here:

  • Windows: C:\Users\<you>\AppData\LocalLow\YARC\YARG
  • Mac: ~/Library/Logs/YARC/YARG
  • Linux: ~/.config/unity3d/YARC/YARG
thick oyster
stray tree
# thick oyster

not seeing anything wrong in the log there, can you post a screenshot of what's in your songs folder?

thick oyster
#

Currently not at home. But the songs folder is just organized by playlist.
Best example I can give is that one of the things I have is the Rock Band version of Ziltoid, and despite every chart being grouped in the same folder, only about 3 of the songs work

stray tree
#

i need to see what in specific is in the song folder, there might be something odd you missed

#

@wide ginkgo also would be good to have your input here

rustic talon
#

Was reading through the help channels and just jumping in on this to say that the other day I had a similar issue that I talked with @stray tree about and it was caused by some rogue .txt files that ended up in the subfolders of my songs folder. Make sure to double check you don’t have any extra files in there that shouldn’t be there and then scan again.

thick oyster
#

Nothing weird that I'm able to find

#

And I'm not even sure where I'd begin showing everything in the songs folder. I have thousands of charts in several subfolders that organize them by playlist

stray tree
#

at most, i just need a screenshot of the top level of your songs folder, and a screenshot of what's in one or two songs

thick oyster
#

Left is a song that works, right is one that doesn't

#

And this is top level

stray tree
#

hm

stray tree
thick oyster
#

This one I assume? It's also one of the few that work

wide ginkgo
#

Ah I see.

#

I knew we should've kept this as a full exception instead of a warning that doesn't show in logs

#

The issue is the path length

#

Windows has a max size for the length of the path string that can be used to access a file.

stray tree
#

it should be showing in logs, hm

wide ginkgo
#

It only logs it as a warning, not an error

stray tree
#

which should still be showing

#

all 3 cases write to the log

wide ginkgo
#

in any case, notice how the subfolder name for the one that works is shorter than the ones that don't

thick oyster
#

Should I try changing folder names and see what happens?

stray tree
#

you should probably move your entire songs folder to a higher point in the file system

wide ginkgo
#

The complete path just ends up being too long for windows to handle in one go (without long_path support through an OS registry entry I believe anyways)

stray tree
#

but that's supposedly not happening

wide ginkgo
#

but the error in this situation happens in the directory's file name, not the chart's

#

In other words, it would be like if parent/folder was fine but parent/folder/notes.chart for BadSongs to be written to

thick oyster
#

I moved the songs folder to the root of my game drive and that made no difference even after changing the path and doing several rescans

#

It's just D:\Songs now and, nothing

stray tree
#

it should be showing up in the log

#

@thick oyster can you post your latest game log?

wide ginkgo
#

just to be clear, this is the one I mean

thick oyster
#

Player log, yeh?

stray tree
#

yeah

thick oyster
stray tree
wide ginkgo
#

wait no, that's one a slight edit. It originally is logwarning

stray tree
#

DirectoryNotFoundException: Could not find a part of the path 'D:\CloneHero\Songs\Guitar Hero X-II\13 - Metallica Solo Medleys\3 - Master Of Puppets Solo Medley'.

#

okay that's from the music player, nvm

#

beacuse your cache became outdated

wide ginkgo
#

oh

#

you know what

#

part of the trick of the scanning is that it will do a full scan if no songs are found

#

problem: the setlist songs will always be found KEKNitro

stray tree
#

lol

wide ginkgo
#

anyways, try again but manually pressing Refresh Songs nvm you already did

#

Now granted, removing CloneHero as a subfolder only manages to remove 9 characters

#

actually hold on. That can't be it. tf

stray tree
#

hold on, is the scanning even aware of the paths that are too long?

thick oyster
#

I was gonna say, I have other songs that are in subfolders with WAY longer names and they work just fine

#

All these ones work

wide ginkgo
thick oyster
#

Nope. Nothing's changed

wide ginkgo
#

And if you make that the only folder scanned, I assume it still doesn't work?

thick oyster
#

Yea I tried that as well

queen yew
#

And those paths go over the limit

stray tree
#

odd that it's not using PathTooLongException for that

wide ginkgo
#

send the notes.mid if you could for testing purposes

#

Though I got an early shift tomorrow so I gotta sleep

queen yew
#

I am also in bed so will have to do it tomorrow

queen yew
#

on newer .net the path automatically gets converted by the framework into the long path format

#

so you never run into the issue in the first place

thick oyster
wide ginkgo
#

ah yep

#

@stray tree remember that one midi file that you analyzed and found that the midi tracks had duplicate trackname events?

#

It did it again

#

The midi file in question is out of spec

#

so it makes sense why that song fails

#

Note: TEMPO_TRACK is present in all the instrument track chunks. Every one of them

stray tree
#

okay what the heck lol

#

how have i not encountered this in my own 10k library

#

and what program exported these

#

that's what i wanna know

#

so i guess we'll have to be lenient with the track names

thick oyster
#

It's ripped from rock band as far as I know

#

One of my friends sent me the charts to show me the album

stray tree
#

these must be old rips or something

#

they're very much not what the original game has

thick oyster
#

It's RB2 DLC afaik

stray tree
#

not seeing these songs there

thick oyster
#

I'm not sure where they got the charts nor how long they've had 'em for

stray tree
#

either way, i presume these songs work in CH?

thick oyster
#

Yep

stray tree
#

not entirely sure why they would unless they modified the Moonscraper parsing to not use just the first event as the track name, but maybe they did

wide ginkgo
#

Reminder that the old YARG scanner didn’t either.

#

It looped through every single midi event to check for the trackname event type

#

Though it also, as a separate consequence, had no means of accurately checking available difficulties.

But it would explain why the chart worked on stable vs nightly

#

But yea, weird. Moonscraper indeed also only checks the first event.

stray tree
#

lol dnSpy is not having a fun time with the strings in the CH assembly

#

idk why i'm going to this length just to find out for sure

#

alright yeah, CH does check all events in the file for the track name