fodev.net

FOnline Development => Share Your Work => Tools => Topic started by: Slowhand on July 26, 2016, 01:40:48 pm

Title: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Slowhand on July 26, 2016, 01:40:48 pm
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:

Features / TODO list:

Notes:

Samples:

(http://funkyimg.com/i/2eWC8.png) (http://funkyimg.com/view/2eWC8)
Title: Re: Slowhand's Fallout Frame Viewer - Features
Post by: fonliner on July 26, 2016, 03:52:29 pm
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.
Title: Re: Slowhand's Fallout Frame Viewer - Features
Post by: Balthasar on July 27, 2016, 06:04:08 pm
Hi Slowhand,

some feature to convert from .frm to .gif / .png or .bmp and vice versa would be nice.

Greets B.

Title: Re: Slowhand's Fallout Frame Viewer - Features
Post by: FrankenStone on July 29, 2016, 03:42:16 pm
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.
Title: Re: Slowhand's Fallout Frame Viewer - Features
Post by: Balthasar on July 30, 2016, 07:50:30 pm
Looks good so far :)


Source coming up soon.. (not that anyone cares for Java code)

I do :). 
Title: Re: Slowhand's Fallout Frame Viewer - Features
Post by: Slowhand on July 31, 2016, 02:55:35 pm
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.
Title: Re: Slowhand's Fallout Frame Viewer - Features
Post by: FrankenStone on August 01, 2016, 06:26:28 pm
just try to load the barrel with the animated fire for example...
Title: Re: Slowhand's Fallout Frame Viewer - Features
Post by: Slowhand on August 01, 2016, 07:02:27 pm
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.

Title: Re: Slowhand's Fallout Frame Viewer - Features
Post by: FrankenStone on August 02, 2016, 03:11:55 pm
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)
Title: Re: Slowhand's Fallout Frame Viewer - Features
Post by: Slowhand on August 02, 2016, 03:56:56 pm
... 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.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: JovankaB on August 02, 2016, 08:18:30 pm
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.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Slowhand on August 03, 2016, 02:19:04 pm
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.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: kompreSor on August 03, 2016, 03:41:34 pm
when 32 bit version?
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Slowhand on August 03, 2016, 04:36:22 pm
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.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Ganado on August 25, 2016, 05:44:00 pm
Very nice.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Balthasar on October 22, 2016, 09:13:32 am
Pretty handy tool. Nice work!

Could you update the links please? They're not working anymore.

Thanks and greets,

B.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: fonliner on October 26, 2016, 10:15:00 pm
Really interesting and helpful tool :)
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Ghosthack on March 18, 2017, 01:53:11 pm
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
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Slowhand on April 26, 2017, 05:05:57 pm
Hey,

I will try to do this, this week.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Slowhand on April 27, 2017, 04:12:37 pm
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.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Ghosthack on May 05, 2017, 05:54:10 pm
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!
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Slowhand on May 05, 2017, 07:09:54 pm
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.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: FrankenStone on October 08, 2018, 12:50:08 am
Cant download , Google blocked it and says its a virus ?

http://prntscr.com/l3chsz
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Slowhand on June 20, 2019, 04:19:44 pm
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.
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: cthulchu on May 04, 2020, 03:19:29 am
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?
Title: Re: FEV - FOnline (frm) Editor/Viewer - by Slowhand.
Post by: Slowhand on May 12, 2020, 04:02:26 am
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.