Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
Skin
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Web Site

Forum federato con il resto del mondo. Non contano le istanze, contano le persone

  1. Home
  2. Categorie
  3. Senza categoria
  4. hey fedi programmer folks, this isn't urgent but i'm going to have to store my block game's world data in some kind of acid compliant database at some point.

hey fedi programmer folks, this isn't urgent but i'm going to have to store my block game's world data in some kind of acid compliant database at some point.

Pianificato Fissato Bloccato Spostato Senza categoria
8 Post 4 Autori 0 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • Eniko Foxundefined Questo utente è esterno a questo forum
    Eniko Foxundefined Questo utente è esterno a questo forum
    Eniko Fox
    scritto su ultima modifica di
    #1

    hey fedi programmer folks, this isn't urgent but i'm going to have to store my block game's world data in some kind of acid compliant database at some point. do you have any recommendations? it must be a file-based database, obviously. and game data doesn't usually neatly conform to the boring numbered rows with named columns table design of traditional databases for websites and stuff

    i think ideally i'd just be able to store raw binary data

    Eniko Foxundefined 1 Risposta Ultima Risposta
    • Eniko Foxundefined Eniko Fox

      hey fedi programmer folks, this isn't urgent but i'm going to have to store my block game's world data in some kind of acid compliant database at some point. do you have any recommendations? it must be a file-based database, obviously. and game data doesn't usually neatly conform to the boring numbered rows with named columns table design of traditional databases for websites and stuff

      i think ideally i'd just be able to store raw binary data

      Eniko Foxundefined Questo utente è esterno a questo forum
      Eniko Foxundefined Questo utente è esterno a questo forum
      Eniko Fox
      scritto su ultima modifica di
      #2

      i mostly ask because databases are for boring stuff and i make games so i have no idea what the hotness in databases is

      Eniko Foxundefined 1 Risposta Ultima Risposta
      • Eniko Foxundefined Eniko Fox

        i mostly ask because databases are for boring stuff and i make games so i have no idea what the hotness in databases is

        Eniko Foxundefined Questo utente è esterno a questo forum
        Eniko Foxundefined Questo utente è esterno a questo forum
        Eniko Fox
        scritto su ultima modifica di
        #3

        people put hundreds, thousands of hours into block game worlds. entire communities rely on them in the case of multiplayer servers. whatever i use has to be acid compliant so that people don't get screwed over by save corruption cause i decided reinventing the wheel would be a cool project

        mortundefined 1 Risposta Ultima Risposta
        • Eniko Foxundefined Eniko Fox

          people put hundreds, thousands of hours into block game worlds. entire communities rely on them in the case of multiplayer servers. whatever i use has to be acid compliant so that people don't get screwed over by save corruption cause i decided reinventing the wheel would be a cool project

          mortundefined Questo utente è esterno a questo forum
          mortundefined Questo utente è esterno a questo forum
          mort
          scritto su ultima modifica di
          #4

          @eniko SQLite is almost certainly what you want. Old, slow-moving and reliable project made by people who take seriously the fact that their software messing up could means cars crash and planes fall out of the sky.

          The only alternative I'd take seriously is to use the old "write out everything to a new file and rewrite it into place" trick, but that gets tricky if worlds are big and you only wanna load and save parts of it at a time

          Eniko Foxundefined 1 Risposta Ultima Risposta
          • mortundefined mort

            @eniko SQLite is almost certainly what you want. Old, slow-moving and reliable project made by people who take seriously the fact that their software messing up could means cars crash and planes fall out of the sky.

            The only alternative I'd take seriously is to use the old "write out everything to a new file and rewrite it into place" trick, but that gets tricky if worlds are big and you only wanna load and save parts of it at a time

            Eniko Foxundefined Questo utente è esterno a questo forum
            Eniko Foxundefined Questo utente è esterno a questo forum
            Eniko Fox
            scritto su ultima modifica di
            #5

            @mort i honestly do not trust any filesystem more than an sqlite database >_>

            Izzy 🪄 Scaledeepundefined 1 Risposta Ultima Risposta
            • Eniko Foxundefined Eniko Fox

              @mort i honestly do not trust any filesystem more than an sqlite database >_>

              Izzy 🪄 Scaledeepundefined Questo utente è esterno a questo forum
              Izzy 🪄 Scaledeepundefined Questo utente è esterno a questo forum
              Izzy 🪄 Scaledeep
              scritto su ultima modifica di
              #6

              @eniko @mort SQLite is quite safe, with proper WAL setting. As with any DB there is always a risk to have corrupted files. You create snapshots, and save daily or on hour basis.

              aevaundefined 1 Risposta Ultima Risposta
              • Izzy 🪄 Scaledeepundefined Izzy 🪄 Scaledeep

                @eniko @mort SQLite is quite safe, with proper WAL setting. As with any DB there is always a risk to have corrupted files. You create snapshots, and save daily or on hour basis.

                aevaundefined Questo utente è esterno a questo forum
                aevaundefined Questo utente è esterno a questo forum
                aeva
                scritto su ultima modifica di
                #7

                @darkgnostic @eniko @mort sqlite is what I plan on using as a data store for my games. it is very fast, and very very stable

                aevaundefined 1 Risposta Ultima Risposta
                • aevaundefined aeva

                  @darkgnostic @eniko @mort sqlite is what I plan on using as a data store for my games. it is very fast, and very very stable

                  aevaundefined Questo utente è esterno a questo forum
                  aevaundefined Questo utente è esterno a questo forum
                  aeva
                  scritto su ultima modifica di aeva@mastodon.gamedev.place
                  #8

                  @darkgnostic @eniko @mort this is somewhat motivated by me being traumatized by geniuous game developers thinking they're too smart to use normal software and inventing the worst relational databases you've ever seen (and then having to clean up their messes)

                  1 Risposta Ultima Risposta
                  Rispondi
                  • Topic risposta
                  Effettua l'accesso per rispondere
                  • Da Vecchi a Nuovi
                  • Da Nuovi a Vecchi
                  • Più Voti


                  Gli ultimi otto messaggi ricevuti dalla Federazione
                  • Maj - 🇨🇦undefined
                    Maj - 🇨🇦

                    Hey! Pssst. Yeah, you!
                    The outside is full of trees and sunshine!
                    Pass it on!

                    per saperne di più

                  • Pelosettoundefined
                    Pelosetto

                    Lo spazio italiano punta a un ruolo di primo piano in Europa

                    @scienza (HASHTAG)

                    Bene i rapporti con la Nasa, collaborazioni scientifiche incerte

                    per saperne di più

                  • Evan Prodromouundefined
                    Evan Prodromou

                    @noondlyt so delicious

                    per saperne di più

                  • LAURENundefined
                    LAUREN

                    Muting words is my drug of choice tonight

                    per saperne di più

                  • Evan Prodromouundefined
                    Evan Prodromou

                    @davew in wiki world we talk about the "WikiNow". This kind of timeless way that we can interact across days and decades. I love seeing it in blogs, too.

                    http://meatballwiki.org/wiki/WikiNow

                    per saperne di più

                  • McSweeney'sundefined
                    McSweeney's

                    "As if the dancing weren’t enough, when my kids yell 'HEAVY,' I’m expected to pantomime that whatever I’m holding is unbearably heavy. That works fine with a pen. It’s even manageable with a cup of hot coffee. But when holding your best friend’s newborn?"
                    https://www.mcsweeneys.net/articles/an-open-letter-to-blueys-parents-please-stop

                    per saperne di più

                  • L'Anarchiversitarioundefined
                    L'Anarchiversitario

                    Francia: proseguono anche oggi le iniziative del movimento “blocchiamo tutto”. 339 le persone ancora in stato di fermo
                    @anarchia
                    Polizia in massa all’alba per sgomberare Sciences Po, il celebre ateneo di Parigi, nel quadro del movimento ‘Bloquons tout’. Bloccato anche l’accesso all’Université Paris Cité e a un sito del colosso https://www.rivoluzioneanarchica.it/francia-proseguono-anche-oggi-le-iniziative-del-movimento-blocchiamo-tutto-339-le-persone-ancora-in-stato-di-fermo/

                    per saperne di più

                  • Evan Prodromouundefined
                    Evan Prodromou

                    #ActivityInThePub

                    per saperne di più
                  • Accedi

                  • Accedi o registrati per effettuare la ricerca.
                  Powered by NodeBB Contributors
                  • Primo post
                    Ultimo post