-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Could not build wheels for cynes, which is required to install pyproject.toml-based projects #1
Comments
This issue does not seem to be related to cynes, wrong repo? |
Yes, my mistake. Looks like many projects not working with python311 around building wheel |
I just tried with a fresh install of python 3.11.8 and it worked fine, I don't think this issue is related to python itself. Looks like you don't have a C/C++ compiler installed on your system, which is necessary to build the Python wheel (this is probably why you're seeing an error message about |
@ManPython I've updated the CI, pre-built wheels for python 3.11 (and 3.12) should be available via |
Thx. Its working now (both x86, x64), but very fast.. it's normal case? |
Yes, it was designed to run as fast as possible, the best you can do is to artificially pause the emulator between each frame, here is a simple example using python's sleep: from time import sleep
...
while not nes.should_close():
frame = nes.step()
sleep(0.01) # waits for 10ms By adopting this straightforward method, you'll need to fine-tune the sleep duration based on the speed at which your computer executes an emulator step. Additionally, you could verify that precisely 16 milliseconds (so you'll get ~60FPS) have passed between two steps by comparing the timestamp between each step and modifying the sleep duration accordingly. |
I see. Thx! |
Once case around.. sound not working in default.. also need configure this? Or this is normal due |
Yes this is normal, I wanted to keep things simple and AFAIK outputting sound can be quite complex as it requires a separate audio thread and a good synchronization. I still emulate some part of the NES's audio chip as
|
But is possible to add/activate sound in some simple way? |
The text was updated successfully, but these errors were encountered: