fodev.net
FOnline Development => Share Your Work => Tools => Topic started by: Slowhand on July 26, 2016, 01:40:48 pm
-
LAST UPDATE:
You might need to hold ALT while pressing LEFT, RIGHT, etc. keys to switch frames, files. Added functionality to export whole folder, either single frame frm files or whole animations. In case of animations a new folder with original frm name will be created and all png's will be inside of it.
If you have newer Java installed, like 17+ the old ones may or may not run as single executable jars. Use newest version FEV_v1.6.jar available at project git hub page: https://github.com/Sasabmeg/FEV/blob/master/release/FEV_v1.6.jar .
**************************************************************************************
LAST UPDATE: Fixed single frame and animation exports functions. You can export single animations now.
LINK: https://drive.google.com/file/d/1Ixt2i2tXXmgODSj0f4YHoIWDomTdZQrX/view
HOW TO RUN: Open console where you downloaded and use the command: java -jar FEV_v1.3_exportfix.jar
Notes: You might need to install JRE on your PC before you can run it, got for latest or Java 8 if possible. ( Install Java (https://java.com/en/download/help/windows_manual_download.xml) )
**************************************************************************************
I'm working on a .frm viewer tool, to practice Java and I am curious if anyone has any wishes for features.
Other methods to run the software: You can recompile the code for your own system, and run it from there, use an eclipse version that support JavaFX. (Neon 4.6+)
To run that you will need to install Java (https://java.com/en/download/help/windows_manual_download.xml) on your PC.
Hotkeys:
- 1, 2, 3, 4, 5, 6 - Direction change.
- LEFT, RIGHT - Next/Prev frame in the folder. (Using filter)
- UP, DOWN - Next/Prev frame in animation.
- Mouse Scroll over image - Zoom in/out.
Features / TODO list:
- View
- Done. View, animate frames in fallout .frm format.
- Done. Fast iterate through a folder's frm files with buttons or hotkeys.
- Done. Filter the frm's filename in a folder to iterate through. F.e.: 'hfjmp*.frm' would iterate through the Human Female Vault Jump suited female frame files.
- Done. Zoom in/out
- Done. Show/Hide image background.
- Separate tab page? for thumbnail view of frm's available, filtered by the file mask.
- Set toggle for the animations/frames to show at a fixed coordinate translated by the offset read from the header/frames so people can use that to check correctness of their imports.
IDC. Animations and single frames, shall use the custom palette if that exists along the files (they should have the same name with .pal extension) or load custom palettes.
- Edit
- Soon. Be able to edit the current frames parameters and save the frame.
- Export
- Done. Exporting the current frame to .bmp / .gif / .png
- Done. Exporting the palette file, to provide the possible colors to be used later for editing.(256 x 256 pixel, total 256 colors, each color is 16 x 16 square)
IDC. Export the color file in the fallout palette format.- Done. Exporting the whole animation with one or all directions to a folder
- Import
- Import images files with or without palettes into frms, while being able to edit the offset coordinates for each frame.
- 3D Models
- Don't expect this yet, maybe in the far future.
- FRM formats
- Done. Works with F1 and F2 frame files as long as they don't use a custom palette. Fallout Tactics file formats are totally different and out of scope for this viewer.
- Make it compatible with the fofrm format used in FOnline engine.
- Other tasks
- Done. The source code will be shared and patented with a license (I don't believe in licensing at this point but who knows), that allow for everyone to do whatever they want with it. Still must find the proper patent for that, I think it will be one of copy left or copy center licenses.
- Known bugs or issues
- IDC. Zooming with fast resize might fuck up on slower systems, resulting in the zoomed image to not fit into the paint area and overlap on other frames.
Notes:
- Henry asked for a thumb view.
- fonliner asked for a function to export frm files to list of images.
- Balthasar asked for a feature to convert frm's to "normal" image files. I had this in mind already, and will do this definitely. I think I will also add an option to make the palette file, for those who want to edit/copy modify these images, to have the colors they can use. Not sure about the other way around though, from gif's to frm. that would be a frm editor not a simple viewer.
- Core asked for the editing of images as well, and promised to manipulate some frames if I make it, so I will probably give it a shot. My idea is descriped at the export/import feature list.
- Kompresor asked for a 32 bit executable.
- Frankenstone asked for a functionality to animate certain sceneries like barrels, has something to do with colorcycle (http://falloutmods.wikia.com/wiki/Pal_animations#Animated_colors)
Samples:
(http://funkyimg.com/i/2eWC8.png) (http://funkyimg.com/view/2eWC8)
-
Filtering name files +1. I hate opening files in frm viewer.
Dunno what more you can add, maybe option which makes separate folders for every unpacked frm files, ex. load 10 frm files -> unpack -> 10 folders created, every includes unpacked *.gifs with frm.
-
Hi Slowhand,
some feature to convert from .frm to .gif / .png or .bmp and vice versa would be nice.
Greets B.
-
showing animated frms propperly, maybe make them even editable since some rgb colors from original fallout are hardcoded with some colorcycle to let some stuff look like animated e.g. fire in barrel , goo etc. with other editors u always get white or blank pixels from those hardcoded colors and u cant tell which pixel is what rgb color.
http://www.nma-fallout.com/threads/cycling-colors-frm-editor.195375/
i think fonline does handle this thing the same way, even tho im unsure if it reads the rgb values from the exe, but still it would be nice to have a frm viewer who will show even the animated (cycled) pixels propperly.
-
Looks good so far :)
Source coming up soon.. (not that anyone cares for Java code)
I do :).
-
showing animated frms propperly, maybe make them even editable since some rgb colors from original fallout are hardcoded with some colorcycle to let some stuff look like animated e.g. fire in barrel , goo etc. with other editors u always get white or blank pixels from those hardcoded colors and u cant tell which pixel is what rgb color.
http://www.nma-fallout.com/threads/cycling-colors-frm-editor.195375/
i think fonline does handle this thing the same way, even tho im unsure if it reads the rgb values from the exe, but still it would be nice to have a frm viewer who will show even the animated (cycled) pixels propperly.
Point to frm file in the original fallout dat or fonline engine that has this problem and I will check if I can solve it. So far I have not encountered such problems. Currently it cannot show frames with custom palette files properly, but working on it, however these frames are not animated, just loading/end screen pictures.
-
just try to load the barrel with the animated fire for example...
-
Point to frm file in the original fallout dat or fonline engine that has this problem and I will check if I can solve it.
This? /art/scenery/barrel.frm - Does not have any animation, single frame only, there is nothing to do about that.
-
This? /art/scenery/barrel.frm - Does not have any animation, single frame only, there is nothing to do about that.
maaaan u didnt understand , colorcycle , look at empty space ... can u make it showable ? all u need is animated color indexes so it could show first color from pixel from cycle , i think the values are somewhere written down on fallout wikia by team fife w.e. ... otherwise frm browser wont do anything new which others cant do :p
(http://image.prntscr.com/image/51e0ec87398a4d8d93a4deb0c5711f5d.png)
-
... otherwise frm browser wont do anything new which others cant do :p
I got no trouble with that, I didn't even check out other frm browsers :P however I will look into this animated barrel thing, as I did not find any animated barrels in the dat files so far. If it can be solved easily I'll do it, else, I'll move on to more useful features, like editing and creating frm files.
-
Barrel animation is made with color cycling (https://en.wikipedia.org/wiki/Color_cycling) technique.
Some colors in Fallout palette are hardcoded (that's why they appear white, because they are not in the PAL file).
http://falloutmods.wikia.com/wiki/Pal_animations
These colors are used to make simple animations like fire, waves etc. Let's say we have a pixel with color index 229, the next frame it's changed to color 230, then 231, then 232 and then 229 again.
So you would have to generate all necessary frames yourself.
-
Barrel animation is made with color cycling (https://en.wikipedia.org/wiki/Color_cycling) technique.
Some colors in Fallout palette are hardcoded (that's why they appear white, because they are not in the PAL file).
http://falloutmods.wikia.com/wiki/Pal_animations
These colors are used to make simple animations like fire, waves etc. Let's say we have a pixel with color index 229, the next frame it's changed to color 230, then 231, then 232 and then 229 again.
So you would have to generate all necessary frames yourself.
Color cycling is done. Not perfect, but should do the trick. I don't find it very useful, but hey, wasn't hard.
Next step will adding support for fofrm files, so it can live up to it's name. Then importing from images and creating frames with offsets, etc.
-
when 32 bit version?
-
when 32 bit version?
Oh, lol, I totally forgot about that... I'll check what I can do.
edit: Looks it will have to a wait a few weeks, till I can release a 32 bit Windows exe, since I won't work on it next week at all.
-
Very nice.
-
Pretty handy tool. Nice work!
Could you update the links please? They're not working anymore.
Thanks and greets,
B.
-
Really interesting and helpful tool :)
-
The FileDropper download links are dead sadly, although the source is available it might be nice to have the compiled files available.
If someone can put up new link(s), I'll put it in our filemirror here on fodev.net
-
Hey,
I will try to do this, this week.
-
The FileDropper download links are dead sadly, although the source is available it might be nice to have the compiled files available.
If someone can put up new link(s), I'll put it in our filemirror here on fodev.net
Try this google drive link: https://drive.google.com/file/d/0B_zoHqoYCStWZGpCLXpWVEVDWFU/view?usp=sharing
Can you please try to run it before you share, this is the java runnable version, basically a .jar that should work on any operating system as long as JRE is installed. (Might be better to redistribute it like this, since on Win64 couldn't make 32 executable format, nor Linux.) It works for me, but dev machine testing is never good.
-
Try this google drive link: https://drive.google.com/file/d/0B_zoHqoYCStWZGpCLXpWVEVDWFU/view?usp=sharing
Can you please try to run it before you share, this is the java runnable version, basically a .jar that should work on any operating system as long as JRE is installed. (Might be better to redistribute it like this, since on Win64 couldn't make 32 executable format, nor Linux.) It works for me, but dev machine testing is never good.
Thanks, I tested it with Java 8 64-bit, Update 131 on Windows 7, worked fine!
-
Okay, then please share with the community on your own device as well, it's a very small file compared to the win64 bit installer which was almost 100MB. I wil probably not deploy any other version for windows users, as Java can be run on every modern operating system if it's installed.
-
Cant download , Google blocked it and says its a virus ?
http://prntscr.com/l3chsz
-
Did a fix for those who were interested in it (someone on discord asked about it), now you can export single frames, not just whole animations.
Attached new link to first post on top.
I cannot do much about virus alerts. The source to this release has not been update to git yet, but I will do it soonish then you can check for changes yourself.
-
Slowhand, thanks for this.
The first frame export thing wrongly sets the transparent pixels. It sets them as black instead of transparent when exporting to png.
oh, found a fixed version here: https://github.com/Sasabmeg/FEV/tree/master/release or maybe not.... damn... ye, not fixed.
Also the path directory is incorrectly saved.... Anyhow. maybe I'll find something better to edit them...
Wow, this is terrible. I've wasted hours trying to edit fucking trees
(https://i.imgur.com/AIpTPxo.png)
Trying to replace the green plus with a black square! Dudes! This requires fuuuuucking insane amount of pain! Is there an adequate editor that allows you to edit the fcking frm frames without casting it into different other formats???
Maybe there's a way for the client to consume gifs?
-
You got me confused there a bit, since it's been a while that I used my own tool.
1. Go and download: https://github.com/Sasabmeg/FEV/blob/master/release/FEV_v1.3_exportfix2.jar
2. Use jarfix to fix the autolaunch of jar files if you havent.
3. Double click FEV_v1.3_exportfix2.jar
4. Select file. (I used fallout.dat\art\scenery\tree11.frm)
5. Exp single frame
5.1 Before prev, make sure you did NOT select the checkbox "Image background"
6. Save the file where you want as .png format.
7. Use Infranview or Paint.NET or whatever editor/viewer you use that can handle transparency.
8. Get the following image in Paint.NET.
(https://i.imgur.com/PiGDRVz.png)
PS: I do not check this site daily, or rather have status open and I do not realize there are new posts. If something is urgent, or you feel like failing hard, you can contact me on discord.
-
Latest updates:
2023: FEV_v1.6.jar Added option to export whole folder. Note: Since 1.5 you might need to hold ALT while using LEFT/RIGHT keys to navigate.
2023: FEV_v1.5.jar Added a fix for Java 17+ version, there was a bug if one tried to run single executable javafx jars, they would generate error. You can run FEV_v1.5.jar at https://github.com/Sasabmeg/FEV/blob/master/release/FEV_v1.5.jar if you have more recent Java versions installed than the good old Java 8.
2022: FEV_v1.4.jarAdded a fix for Java 8 version.
-
Hi,
App is very good. Primarily used for FRMs.
I would ask you two things to improve (using of the) the app.
1) Put releases directly on the Github (latest one including optionally previous ones)
2) Put Main Menu bar (with File, Edit/Info, Options) etc in the Form (Frame) itself.
It would tell about the program and the author. Giving some general pointers how to use the app etc.
Regards.
-
1) Put releases directly on the Github (latest one including optionally previous ones)
Releases are directly available on GitHub, see release folder: https://github.com/Sasabmeg/FEV/tree/master/release
So are previous releases, fixes.
2) Put Main Menu bar (with File, Edit/Info, Options) etc in the Form (Frame) itself.
It would tell about the program and the author. Giving some general pointers how to use the app etc.
Atm busy with other FOnline stuff, but maybe I will add menu later.
How to use without reading fodev.net post would be good indeed.
Next changes if any, will be probably toward converting .fofrm files or folder with images into .frm files.
Thanks for feedback.