Hey, would anyone like to test this FRM viewer I made yesterday? (I realize things like this have already been made probably multiple times, but it was good practice for me.) I think the coloring might be slightly off (a bit darker than it should be?, I'm using color.pal).
Updated 23 July 2014
Spoiler: Show images
(http://i1093.photobucket.com/albums/i434/GanadoFO/frm_viewer_example.png)(http://i1093.photobucket.com/albums/i434/GanadoFO/frm_viewer_example2.png)
Features:
- Loading Fallout 1/2 FRMs, see Directions
- Drag and drop the images once loaded
- Press Delete to erase all loaded images (can't delete single sprites yet, sorry)
- Config file in data folder to adjust some values
- Soon: Ad-hoc script to automate loading
Most prominent item on the todo list is to be able to adjust the layers at which it draws each sprite.
Download:
(Windows) https://www.sendspace.com/file/3xhk1g (Wednesday, July 23, 2014)
src: https://github.com/Primagen/Fallout-FRM-Viewer
Directions:
After the main window opens and is active, press L, and you will be prompted at the console to type in the name of the .FRM you want to load. Type in the name of the file, not including the art directory or .frm extension. I know, the UI, or lack thereof, sucks :) Alt-tab between the two...
All FRMs should be in [directory of FRM_Viewer.exe]/art/ (I don't have anything fancy like loading from the master or critter.dat, it's just hardcoded to load from ./art ).
Updated some stuff. See original post.
Here's the ugly source, Jovanka :) Still no animation though.
https://github.com/Primagen/Fallout-FRM-Viewer
Edit: Have implemented some support for animation, in ImageManager.cpp. Right now it basically sets the first time frame as the pixel for the texture, ex Slime is 229-232, so it sets the corresponding color (229 -> (0, 108, 0), but doesn't actually animate.
Currently working on a way to automate the loading process so that you can call a sort-of "script" file that does it all at once
ex:
open box07
open box08
open rock01
open rock02
open rock03
open rock04
open rock05
open rock06
end
Now do that N times as N approaches a large number
(http://i1093.photobucket.com/albums/i434/GanadoFO/script1.png)
(http://i1093.photobucket.com/albums/i434/GanadoFO/desert_script.png)