WidescreenFixesPack icon indicating copy to clipboard operation
WidescreenFixesPack copied to clipboard

[NFS] restore regional video filenames & add an option for customizing filenames (NTSC/PAL)

Open xan1242 opened this issue 9 months ago • 1 comments

This entire block of code from CalculateMovieFilename was omitted from the US build. Should be easy to restore. Just check language first, if the language specific variant exists, play that, else, look for the one without the suffix.

if ( !bStrICmp(a3, "ealogo") )
  {
    v6 = GetCurrentLanguage();
    if ( v6 == 3 )
    {
      v7 = "_it.vp6";
    }
    else if ( v6 > 3 )
    {
      if ( v6 == 5 )
      {
        v7 = "_du.vp6";
      }
      else if ( v6 < 5 )
      {
        v7 = "_sp.vp6";
      }
      else if ( v6 == 6 )
      {
        v7 = "_sw.vp6";
      }
      else
      {
        if ( v6 != 7 )
          goto LABEL_29;
        v7 = "_dn.vp6";
      }
    }
    else if ( v6 == 1 )
    {
      v7 = "_fr.vp6";
    }

xan1242 avatar Oct 01 '23 19:10 xan1242

Semi related - also other NFS games have the NTSC/PAL shenanigans going on.

Should also address this because it makes absolutely no sense to keep the distinction on PC.

xan1242 avatar Dec 06 '23 19:12 xan1242