Comments (15)
The process list is generated using Python, not C++
See
Lines 12 to 44 in e38ce4c
For clarification, you're saying if you launch Tropico 5 through the normal SteamOS launcher, the memory-deck plugin does not scan the process (Tropico5) correctly? (Does it scan the process but won't return results? How does it fail?)
But if you launch Tropico 5 through Steam Tinker Launch, you can use memory-deck to scan the process (Tropico5.exe) and it works as expected? You can find and alter values?
from memory-deck.
Yes exactly
For clarification, you're saying if you launch Tropico 5 through the normal SteamOS launcher, the memory-deck plugin does not scan the process (Tropico5) correctly? (Does it scan the process but won't return results? How does it fail?)
But if you launch Tropico 5 through Steam Tinker Launch, you can use memory-deck to scan the process (Tropico5.exe) and it works as expected? You can find and alter values?
I can do some tests on the desktop mode with steam client to see if there is something that can be helpful.
from memory-deck.
Please do, the more information the better, since I don't have that game I can't recreate this exact issue.
I'm interested to know how STL launches the game differently...I wonder if it uses some kind of native version of the game or some kind of native Linux sandbox to run the game...
Whereas SteamOS probably uses Proton (which uses Windows emulation under the hood). This would explain why you see the .exe in the process list (.exe files are typically Windows exectuable files).
I would have guessed that the Proton version would behave more nicely with memory-deck, but who knows.
If you're feeling adventurous, you can launch the Konsole application in desktop mode and run the ~/homebrew/plugins/memory-deck/main.py
manually (you will have to "uncomment" code at the bottom of that file) to see if there are any errors. I should really write up some step-by-step instructions on manually running this plugin at somepoint.
from memory-deck.
Searching on terminal with the same command reveals the path. Checking that Tropico is a real Linux program and not something that use proton.
Output of the plugin (maybe with other programs to blacklist) but it's there after selecting no search it is possible.
Also using the different operator, results always 0.
I read online that they crypt maybe values but with something like this I should be able to get something.
from memory-deck.
I'd be really curious if you ran the game in Desktop Mode through the normal Steam Launcher, and used that main.py file I mentioned in my last comment.
Again, you'd have to open the main.py file in a text editor and remove the #
from the following lines:
Lines 130 to 183 in e38ce4c
If you can run that while the game is running (python3 main.py
), provide it the process ID (which you can get from running ps aux | grep -i tropico
in Konsole, it'll be the first number in the output from that) and then search for a value and provide that output here or in a pastebin?
We can chat on Discord if you rather find me there.
from memory-deck.
To search with terminal I was in desktop mode but to test memory deck I was in gaming mode.
Maybe memory deck does not work fine with native Linux stuff?
from memory-deck.
Perhaps? I haven't really checked which games are using Proton vs native linux.
Running that main.py
file while in desktop mode is like running a slimmed down version of memory-deck.
from memory-deck.
Right now I am using the SD without a keyboard and manipulate a file with the keyboard on screen is not very comfortable.
Anyway the pid is the right one, I think that I will check if I have some game linux native to see if that idea is real before to do other tests.
from memory-deck.
Native Linux games don't work, permission denied.
Edit /home/deck/homebrew/plugins/memory-deck/plugin.json
add "root" to "flags", then reboot.
"flags": ["debug", "root"],
from memory-deck.
This explains a lot, how did you got the error?
from memory-deck.
@kayon I am also interested in this - where did you see a permission denied error?
Admittedly I haven't really used the plugin on any linux-native games on my Steam Deck, all the games I've tried are being ran through proton.
from memory-deck.
@kayon I am also interested in this - where did you see a permission denied error?
Admittedly I haven't really used the plugin on any linux-native games on my Steam Deck, all the games I've tried are being ran through proton.
Run main.py through ssh, Permission denied after search.
In addition, the search for Float and Double will never result, needs to be modified like this.
main.py line: 160, in the method: search_regions
case "c_float":
val.flags |= MatchFlag.FLAG_F32B
val.float32_value = float(searchValue)
case "c_double":
val.flags |= MatchFlag.FLAG_F64B
val.float64_value = float(searchValue)
case _:
print("Invalid value!")
return False
if val.flags & MatchFlag.FLAG_F32B or val.flags & MatchFlag.FLAG_F64B:
self.scanmem.globals.options.scan_data_type = ScanDataType.ANYFLOAT
else:
self.scanmem.globals.options.scan_data_type = ScanDataType.ANYINTEGER
from memory-deck.
I don't have anymore tropico installed, someone that can test it?
from memory-deck.
I tested with hollow knight, dead cells and Slay the Spire native ports, can confirm @kayon solution works
from memory-deck.
v0.1.8 has been released to the test Decky store, should hit the production store soon. it should resolve this issue.
from memory-deck.
Related Issues (20)
- [bug] whenever a value is changed, it's actually updating all search results instead of the chosen one
- Build out manual usage of the plugin for debugging, etc. Include help menu
- [feature request] .CT support HOT 3
- [bug] straight up not working HOT 3
- [feature request] add ability to freeze addresses HOT 2
- Float Search Doesn't Work HOT 10
- Broken on steamos preview build HOT 1
- Allow listing found addresses when results list is larger than 10. HOT 5
- Tool wont show opened process HOT 2
- More legible process names HOT 3
- [BUG] Cant edit Results HOT 1
- How could I search a minus number? HOT 1
- RedDeadRedemption2 HOT 2
- No processes detected HOT 9
- Decky reports plugin need to fit new steam ui HOT 4
- Search results never populate/plugin freezing/undetected processes HOT 5
- Usage with Linux native games HOT 2
- plugin seems doesnt work properly on steamos 3.5.5 HOT 2
- Search type "string" HOT 1
- Build instructions in the README file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memory-deck.