Skip to content
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

Build correctly in manjaro but hangs at startup when music is playing #179

Closed
darkstar252 opened this issue Jun 21, 2019 · 3 comments
Closed
Labels
invalid An issue which should not have existed in the first place

Comments

@darkstar252
Copy link

Okay the program builds okay ,but when the menu screen appears in the time to play music, the program hangs itself doesn't quit with mouse doesn't start new tournament or new practice session, or doesn't show settings :(

@JayFoxRox
Copy link
Member

but when the menu screen appears in the time to play music,

The music streaming thread is not handled, so the music will repeat a small buffer. See #7 and #47 .

the program hangs itself

This should not happen (until RAM is filled up - which is a major issue in OpenSWE1R, see #14 ).

I believe you are misinterpreting what's happening: If you can still move the mouse or hear audio, then OpenSWE1R doesn't hang.

doesn't quit with mouse doesn't start new tournament or new practice session, or doesn't show settings

The mouse buttons are not mapped (see #31 ). Use the mouse to move the cursor, but use space or enter to select entries. This is also how the game behaves without DirectInput mice.

@darkstar252
Copy link
Author

Thanks for the explanation. The projects seems to be good. But mmmm ... i think it's slow and it's a WIP. But it's nice thanks for the info :)

@JayFoxRox
Copy link
Member

But mmmm ... i think it's slow

You can use CPU virtualization and it will run full-speed: https://github.com/OpenSWE1R/openswe1r/wiki/Build-Options

I also have work-in-progress branches for using the CPU natively without virtualization (JayFoxRox#43), also more work on Windows virtualization (WHPX and HAXM in JayFoxRox#42).
However, this is low priority to me, as I don't use Windows myself.

Most work has also gone into profiling and identifying code which will have the biggest performance impact: https://github.com/OpenSWE1R/openswe1r/wiki/Debugging-Tips#example-identifying-performance-bottlenecks (see #3 ).
Such code is typically part of https://github.com/OpenSWE1R/swe1r-re but hasn't been integrated here at this point (see #8 ).

and it's a WIP

Yes. Patches welcome.

Most work right now is focused on stability / memory usage. This is necessary as I'm porting the game to original Xbox, which only has 64MiB of RAM.


Looks like all questions have been answered / game doesn't hang (so the original issue is "solved").

Closed.

@JayFoxRox JayFoxRox added the invalid An issue which should not have existed in the first place label Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid An issue which should not have existed in the first place
Projects
None yet
Development

No branches or pull requests

2 participants