FF6 Hacking
FF6Tools - Browser-Based ROM Editor - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html)
+--- Forum: Dragons' Den (https://www.ff6hacking.com/forums/forum-13.html)
+--- Thread: FF6Tools - Browser-Based ROM Editor (/thread-3321.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


RE: FF6Tools - ROM Editor for OS X - madsiur - 08-26-2017

(08-26-2017, 12:56 PM)Tenkarider Wrote: nah, i was wondering if he was using another OS(which actually is stupid, since probably it can't be opened at all in that case)

You are learning from your own statements, apprentice tenka ;)


RE: FF6Tools - ROM Editor for OS X - Warrax - 09-14-2017

That editor is such a tease! it look more complete and useful than FF3usME, someone need to port that to Windows.

I tried multiple ways to make MacOS 10 work on a PC via emulation and virtualization and there's always issues that prevent it to work. I also have an old mac using MacOS 9 but it cannot be upgraded to 10 so I'm out of options here...unless I can buy a cheap mac with MacOS10.

Does anyone have an image of a working MacOS10 on PC? (via virtualization), that would be awesome.


RE: FF6Tools - ROM Editor for OS X - GrayShadows - 10-19-2017

Hey, Everything, I was wondering -- is there any chance the source code is available? There's an official implementation of Swift under Linux now, and an open-source one under Windows, and I'd like to try building FF6Tools on them to see if it'll run.


RE: FF6Tools - ROM Editor for OS X - Everything - 10-22-2017

Sure. Here's the most recent source code: FF6Tools Source Code

I just migrated everything to Swift 4. Hopefully the Linux version of Swift supports that. Let me know if it works!


RE: FF6Tools - ROM Editor for OS X - madsiur - 10-22-2017

(10-22-2017, 09:59 PM)Everything Wrote: Sure. Here's the most recent source code: FF6Tools Source Code

Victory


RE: FF6Tools - ROM Editor for OS X - GrayShadows - 10-23-2017

Ugh, yeah, no, we're definitely not there yet. XD You're using Cocoa, which makes perfect sense on MacOS but doesn't have any equivalent libraries on Linux, at least not that are compatible with Swift, as far as I can tell. And the Windows implementations are... lacking.


RE: FF6Tools - ROM Editor for OS X - Everything - 10-23-2017

Bummer. I rely pretty heavily on Cocoa for UI stuff. I don't know much about cross-platform programs, but I would expect that the easiest way to get FF6Tools to work under Windows or Linux would be to run it in an OS X emulator.

I'm definitely interested in looking at other ways to make it more accessible to Windows users though. I think most of the underlying Swift code could be rewritten in C# or Java (or even C), but I'm not terribly familiar with UI programming other than Cocoa. Any ideas on how to make a cross-platform UI? Maybe something browser-based? I've never done HTML or anything, but it might be cool to learn.


RE: FF6Tools - ROM Editor for OS X - madsiur - 10-23-2017

(10-23-2017, 02:46 PM)Everything Wrote: I'm definitely interested in looking at other ways to make it more accessible to Windows users though. I think most of the underlying Swift code could be rewritten in C# or Java (or even C), but I'm not terribly familiar with UI programming other than Cocoa. Any ideas on how to make a cross-platform UI? Maybe something browser-based? I've never done HTML or anything, but it might be cool to learn.

For Windows, the C# UI stuff is either WPF / XAML or Windows Forms (no longer developed since 2008). I use WPF for my FF6AE editor. What is cross platform and really neat is Qt but you gotta use C++ with Qt custom types. It's like writing C++ in a different way. Qt is cross platform (Linux, OS X and Windows) but you gotta code more to be able to compile on all three OS.

As for a browser base app, it could be a solution if you make it working on at least Firefox and Chrome.


RE: FF6Tools - ROM Editor for OS X - GrayShadows - 10-23-2017

Qt, which madsiur mentioned, and GTK+ are the two really big cross-platform GUI libraries. Qt *may* have better MacOS support, but it looks like GTK+ made some real strides towards integration; Qt supports iOS and Android, but GTK+ supports HTML5.

That said, GTK+ is written in C, is also fully supported in Java and looks to have some pretty solid Swift support already, if possibly 3rd party support, whereas Qt is written in C++ making it (from everything I'm seeing online) more... difficult... to get working with other langauges. If, as you say, the underlying Swift code could be (easily?) rewritten in C, GTK+ may be the best library for your purposes.

ETA: I should mention that I don't actually have any experience BUILDING a UI, I just... read a lot of random coding stuff. So take basically everything I say with a grain of salt.


RE: FF6Tools - ROM Editor for OS X - Everything - 10-25-2017

Hmm, this is becoming intimidating very quickly. I like the idea of a browser app using HTML5, but I doubt I'll get around to it any time soon.

As for rewriting the Swift code in C, it certainly wouldn't be easy. But I think it would speed up a few things that are currently pretty slow, like reading the event script and dialog. So that's a possibility in the near future.