Commit graph

588 commits

Author SHA1 Message Date
Mark 22f81b449b
Log reading improvements (#11)
* Added warnings for several settings:
- Expand DRAM hack
- Memory Manager Mode
- Ignore Missing Services
- Anisotropic Filtering set to not Auto
- Debug logs enabled
- New severity level for PPTC and Shader cache warnings

* Various fixes:
- Warn for outdated keys/firmware,
- Error snippet fix when no game boots
- Embed improvements
- Improve duplicate log upload tracking to link to last uploaded file

* Larger download header range, handle larger files.

* Move notes visibility to show on startup crash

* Added vsync disabled warning and dump hash error

* Clean up controller warning to declutter empty log message

* Add .NET 6 shader warning and genericise shader init error
2023-03-03 19:58:50 +01:00
Mark Araujo 32a8b6b431
Fix error not being displayed if game name Unknown (#7)
* Log reading capabilities to Ryuko bot (#3)

* Add log reading capabilities
- User hardware specs
- Game info
- Controller configuration
- Last error snippet in log
- Warnings when using macOS or Intel iGPU
- Warning of logs not turned on

* Allowed log reading channels moved to config
This is easier for contributors to change their config file for testing

* Fixes large files not showing error snippet
- Large files are partially downloaded and show header information which
messes with log analysis, this gets stripped.
- Finding error messages function improved

* Default logs enabled shows a green checkmark

* Better feedback with log parsing message
- Bot prints `Log parsing...` and update message once log analysis done
- Added better error logging to console

* Better handling of invalid files warning
- Also fixed typo with bot message edit function

* Refactored embed generation to make more sense
- Embed is now based off a generic json assuming Unknown values at first
- Embed fields moved closer together
- Fields with newlines joined instead of manually separated
- Intel iGPU message changed to show preference for discrete GPU's

* Refactor to be simpler and easier to read.
- Hardware, ryujinx and log analysis split into separate functions
- Regex explicitly defined for each property instead of confusing map
- Added user settings reported, shows PPTC enabled or disabled

* Game notes sorted by order of severity
Notes will appear with most severe warnings first as follows:  ⚠️

* Analyses toggleable settings that appear in log
Currently these are: PPTC, audio backed, docked/handheld and vsync.
- Formatting change so these settings are more visible in bot embed

* Refactored user_settings, rewording of bot embed
- User settings reading handles missing log info for older versions
- `Switch Mode` (docked/handheld info) changed to `Console Mode`
- Missing firmware warning if firmware not installed

* Warning when shader cache collision detected

* Notes time elapsed in log file
- Error handling for no notes to log

* Show values for some user settings: audio, docked, missing services, resolution, shader cache and vsync

* Analyse user changeable settings
- Restructed embed to allow easier settings handling
- Changed embed formatting to deal with inline colums more cleanly

* Log file is now default function parameter

* Better sorting of analysis messages
- Now sorted alphabetically and by severity for consistency
- Show available RAM in low RAM warning
- Fix variable name misspelling

* Logging level changed to info

* Warn if bad dump in error message

* Add warning for no custom build support

* Warn user to post log in correct channel
- Warn about not supporting custom builds
- Warn to post in pr build if detected
- Warn about channels to post logs if detected in #general

* Fix logfilereader logic

* Ryuko bot fixes and improvements (#4)

* Fixes HTTPException by properly handling newline regex

* Improves information display:
- Shows settings info if no game is detected running
- Empty log warning takes up less space
- Error, Mods and Notes not shown on empty log

* Improved empty log message
- Also allow logs parsing in linux channel, as well as mentioning
when posting in non-allowed channels

* Fix ResScale parse error, better empty log message

* DM users about correct channels instead of in chat

* Fix variable spelling,  clearer bad dump warning

* Shows error snippet on empty log (#6)

* Error snippet shown on empty log
- Shader cache corruption warning

* Loop to get missing info in log

* Error search handles multiple terms
- Minor spelling correction for resolution value
- User settings visible on empty log

* Fix error not being displayed if game name Unknown

* Warns about PPTC and shader caches being disabled.

- Warns about audio backend being set to Dummy
- Shows PPTC cache and shader cache enabled/disabled

Co-authored-by: Mary <1760003+Thog@users.noreply.github.com>
2023-03-03 19:58:50 +01:00
Mark Araujo 82958d47cb
Shows error snippet on empty log (#6)
* Error snippet shown on empty log
- Shader cache corruption warning

* Loop to get missing info in log

* Error search handles multiple terms
- Minor spelling correction for resolution value
- User settings visible on empty log
2023-03-03 19:58:50 +01:00
Mark Araujo 9bb4aeed9a
Ryuko bot fixes and improvements (#4)
* Fixes HTTPException by properly handling newline regex

* Improves information display:
- Shows settings info if no game is detected running
- Empty log warning takes up less space
- Error, Mods and Notes not shown on empty log

* Improved empty log message
- Also allow logs parsing in linux channel, as well as mentioning
when posting in non-allowed channels

* Fix ResScale parse error, better empty log message

* DM users about correct channels instead of in chat

* Fix variable spelling,  clearer bad dump warning
2023-03-03 19:58:50 +01:00
Mary 40fce5e354
Fix logfilereader logic 2023-03-03 19:58:50 +01:00
Mark Araujo 8550271af6
Log reading capabilities to Ryuko bot (#3)
* Add log reading capabilities
- User hardware specs
- Game info
- Controller configuration
- Last error snippet in log
- Warnings when using macOS or Intel iGPU
- Warning of logs not turned on

* Allowed log reading channels moved to config
This is easier for contributors to change their config file for testing

* Fixes large files not showing error snippet
- Large files are partially downloaded and show header information which
messes with log analysis, this gets stripped.
- Finding error messages function improved

* Default logs enabled shows a green checkmark

* Better feedback with log parsing message
- Bot prints `Log parsing...` and update message once log analysis done
- Added better error logging to console

* Better handling of invalid files warning
- Also fixed typo with bot message edit function

* Refactored embed generation to make more sense
- Embed is now based off a generic json assuming Unknown values at first
- Embed fields moved closer together
- Fields with newlines joined instead of manually separated
- Intel iGPU message changed to show preference for discrete GPU's

* Refactor to be simpler and easier to read.
- Hardware, ryujinx and log analysis split into separate functions
- Regex explicitly defined for each property instead of confusing map
- Added user settings reported, shows PPTC enabled or disabled

* Game notes sorted by order of severity
Notes will appear with most severe warnings first as follows:  ⚠️

* Analyses toggleable settings that appear in log
Currently these are: PPTC, audio backed, docked/handheld and vsync.
- Formatting change so these settings are more visible in bot embed

* Refactored user_settings, rewording of bot embed
- User settings reading handles missing log info for older versions
- `Switch Mode` (docked/handheld info) changed to `Console Mode`
- Missing firmware warning if firmware not installed

* Warning when shader cache collision detected

* Notes time elapsed in log file
- Error handling for no notes to log

* Show values for some user settings: audio, docked, missing services, resolution, shader cache and vsync

* Analyse user changeable settings
- Restructed embed to allow easier settings handling
- Changed embed formatting to deal with inline colums more cleanly

* Log file is now default function parameter

* Better sorting of analysis messages
- Now sorted alphabetically and by severity for consistency
- Show available RAM in low RAM warning
- Fix variable name misspelling

* Logging level changed to info

* Warn if bad dump in error message

* Add warning for no custom build support

* Warn user to post log in correct channel
- Warn about not supporting custom builds
- Warn to post in pr build if detected
- Warn about channels to post logs if detected in #general
2023-03-03 19:58:43 +01:00
Ave Ozkal 0877351cca
Rewrite the verification code to the one required by Ryujinx Guild 2022-11-10 14:41:26 +01:00
ave 3309ad6a23
Merge pull request #90 from reswitched/dpy2
discord.py v2 support
2022-08-18 09:52:27 +02:00
ave bafcaf313f Revamp readme for dpy2 merge 2022-08-18 09:51:52 +02:00
ave cc1a91c67b eh fuck hashes 2022-08-18 09:26:36 +02:00
ave 5de6d53201 Switch to stable dpy 2 2022-08-18 09:24:43 +02:00
ave d1cb1a334b Improve docker readme 2022-08-10 21:36:20 +02:00
ave 4783f61b23 docker improvements 2022-08-10 21:31:04 +02:00
ave 9f9fae34c1 further fixes 2022-08-10 21:27:47 +02:00
ave d2842c2cd6 drop hashes 2022-08-10 21:25:40 +02:00
ave 8077a587d5 Update requirements.txt 2022-08-10 20:08:45 +02:00
ave f794792ecc Update discord.py version 2022-08-10 20:08:09 +02:00
ave afd2423394 Fix !quit, closes #89 2022-08-10 20:05:54 +02:00
ave 9907b19424 Update deps 2022-08-10 20:02:45 +02:00
ave 01f2cf7751 black pass 2022-05-24 23:29:46 +02:00
ave 4f027a7d9b update readme 2022-05-24 23:29:40 +02:00
ave 51f69df254 fix intents 2022-05-24 23:26:24 +02:00
ave a7967b9f97 fix robocronp 2022-05-24 23:17:55 +02:00
ave 8415e1f787 Fix robocronp, make bot running better
progress!
2022-05-24 23:12:20 +02:00
ave 2d25ab5601 make more of the code dpy2 friendly
- robocronp is completely broken
- The overall init should be unfucked, example here: https://discordpy.readthedocs.io/en/latest/migrating.html#extension-and-cog-loading-unloading-is-now-asynchronous
2022-05-24 20:35:42 +02:00
ave 07f53753c3 update requirements.txt 2022-05-24 19:54:37 +02:00
ave 47130feb31 Basic changes to maybe make the code discord.py 2 compatible? 2022-05-24 19:53:40 +02:00
ave b02b3fdbd4
Merge pull request #87 from tastymeatball/patch-1
Update basic.py
2021-12-08 20:50:28 +03:00
tastymeatball b752d238fe
Update basic.py 2021-12-08 17:50:37 +01:00
ave 50d2c4f99b
Merge pull request #81 from Ryujinx/fix/bandel
bandel: Fix missing command marker
2021-08-06 20:40:12 +03:00
Mary e1fc841323 bandel: Fix missing command marker
This make the bandel command effectively work yay.
2021-08-06 19:39:11 +02:00
ave 4a5561aa18 Bump to 1.0.1 2021-08-01 01:33:08 +03:00
ave d7db790bc7 fuck 2021-08-01 01:31:29 +03:00
ave 908d701a27 fucking nix 2021-08-01 01:29:34 +03:00
ave 58db1e1e6c Allow humanize 3.9.0 2021-08-01 01:27:02 +03:00
ave 5ef0f42967 poetryify robocop 2021-08-01 00:28:20 +03:00
ave 7dfc2c427b mod: introduce bandel command 2021-07-28 00:04:58 +03:00
ave 8e5e2dc01d
Merge pull request #80 from DavidBuchanan314/master
Fix broken links to reswitched.team
2021-07-15 11:37:51 +00:00
David Buchanan fa7d5f2db5 Fix broken links: reswitched.team -> reswitched.github.io 2021-07-15 12:38:18 +01:00
Ave but on a massive iMac be71f129d9 massban fixes 2021-06-08 19:07:23 +03:00
Ave but on a massive iMac edacaaef5b massban fixes 2021-06-08 19:04:06 +03:00
Ave but on a massive iMac c1ffd8b57b massban fixes 2021-06-08 19:03:29 +03:00
Ave but on a massive iMac cff5a3f80d massban fixes 2021-06-08 19:02:58 +03:00
Ave but on a massive iMac 1ebb049f09 Add massban command 2021-06-08 19:00:39 +03:00
Ave 6a6c88cdb8
Merge pull request #79 from Ryujinx/feature/docker
Add Dockerfile
2021-02-28 16:47:05 +03:00
Mary 51a4bf948b Add Dockerfile 2021-02-28 14:45:31 +01:00
Ave 4450573013
Move some count commands over to a separate cog 2021-02-13 01:47:00 +03:00
Ave cdd98f49b5
mod: hotfix 2021-01-29 23:13:22 +03:00
Ave f39d6fa4ae
mod: Don't ping 2021-01-29 23:11:42 +03:00
Ave 586c6239b2
Merge pull request #77 from noirscape/roles-accessed-too-early
Fix a variable 'roles' referenced before assignment error when relying on default fallback.
2021-01-09 01:43:55 +03:00