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
                  • L'Anarchiversitarioundefined
                    L'Anarchiversitario

                    In Nepal la Gen-Z sta facendo una rivoluzione
                    @anarchia
                    Da inizio settimana il Nepal ha cambiato faccia. In molte e molti giovanissimi, con ancora indosso le divise scolastiche, hanno risposto alla chiamata alla mobilitazione della ONG nepalese “Hami Nepal” – Noi siamo il Nepal – a scendere in piazza...

                    Vedi l'articolo

                    https://www.rivoluzioneanarchica.it/in-nepal-la-gen-z-sta-facendo-una-rivoluzione/

                    per saperne di più

                  • L'Anarchiversitarioundefined
                    L'Anarchiversitario

                    Il racconto di Suaad prigioniera palestinese
                    @anarchia
                    In studio con l’autrice, Suaad Genem, presentiamo il libro “Il racconto di Suaad, prigioniera palestinese”, pubblicato da Edizioni Q nel 2024. Suaad Genem è nata nel 1958 ad Haifa e, dopo aver studiato Giurisprudenza, ha conseguito il Dottorato in Diritto...

                    Vedi l'articolo

                    https://www.rivoluzioneanarchica.it/il-racconto-di-suaad-prigioniera-palestinese-2/

                    per saperne di più

                  • The Clown Prince Of Pronounsundefined
                    The Clown Prince Of Pronouns

                    informed consent HRT form

                    per saperne di più

                  • 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ù
                  • Accedi

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