Compare commits

..

2 Commits

Author SHA1 Message Date
a2x
11d99ac058
Update README.md 2024-03-31 12:58:22 +10:00
a2x
1a2b23b3c0 Remove temporary workaround for upstream bug 2024-03-31 12:05:25 +10:00
2 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,11 @@ toolchain must be installed.
## Usage ## Usage
1. Ensure the game process is running (Being in the main menu should suffice). 1. Ensure the game process is running (Being in the main menu should suffice).
2. Run the `cs2-dumper` executable (Note that some memflow connectors require elevated privileges). 2. Run the `cs2-dumper` executable.
- Note that some memflow connectors may require elevated privileges to work.
- Ensure that you have the appropriate config file in the same directory as the `cs2-dumper` executable:
- For Linux: `config_linux.json`
- For Windows: `config_win.json`
When running the executable without providing an optional memflow connector name, it will default to using the When running the executable without providing an optional memflow connector name, it will default to using the
memflow-native cross-platform OS layer to read the game's memory. However, any existing memflow connectors should work memflow-native cross-platform OS layer to read the game's memory. However, any existing memflow connectors should work

View File

@ -30,7 +30,6 @@ pub fn interfaces(process: &mut IntoProcessInstanceArcBox<'_>) -> Result<Interfa
process process
.module_list()? .module_list()?
.iter() .iter()
.filter(|module| !module.name.starts_with("nvidia")) // Temporary workaround for upstream bug: https://github.com/memflow/memflow-native/blob/1b063fc573957498b88a13b6120120480bc65ea5/src/linux/mem.rs#L168
.filter_map(|module| { .filter_map(|module| {
let buf = process.read_raw(module.base, module.size as _).ok()?; let buf = process.read_raw(module.base, module.size as _).ok()?;