Capturing a game as avi or tga(s)

Was I dreaming or is there a mean (maybe a script) to capture a running game as a serie of tga images.

If not is there some mean to capture the action from some point of vue ?

Jean.

Yes there is a program that captures screen activities, but only if it’s in a smal window. Here’s the link to the program: http://www.rendersoftware.com/products/camstudio/

Thanks a lot !

That’ll do the trick.
:slight_smile:

I’d yet like to make sure that I didn’t dream :wink:

Jean

also you can do it in python:

import rasterizer
rasterizer.makeScreenshot(filename)

makeScreenshot saves a targa in the location you specify

and it only captures the game’s viewport, no blender ui to crop out

That I need to try.

Thanks !

Jean

You should try to search, or resources or tutorilas topic… before
you ask questions that have been asked a lot…

I did search, try for a good 20 minutes and had no success.
If you know anything then you know that I answer a lot of questions myself. I also write a lot of tutorials that are viewed by about 100 persons every day.
For once that I ask a question I think that I deserve better than your anal retentive reaction.

If you don’t want to help, don’t.
I don’t share your poor attitude.

Jean

IamInnocent: I did search, try for a good 20 minutes and had no success.

Guess where I found that link I gived to you? It was on the topic called: game developement tools. :smiley:
But I know where to find it, because it is asked very much. :stuck_out_tongue:

Do you regret answering ?

Jean

Er, what DID you try searching for. I found it in 30 seconds, type in what you’re looking for and try to be as general as possible, then you can narrow it down from there.

If you write tutorials then u can’t be stupid, but Did you ever think there
would be other programs than Blender that capture .avi-s?
Like CamStudio…

I found these with my search

https://blenderartists.org/forum/viewtopic.php?t=7217&highlight=tga

https://blenderartists.org/forum/viewtopic.php?t=8949&highlight=avi

https://blenderartists.org/forum/viewtopic.php?t=9137

I hope I didn’t insult u, but this thing that ‘don’t ask before U didn’t
find it on the forum’ has been said some times https://blenderartists.org/forum/viewtopic.php?t=689
oh and read this too https://blenderartists.org/forum/viewtopic.php?t=1223

Xintoc,

the question was :

"Was I dreaming or is there a mean (maybe a script) to capture a running game as a serie of tga images. "

not AVIs.

When JD-Multi came back with CamStudio I thanked him. Indeed I had found it and I even use it. That wasn’t what I was looking for but he made the effort and I was grateful.

z3r0 d came back with exactly what I was looking for : I didn’t want to make a difference and thanked him just the same.

Since then I’ve been preached nothing else.

If you are so good for searches do one on my nickname :
you will find out that I hardly asked 8-9 questions in almost 2 years.
If I got whereever I am in Blender I must have done one or two successfull searches wouldn’t you say ?
You will also find that I helped hundreds and that I’ve never counted my time.
You will find that I haven’t reached that number of posts hanging out in Off-topic.
You should see that I almost never come on this forum so it is hard for me to be aware of the FAQ here.

The irony of it all is that I was asking the question to help someone who doesn’t speak English and that I personnally had no use for that info.

Sorry to have caused such a fuss : I really needed the help and thought that I could get it for once I was asking.

Anyway. Just forget it. I will, just like a bad dream…

Jean

I hope that I could have this work out. But I don’t quite get it.

paste these 2 lines into the text file? and run the game?

I am also looking for shoot.zip, but if I could work out these 2 lines, I don’t need shoot.zip.

I hope that I could have this work out. But I don’t quite get it.

paste these 2 lines into the text file? and run the game?

I am also looking for shoot.zip, but if I could work out these 2 lines, I don’t need shoot.zip.[/quote]
http://home.earthlink.net/~nwinters99/BlenderStuff/saveAnim.blend

got this:

SyntaxError: invalid token

PYTHON SCRIPT ERROR:
File "<string>, line 3
directory=“c:\Documents and Settings”

you have to use a double backslash in the path

yes, I mentioned this
use \ instead of \ for directories in windows filenames
\ is the escape character, so using it allows such things as strings that contain newlines (
) double quotes (") tabs ( ) and more

and the file I have updated, it is more understandable (maybe) and a little better now

this is awesome!!

it works just like that.

Thank you so much!!

:smiley:

Have tried this with a bit more vetices scene, very slow. and skips frames.

it may not be a good idea at first place.

there’s a frame rate problem if you try to grab tga from ‘real time’.

it’s just not pratical.

One great use for this is the ability to quickly create rendered animations using the realtime engine. You wouldn’t have the graphical advantages of the render engine but you would have the advantage of the rendering speed being almost equal to the playback speed. You could then use really high-resolution meshes which would slow the realtime engine down no-end, but it would still be faster than the render engine. You would then simply use fmv-ed to play them back. :slight_smile:

Keith. 8)