Jump to content

Avatar

File Indexer

File Indexer Visualizer MagmaC3 Custom Library Viewer

  • Please log in to reply
7 replies to this topic

#1 Jerry1gman

Jerry1gman
  • 101 posts

Posted January 20, 2018 - 05:53 PM

Hello, Where does the File Indexer get the song info from? Because I removed the quotations marks ( \q ) inside Weird Al dta and File Indexer doesn't respect it, even after clearing files. I found the same thing throwing it into visualizer and MagmaC3. However using DemonUnicorns new Custom Library Viewer, this does respect the changes made in the dta file.

 



#2 Whizzer

Whizzer
  • 349 posts

Posted January 21, 2018 - 02:56 PM

Hello, Where does the File Indexer get the song info from? Because I removed the quotations marks ( \q ) inside Weird Al dta and File Indexer doesn't respect it, even after clearing files. I found the same thing throwing it into visualizer and MagmaC3. However using DemonUnicorns new Custom Library Viewer, this does respect the changes made in the dta file.


My best guess is it prefers to take info that's specifically there for the Visualizer, in all newer CON files, at the bottom of the file, commented out, so the game won't choke on it when caching. Edit that too and File Indexer will probably do what you want it to.

#3 Jerry1gman

Jerry1gman
  • 101 posts

Posted January 21, 2018 - 05:02 PM

I thought that too, but there is only a song title down there.

Here is an example con http://customscreato...h-paradise-r432



#4 TrojanNemo

TrojanNemo

    The Programmer

  • 4,860 posts
  • Location
    Miami, Florida

Posted January 21, 2018 - 08:15 PM

foreach (var newEntry in Parser.Songs.Select(song => new SongIndex
{
     Name = song.Artist + " - " + song.Name,
     Location = file,
     SongID = song.SongIdString
}))

In theory it should just be using the song name field, not even the one in the comments from Magma as that is a different field altogether:

else if (line.Contains(";Song=") || line.Contains(";SongTitle="))
{
     song.OverrideName = Tools.GetConfigString(line);
}

Post the dta you're trying to work with that's not reflecting the changes as you mentioned.



#5 Jerry1gman

Jerry1gman
  • 101 posts

Posted January 22, 2018 - 05:55 PM

Thanks for taking a look at it, the dta is from this

http://customscreato...h-paradise-r432

It's odd, deleting the 'artist' field in dta deletes the artist name it in those programs. However, shortening the 'artist' field to Weird Al displays it as Weird" Al in those programs.



#6 TrojanNemo

TrojanNemo

    The Programmer

  • 4,860 posts
  • Location
    Miami, Florida

Posted January 22, 2018 - 06:13 PM

So now I remember...

 

/// <summary>
/// Returns clean Artist Name
/// </summary>
/// <param name="raw_line">Raw text line from songs.dta file</param>
/// <returns></returns>
public string GetArtistName(string raw_line)
{

...

if (artist.ToLowerInvariant().Contains("weird") && artist.ToLowerInvariant().Contains("al") && artist.ToLowerInvariant().Contains("yank"))
{
     artist = "\"Weird Al\" Yankovic";
}

 

The program is manually forcing the correct spelling of "Weird Al" Yankovic...

https://en.wikipedia...rd_Al"_Yankovic
http://weirdal.com/home/

Ooops. Nothing to "fix" unless I decide to scrap the correction that has been in place all this time.



#7 Alternity

Alternity
  • 823 posts

Posted January 22, 2018 - 07:22 PM

I recall seeing other fixes in the source code (Like Mötley Crue for example) but these aren't applied for PS3 conversions, always wondered why.



#8 TrojanNemo

TrojanNemo

    The Programmer

  • 4,860 posts
  • Location
    Miami, Florida

Posted January 22, 2018 - 08:02 PM

Well, part of it was my lack of experience and adding more and more things as I went along. If anyone looks at the code they can see how shitty that part is. But you know what? It works. Mostly.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users