RPTools.net

Discussion and Support

Skip to content

It is currently Mon Oct 23, 2017 10:35 am 






Reply to topic  [ 67 posts ]  Go to page Previous  1, 2, 3, 4, 5

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12101
Location: Tampa, FL
 Post subject: Re: Convert to C# and WPF?
PostPosted: Thu Sep 08, 2011 7:26 pm 
The_Grand_User wrote:
[...] but should be fun, [...]

You, sir, have a strange sense of "fun".

:mrgreen:


Top
 Profile  
 
 Offline
Kobold
 
Joined: Tue Nov 18, 2008 6:22 pm
Posts: 14
 Post subject: Re: Convert to C# and WPF?
PostPosted: Mon Oct 31, 2011 12:51 pm 
Just a quick progress report, things are coming along slowly but surely. I've past the point where I got all the classes declared and have gone through most of them (the UI classes have been skipped so far) to convert their field and method declarations. Next step will be to go through each of their method bodies and get those converted.


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12101
Location: Tampa, FL
 Post subject: Re: Convert to C# and WPF?
PostPosted: Mon Oct 31, 2011 4:53 pm 
Wow. Unexpected. I mean, it's a great experiment to attempt to convert it ("port" being the wrong word) but I couldn't imagine making any serious headway on it. It's a big task. :|


Top
 Profile  
 
 Offline
Kobold
 
Joined: Tue Nov 18, 2008 6:22 pm
Posts: 14
 Post subject: Re: Convert to C# and WPF?
PostPosted: Mon Oct 31, 2011 7:01 pm 
It makes a nice framework for playing around with technologies that I haven't had much occasion to, such as networking. So it's not just a conversion but also a learning experience. But yes, it is a big task. And some things are just going to be done differently, due to the nature of the framework differences, so I'm doubtful that this MapTool conversion will be able to communicate with the original, and certainly not after further divergence, but I'll try to keep it close initially :)

I imagine where the most trouble will be is when I start seriously working on the UI.


Top
 Profile  
 
User avatar  Offline
Kobold
 
Joined: Tue Aug 28, 2012 11:08 am
Posts: 22
 Post subject: Re: Convert to C# and WPF?
PostPosted: Thu Jan 03, 2013 4:33 am 
I saw on the net that java was slower than c + +, is this true?
Is it possible to convert MapTool C + + and Mac players benefits?


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12101
Location: Tampa, FL
 Post subject: Re: Convert to C# and WPF?
PostPosted: Sun Jan 06, 2013 3:05 pm 
Java is currently the only cross-platform language that has built-in GUI support, built-in thread support, and a huge collection of third-party libraries (of which MT uses quite a few).

There is no chance that the RPTools team will be rewriting MT in any other language. However, that doesn't stop others from doing so. In fact, we will likely need to have clients written for Android, iOS, and so on, since each of the corresponding vendors seem incapable of agreeing on a single language across all platforms. :?


Top
 Profile  
 
 Offline
Kobold
 
Joined: Tue Nov 18, 2008 6:22 pm
Posts: 14
 Post subject: Re: Convert to C# and WPF?
PostPosted: Sun Jan 13, 2013 12:24 am 
Wow, it's been awhile since I've posted in here. It's been awhile since I was working on the conversion, too.

Still going method by method, uncommenting the java code in them and make them legal C# code. Still not in a runnable state, and haven't even gotten to the UI side of things. So slow, and not always steady, progress.

I'm considering instead of doing a method by method conversion that I'd just use the general structure and contents more as a guideline and idea generator, and effectively write my own app based off of MapTool rather than a straight conversion of it. (Part of the reason its been awhile since I worked on the conversion and commented here.)

Some of it comes from the differences between .Net and the Java library, what's available, what's not, and the general cultural differences between the two. Also getting a lot "I want to do it this other way" ideas ;) generally about the architecture of things (and, needless to say, would definitely make things incompatible with MapTool).

I might put up what I've done somewhere, so that others could help with the conversion if they want to. Any interest in that?


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 67 posts ]  Go to page Previous  1, 2, 3, 4, 5

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 2 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman