Time |
Nick |
Message |
00:21 |
|
pauloue joined #minetest-dev |
00:50 |
|
twoelk left #minetest-dev |
03:02 |
|
ssieb joined #minetest-dev |
05:17 |
|
YuGiOhJCJ joined #minetest-dev |
05:55 |
|
DI3HARD139 joined #minetest-dev |
08:17 |
|
AndroBuilder joined #minetest-dev |
09:01 |
|
AndroBuilder_ joined #minetest-dev |
09:15 |
|
Ruslan1 joined #minetest-dev |
10:38 |
|
twoelk joined #minetest-dev |
10:41 |
|
Fixer joined #minetest-dev |
12:34 |
|
Ruslan1 joined #minetest-dev |
12:59 |
|
Lunatrius joined #minetest-dev |
13:28 |
|
Krock joined #minetest-dev |
13:53 |
nerzhul |
merging #7628 |
13:53 |
ShadowBot |
https://github.com/minetest/minetest/issues/7628 -- Some minor Fastface optimizations. by lhofhansl |
13:53 |
nerzhul |
ty lhofhansl |
14:31 |
|
AndroBuilder joined #minetest-dev |
14:33 |
|
YuGiOhJCJ joined #minetest-dev |
14:37 |
|
hecks joined #minetest-dev |
14:54 |
|
DI3HARD139 joined #minetest-dev |
15:50 |
|
Ruslan1 joined #minetest-dev |
17:12 |
|
Beton joined #minetest-dev |
17:24 |
|
paramat joined #minetest-dev |
17:34 |
|
YuGiOhJCJ joined #minetest-dev |
17:42 |
|
longerstaff13 joined #minetest-dev |
17:42 |
|
xerox123_ joined #minetest-dev |
17:42 |
|
xerox123 joined #minetest-dev |
17:48 |
|
longerstaff13 joined #minetest-dev |
17:57 |
|
xerox123 joined #minetest-dev |
17:57 |
|
xerox123_ joined #minetest-dev |
17:58 |
|
hecks joined #minetest-dev |
17:59 |
|
longerstaff13 joined #minetest-dev |
18:35 |
|
Darcidride joined #minetest-dev |
19:09 |
|
ssieb joined #minetest-dev |
19:27 |
|
AndroBuilder joined #minetest-dev |
20:10 |
|
diegojsrw joined #minetest-dev |
20:11 |
|
Fixer joined #minetest-dev |
20:46 |
|
lisac joined #minetest-dev |
20:50 |
|
xamgu joined #minetest-dev |
20:50 |
|
basxto joined #minetest-dev |
20:52 |
xamgu |
soo this might be a bit out there, but: how about we move all those single files inside the minetest folder into map.sqlite and rename it to savegame.sqlite or similar? |
20:52 |
xamgu |
advantages: unified data format, simpler backups, online backups possible, removal of custom parser code, others i can not think of rn |
20:52 |
xamgu |
disadvantages: got to remove that custom parser code |
20:53 |
sfan5 |
> removal of custom parser code |
20:53 |
sfan5 |
except auth.txt, the files follow the settings format so there's nothing to remove |
20:53 |
sfan5 |
also open an issue (if there isn't one open already...) |
20:54 |
nerzhul |
sfan5: auth.txt has now a sqlite model in master heh |
20:54 |
xamgu |
i don't have a github account |
20:57 |
xamgu |
sfan5: so im not an expert, but im not sure thats true |
20:57 |
xamgu |
env_meta.txt ends with "EnvArgsEnd" which im not sure is a key-value expression |
20:58 |
xamgu |
map_meta.txt is lua structs i think |
20:58 |
xamgu |
world.mt is in fact the same format |
20:59 |
xamgu |
the player files contain the inventory, im not sure thats the same parse path either |
21:00 |
sfan5 |
you're right that the EnvArgsEnd or [end_of_params] is a special case |
21:00 |
xamgu |
so maybe its not remove, just simplify a lot? i don't know how minetest is structured internally |
21:00 |
sfan5 |
but other than that no serialization is exclusive to the files |
21:01 |
sfan5 |
e.g. the player files are composed of both the settings format and the serialization format for inventories, neither of which could be removed if player files didn't exist (since they are used elsewhere) |
21:01 |
xamgu |
+ the main two benefits in my mind are that it would make a savegame simply a single file and allow the usage of the sqlite-apis (including backups!) for the entire savegame |
21:02 |
xamgu |
out of curiosity, where is the inventory used? i did not find another place using a very shallow search |
21:02 |
sfan5 |
the same inventory format is used for both network communication and the map data |
21:04 |
xamgu |
ah, i see |
21:05 |
basxto |
https://github.com/minetest/minetest/issues/3374 is a bit related, I think |
21:05 |
xamgu |
ok, so i take this as no one has found any glaring issues with the proposal? |
21:05 |
xamgu |
i will take a look |
21:08 |
xamgu |
yeah, similar solution, but different issues |
21:09 |
basxto |
also this can work for backups in singleplayer https://mikemaximus.github.io/gbm-web/GBM_Official_Linux.xml |
21:09 |
xamgu |
it might be worth noting that sqlite is not type-safe, so you can store any kind of data in any field. that allows just using a table as a key-value-store without any issues |
21:12 |
xamgu |
yeah, for singleplayer that works |
21:12 |
xamgu |
but on servers downtime is more of an issue |
21:14 |
xamgu |
so i will wait a bit to see if anyone has any problem with the proposal |
21:14 |
xamgu |
if not i might try and contribute, but i can't really write c++ |
21:40 |
p_gimeno |
one problem I see with that idea is the difficulty of checking or changing settings |
21:46 |
paramat |
yes, map_meta.txt is very useful in .txt form |
21:47 |
paramat |
as is world.mt. so i would be -1 for this |
22:42 |
|
paramat joined #minetest-dev |
22:58 |
|
ElectronLibre_ joined #minetest-dev |
23:49 |
|
pauloue joined #minetest-dev |
23:55 |
|
Fixer joined #minetest-dev |