Comments (5)
There is this: https://github.com/DKingAlpha/palworld-uesave-rs but it doesn't seem to work for me.
I'll keep an eye on these and include them once they are functional with Palworld.
from palworld-exporter.
Example here shows how to parse Level.sav very quickly: https://github.com/zaigie/palworld-server-tool/blob/main/module/structurer.py
I have a local test running (on a laptop) in under a second that pulls a few player properties like name, level, health, etc.
from palworld-exporter.
I tried use palworld-save-tools
but it takes nearly 30 seconds on my M1 max mac.. 🥲
$ time palworld-save-tools Level.sav
Converting Level.sav to JSON, saving to Level.sav.json
Decompressing sav file
Loading GVAS file
Writing JSON to Level.sav.json
palworld-save-tools Level.sav 31.39s user 0.64s system 99% cpu 32.249 total
Maybe some tools like uesave-rs would be faster? But I can't find any working palworld fork of that 🥲
$ uesave to-json -i Level.sav -o Level.json
Found non-standard magic: [92, f7, 33, 07] (��3) expected: GVAS, continuing to parse...
Error: at offset 6981079: io error: failed to fill whole buffer
from palworld-exporter.
I'm still planning on working in a feature branch to demo how the metrics might look once a good enough Level.sav
parser comes around
from palworld-exporter.
Well, I was able to integrate the Level.sav parsing mentioned in my last comment but performance is still not great. I have a decent sized server with ~100 player saves and a 17MB Level.sav file. I am able to generate a metrics response in ~5s on a decent laptop but its consuming about 2g of memory each time (reading the Level.sav into memory).
The isn't create since metrics gather by Prometheus is 15s by default.
I'll keep looking at ways to optimize.
from palworld-exporter.
Related Issues (10)
- Export only palworld metrics? HOT 2
- Auto detect save directory HOT 2
- Utilize new Palworld REST API HOT 4
- Log when first succesful connection is made HOT 1
- Non-ascii player name causes RCON `showplayers` break HOT 6
- unable to connect to RCON server HOT 4
- expected str, bytes or os.PathLike object, not NoneType
- No http endpoint HOT 2
- Report server fps HOT 4
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 palworld-exporter.