Commit Graph

30 Commits

Author SHA1 Message Date
Fabian Dill 9aef76767a Include example trigger for legacy weapons 2021-04-11 15:53:13 +02:00
Fabian Dill 01ef041b86 last minute fixing 2021-04-01 20:31:39 +02:00
Fabian Dill dc73fa0f33 Factorio integration 2021-04-01 11:40:58 +02:00
Fabian Dill 03bcd2aed7 Merge branch 'main' into breaking_changes 2021-03-14 07:04:40 +01:00
Fabian Dill a14c5dad5f keep gitignore file so setup copies folder 2021-03-14 02:09:19 +01:00
Fabian Dill 2f1ceeee60 make sure to not include sprites with setup 2021-03-14 02:04:28 +01:00
Fabian Dill 2cb6ec2a70 Mark some LttP specific executables as such 2021-03-03 07:50:27 +01:00
Fabian Dill dcce53f8c8 Merge branch 'main' into breaking_changes
# Conflicts:
#	Adjuster.py
#	Gui.py
#	MultiClient.py
#	setup.py
#	worlds/alttp/AdjusterMain.py
#	worlds/alttp/Main.py
2021-02-21 20:15:07 +01:00
Fabian Dill 12222d5a4c Split adjuster into own program 2021-02-19 19:08:11 +01:00
Fabian Dill 8ebd36b5a7 update Archipelago 2021-01-03 14:32:32 +01:00
Fabian Dill 93239cf763 update icon 2020-12-06 14:36:14 +01:00
Chris Wilson da6c44a1cf Working on player-settings update 2020-12-03 18:27:32 -05:00
Fabian Dill dc8a7133a3 Allow qusb2snes to configure itself (now that it has a menu on first run) and bind to port 23070 2020-11-11 12:36:02 +01:00
Fabian Dill 37a3c8f0d5 3.1.1 2020-09-20 00:34:35 +02:00
Fabian Dill 9041c7a5ae exclude numpy and Cython from build for now 2020-09-04 04:23:42 +02:00
Fabian Dill 606f1fd4f8 Include z3pr's data files in the frozen package.
Warning: requires dev6 version of it
2020-08-25 13:27:34 +02:00
Fabian Dill 2096d6ae5b Use proper OS-specific path uris in many more places
also move path.join into local_path and output_path to simplify use
2020-08-25 13:22:47 +02:00
Fabian Dill 24ee5ab44d Fix palette shuffler json loading in compiled form 2020-08-24 04:35:32 +02:00
Chris Wilson c57374a5ff Add JSON schema for player settings, which playerSettings.yaml (formerly easy.yaml) will need to conform to when parsed to JSON. 2020-08-22 19:03:09 -04:00
Fabian Dill 57fe16ab60 remove special rules for pinball room 2020-07-09 16:16:31 +02:00
Fabian Dill 38cbcc662f
WebUI ()
* Object-Oriented base changes for web-ui prep

* remove debug raise

* optimize broadcast to serialize once

* Implement WebUI socket, static assets, and classes

- Still need to wrap logging functions and send output to UI
- UI commands are successfully being sent to the server

* GUI operational. Wrap logging functions, implement server address selection on GUI, automatically launch web browser when client websocket is served

* Update MultiServer status when a user disconnects / reconnects

* Implement colored item and hint checks, improve GUI readability

* Fix improper formatting on received items

* Update SNES connection status on disconnect / reconnect. Implement itemFound, prevent accidentally printing JS objects

* Minor text change for itemFound

* Fixed a very wrong comment

* Fixed client commands not working, fixed un-helpful error messages appearing in GUI

* Fix a bug causing a failure to connect to a multiworld server if a previously existing cached address was present and the client was loaded without an address passed in

* Convert WebUI to React /w Redux. WebSocket communications not yet operational.

* WebUI fully converted to React / Redux.

- Websocket communication operational
- Added a button to connect to the multiserver which appears only when a SNES is connected and a server connection is not active

* Restore some features lost in WebUI

- Restore (found) notification on hints if the item has already been obtained
- Restore (x/y) indicator on received items, which indicates the number of items the client is waiting to receive from the client in a queue

* Fix a grammatical UI big causing player names to show only an apostrophe when possessive

* Add support for multiple SNES Devices, and switching between them

* freeze support for client

* make sure flask works when frozen

* UI Improvements

- Hint messages now actually show a found status via ✔ and  emoji
- Active player name is always a different color than other players (orange for now)
- Add a toggle to show only entries relevant to the active player
- Added a WidgetArea
- Added a notes widget

* Received items now marked as relevant

* Include production build for deployment

* Notes now survive a browser close. Minimum width applied to monitor to prevent CSS issues.

* include webUi folder in setup.py

* Bugfixes for Monitor

- Fix a bug causing the monitor window to grow beyond it's intended content limit
- Reduced monitor content limit to 200 items
- Ensured each monitor entry has a unique key

* Prevent eslint from yelling at me about stupid things

* Add button to collapse sidebar, press enter on empty server input to disconnect on purpose

* WebUI is now aware of client disconnect, message log limit increased to 350, fix !missing output

* Update WebUI to v2.2.1

- Added color to WebUI for entrance-span
- Make !missing show total count at bottom of list to match /missing behavior

* Fix a bug causing clients version <= 2.2.0 to crash when anyone asks for a hint

- Also fix a bug in the WebUI causing the entrance location to always show as "somewhere"

* Update WebUI color palette (this cost me $50)

* allow text console input alongside web-ui

* remove Flask
a bit overkill for what we're doing

* remove jinja2

* Update WebUI to work with new hosting mechanism

* with flask gone, we no longer need subprocess shenanigans

* If multiple web ui clients try to run, at least present a working console

* Update MultiClient and WebUI to handle multiple clients simultaneously.

- The port on which the websocket for the WebUI is hosted is not chosen randomly from 5000 - 5999. This port is passed to the browser so it knows which MultiClient to connect to

- Removed failure condition if a web server is already running, as there is no need to run more than one web server on a single system. If an exception is thrown while attempting to launch a web server, a check is made for the port being unavailable. If the port is unavailable, it probably means the user is launching a second MultiClient. A web browser is then opened with a connection to the correct webui_socket_port.

- Add a /web command to the MultiClient to repoen the appropriate browser window and get params in case a user accidentally closes the tab

* Use proper name for WebUI

* move webui into /data with other data files

* make web ui optional
This is mostly for laptop users wanting to preserve some battery, should not be needed outside of that.

* fix direct server start

* re-add connection timer

* fix indentation

Co-authored-by: Chris <chris@legendserver.info>
2020-06-03 21:29:43 +02:00
Fabian Dill dd0a4e84e9 implement windows cert 2020-05-01 18:51:08 +02:00
Fabian Dill 3e1464b6c9 remove qusb2snes log if it exists on compile 2020-04-11 16:36:13 +02:00
Fabian Dill 691201d877 auto-copy easy.yaml 2020-04-11 16:31:40 +02:00
Fabian Dill 380b59ade2 the setup experience 2020-04-07 04:18:26 +02:00
Fabian Dill 433ac29483 include meta.yaml in compiled client 2020-02-22 20:04:22 +01:00
Fabian Dill c4ba281645 prep for 1.4 compiled release 2020-02-11 15:07:21 +01:00
Fabian Dill bc081ded9d add host.yaml to compiled program 2020-02-09 21:32:29 +01:00
Fabian Dill 8ea3f34898 compile all user starting points 2020-02-02 22:36:55 +01:00
Fabian Dill 4899955447 add compilation setup.py 2020-02-02 06:25:06 +01:00