JoustMania

JoustMania

Shevy Aug 17, 2021 @ 7:01pm
Windows Build Issues
Having trouble running the game on Windows. Currently booting as administrator here is the initial spew. Music is currently playing. Also my CPU is for some reason running at a constant 100% with 4 instances of Pyparty showing up in my task manager if that is normal.

pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
win32
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
win32
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
win32
* Serving Flask app "webui" (lazy loading)
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: off
win32
* Running on http://0.0.0.0:80/ (Press CTRL+C to quit)
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
win32
win32
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
win32
win32
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
win32
win32
audio/Menu/music\backgroundmusic2.wav
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\scipy\signal\signaltools.py:2223: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\scipy\signal\signaltools.py:2225: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
C:\Program Files (x86)\Steam\steamapps\common\JoustMania\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
win32

Afterwards when attempting to reach 127.0.0.1 it fails and the command prompt displays this callstack

Traceback (most recent call last):
File "flask\app.py", line 2292, in wsgi_app
File "flask\app.py", line 1815, in full_dispatch_request
File "flask\app.py", line 1718, in handle_user_exception
File "flask\_compat.py", line 35, in reraise
File "flask\app.py", line 1813, in full_dispatch_request
File "flask\app.py", line 1799, in dispatch_request
File "JoustMania\webui.py", line 79, in index
File "flask\templating.py", line 134, in render_template
File "jinja2\environment.py", line 869, in get_or_select_template
File "jinja2\environment.py", line 830, in get_template
File "jinja2\environment.py", line 804, in _load_template
File "jinja2\loaders.py", line 113, in load
File "flask\templating.py", line 58, in get_source
File "flask\templating.py", line 86, in _get_source_fast
jinja2.exceptions.TemplateNotFound: joustmania.html
127.0.0.1 - - [17/Aug/2021 20:57:46] "GET / HTTP/1.1" 500 -
127.0.0.1 - - [17/Aug/2021 20:57:48] "GET /favicon.ico HTTP/1.1" 404 -
< >
Showing 1-7 of 7 comments
Shevy Aug 17, 2021 @ 7:11pm 
I copied over the template folder from the github repo and that seemed to fix it. Or at least able to access the webpage. Still curious to know why my intel i5 6300 2.4ghz cpu is running at max. I am running a gen 1 surface book with no GPU for what its worth.
skepa  [developer] Aug 17, 2021 @ 9:29pm 
It's probably because the game just loops over the bluetooth inputs constantly. i.e. it's trying to do as much computation as possible. Though I would have to look more into it to for sure check out why. I'm glad you were able to get it working though.
Shevy Aug 18, 2021 @ 12:03pm 
Thanks for the info. However, sadly I am running into issues pairing my move controllers to my laptop.

I was able to pair the move controllers to my ps4 and have attempted to pair them to my surface book with the same cable. Here are the results of my attempts.

Run the game and plug the controller to the computer via usb will result in both the game and windows recognizing the controller.

Windows will recognize it as a "Motion Controller" and "set it up". The game will also notice the controller and let me know what the mac address is when I go to the battery screen. When I run the game and have the controller plugged in the move bulb will also turn white.

Afterwards while the game is running pressing and holding the ps4 button on the move controller will make the red LED blink red rapidly until it finally solidifies with no change in the bulb color.

Unplugging the move controller via usb maintains the solid red led but loses the white bulb.

In another attempt I turned off the bluetooth via a windows setting option and after booting the game and plugging in a controller, the game would rightfully tell me that it is missing a bluetooth connection and tell me to turn on bluetooth so it seems like it is aware of the systems bluetooth adapter.

Going to keep troubleshooting on my end when I have time but any Insights as to what may be going wrong would be greatly appreciated. Thanks :)
Shevy Aug 18, 2021 @ 7:29pm 
Finally got 2 of them to pair.

For anyone who finds this thread I don't know which one of my many attempts caused it to work but here is what I think did it.

Ensure no 3rd party bluetooth drivers are installed. PSMoveAPI on Windows assumes Microsoft protocol.

Ensure your Move controllers are fully charged. Mine were so I know that wasn't the problem at least for me but many of the support threads mentioned this quite a lot.

Turn on Bluetooth Support Service under your services.msc should be set to Automatic and running.

After turning this on I noticed the game cmd prompt would prompt me to unplug the controller THEN press the ps button. Which brought up the windows message box up to pair.

This was different than my previous attempts where I would plug a controller in notice no in game message and then press the ps button without unplugging it which would make the led turn solid red but not work with the game.

Finally, I would recommend not opening the browser page when pairing as it constantly refreshes which may make you miss the instruction when you plug a move controller in.
If either of you two are stiill around, give a holler? I'm trying to do this and having exactly the same problems over here, and not understanding your fixes. Copying the Templates folder into .../common/JoustMania has had no effect, there appears to be a still-zipped base_library file that seems kinda important, and I'm getting the same spew as above with no direction to a browser page or anything. I'd REALLY love to get this working.
(Hey, Dimwit! Get the Windows_Support branch next time! Lessee if that helps.)
Hey, I think I'm there!
< >
Showing 1-7 of 7 comments
Per page: 1530 50