Comments (3)
This one option is a drop in the bucket. instead, you should add a method that boots up a desmume library using the provded commandline so that it can parse all options. alternatively, we should have patterns you can use to add an ini option for num_cores which would get read before the commandline, I think
from desmume.
Thank you very much for your help.
I can maybe set myself more clear. I want to launch multiple instances of DesMuMe and feed it to a learner. For this, I am using py-desmume to interact with DesMuMe (https://github.com/SkyTemple/py-desmume).
Using this minimal code, you can reproduce the error yourself.
import desmume
from desmume.emulator import DeSmuME
emu = DeSmuME()
emu2 = DeSmuME()
Traceback (most recent call last):
Cell In[4], line 1
emu2 = DeSmuME()File ~\anaconda3\envs\mkds\lib\site-packages\desmume\emulator.py:981 in init
if self.lib.desmume_init() < 0:OSError: exception: access violation writing 0x0000000000000000
I can launch two emu instances using the .exe file and cmd lines, however not with this method. I suspect there is some clash with cores and memory attribution but I am not sure. Would you have any idea what could cause this ?
I am using windows 11 and Python 3.10.14, if it matters.
Best
from desmume.
Desmume doesn't support running more than one instance per process. This is engineered into it from the ground up. Your plan will never work. You must use separate processes.
from desmume.
Related Issues (20)
- white screen still occurring after turning service worker off HOT 1
- please add texture packs
- DeSmuME keeps creating a file named "Pok魯n" on my desktop and storing all savefiles there HOT 9
- rom emelator HOT 3
- emulateur ds desume
- DeSmuME does not recognize wireless bluetooth controller. HOT 1
- Control Sticks HOT 3
- diagonal control sticks HOT 21
- My controller doesn't work anymore HOT 1
- Switch Controller gyro moves my mouse for some reason HOT 1
- How do you make the mic work? HOT 3
- [Request/Windows/Cocoa] Add support for zstd compressed zip HOT 3
- im not sure if its just my PC or not but roms wont run if theyre over 200 megabytes HOT 1
- Is it possible to add a window separation feature to the Desmume emulator? HOT 1
- having problems with DSi control buttons HOT 1
- I can't click on anything? HOT 1
- OpenGL error on nightly builds HOT 1
- Windows build failing (ogl.cpp)
- GLES: GL_OES_surfaceless_context missing HOT 1
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 desmume.