This project is read-only.
1

Closed

Cross platform support

description

Terraria now runs on linux!

So all tools should, too.

Unfortunately this means no WPF anymore…
Closed Nov 15, 2016 at 7:43 PM by jcoon

comments

jcoon wrote Jul 28, 2015 at 8:45 PM

The bad news: I use Linux very little, don't have a Mac, and don't have the time or desire to make TerraMap cross-platform any time soon. Maybe that will change in the future. TerraMap, for me, has been a great side-project with which to learn WPF.

The good news: TerraMap is open source, and Terraria is easy to disassemble to source, so it should be easy for someone with the time, desire, and knowledge to do so. :)

jcoon wrote Jul 28, 2015 at 8:46 PM

Also: I recently switched this project from TFS to Git, partly to make it easier to include others in the development. I look forward to your pull-request that adds cross platform support. :)

flyingsheep wrote Jul 29, 2015 at 9:40 AM

Well, if you use it as WPF learning experience, there’s not much point in moving it away from WPF, right?

And maintaining two GUIs is maybe a lesson in modularity and collaboration for both of us, but not very practical.

C# GUI options aren’t very numerous or mature away from WPF, sadly:
  • WPF is not crossplatform
  • WinForms is old and limited
  • WX.Net is also old
  • GTK# could be an option, but for other languages, i prefer Qt
  • QtSharp is very new and probably not stable, also not documented

jcoon wrote Aug 1, 2015 at 11:56 PM

OK, I've made an attempt at a TerraMap web application, using all client-side javascript. I have it rendering worlds, showing tile information for the current cursor position, world properties, etc. Doesn't show chest contents, no highlight or find functionality, etc.

https://jasoncoon.github.io/terramap

I haven't tested on Linux or Mac. Anyone care to try it? As long as the world format is the same, it might just work.

jcoon wrote Aug 2, 2015 at 11:57 PM

I moved it to https://terramap.github.io

Added basic find and highlight support.

jcoon wrote Aug 5, 2015 at 3:07 PM

Updated the web app: https://terramap.github.io
  • Added Firefox support (fixed some Firefox-only errors).
  • Added NPCs panel with links to select their location.
  • Added 'Selected Tile Info' panel, shows contents of chests when you click them.
Next up, I'll be working on adding support for finding/highlighting chests based on the items they contain, highlighting multiple tiles/items/walls, adding support for sets, etc.