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

[Feature Request] Add dummy testing mode #190

Open
MultisampledNight opened this issue Mar 22, 2022 · 3 comments
Open

[Feature Request] Add dummy testing mode #190

MultisampledNight opened this issue Mar 22, 2022 · 3 comments
Labels
feature-request New feature or request

Comments

@MultisampledNight
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Sometimes on the Discord server when reporting segfaults or other, difficult-to-debug problems, I'd like to attach a trace made with rr which would let the program replay like a video record. Unfortunately Rare contains confidential data like an API token, which makes this kind of debug help more dangerous than useful.

Describe the solution you'd like
A command-line argument or even a global in the source code which makes Rare truly an UI, without ever actually interacting with legendary (and reading in files with confidential content). In this mode, Rare inserts a few mock games into the list and similarly where else appropriate, which behave like normal games would if they'd be actually installed/uninstalled/launched/moved/repaired/deleted/etc.

This would not only offer a safe ground for in-depth traces, but also would make reproducing issues easier. For example, if Rare would have a general issue with game handling which is reproducible in that dummy mode, then everyone interested in debugging could easily test in the dummy mode even without logging into EGS. On the other hand, if it's not reproducible in the dummy mode, then it's obvious something is wrong with the game itself.

While this mode would offer some advantages, it might also be quite an effort and difficult to implement properly.

Describe alternatives you've considered
None.

@MultisampledNight MultisampledNight added the feature-request New feature or request label Mar 22, 2022
@Dummerle
Copy link
Collaborator

I like the idea, but the implementation would be much work. I will see, what I can do

@MultisampledNight
Copy link
Contributor Author

...I just had the very weird idea that if implementing it on the Rare level is too intrigued, we could maybe implement an HTTP server returning dummy data on API calls. This way legendary could also be tested indirectly.

@loathingKernel
Copy link
Contributor

Actually this could work much better than adding dummy mode on Rare

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants