Post tutorial Report RSS How to create a RoQ video-file

This is a little tutorial on how to create a RoQ video file for ID games like Quake 3 or Doom 3.

Posted by on - Basic Other

---CREATING RoQ FILES---

The RoQ file

For everyone working with an id-technology based game, the so called "RoQ" file is very important to bring rendered videos into the game to watch on screens (for the guis in Doom 3 e.g.) or for the intro when the game/mod is starting. But RoQ is not a real often used kind of format and it's hard, especially for beginners, to find out how to create such. Therefore here's a little, easy understandable tutorial on how to do so.

What do I need?

Before you can start you need at first the video itself and it must be an AVI-file. Second you need to download the "Quake video maker" which you can download right over here: Swift-tools.net
And for sure you need a game using the RoQ format to test, best examples are Quake 3, Doom 3 and basicly all current titles using the Id-Tech 4.

How to convert

If you got everything you simply first start the Quake video maker. And now do the exact same steps described below:


1: In the Quake video maker click on "Scene/Add"


2: Something in the name list will appear but that's not interesting for now. Next step is click on "Wizard...".


3: After that select the "Import from an animation file" field and if you've done with it, click on "Next Step..."


4: Then you need to click on "Browse..."


5: There you select the AVI file you wanna convert and open it. (Sorry for the sloppy open button, originally it doesn't look like that but because my os is not in english I kinda transfered it for a better understanding)


6: After opening you klick "Next Step" again and then finish. Now you're back in the main window and there is a button called "Scan frames" on the right, click it.


7: If you did this you'll see a little preview of your video file.


8: The next step is really important so follow it step by step. To let the program know when to start and when to end the video file you have to mark a start and an end point. To do so use the next frame or play button. In the frame window you'll see the current selected frame of the video. To make a start point select a frame and click "Mark Start". Do the same with the "Mark End" on the frame you wanna make the video gonna stop. You can select every frame you want, so it's possible to select the first frame and klick on "Mark Start" so don't get confused. Only make sure the start point isn't behind the end point. Ok if everything is done click on "Apply", it's important cause if you don't the movie won't be generated.


9: If this step is made click on "Movie/Settings...".


10: In the next window it's the best to increase the frames per second from 25 to 30. Also very important is to make it a 512x384, otherwise the converting process won't even start.


11: Now we're back in the main window. Click on "Movie/Generate" to finally generate your AVI as a RoQ file.


12: Now as filetype you need to select "RoQ Files" and enter the name of the video you wanna generate. Finally save it


13: Ok done so far. Now there's another window where you can change the quality, activate "Smoothing" or let the Quake movie maker do a "Brightness correction".


14: That's it. Now the movie is generating. But don't rush it'll take a while. For 32 seconds I had to convert about 5 to 10 minutes.

The RoQ file is done, what now?

Now you can implement it into any game supporting the format itself. Try to search the intro file of such a game and replace it with the file you made.

I hope I could help you out,

DaveTheFreak

Post comment Comments
dinky
dinky - - 146 comments

Nice tutorial. Great for use of real-time videos in a Doom 3 level; TV Screens and etc.

I've been looking forward to using the ROQ video maker for sometime.

Reply Good karma Bad karma+2 votes
TheHappyFriar
TheHappyFriar - - 518 comments

thanks dave! :)

Reply Good karma Bad karma+3 votes
Dafama2k7
Dafama2k7 - - 156 comments

Great, Thank you Dave !!! :)

Reply Good karma Bad karma+2 votes
leilei
leilei - - 5,721 comments

this program is retarded because I can't make 256x256 RoQs. :(

Reply Good karma Bad karma+1 vote
Chmaira
Chmaira - - 1 comments

Wow, you know you can tell us how to make a video... on how to make an animation video

Reply Good karma Bad karma+2 votes
MarcoZuccardi
MarcoZuccardi - - 97 comments

tanks

Reply Good karma Bad karma+1 vote
silverfang22
silverfang22 - - 425 comments

Something I found out, this program will only accept UNCOMPRESSED avi files.

Reply Good karma Bad karma+1 vote
Guest
Guest - - 687,512 comments

Wayne Download Link ??...

Reply Good karma Bad karma+1 vote
Guest
Guest - - 687,512 comments

How do you convert the ROQ file into a GUI so you can watch it on a monitor or tv?

Reply Good karma Bad karma+1 vote
Guest
Guest - - 687,512 comments

1) Uncompressed avi files only. VirtualDub can make your avi in uncompressed rgb format. For example, my ~150 seconds avi file (512x384) was about 3 GB, so make sure you have space for a very large uncompressed avi file.
2) soundtrack: if you going to add sounds for your ROQ file, make sure the sound file you are applying is mono (1 channel) and the rate is 22050 Hz. If it is 11K, it will be played 2x times faster in the game. If it is 44K, it will be played slower. Only 22K + mono WAV files.

I really don't get it: why there is no such important info in the instructions? Should have told people to use only 22K/mono wav files for sound effects and only uncompressed avi file...

Reply Good karma Bad karma+1 vote
Archetek
Archetek - - 1 comments

^ The sample rate does need to be 22k but it does not have to be mono. Many of those limitations you mention are part of QVM and not roq2 in general.

Do not waste your time with Quake Video Maker, the best route for me after many different paths attempted is by far: uncompressed avi > ffmpeg (using roq as the output format, at 30 FPS)

I've gotten some awesomely smooth videos in game, it's a really badass feature for such an old engine. Also 7th Guest was awesome :)

Reply Good karma Bad karma+1 vote
ZerTerO
ZerTerO - - 134 comments

Please create a new Tutorial with commandlines, link to roq2, etc... :)

Reply Good karma Bad karma+1 vote
Guest
Guest - - 687,512 comments

for anyone looking, found this on indiedb, seems to have worked, even if roq files are absurdly large

[indiedb domain]/tutorials/how-to-create-a-roq-file-by-wh1t34gl3-sas

I'd link the actual site, but guests can't post links and apparently they didn't whitelist their own sites

Reply Good karma Bad karma+1 vote
LithTechGuru
LithTechGuru - - 403 comments

I reuploaded Quake Video Maker here
Moddb.com

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: