How do i revert back to default .lua application


  1. Posts : 3
    Windows 10
       #1

    How do i revert back to default .lua application


    Hello.

    So i've recently downloaded Civ 6, so I decided to look up some mods for it. Because it would make it abit more interesting.
    I had a mod that would require me to manually change some of the text in the file to my own liking.

    You probably guessed it by now, I forgot to tick off the "set default app" thing.

    I've played around with a lot of civ 5 mods in the past. So I feel so stupid to do the mistake now.
    I have tried going into cmd with admin and writing "assoc .lua=" but it didnt work, i've also tried to to locate the the default .lua app in the settings on windows 10. But I cannot revert it back, I only have the option to choose Notepad and some other apps.

    Can someone please help me? Civ 6 wont register the file unless it gets reverted back to its default "app" or w/e it is
      My Computer


  2. Posts : 226
    Many
       #2

    .lua doesn't have an association by default in Windows.

    If you want to get rid of the association just open regedit and delete HKEY_CLASSES_ROOT\.lua or select .lua and blank out the (Default) value
      My Computer


  3. Posts : 3
    Windows 10
    Thread Starter
       #3

    That didnt work, it still shows as notepad as the default app
      My Computer


  4. Posts : 226
    Many
       #4

    See if you have an association in regedit under HKEY_CURRENT_USER\SOFTWARE\Classes
      My Computer


  5. Posts : 3
    Windows 10
    Thread Starter
       #5

    There is a folder called "lua_auto_file"

    But nothing else that has anything with lua in it of the folders
      My Computer


  6. Posts : 2,911
    Windows 10 Pro for the Bro
       #6

    Go to: Control Panel > Default Programs > Associate a file type...
      My Computer


  7. Posts : 31,630
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #7

    Exiledmemphis said:
    You probably guessed it by now, I forgot to tick off the "set default app" thing. ... But I cannot revert it back, I only have the option to choose Notepad and some other apps. ... Civ 6 wont register the file unless it gets reverted back to its default "app" or w/e it is
    A .lua file may be used by many different apps, particularly games.
    Lua is a powerful, efficient, lightweight, embeddable scripting language. ... Lua has been used in many industrial applications ... and games (e.g., World of Warcraft and Angry Birds).
    http://www.lua.org/about.html

    My guess is that you don't need to associate .lua with anything. It's probably just the fact it's already associated with something else that Civ 6 is objecting to.

    I have files with an extension .vdbsag, like your .lua it's not a known file extension for Windows. I've previously tried to associate this with 7zip File Manager (it couldn't open them) and then used File Explorer's 'Open with...' (ticking the 'always use this app...' box) to open it in Wordpad.

    Searching the Registry for all occurrences of 'vdbsag' found the following keys...

    Code:
    HKEY_CLASSES_ROOT\.vdbsag
    HKEY_CLASSES_ROOT\.vdbsag_auto_file
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.vdbsag 
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\ 
     containing the DWORD values: Applications\7zFM.exe_.vdbsag, Applications\WORDPAD.EXE_.vdbsag, vdbsag_auto_file_.vdbsag
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Roaming\OpenWith\FileExts\.vdbsag

    I deleted all the keys and values with 'vdbsag' in their name, after which File Explorer showed Open with... as the default action when I right-clicked on a .vdbsag file. Selecting Wordpad to open .vdbsag and ticking 'always use this app...' recreated them (except the 7zFM one, of course).

    Hope that helps.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:36.
Find Us




Windows 10 Forums