Mystcraft Trello Board

Post by: on August 3rd, 2015 | File Under Announcements, Mystcraft

Lots of posts in a short span of time, but everything kind of fell together at once. :P

Mystcraft now has a (public) Trello board. https://trello.com/b/0iPcFEAy

I’ve gone through a a few iterations on it for a little while, and I’ve settled on a timeline-like format. The upcoming features are to the right, and past things are to the left. Older versions are archived.
I’ve been on this format for a little while now and found that it works well for me. I can quickly arrange things based on when I think I will get to them, structure larger arcs of development, and put features which depend on stuff after the things they depend on.
While it’s not strictly a timeline, in that sometimes a feature might get warped from a later list to suddenly being an active task as things come up, it helps give a general impression.

I’ve opened it up so that anyone may comment on it, and there is a voting system, so let me know your thoughts. :)
(Note that, if the public commenting should turn out to be an issue, I will just turn it back off and we’ll just discuss everything on the forums like we have been. :P )

Comments (4 responses so far)

Maven Repo!

Post by: on August 3rd, 2015 | File Under Announcements, LookingGlass, Mystcraft

(Forewarning: This post is mostly intended for other modders. It’s a cool thing and means neat stuff for the future, but the immediate applicability of it is limited to modders…)

Dev and API jars Mystcraft and LookingGlass are now possible to pull from a maven repo. maven.xcompwiz.com

Example GradleCode:

	repositories {
		maven {
			name "xcompwiz"
			url "http://maven.xcompwiz.com"
		}
	}
	dependencies {
		compile "com.xcompwiz.lookingglass:lookingglass:0.2.0.00:dev"
	}
Comments (No responses yet)

Mystcraft 0.12.3

Post by: on August 3rd, 2015 | File Under Mystcraft

No LookingGlass build this week.

This Mystcraft release is centered around the trading system, which has been in a state of partial completion for a while now. Check out the changelog for what all that means and what else got thrown in. :D

I’ve also finalized the maven repo for my projects. More info for that will be posted somewhere soon. :P

Mystcraft is available from CurseForge.

Mystcraft Changelog

Comments (2 responses so far)

Mystcraft 0.12.2

Post by: on July 21st, 2015 | File Under Mystcraft

No LookingGlass build this week.

This Mystcraft release was mostly bugfixes and compatibility handling for a few things.

I’ve been really busy with general travels and things. Haven’t been home since slightly before MineCon, really, so I’ve had limited opportunity to work on things. Should be returning to a “normal” schedule at this point.

Mystcraft is available from CurseForge.

Mystcraft Changelog

Comments (3 responses so far)

Mystcraft 0.12.1 and LookingGlass 0.2.0

Post by: on July 13th, 2015 | File Under LookingGlass, Mystcraft

I hope everyone has been happy with the baselining changes. I’ve not heard anything, so I assume no one had any complaints. :P

Last weekend I didn’t release anything due to MineCon. No explanation needed there, I’m sure. ;)

I’ve nearly finished the initial version of Slidercraft, which should be fun. It’ll make for a good toy on Let’s Plays and video series, as well as a fun gameplay mode in general, I hope.
Part of that has been testing and building a number of things for realtime portal rendering and transition. The inter-dim portals are coming along nicely.
Unfortunately, that’s not quite here, yet.

What I have for release right now is some LookingGlass improvements. Particularly, I’ve improved the cleanup handling for views, so if your objects clean up properly (in terms of Garbage Collection) then the frame buffers used by the views will clean up too. This is mostly a modder focused improvement, but it will hopefully positively impact end-user performance.
I also fixed a bug where the current world’s entities would get muddled if you created a view to it. Should be alright now.

Mystcraft got an update as well, mostly to use the new version of LookingGlass.

One of the most exciting things for this set of builds is probably the inclusion of the API sources in the dev and API jars for both Mystcraft and LookingGlass. The dev jars will be available alongside the API jars from now on.
This means those using the APIs will get the javadoc and be able to read the original source code of the APIs. This was the original intent, but I messed it up, apparently. :P
Note that is IS possible to use CurseForge as a maven repository, but it’s not great. You have to refer to the specific file you want to download. I’m trying to get a better location, but I’m in the middle of relocating my website and haven’t gotten any offers for places to upload to.

At any rate, I’m looking forward to all the fun stuff coming up! :D

Enjoy!

Mystcraft is available from CurseForge.
LookingGlass is available from CurseForge.

Mystcraft Changelog
LookingGlass Changelogs

Comments (No responses yet)

Mystcraft 0.12.0 and LookingGlass 0.1.2

Post by: on June 29th, 2015 | File Under LookingGlass, Mystcraft

OK, this week sees a whole bunch of new configs and a cleanup of the old ones. My config files should make a little more sense, now, but will need to be updated if you’ve made changes.

I’ve added a set of configs for the baselining system, even up to letting you turn it off and use some flat values from configs. I think I’ve simplified it enough that it will be doable from config.
In particular, I’ve allowed you the power of choice in which kind of profiling you prefer, and even allowed you to turn off the profiling in favor of hand-tuned values.

This should wrap up the profiling arc, and now I’ll move on to more fun stuff. :D

LookingGlass got a bug fix. I’ve made good progress in various areas, but nothing is ready for prime time just yet. Almost to releasing the code.

Enjoy!

Mystcraft is available from CurseForge.
LookingGlass is available from CurseForge.

Mystcraft Changelog
LookingGlass Changelogs

Comments (No responses yet)

Why the Profiling Exists (A quick history)

Post by: on June 28th, 2015 | File Under Mystcraft, Ramblings

Sometime back (I can’t even place when) I was playing on FC2 and some stuff happened. I had a nice little house on the beach near the giant wand recharging tower, if you want to try and place it.
The event in question was incited by cpw, who created a Mystcraft age. This age had diamond ore tendrils.
While we were merrily collecting as many diamonds as we could carry in a world falling apart around us, cpw remarked, “So, XComp, how broken is your mod?”
I responded, “I’ll fix it.” I must have been channeling my inner Bill Cosby (Soaryn will get that joke).

At the time, instability was estimated by the symbols that did the generation using formulas provided by the modifiers they were using. This was really hard to balance in any kind of logical way and came with a large set of issues like the prediction being possibly wrong in either direction. I couldn’t simply make diamonds cause more instability, either, as that’d make the other issues worse.

Instead, I came up with a system for profiling the world as it really was, not how it might be. I built the age profiling system. This is not the baseline profiling system, which I’ll call baselining from now on (I’ll try, anyway).
The age profiling system is pretty nifty, but difficult to explain to people who don’t know code, so I’ll try it with a Minecraft imagery metaphore.
Imagine you have a world with a bunch of chunks in it. Normally we can’t see the chunks, but we know they are these 16×16 areas that load and unload and generate when needed.
Now, imagine all of those chunks slightly transparent. As if we’d made them holograms.
Now overlap them on top of each other.

It’d look a little weird, perhaps, but we’d quickly be able to see areas which were usually stone, or usually air, or might have trees. If we did this with thousands of chunks, we’d be able to see what range of blocks the diamond blocks usually show up in.

Mystcraft’s profiling system basically does that. It goes through every chunk we generate and checks each block in it, mapping it to our single transparency. It actually counts the number of times this relative cell was a solid block, or an ore block, or water, or whatever else we want to count.
This allows Mystcraft to say, “You know, this world has a lot more diamond than normal…” and the produce instability because of it, in a nice, logical way that’s actually pretty easy to balance.

The catch was, “what’s normal?”
About a week later I started playing on Forgecraft again. This was actually the beginning of the last time I played on FC2, I think. The one where we used the configs from the DW20 pack…
Turns out, someone had played with the vanilla ore distribution. Since Mystcraft was comparing the profiling data to vanilla’s normal ore distribution, it wound up making all ages on the server unstable. No one had bothered to test this in advance, so the DW20 pack users were all complaining they couldn’t get stable ages…

And so, I was tasked with fixing this too.
Now, because the profiling data was pretty complicated (and for a few other reasons besides) I determined to simply establish what was normal for the save and use that. Thus the baselining was born.
The baselining usues the profiling system, but it is actually more than that. What it does is it generates an extra dimension in the background; a pure dimension which we can determine is “stable.”
As the dimension generates, it gets profiled, same as any other Mystcraft age. We can then use this data to do the comparisons for “this world has a lot more diamond than normal” without worrying about the mod loadout and configs.

And then, there were more problems.
The baselining was actually pretty slow at first. I made a valiant effort and improved lots of things and had it running really smoothly for the most part, but I still got complaints. Apparently my four year old laptop still outpaces the standard hardware… Cool, I guess.
At this point the baselining runs pretty fast, so long as mods play nicely. Many mods that do generation don’t seem to understand how generation should work, and so they do things which make generation take many times longer than it should, but it still sorta seems to work.

It’s not enough. The top complaint I hear is “why does it happen for every world?!”
The two main reasons for this were that it made it possible to do the baselining in the background while you played and that some mods actually allow you to change the ore distributions per save…

I gave up and tried something new. Something experimental and something I don’t even like: I moved the profiling to happen when you start the game.
I’ll be clear on this: I hate this idea.

I’ve liked it even less since I released it. This system is different enough that it confuses too many mods. There is a crash on game start with bspkrsCore (he’s aware of the issue and accepted the fault) and sometimes the progress bar just doesn’t move. This means no chunks are generating. I have no idea why that is. Some mod is doing something, but that’s nothing to go on.

And now that’s the issue: the wait; it runs when things change; the conflicts with other mods.

Apologies if my tone comes across as irritated, but I’m tired; really tired; of this issue. Mystcraft was more fun when I could make it about the lore and not have to try and balance the darn thing.

With that explained, I’m currently trying to get feedback on how to move forward with it. I’ve made a topic on the Mystcraft Forums about this, and I welcome your input.

Comments (Comments Off)

Mystcraft 0.11.13

Post by: on June 21st, 2015 | File Under Mystcraft

No LookingGlass build this week. I’ve had to much “real-life” work, I’m afraid.

I fixed some issues and fiddled with the instability calculations a bit. See the change log for more details. :)

Mystcraft is available from CurseForge.

Mystcraft Changelog

Enjoy!

Comments (No responses yet)

Mystcraft 0.11.12 and LookingGlass 0.1.1

Post by: on June 15th, 2015 | File Under LookingGlass, Mystcraft

If you’ve not already seen LookingGlass, you should probably check it out.

I still haven’t fixed the API distribution for LookingGlass. I’m trying, but I’ve a little too much going on right now to get to it.
However, I have made some fixes and things to it, so that’s progress.

Mystcraft’s baseline profiling has been rearranged. See the changelog for more details. In-game performance should improve.

Mystcraft is available from CurseForge.
LookingGlass is available from CurseForge.

Mystcraft Changelog
LookingGlass Changelogs

Enjoy!

Comments (No responses yet)

Mystcraft 0.11.11 and LookingGlass 0.1.0

Post by: on May 31st, 2015 | File Under LookingGlass, Mystcraft

If you’ve not already seen LookingGlass, you should probably check it out.

I’m releasing the first public API for LookingGlass. The source code will go open source very soon, now, but I want to make sure it’s clean first.

Mystcraft got some really cool features this week as well, particularly age recycling. Check out the change log for more information.

Note that all existing versions of LookingGlass will be effectively useless moving forward, as they didn’t have the API done. The versions of Mystcraft built at the time will only be able to use those versions of LookingGlass as well, so to be able to use the newer LookingGlass builds (with Mystcraft) you’ll need to update Mystcraft. From this point forward the API should remain fairly stable; no loss of existing functionality.

I’ve moved my downloads over to CurseForge.
LookingGlass is available from CurseForge.

Enjoy!

Check the Mystcraft Forums for updates and the change log.

Comments (No responses yet)