Skip to content
Forum Archive

GVM tools again...

33 posts

jheriko#

GVM tools again...

Here is a much more powerful image to gvm file converter for those who are interested. That's mainly PAK-9 I guess... but anyway:



Unlike the previous command line offerings it has a UI, a help file (although very simple) and supports some more practical file formats (.jpg, .png etc..). It also provides some compression options because the size of the .gvm files produced can be quite hefty (256x256 rgb -> ~6MB).

Complaints or bugs reports are welcome. There are likely to be things that I have missed since I only started this about 6 hours ago... but everything has been given the quick once over.

Enjoy!
jheriko#
Forgot about the example presets... replace test_zp.gvm in the 'Misc / Global Variable Manager' with the filename of a 256x256 sized image .gvm and it will render it for you. greyscale and color versions provided.

These are really basic just to show you that it does work.... if anyone gets stuck with anything... just complain here. 🙂
jheriko#
ffs

feel free to punish me for being a moron 😛
jheriko#
Originally posted by MaTTFURY
Think it'd hurt to do a quick linux port (please?) 🙂

Because Winamp works under Linux

Because AVS works under Linux

Because GVM works under Linux


Its a .net executable, in theory it could be altered to compile with mono or some such, but I wont do it for the three blindingly obvious reasons posted above...

and JaVS... get with the times, rar compresses better. get winrar or something. :P (have a zip anyway)

Also, thanks guys for informing me that it installed without the .exe :P (fixed below)

ASD5A#
a .gvm is nothing but a .txt file with a different extension and which can be used with the global variabel manager.ape
JFASI#
Then why does one convert a image to text??? Or is there some deep dark use to the var manager that I don't know about???
jheriko#
You can load from files into gmegabuf using the var manager. If you looked at the interface or read the help you might have noticed it...

You can use this for a lot of things... you just need to think of some 🙂
Grandchild#edited
MSCOREE.DLL is missing he says.
Dunno what i made wrong with so simple a program...
Running win ME, downloaded and installed all three dl's.
erm..... chrm, chrm, HELP!
jheriko#
Originally posted by Grandchild
MSCOREE.DLL is missing he says...
I should mention that it is dependent on the .net framework
hornet777#
yeah the original only had only 2 .CHM files (copies), but I didn't get back here until today; glad its resolved.

(I only make mistakes for the punishment)
Grandchild#
no i don't.

/me googles, searches, clicks on dl link...

Aaargh! 22mb! 1 n' a half hour dl time!

/me hit's 56k modem
Grandchild#
I've done [dled] it! works now.


a few things, Jheriko:

- for xdp the color value has a comma where a point should be: "assign(gmegabuf(0),,16);" instead of "assign(gmegabuf(0),.16);".

- "Options > Store as columns" isn't selected on clicking [at least not visibly in the menu].

- on appending the image to an existing file, the megabuf indizes just start with zero again. If it's possible it would be better to make them continue the count.

/edit: not sure about the last point, maybe I'm just doing sth wrong.

oooh and Jheriko, it felt soooooo good to play Stunts again! 😉 one of the best games ever! [haven't thought of it in a decade or so]
jheriko#
thanks grandchild

the comma is because .net is all localised and stuff... i apolgize for that. i will try to fix that asap, i need to look it up tho

grandchild, i could make it continue the count for appending... its just a fag to code... i will add it as an option maybe.

well spotted that the columns menu option doesnt work... i hadnt noticed that at all. i can fix that quickly, as the code for working with columns is there just the menu isnt coded for..

i did sort of rush this off a bit. i have to go take an exam in a bit, but i will fix these when i get back and stick up the new installer, i'm glad that this is possibly useful anyway..

i'm planning to write some avstrans texture lookup macros when i get back too.. so that its not a fag to do texture lookups, bilinear filtering etc.. hopefully some cubemap lookups as well 😉
Grandchild#
it will be very useful. it's funny, a week ago or so I had a preset idea were I needed exactly this sort of program. I already had me this far to think about doing it all by hand! 🙂
now this will take much less time, so thanks from my side!

to the append thing: since it's such "a fag" to code it, you could let the user set a number for the program to start the indizes with [not very handy, but easier to do i think]

GC
jheriko#


i didnt add the append thing yet. but the localisation problems and menu for column output should be fixed.

btw grandchild, offset is the number you are looking for. its next to the three command buttons.
Grandchild#
except for the fact that this darn tuggummi did the preset that I wanted to do in his awesome 20th pack... no.
🙁