July 17, 2011

RomTerraria 2.0 RC2 Available

If you've already got 2.x installed, it should auto-update.

In this build:

- You can draw labels to show which rooms NPC's have claimed.

Give it a shot.

July 13, 2011

RomTerraria 2.0 RC Build

In this build...

- Health and mana regeneration fixed.
- You can now flood Hell again.
- Minimaps act nicer near the edges of maps.

Give it a whirl.

After installing, it appears in your Start Menu under Michael Russell > RomTerraria.

July 8, 2011

Test Version of RomTerraria 2.0

Because it's such a pain in the rear to keep people on the same version of RomTerraria, I've got a ClickOnce version up for testing.

Everything should work in it except the profanity filter, which I'm rewriting.

Click here to give it a shot.

New features:
- New UI.
- Texture and font pack support.
- Counteract water evaporation in Hell.

After installing, it appears in your Start Menu under Michael Russell > RomTerraria.

July 2, 2011

Use ZIP Files To Hold Your XNA Content

Quick entry for now, more in-depth one coming soon. Requires SharpZipLib.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using ICSharpCode.SharpZipLib.Zip;
using System.IO;

namespace RomTerraria
{
public class ZipContentManager : ContentManager
{
private ZipFile zipFile = null;

public ZipContentManager(IServiceProvider services, string zipFile) : base(services, "")
{
this.zipFile = new ZipFile(zipFile);
}

protected override System.IO.Stream OpenStream(string assetName)
{
var entry = zipFile.GetEntry(assetName.Replace('\\','/') + ".xnb");
if (entry != null)
{
return zipFile.GetInputStream(entry);
}
return null;
}
}
}