nhubaotruong / league-of-legends-linux-garena-script

85 stars 11 forks source link

unable to open database file #8

Closed codiecher closed 3 years ago

codiecher commented 3 years ago

image

worked last time, this is after using the new .py file

nhubaotruong commented 3 years ago

Can you check in the folder ~/.local/share/lutris, is there a file named pga.db ?

codiecher commented 3 years ago

image

nhubaotruong commented 3 years ago

Try running

sudo chmod 666 ~/.local/share/lutris/pga.db

To allow everyone to read and write to that db, just to be sure

codiecher commented 3 years ago

image

this is output without sudo btw

nhubaotruong commented 3 years ago

That's the correct thing that should be outputing, so I assume the game launches ?

codiecher commented 3 years ago

The League of Legends logo comes out, but the client doesn't open. Wait I'll try a reinstall.

nhubaotruong commented 3 years ago

Can you give me the Lutris log first ? I don't think that we need to reinstall

nhubaotruong commented 3 years ago

Can you try changing the LOl executable to Riot Client/RiotClientServices.exe and start the game again ? This would take longer to start, but I think it should work more stable

codiecher commented 3 years ago

Garena : https://pastebin.com/dZ22qTaE League of Legends : https://pastebin.com/daL5StBq

nhubaotruong commented 3 years ago

Riot Client in the Garena game download, right ?

codiecher commented 3 years ago

Oops, I didn't mean to send that screenshot, that was the wrong Riot Client. But I have already changed it to the one in the garena files. I just pressed start, I'm going to wait to see if anything happens, no logo comes out after I press play.

codiecher commented 3 years ago

image

is this normal?

nhubaotruong commented 3 years ago

I'm not sure @@. It's gamemode's error, not related to LOL

codiecher commented 3 years ago

Wait, I might have lutris downloaded on external hard disk, I'll check again.

This seems like a symlink problem, but I have already checked and everything is in one drive?

codiecher commented 3 years ago

I'll close the issue, it's probably not the file's problem.

nhubaotruong commented 3 years ago

If you need any more help, just post it here ^^

codiecher commented 3 years ago

image

is this normal?

I managed to get rid of this, but the league client is still not launching.

Garena logs : https://pastebin.com/BjA9Czt9 LOL logs : https://pastebin.com/HiY23a2s

nhubaotruong commented 3 years ago

Your pastebin is set to private and I cannot see it. Also what is you external drive's file system ? NTFS is known to have a lot of problem

codiecher commented 3 years ago

my SSD is ext4 and HDD is NTFS.

I have everything on my SSD. I have also successfully ran garena league and played a game doing the same procedure one month ago.

nhubaotruong commented 3 years ago

Are you using an NVIDIA gpu ? Is it laptop or PC Have you try to enable/disable the option Use descrete graphics in lutris ?

codiecher commented 3 years ago

Yes, I am using NVIDIA GPU with the proprietary driver on a PC. So the descrete graphics is greyed out for me.

nhubaotruong commented 3 years ago

This is getting into a dead end 😞 . Have you try using an older version of the script ?

codiecher commented 3 years ago

Yep, I've used several actually. But nothing is working, I wonder what happened between the last time I played it on the same PC and now. But it's fine, I'm just not gonna play it.

nhubaotruong commented 3 years ago

@Codiecher Hey, I think LOL got broke after the 11.17 update, please try updating to new wine-lol version (added in README) and try start the game again

codiecher commented 3 years ago

image

Just saw this new wine version, I'll try this one first before I try the fix

nhubaotruong commented 3 years ago

Oh, I found the other wine this afternoon, now lutris got updated as well

nhubaotruong commented 3 years ago

The game fail to start with lutris-ge-lol-6.15 for me. How about you ?

codiecher commented 3 years ago

image

worked perfectly for me!

codiecher commented 3 years ago

image

nhubaotruong commented 3 years ago

It works for me now, I'm gonna close this now, is that okay ?

codiecher commented 3 years ago

Good to hear, Imma close this now