RSS
 

How to fix your League of Legends Registry Paths (OP.GG fix)

30 Nov 2015

Amumu Sad Mummy

Artist: Awskitee

The issue

If you play League of Legends and use any third party tools (to record replays, enhance gameplay, among other things :p) then you have probably run into programs that ask for the path of your League of Legends directory. Fortunately, some programs can auto detect this using the Windows registry. However, if you have moved your League of Legends folder to another folder, reinstalled/upgraded Windows or used a registry cleaner in the past then its possible that your registry entries are corrupt. This means they either don’t exist or don’t point to the correct path.

This is a common issue for most people who cannot watch OP.GG replays as the OP.GG replay batch files rely on the RADs path to function correctly. You might have run into this error:

KR: LOL 경로를 자동으로 찾을 수 없습니다. 도움말에서 관전하기 문제 해결을 보시면 100% 해결 될 수 있습니다. 100% 해결 될 수 있으니, 채팅방에서 괜히 사서 고생해서 물어보지마세요!!!!!!!
EN: Cannot found LOL directory path for automatic. Please see our spectate help page: http://oce.op.gg/help/observer

 

OP.GG has a section on their website that can allow you to set the path manually (which will be reflected in downloaded batch files) but this must be done for each region and every now and again which is not ideal. For the OCE server, the instructions are under the League of legend.exe file can not be found header at http://oce.op.gg/help/observer/

 

A permanent solution

I decided to write a script that can fix this issue for third party applications and web apps.
Simply copy and paste the following code into a text file (.txt) using a text editor of your choice (ie notepad).
Then save the file with a .bat extension (call it anything you like such as fix.bat).
Now simply right click the file and Run as Administrator .

Finally, follow the on screen instructions and choose your system architecture (32 bit/64 bit) and enter the path to your LoL folder. If you do not know your system architecture then run the program twice and use both options.

Download Link:
LoL RADS Registry Fixer.bat

Batch script:

 
72 Comments

Posted in Programming

 

Leave a Reply

 

 
  1. jando13

    November 30, 2015 at 1:55 AM

    Thanks, I’ll try it when I get home

     
  2. Mohammad Ghasembeigi

    November 30, 2015 at 3:55 PM

    @jando13 Good luck!

     
  3. odefiance

    May 12, 2016 at 1:11 AM

    Thank you so much this problem has been bothering me for a while! I really appreciate this. 🙂 Works perfectly!

     
    • guardian

      June 20, 2017 at 3:42 AM

      can u plz tell which text to copy and where to paste plz
      im not understanding any thing ……>…<

       
      • Mohammad Ghasembeigi

        June 20, 2017 at 4:08 AM

        The instructions are pretty easy to follow. Try searching the web about how to run batch files, it should make things more clear.

         
  4. Papa

    June 9, 2016 at 1:20 AM

    Works wonderfully, thx

     
  5. Kingo

    July 20, 2016 at 3:07 PM

    Thanks dude, nice solution.

     
  6. Mtp14

    August 19, 2016 at 12:10 PM

    I tried this and when i open the file it says “finding other LOL directory path”, i don’t know what to do, could u help me? thanks

     
    • Mohammad Ghasembeigi

      August 19, 2016 at 12:14 PM

      What do you mean exactly?

       
  7. Angelo

    September 23, 2016 at 7:56 PM

    Can I ask Something?
    After I entered my LOL Directory path where it installed.the program closed and I thought its ok..so I try to open the op.gg replay batch file.and says Cannot Find LOL Directory path for automatic….etc.
    Im thinking about the options of the problem maybe because Im from Philippines or because my computer specs is low. I wish you can help me plsssss…
    Im researching this problem about more than a month but when I saw this im very very Happy that it works from the others because i read the reviews.so I wish you ca n help me to..plssssss.. Im waiting your reply anytime.

     
  8. ZOLO

    October 28, 2016 at 3:43 AM

    dudeeee ty wow i love you <3

     
  9. Skarlet

    November 8, 2016 at 5:30 PM

    You absolute legend! Had my League installed on a second hardrive. Worked perfectly.

     
  10. Logitech Gaming Software: LoL Profile Autodetection Fix

    November 19, 2016 at 5:31 PM

    […] You can quickly make sure all entries are correct by following this previous post that I made by clicking here. This is required! (Don’t skip this […]

     
  11. HolymighT ( Mohammad Reza )

    November 24, 2016 at 2:47 AM

    Hi

    Let Me Explain Persian Because My English Is Not Very Well ..

    Ghable Inke In Script Ro Ejra Konam ,, Check Kardma Taghriban bishtar In Masir Ha Toye Registery Bande Sakhte Shode Bodan !
    Vali Masiri Ke Niyazmand Raf Moshkel Logitech Software Bod Nabod .. Ejra Kardam Vali Dar Akhar Toye In Ghesmat

    ” Fixing key: HKLM\SOFTWARE\Wow6432Node\Riot Games\RADS
    ERROR: Access is denied.”
    In Error Omad .. Vali Baghiye Ro Check KArdam Sakhte shodan .. Ya Az Ghabl Bodan Mesle Hamin Adress Bala

     
    • Mohammad Ghasembeigi

      November 24, 2016 at 2:51 PM

      Hello!

      Bayad rooh batch file right click kone ah ‘Run as Administrator’ (به عنوان مدیر اجرای) rah bezani keh error eh ‘Access is denied’ ra nabini.

       
  12. KOriza

    December 15, 2016 at 12:00 AM

    Thank you now i can watch replays 🙂

     
  13. Leo

    April 12, 2017 at 1:02 AM

    It says I cant open the file :/ since it doesn’t match my computer.

     
  14. aladogga

    May 31, 2017 at 2:18 PM

    waaw nicee tyy <3

     
  15. randomjpnz

    June 8, 2017 at 6:33 PM

    I just wanna say thank you so much!

     
  16. Botzer

    June 25, 2017 at 8:39 AM

    Hey man, thx but when I download your file it doesn’t work the size is 0 byte… “uknown size” more precisely with IDM. I tried also with browsers, nothing works. It was for the logitech issue but I can’t find LoL when scanning automatically.

     
    • Mohammad Ghasembeigi

      June 25, 2017 at 9:13 AM

      Hey, there was a problem that is now fixed, thanks! You should be able to download it now using the link.

       
      • Botzer

        June 26, 2017 at 12:26 AM

        Nice the link works! Thanks now logitech soft is able to find the .exe it seems to work ! 🙂

         
  17. ikhoudvan

    July 28, 2017 at 11:56 AM

    still the same problem. why?

     
  18. A

    August 28, 2017 at 5:50 AM

    I ran it as administrator still i get the error : “Path points to folder that does not exist.”. I tried shortening the path like ;C:\!OYUNLAR\Riot Games\League of Legends to C:\!OYUNLAR\Riot Games then C:\!OYUNLAR and when i finally tried choosing the path as just C:\ it started doing its thing. However i suspect it has done nothing except f.cking up registry, what do you think?

     
    • A

      August 28, 2017 at 6:05 AM

      also if i try to bypass the validation check manuelly by defining lolpath at line 36 ; set lolpath=%lolpath%\RADS as
      set lolpath=C:\!OYUNLAR\Riot Games\League of Legends\RADS and copying this line with the rest (line36 and after) to a bat file and runnig it ?

       
      • A

        August 28, 2017 at 6:22 AM

        ok after taking another look at the codes, i removed lines between 19-35 and at line 36 wrote :
        set lolpath=C:\!OYUNLAR\Riot Games\League of Legends\RADS.
        And kept rest of the code intact and ran it. Now i will try your logitech gaming software solution and will report the results.

         
        • A

          August 28, 2017 at 6:56 AM

          well, it doesnt accept the”!” in the path name. It goes on saying
          Key values will be set to the following RADS path: C:\OYUNLAR\Riot Games\League of Legends\RADS.

          I tried saving in ansi, unicode and UTF-8, except cmd not really staying open in unicode it didn’t help.

           
          • A

            August 28, 2017 at 7:19 AM

            after searching the web i found out that in the original code changing every
            %lolpath% to !lolpath!
            works.

             
  19. Lions

    October 8, 2017 at 6:08 PM

    Thank you so much, now i can see the replays again (Windows 10), when i had windows 7 there was no problem 🙂

     
  20. Nyah Chan

    October 13, 2017 at 8:54 AM

    Thanks a lot it really helps and still functions properly on patch 7.20!

     
    • tes

      October 26, 2017 at 1:33 PM

      yes

       
  21. Billybob

    October 27, 2017 at 8:57 PM

    Thank you so much for spending your own time in helping us with this. 🙂

     
  22. Geeroid

    October 27, 2017 at 10:29 PM

    I actually love you holy crap

     
  23. R3P34T3R

    November 8, 2017 at 9:43 AM

    Thank you so much!
    Now i see how much you can achieve with sole programming!
    I admire you guys for these stuff, im only at the very start of C.
    Thank you again
    Have a great day!

     
  24. Ramn

    November 14, 2017 at 6:32 PM

    Works Great, thanks for sharing the solution.

     
  25. Angush

    November 26, 2017 at 7:49 PM

    Thanks man! It worked,really appreaciate it

     
  26. thankarezos

    December 2, 2017 at 11:40 PM

    dude you are awsome. i was looking for fix everywere

     
  27. Justas

    December 26, 2017 at 5:04 PM

    Thanks a lot !

     
  28. Glenn

    December 30, 2017 at 5:10 AM

    Worked flawlessly, Thank you!

     
  29. Sofiane

    January 14, 2018 at 4:54 PM

    Thank you so much!

     
  30. Nikolaj

    January 23, 2018 at 3:59 PM

    Thanks a lot worked flawlessly.

     
  31. Updog

    February 1, 2018 at 10:58 AM

    Worked for me! Thank you, friend!

     
  32. Erik

    February 4, 2018 at 8:46 AM

    Hey, if i use this script, there’s any way i can undo it if it doesn’t work?

     
    • Mohammad Ghasembeigi

      February 4, 2018 at 12:17 PM

      Well no unless you manually delete the registry keys. Its harmless to leave them there though even if it doesn’t work for a specific app, others apps will look them up/require them for automated detection.

       
      • Matthew

        February 10, 2018 at 5:32 AM

        Not working for me, dont know what else to do..

         
  33. Conor

    February 5, 2018 at 6:04 PM

    THANKS!!!!!!!!

     
  34. suiton

    February 11, 2018 at 3:55 AM

    Hi all I can barely speak English

    I used your LoL RADS Registry Fixer.bat
    inputed D:\Riot Games\League of Legends
    (I installed lol to D:\Riot Games\League of Legends)

    However, I cant see opgg replay.(Appear Ziggs and bug report) and After crash replay, starting reinstall client(some date)

    plz help me!!

     
    • suiton

      February 11, 2018 at 2:34 PM

      Resolved !

      just delete ” gameflow-patcher-lock:”

      (C:\Riot Games\League of Legends\Config<LeagueClientSettings.yaml")

      Ty all

       
  35. Iván Ortiz

    February 16, 2018 at 6:59 AM

    Thanks a lot, it actually worked!

     
  36. ifonly

    February 17, 2018 at 7:35 PM

    Late to the party but it worked for me. Thanks very much. No one else had an answer.

     
  37. uchihanevy

    February 20, 2018 at 3:40 PM

    perfect!!! you saved me!!!!! omg wow thank you so much!!!! :DDD

     
  38. Vilikki

    February 28, 2018 at 4:07 AM

    Thanks a ton! This problem has bothered me for years, I’ve tried other solutions with no help, this finally corrected the issue!

     
  39. Adny

    March 10, 2018 at 6:28 AM

    It worked. Thanks a lot

     
  40. killua

    March 11, 2018 at 7:44 AM

    ty man it work i was suffering from this

     
  41. veronica

    March 17, 2018 at 9:32 AM

    thank u!!!! it worked!! I almost love u!!!

     
  42. MoonCapri

    March 22, 2018 at 8:54 AM

    I can confirm that this .bat program works for me. Thank you for the help. Now, I move on to step 2 of the lol profile autodetection fix article

     
  43. yugi98

    April 1, 2018 at 2:28 PM

    works, thanks a lot !

     
  44. john doh

    April 4, 2018 at 10:32 AM

    fixed my problem, thanks a lot.

     
  45. aspect

    April 12, 2018 at 2:06 AM

    Spectate by op.gg
    ———————–
    ===================
    KR: ░╘└╙ ░µ╖╬╕ª ├ú┤┬ ┴▀└╘┤╧┤┘.
    EN: Finding other LOL directory path..
    ===================
    The system cannot find the path specified.
    ===================
    KR: LOL ░µ╖╬╕ª └┌╡┐└╕╖╬ ├ú└╗ ╝÷ ╛°╜└┤╧┤┘. ╡╡┐≥╕╗┐í╝¡ ░ⁿ└ⁿ╟╧▒Γ ╣«┴ª ╟╪░ß└╗ ║╕╜├╕Θ ╟╪░ß ╡╔ ╝÷ └╓╜└┤╧┤┘.
    EN: Cannot found LOL directory path for automatic. Please see our spectate help page: http://www.op.gg/help/observer
    ===================
    Press any key to continue . . .

    i am getting this error msg pls help

     
    • Mohammad Ghasembeigi

      April 12, 2018 at 9:23 AM

      Please try again following the instructions carefully. It should work.

       
  46. notsohardsuckanymore

    April 17, 2018 at 11:40 AM

    omg i love you so much for this

     
  47. s man

    April 18, 2018 at 9:37 AM

    excellent, worked perfectly!

     
  48. Lokidelorian LAN

    April 19, 2018 at 3:42 PM

    Dude, thanks :3

     
  49. Daniel

    April 21, 2018 at 7:29 PM

    thanks this works!

     
  50. rob

    April 26, 2018 at 7:04 AM

    I did everything but it doesnt work. I can’t click run as admin when i right click the .bat txt file. What to do?

     
    • Mohammad Ghasembeigi

      April 26, 2018 at 9:18 AM

      Are you sure you have admin permissions? Make sure the file is a .bat file and not a .txt file, you could have possible saved the file as .bat.txt meaning its a .txt file.

       
  51. Nox21

    April 26, 2018 at 7:05 AM

    Thanks, it worked perfectly 😀

     
  52. cekeki

    April 30, 2018 at 2:45 AM

    worked, thanks

     
  53. RainingBrimstone

    May 6, 2018 at 7:01 PM

    Unfortunately When I go to launch a replay my screen turns black and just loads for ever. any thoughts?

     
  54. VirtualBulletEUW

    May 10, 2018 at 3:57 AM

    I was concerned if this worked but it still does 2018 09-05 nice work!

     
  55. Nosco

    May 12, 2018 at 12:53 PM

    Thanks worked perfectly! this fixed my issue on W10 64 bits. tyvm

     
  56. Vlad

    May 13, 2018 at 6:24 PM

    This solved my issue. Thank you so much!!!