Comments (3)
Here is an example config:
[General]
keep_aspect=true
disable_screensaver=true
enable_vidext=true
[Paths]
Library=/usr/lib/x86_64-linux-gnu/libmupen64plus.so.2.0.0
Plugins=
Data=/usr/share/games/mupen64plus
ROM=
[Plugins]
RSP=
Video=
Audio=
Input=
from mupen64plus-ui-python.
Or you can precheck the value before doing an implicit conversion (this happens when you try to do mathematics on it) or explicit conversion (for example using int())
First check it
def isint(s):
try:
int(s)
return True
except ValueError:
return False
Or just try to get an int and fallback to an default value if the int conversion fails.
def get_int(x, def):
try:
return int(s)
except ValueError:
return def
from mupen64plus-ui-python.
It is now merged
from mupen64plus-ui-python.
Related Issues (20)
- erro to open in arch linux HOT 4
- Trouble with XBox 360 Controller Configuration on Linux HOT 2
- Lubuntu 22.04.1 LTS : list of roms empty HOT 2
- No such file or directory: 'pyrcc5'
- ImportError: cannot import name 'LegacyVersion' from 'packaging.version'
- Splash screen being displayed when sharing screen on Discord, can't share gameplay
- m64py crashes when opening input config (Arch) HOT 1
- Xbox 360 controller doesn't work HOT 2
- Window resizing/aspect ratio UX is really weird HOT 1
- Black screen after loading ROM
- m64py loses configured paths (wayland)
- How Do I Change Video Plugins? HOT 2
- screen flickering with rice, out of place with glide HOT 5
- Crash when opening video plugin options a second time
- Menus greyed out even though emulation is running HOT 1
- Ubuntu 22.04.3 LTS : no screenshot view in rom list HOT 1
- PyQt5 install error on Macos 13.5 HOT 2
- setup.py can't find lrelease despite existing on the system. HOT 2
- Build with setuptools-69+ fails: `AttributeError: module 'distutils' has no attribute 'dep_util'.` HOT 2
- Error running python3 setup.py install: ModuleNotFoundError: No module named 'distutils'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mupen64plus-ui-python.