Flyff File Editor

travistytrav

Premium
Premium
Joined
Nov 4, 2024
Messages
15
Reaction score
17
Points
3
Hey Guys,

I got tired lookin at specitem today and threw together a quick python gui for editing it instead:

Screenshot_186.png

I'm working on making it a similar experience to VS Code, where the files ( in this case items ) you're editing, act as tabs that you can pop-out, move around and all that jazzy stuff. Right now I've just got the base of the tabbing down with things like-opening an item will replace the current tab, if the current tab has no changes made to it. Otherwise it opens an additional tab. And, it indicates to you when there is unsaved changes in the tab header or will prompt you on close, general editor stuff. I definitely prefer an approach to editing specitem like this, although you can definitely make bulk changes a lot easier in xml.

Before i go any further with it, I've been contemplating switching out Custom Tkinter for potentially PySide6, but I'm still shopping around for something that could be a better.
Also playing around with the idea of just making it web based in a wrapper like Electron as well. That's is a bit boring, but i could definitely make it look a lot prettier in web lol.

Some questions for you guys:
1) Do you have any recommendations for a python gui library?
2) What sort of features do you think would be cool in something like this?

The plan is to expand it to be able to be a tool for editing other resource files in the future as well.
Once i get a good baseline of something usable, I'll post up the GitHub repo if it's something you think you'd use/contribute to! ( there's probably heaps of these around already though lol )
 
There some python GUI libraries that i can think of.
You have these following too my knowledge, I'm sure i missed some as python has a whole range of libraries.

  1. Tkinter
  2. PyQt
  3. Dear PyGui
I personally use PyQt for my projects.
 
I've ended up going with Tauri. A more web-based solution without having to use Electron.

Angular Frontend ( It's what I'm used to from my job ) + Rust Backend ( Never used it, always been looking for a reason to ).

So far it's been night and day with how fast it can process files.
I will update with more Screenshots and a GitHub link in the coming week! :)
 
Tauri is a great option as well, I recently built our launcher using tauri. Going from python to rust was a bit difficult but I managed to understand it after diving into the documentation. :)
 
  • Like
Reactions: travistytrav
Tauri is a great option as well, I recently built our launcher using tauri. Going from python to rust was a bit difficult but I managed to understand it after diving into the documentation. :)

awesome! good to hear :), what did you end up using for the frontend? i seen Vite is the recommended, i also need to get around trying that out.
 
awesome! good to hear :), what did you end up using for the frontend? i seen Vite is the recommended, i also need to get around trying that out.
I'd use react if i actually manage to wrap my head around it but i ended up going vanilla with vite environment