What does [this] file extension do? And how do I edit it?

Below is a list of all the file formats you are likely to come across verge, what they are, and what to do with them. Note graphics and sound have their own sections so click on the link for more details. For information on the specific files included within the verge engine release, see the Engine section of the main docs.

As verge can read from any file they like, game authors may give any data files all kinds of extensions. In general, if you find anything particularly exotic in a verge game you download, try to open it in a plain text viewer first, or if that fails try to find out more with a FILEex or just a straight google search.

  • .BMP - A type of image file. See the Graphics formats question.

  • .CFG - Information on the configuration of a program that determines how it runs. Can be opened in any plain text viewer, such as Notepad that comes with Windows. The 'verge.cfg' file is useful as it has various settings such as the resolution and sound mode for 'verge.exe' - see the section in the main docs for more information.

  • .CHR - A sprite created by you that contains all the animation frames, animation scripts, and other information they need to function properly. When you place an entity on a map, these are the files verge will use to display them. Take a look at the Chrmak5 tutorial for more information on how to create one.

  • .DLL - Contains extra code stuff for use by programs. You don't need to modify them. Most of the files included with the engine are for use with MapED3, to run a game the 'verge.exe' just needs the 'fmod.dll' in your game folder, it is used for sounds.

  • .DUMP - Some kind of compiled map stuff. You don't need to edit them yourself, so just try to ignore them.

  • .EXE - A program. Run it. The only one needed to play a verge game is 'verge.exe'.

  • .GIF - A type of image file. See the Graphics formats question.

  • .IT - A type of sound file. See the Sound formats question.

  • .JPG - A type of image file. See the Graphics formats question.

  • .LOG - A plain text record of a programs operation. Can be opened in any plain text viewer, such as Notepad that comes with Windows. The 'v3.log' file contains any information dumped by 'verge.exe' at runtime, generally for debugging purposes.

  • .MAK - Command line instructions for Chrmak5 to create a .CHR file. Can be opened in any plain text viewer, such as Notepad that comes with Windows.

  • .MAP - Map File. Created and edited with MapED3 (which you will need the.NET framework in order to run). Each map file needs a corresponding .VC file of the same name to go with it for map scripting events.

  • .MOD - A type of sound file. See the Sound formats question.

  • .MP3 - A type of sound file. See the Sound formats question.

  • .OGG - A type of sound file. See the Sound formats question.

  • .OXM - A type of sound file. See the Sound formats question.

  • .PNG - A type of image file. See the Graphics formats question.

  • .PCX - A type of image file. See the Graphics formats question.

  • .S3M - A type of sound file. See the Sound formats question.

  • .TGA - A type of image file. See the Graphics formats question.

  • .TXT - A file containing words or information that should make sense in raw form. Can be opened in any plain text viewer, such as Notepad that comes with Windows. The 'vcc_verbose.txt' file contains compile information and may be created when verge runs. People sometimes include a 'readme.txt' with information on how to play a game it comes with.

  • .VC - VergeC code, used to program how the game behaves. Can be opened in any plain text viewer, such as Notepad that comes with Windows. The most popular program for editing them, among vergers, is TextPad, which is a great program for coding in a variety of programming languages. Be sure to get the syntax definition file for pretty colours as well.

  • .VH - Also VergeC code. As you can #include a file with any extension at all, some game makers keep the C convention of putting definitions, structures and globals in header files, and use the different extension. You may come across .VD files. Don't worry, they aren't contagious. At least, not under normal uses.

  • .VPK - Verge Packfile. When a game is completely, all the files can be packed into these to clean up the game directory. Using pack files is an optional way of distributing the files for a verge game. You can hide all of the images, sounds, music and code in a pack file for organizational purposes, or to prevent others from viewing the source code, and using the resources from your game.

  • .VSP - A verge tileset, for use with MapED3 in making maps. Though the file type is created by MapED3, in general they a created as a kind of image file and then imported into the program.

  • .WAV - A type of sound file. See the Sound formats question.

  • .XM - A type of sound file. See the Sound formats question.

  • .XVC - This is just the .VC code of a game in compiled form. Some games may be distributed with only the 'system.xvc', and no code files at all. As long as the line "releasemode 1" is in the 'verge.cfg' file it should be fine.

Talkback

Post a new comment?

Talkback #3 written by creek23 on 2008-03-24.

Hacking VPK : How to retrieve resource files from a VPK VPK files are like TAR files (google to know what TAR is). It appends files together inside a single file. So, an uncompiled source codes like VC files are exposed to average tech people. Using Textpad, you can browse the source code from inside a VPK file. If you are determined enough, and have the knowledge of popular graphics formats, you can actually retrieve a PNG packed into a VPK. I can't tell you how determined I was ripping out the graphics from Ustor's Reaction game. :D

Talkback #2 written by Zip on 2004-12-17.

When the first verge game is distributed with movies, I'll tell you. For verge games all resources are external, at most packed into a .VPK file. Zip

Talkback #1 written by anonymous on 2004-12-17.

how can i edit it so i can take the movies out of the game and see them without the game?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.