lutris / lutris Goto Github PK
View Code? Open in Web Editor NEWLutris desktop client
Home Page: https://lutris.net
License: GNU General Public License v3.0
Lutris desktop client
Home Page: https://lutris.net
License: GNU General Public License v3.0
When I want to connect with my username and password in Lutris, it is not possible to connect with the "enter"-key. Instead I have to use the "connect"-button.
After adding a game from the website to one's library, it needs a restart or reconnection of the client + waiting + switching icon/list view to have it finally appear (and still needs dozens of seconds to retrieve the icon). Without feedback in the process (no indication it's syncing).
Add playable support for dolphin emulator
Needs an appropriate error message.
using a yml-file from the website like beneath-a-steel-sky-scumm.yml I don't get any download-progress and on stdout it says
"Location is not mountable"
🌳 You've probably thought of this one. I'm seeing it as a critically cool feature and the sooner we have it, the better.
How it could work:
<default_games_path>/.saves/<game_slug>/
freso@kotake> LANG=C lutris -v -d -i the-dark-mod-201.yml
** (lutris:4848): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-bZPm0Xl65r: Connection refused
INFO 2014-07-07 17:44:23,863 [lutris]:Installing
Traceback (most recent call last):
File "/usr/bin/lutris", line 126, in <module>
InstallerDialog(options.installer_file or game_slug)
File "/usr/lib/python2.7/site-packages/lutris/installer.py", line 697, in __init__
self.launch_install(0)
File "/usr/lib/python2.7/site-packages/lutris/installer.py", line 703, in launch_install
self.interpreter = ScriptInterpreter(script, self)
File "/usr/lib/python2.7/site-packages/lutris/installer.py", line 100, in __init__
if not self.is_valid():
File "/usr/lib/python2.7/site-packages/lutris/installer.py", line 138, in is_valid
if not self.script.get(field):
AttributeError: 'str' object has no attribute 'get'
(Using the latest Git master via the lutris-git ArchLinux package, as of this report commit 11c43f9.)
Lutris should either mark it as executable and launch, or ask permission from the user and do it, or ask the user to do it himself.
Found this bug the hard way... got a good portion of my files deleted this way
(Xubuntu 14.04)
Games shouldn't be installed by default in .local/share/runner but the desura runner is installed here (which is the right location) and the games will be installed there.
Same problem would exist for Steam if it had a proper installation method.
much obsolete. so old. many depreciations. wow.
Won't close the window, won't uninstall the game or remove it from library.
Clicking the buttons does nothing.
No error message.
The "files: - game-file: 'N/A: Blabla select file blabla" directive would be more user-friendly if it displayed as a dialog similar to the "Select installation directory" dialog. That is, the text instruction in the middle and a clickable Browse field below to select the path. Instead of directly throwing the user into the browser dialog with the instruction text not very visible in the title bar.
Error:
".../lutris/runners/nulldc.py", line 57, in get_nulldc_path
if not self.nulldc_path:
AttributeError: 'nulldc' object has no attribute 'nulldc_path'
Installing a mod/patch/wathever on top of a game will erase previous game-level configuration. It should keep existing config and only replace settings that are set in the script.
Making the store both filtered and sortable works for the TreeView but not the IconView which gets glitchy when using the search field. The error reported is
"Gtk-CRITICAL **: gtk_cell_area_render: assertion `GTK_IS_CELL_AREA_CONTEXT (context)' failed"
But in this tutorial it reads "Instead of using cell renderers, Gtk.IconView requires (blablabla)". So, is your use of a cell renderer in the IconView at fault? Well, not so sure. I've got rid of that text label using a cell renderer and it didn't change a thing.
Maybe it's just that sortable and filtered IconViews are not meant to exist...
A workaround is to only apply the TreeModelSort model to the TreeView. But we'll certainly want to sort the IconView too in the future (e.g. sort by 'last played' would be relevant for the icon view).
[strycore replied: I still haven't had the time to have a look at this but the CellRenderer is, if I remember correctly, the way to fix the extra large padding between icons. This trick comes from Rhythmbox's Cover Art browser plugin, it also uses an icon view so there may be some more code snippets to pick from this project.]
Even before creating a prefix, Wine somehow thinks the future of the prefix is x64 while it's trying to run the install exe in 32 bits mode. :)
DEBUG:lutris.util.log:Running wine command: WINEARCH=win32 WINEPREFIX="/home/ovo/Diversion/x Lutris/fallout" wine "/home/ovo/Diversion/x INSTALL/Fallout 2.0.0.14_gog.exe" /silent /nogui
wine: WINEARCH set to win32 but '/home/ovo/Diversion/x Lutris/fallout' is a 64-bit installation.
The issue originated with your first commit implementing 32 bits as default.
f3e2105
OSError(39, "Le dossier n'est pas vide")
It should rather ask "The installation folder is not empty, erase its contents and proceed?" Yes/No
ERROR 2013-12-15 18:09:34,568 [config]:Invalid config filename /home/ovo/.config/lutris/runners/linux.yml
I suppose it's looking for where to extract in the unexisting config file.
Trying to install a Steam game (Linux or Wine) from the website does nothing. If the game was already installed, it launches as expected.
It's probably a recent regression.
The Lutris Runtime is the same thing as the Steam runtime, the Loki compat libs or the Desura Runtime (is it named like that ?)
It's a folder full of .so libs that could be of any use for games and that have some probability of not being installed on the system.
As a first benchmark, the Lutris Runtime should be able to run Soldier of Fortune, Unreal Tournament, Warsow and Penumbra without apt-getting libs (on a clean Ubuntu system)
The Lutris Runtime will be located in ~/.local/share/lutris/lib32
It is recommended to use the Steam Runtime as a starting point. It's open source.
https://github.com/ValveSoftware/steam-runtime
I've created an installed for The Dark Mod, but I can't seem to get it to work locally, as it just doesn't download the archive noted in the installer. @strycore got that part to work just fine though, so it's likely something local, but I can't figure out what it is. I can reach to file just fine using wget or a browser, so the HTTP connection to it isn't blocked.
Output from lutris -v -d
:
freso@kotake> lutris -v -d ~
** (lutris:5086): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-bZPm0Xl65r: Opkobling nægtet
DEBUG 2014-07-07 17:52:13,691 [lutris]:Welcome to Lutris
DEBUG 2014-07-07 17:52:13,746 [lutriswindow]:Getting game list
DEBUG 2014-07-07 17:52:13,972 [lutriswindow]:Switching view
DEBUG 2014-07-07 17:52:14,275 [lutriswindow]:Connecting signals
DEBUG 2014-07-07 17:52:14,731 [jobs]:Async call: sync
DEBUG 2014-07-07 17:52:14,731 [api]:Syncing game library
DEBUG 2014-07-07 17:52:14,732 [api]:Fetching game library
DEBUG 2014-07-07 17:52:15,629 [api]:88 games in remote library
DEBUG 2014-07-07 17:52:15,633 [api]:88 games in local library
DEBUG 2014-07-07 17:52:15,634 [api]:0 games added
DEBUG 2014-07-07 17:52:15,635 [jobs]:Async call: sync_icons
DEBUG 2014-07-07 17:52:15,636 [resources]:Fetching icons
INFO 2014-07-07 17:52:41,331 [installer]:Downloading file 1 of 1
DEBUG 2014-07-07 17:52:41,332 [installer]:Fetching [tdm_update_linux.zip]: http://www.fidcal.com/darkuser/tdm_update_linux.zip
... and then nothing. Any ideas would be welcome.
The code is here, I see no reason why it won't work, the menuitem.set_active() does work on window init but not after.
More strangely, when calling get_active() on a RadioMenuItem, i can clearly see the state has been changed but this is not reflected in the UI.
As I user, I can point the program to a folder, Lutris will scan it, calculate the md5sum of each file and send the checksums to lutris.net. In return, lutris.net will send back game metadata gathered from the TOSEC databases.
WIth this metadata, Lutris will automatically install any new game found.
@strycore said:
the execute task doesn't expand variables such as $GAMEDIR
... and asked me to file a bug about it. So here it is.
(During a game installation.)
Steps to reproduce:
Gtk:ERROR:/build/buildd/gtk+3.0-3.4.2/./gtk/gtkrbtree.c:465:_gtk_rbtree_insert_after: assertion failed: (_gtk_rbtree_is_nil (tree->root))
[1] 22802 abort (core dumped) ./bin/lutris -dv
This is happening on Ubuntu 12.04, if I can't reproduce on 13.10, this issue will be closed
Trying to install Shadow Warrior Classic with winesteam runner uninstalled, it crashed when launching the "Where is Steam located?" window, or when closing it.
DEBUG 2014-06-21 20:47:25,008 [jobs]:Async call: install
DEBUG 2014-06-21 20:47:25,009 [wine]:Running wine command: WINEARCH=win32 wine "['msiexec', '/i', '/home/ovo/.cache/lutris/tmp/SteamInstall.msi', '/q']"
wine: cannot find '['msiexec', '/i', '/home/ovo/.cache/lutris/tmp/SteamInstall.msi', '/q']'
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python2: ../../src/xcb_io.c :274 : poll_for_event: l'assertion « !xcb_xlib_threads_sequence_lost » a échoué.
Abandon (core dumped)
Installing the runner from the runners config window works OK. (Though Shadow Warrior's install still fails, as stated in #24.)
Games won't appear after installing from the web if Lutris was already running.
Happens when fetching icons while in List view.
Possible solution : http://www.gtkforums.com/viewtopic.php?t=1550
The browse dialog to pick the install folder when installing a game is a browse file dialog.
The window displays {game} and {path} instead of the actual name and path.
Traceback (most recent call last):
File "/media/data/Creation/Programmation/Programmes/Lutris/lutris/lutris/gui/lutriswindow.py", line 166, in on_remove_game
UninstallGameDialog(game=selected_game, callback=self.on_game_deleted)
File "/media/data/Creation/Programmation/Programmes/Lutris/lutris/lutris/gui/dialogs.py", line 27, in init
self.initialize(**kwargs)
File "/media/data/Creation/Programmation/Programmes/Lutris/lutris/lutris/gui/uninstallgamedialog.py", line 27, in initialize
game_name = game_info['name']
TypeError: 'NoneType' object has no attribute 'getitem'
Steps to reproduce:
It does it in List or Icon view. It starts doing it for me when there is a dozen banners to sync. Seems slightly random around this limit.
I've rolled back to 0.3.2, the issue was there already.
Hi, I am writing a Lutris installer for Warcraft III: Reign of Chaos and would like to do the following:
Inspired by the gog wine script for Fallout, it currently looks like this but I am not sure how to handle 1) and 2). Do you have any suggestions?
exe: drive_c/Program Files/Warcraft III
files:
- {war-installer: 'N/A:Please select the location of the Warcraft III: Reign of Chaos installer on your CD'}
game: {prefix: $GAMEDIR}
installer:
- task: {args: /nogui, description: Installing Warcraft III: Reign of Chaos, executable: '${war-installer}',
name: wineexec, prefix: $GAMEDIR}
name: Warcraft III: Reign of Chaos
runner: wine
version: CD
Best regards
Steps to reproduce:
... an another game is selected. I need to select a game first before double-clicking it is taken into account.
Though, if you fail a double-click on a game that way, then you can double-click another game directly and it will work. Interesting...
The output of lutris --version
is currently
lutris %ver
The Uninstall window for some uninstalled but previously installed winesteam games lets me "remove all game data under ~/.wine/drive_c/Program Files/Steam".
Steps to reproduce:
On WineSteam click Install, and the dialog box has a title of "Where is located Steam ?" but this is broken English. Proper English is "Where is Steam located?"
Arma: Cold War Assault and Morrowind need to be launched from within the directory of the exe. AFAIK there's no option to set the workdir for the main exe currently.
After install lutris 0.3.4 from deb on Kubuntu 14.04 (linux 3.13.0-32) lutris don't start.
I've tested Litil Divil, Eye of the Beholder and manually added Dreamweb, none work. FS-UAE launches, saying "configuration file missing" and then either a "waiting for bootable media" screen or in the case of EotB, some strange Matrix-like writings then a Software failure.
Edit :: I don't see anything wrong in the command and I've made Lutris redownload fs-uae, doesn't help.
As a user I can see were my game files are located and move them to another location. A good position for this option would be somewhere in the EditGameDialog (not in the "Game" tab since that is built programmatically and only deals with game settings)
The relocate option should open a Dialog similar to what can be found in Transmission, asking the user if the program should move the files or if they are already at the chosen destination)
Before implementing this, there should be a get_game_files available in each runner, pointing to the ROM(s) or folder for a specific game. Most runners rely on ROMs and they are usually all stored in the same directory.
I get the following error:
> sudo rpm -ihv /tmp/lutris-0.3.4-2.noarch.rpm
Preparing... ################################# [100%]
file / from install of lutris-0.3.4-2.noarch conflicts with file from package filesystem-3.2-19.fc20.x86_64
file /usr/bin from install of lutris-0.3.4-2.noarch conflicts with file from package filesystem-3.2-19.fc20.x86_64
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.