[Tool] FTL Dat Manager - (ReleaseBuild 367)

Discuss and distribute tools and methods for modding. Moderator - Grognak
KuroSaru
Posts: 21
Joined: Sun Jan 06, 2013 2:36 pm

[Tool] FTL Dat Manager - (ReleaseBuild 367)

Postby KuroSaru » Sat Jan 12, 2013 4:20 pm

FTL Dat Manager
Image
Tested on: OSX 10.7, Win7 & 8, Ubuntu 12.04 , CentOS 6

:!: ** Desc:

Code: Select all

Not to be confused with bas ftldat.py script. FTL Dat Manager is a WinZip style GUI .dat tool. allowing you to easily drag and drop files into the window to add them to a .dat, its for those times when you named one file wrong and dont' want to unpack/repack the whole .dat to fix it, or for use instead of the packer/unpacker if you want just one file not all the files from a .dat, additionally it allows you to create new .dat files from scratch easily.

Current Features:
 - All non-original FTL files now in red (supports 1.03.1 only)
 - Drag&Drop to add new files
 - Auto-removes any unused spaced from original FTL .dat files


:!: ** ToDo:

Code: Select all

(bug fixes)
- allow to add a empty folder (virtual, empty folders can't be saved)
- Detect why GMM causes MD5 values of original files to corrupt.

(new features)
- Built in File editor
- Enhanced File Editor (supporting auto-complete)
- Sort files by name / size
- Folder renaming
- Ability to move folders

Current ETA? : N/A

:!: ** ChangeLog:

Code: Select all

23rd Jan 2013:
-----------------------------------------
- First Release Build (.367)
- Updated Icons and general style
- Auto detects non-original FTL files in .dat's (modded files shown in red)
- Tree auto expanded


:arrow: Download: Link 1 Link2

:arrow: Lib-Download datLib.java
~ This is a java class feel free to use it with your code, to work directly with files in .dat's,
~ just make sure to save changes everytime you add/remove/edit a file.

~ Self-executing .jar run it like a .exe / .app ... aka double click ~
** Please note tany bugs feedback etc.. bug me in IRC **
Last edited by KuroSaru on Wed Feb 20, 2013 10:47 pm, edited 8 times in total.
[Tool] FTL-Dat ~ Win/OSX/Nix Supported.
Current WIP: FTL Engine - JAVA Implementation | FTL-Dat
User avatar
Kieve
Posts: 952
Joined: Tue Sep 18, 2012 2:21 pm

Re: [Tool] FTL Dat Manager - (WinZip style GUI)

Postby Kieve » Sat Jan 19, 2013 6:37 pm

This isn't getting nearly enough recognition, I don't think. For people having issues with FTLDat, I can see it being very handy and far simpler to use.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: [Tool] FTL Dat Manager - (WinZip style GUI)

Postby Vhati » Mon Jan 21, 2013 1:51 pm

A SwingX JXTreeTable might be useful here (I've never tried it), for dates, md5's and such.

Image

http://stackoverflow.com/questions/7217 ... e-of-jtree
http://www.ibm.com/developerworks/java/ ... tml#N100D4

- - -

Another idea: a configurable list with hashes of known standard files (from various FTL versions) could be used to highlight customizations (files not on that list).
KuroSaru
Posts: 21
Joined: Sun Jan 06, 2013 2:36 pm

Re: [Tool] FTL Dat Manager - (WinZip style GUI)

Postby KuroSaru » Tue Jan 22, 2013 11:04 am

I like the idea of the md5 hash and yeah JXTreeTable would be useful if there was any dates sorted, but just highlighting modified files is a great idea.

Edit:: FTL Dat Manager updated, now will MD5 hash files and display any that are not recognized as original files.
[Tool] FTL-Dat ~ Win/OSX/Nix Supported.
Current WIP: FTL Engine - JAVA Implementation | FTL-Dat
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: [Tool] FTL Dat Manager - (ReleaseBuild 367)

Postby Vhati » Sun Feb 17, 2013 4:58 am

Would you mind sharing your source?
Or at least the md5 lists you collected?

Other projects may find that useful.
KuroSaru
Posts: 21
Joined: Sun Jan 06, 2013 2:36 pm

Re: [Tool] FTL Dat Manager - (ReleaseBuild 367)

Postby KuroSaru » Wed Feb 20, 2013 10:43 pm

The calls responsible for editing and reading the .dat files ive packaged up into a single .jar, ive updated the main post with a link to this file it include the md5 hashes as well.
[Tool] FTL-Dat ~ Win/OSX/Nix Supported.
Current WIP: FTL Engine - JAVA Implementation | FTL-Dat
mcbmaestro
Posts: 7
Joined: Fri Feb 22, 2013 7:04 pm

Re: [Tool] FTL Dat Manager - (ReleaseBuild 367)

Postby mcbmaestro » Fri Feb 22, 2013 7:11 pm

I've been pulling my hair out over trying to do that python script, not trusting the .exe, thank god for this alternative.. Well done. Can't wait to give this a try. :)

*Update* - it worked well for a while using the no rebels change in the events.xml but now it seems to have the repacking error after i click save and try to run the game :( the only advice i found was use the one that keeps telling me there's viruses and i don't get why they can't release a version that doesn't do that >:(

..ended up just getting ftldat and works. Shame this couldnt repack right, it's nice.
KuroSaru
Posts: 21
Joined: Sun Jan 06, 2013 2:36 pm

Re: [Tool] FTL Dat Manager - (ReleaseBuild 367)

Postby KuroSaru » Sat Mar 02, 2013 8:36 pm

mcbmaestro, not sure its a repacking issue more a usage issue.

if you could give me steps by steps what you did. maybe i can repeat and fix it.
[Tool] FTL-Dat ~ Win/OSX/Nix Supported.
Current WIP: FTL Engine - JAVA Implementation | FTL-Dat
Kit
Posts: 17
Joined: Wed Jun 12, 2013 12:14 pm

Re: [Tool] FTL Dat Manager - (ReleaseBuild 367)

Postby Kit » Sun Jun 16, 2013 1:06 am

I just wanted to say thank you, KuroSaru. This tool works amazingly for me. After spending hours wrestling with ftldat only to have it not work at all, this ended up being a real boon to my mod development.

This tool really does deserve more recognition.
Image
UNIT
Posts: 3
Joined: Mon Jul 22, 2013 9:01 pm

Re: [Tool] FTL Dat Manager - (ReleaseBuild 367)

Postby UNIT » Mon Jul 22, 2013 9:05 pm

Hey, I tried both this and FTLdat but neither work.
This one opens up fine and I can add files, but when I add my custom Rebel stopper test, it doesn't add it. It's hard to explain.

When I press add, I add the custom file. I click save. I test the game, but no change.
If I export the file (Which I just replaced with my file) It turns out it hasn't changed at all! :evil:
This is really annoying because ftldat doesn't work at all and this is my only hope of getting this to work.

Quick edit: Turns out it was adding the file, but not into the same folder as the original events.xml.
I try to add it and replace events.xml even to the point where I delete the original and add my one but it still doesn't add it to the correct folder.
Another edit: I managed to delete and replace the original with mine, but now FTL just makes an error sound (with the actual error message buried underneath it somewhere, I managed to see it for a second) but doesn't work.
Edit of another edit: Managed to print screen it before it died, here's a link; http://i.imgur.com/pqjgywM.png
Sorry about this mess, programs just break around me.