Reworked storage system

I did a massive rework of the storage system today. It was much needed, but since it’s a very big task I never had to courage to tackle it. What changes for the user (that is you!):

  • You can now specify the folder in which you want to store your games. This doesn’t have to be inside OCTGN installation anymore. It’s not a useful feature for you, but it was creating trouble for the autoupdater. Now the path is clear.
  • I changed the database back-end to VistaDB. This is very technical, but the advantages are many. First one is improved startup times. If you tried to install several games in 0.2.0.2 you surely noticed that opening the “Serve game” screen wasn’t what I call fast.
  • Other benefit is better locking of the DB file. Now you can launch the application twice and play against yourself without having to install everything twice!
  • I have refactored the data access code inside a separate Octgn.Data.dll. This means that .NET coders will now have easy access to OCTGN data… I will surely make another post about it someday, but if you were thinking about creating a Vista “Card of the day” widget, a deck builder or a deck analyser, a mini-game or quizz which uses game cards, a card encyclopedia, or even a website doing any of those; it’s getting possible! Only requirement: coding for .NET.
  • As reported by someone, I have fixed the decks referencing the games’ filename. This is a breaking change: you’ll have to update your deck files to use the proper game GUID or they won’t load anymore. If you’re just using some “precons” you can simply wait for game creators to release updated version of their games when the next release is out.

I feel better now that I have this big amount of work behind me… Regressions are possible, so this still has to go through careful testing. I suppose the next big step is to use this new data layer to create a basic deck builder, so that you can have fun more easily than editing files by hand!

Speaking about testing, I was amazed by you guys! The testing and bug reports you did on alpha 2 has amazed me. You will surely be pleased to know that every bug reported so far (I’m not talking about “features”) has been fixed.

All of this will be published in the next release. Next week is going to be very busy for me, so I’d say it will probably be released in ~2 weeks.

-jods

Advertisements
Explore posts in the same categories: OCTGN.net

11 Comments on “Reworked storage system”

  1. Rathzil Says:

    Hey Jods,

    OCTGN 2 is looking great so far. Just wanted to comment since I haven’t before and say what a great job you’re doing, and how much all your work is appreciated.

  2. Talking Shotgun Says:

    A lot of places reference 0.2.0.2. My version is 0.2.0.1 as I noticed, and the download is still the same. Are we all testing an already outdated version, or am I getting this from the wrong place??

  3. You Rock Says:

    Awesome. Can’t wait for the deck builder. Thank you sooo much jods.

    You think we could set up a chatroom or something on this blog or the official OCTGN 2 site to help us find players asap?

    That would be an incredible feature. Letting us find other people with this program who want to play a game or two.

    Also, it would be awesome if the MTG sets, whenever they are made, are also made available on torrents, like thepiratebay or isohunt for example.

  4. You Rock Says:

    You think we could set up a chatroom or something on this blog or the official OCTGN 2 site to help us find players asap?

    That would be an incredible feature. Letting us find other people with this program who want to play a game or two.

    A chat room would be ideal for that. Esp if that chatroom was directlyl accesible from inside the program.

  5. Gaspare Says:

    The irc chatroom already exists, its on server irc.ircstorm.net port 6667 and it is called #octgn ๐Ÿ˜‰

    About the direct accessibility from inside octgn2, that’s jods material ๐Ÿ˜€

  6. Kempeth Says:

    QUOTE: All of this will be published in the next release. Next week is going to be very busy for me, so Iโ€™d say it will probably be released in ~2 weeks.

    ^^^ no Version 2.0.2 yet…

  7. Jorbes Says:

    Im just curious to know how http://www.octgn.org (not .net) fits into this whole thing?
    It seems to even have a forum to report bugs…

    Im thinking there are now 2 parties working on octgn. Jods and the people from octgn.org, both with their own gameplan. Is this a good idea? Should the 2 not be merged into one? It’s confusing the **** out of me.. help! ๐Ÿ™‚

  8. Gaspare Says:

    The people of octgn.org are the same of octgn.net ๐Ÿ˜‰

    octgn.org is basically a dead site and forum

  9. Talking Shotgun Says:

    @ Kempeth
    Above says QUOTE:If you tried to install several games in 0.2.0.2 you surely noticed that opening the โ€œServe gameโ€ screen wasnโ€™t what I call fast.
    That sounds to be past tense referring that we should already have 0.2.0.2 and the new build will have a higher version number.
    Also when we report bugs the version we mark as reporting them under is 0.2.0.2.

  10. jods Says:

    OK, sorry for the confusion in the build numbers. 0.2.0.2 is functionnaly equivalent to 0.2.0.1. It is the same build, with two additional script actions, which were requested by some game creators. Except those two script actions, it’s exactly the same build, same bugs. ๐Ÿ˜‰
    0.2.0.2 hasn’t been distributed in the wild, only to a few people.
    The next public version was planned to be 0.2.0.4. BUT because of the very late finding of a core bug, some aspects of the protocol had to be changed. Because of this breaking protocol change, the next release will be incompatible with the 0.2.* series, and will bear the number 0.3.0.0.

    I think there’s much confusion around the web sites as well. http://www.octgn.net is the new home of OCTGN 2.0. http://www.octgn.org is still the home of the old OCTGN 1.x client. The same group of people is moderating both boards.

    The “official” chat room for OCTGN is the one mentionned by Gaspare (#octgn on irc.ircstorm.net). I currently have higher priorities than building a chat client inside OCTGN, so use your favorite IRC client instead. I think there’s an online java client on the old website, but you can find lightweight, free IRC clients for your desktop.

  11. Talking Shotgun Says:

    Alright, as long as I’m not reporting bugs that have been fixed, everything is okay.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: