Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / .cfg files compared to .txt files

Author
Message
Homey the Clown
21
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 24th Nov 2005 20:12
Does anyone know the difference to .cfg files and .txt files? I was looking at the roomwar source and he used .cfg files. But they seem to serve the same purpose as a .txt file. So can anyone clear up my understanding between the two as I'm wondering which one to use.

Thanks,
Flip998

"Wow, it's like a panda crapped a rainbow in my brain."
-Captain(Sealab 2021)
Intel Pentium 4 2.4Ghz processor,512MB Ram,GeForce4 MX 4000
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Nov 2005 20:21
Files like that can contain anything, therefore trying to discuss the difference between file extensions is pretty useless.

You can use text file for configuration data. You can use config files, or INI files, or DAT files or even EXE files...

Homey the Clown
21
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 24th Nov 2005 21:41
So really, there is no point or difference then, huh?

flip998

"Wow, it's like a panda crapped a rainbow in my brain."
-Captain(Sealab 2021)
Intel Pentium 4 2.4Ghz processor,512MB Ram,GeForce4 MX 4000
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Nov 2005 21:50
There is no point - an extension is just a label. Some extensions are "reserved" and so will be loaded by a given program, but most programs dont care about what extension is used for anything.

Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 24th Nov 2005 23:25
yeah, you can make your own file types for your games, I made .xbl files for my game, it's no different than a txt file, it just feels cool to make my own

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 25th Nov 2005 00:49
If you leave it as a .txt file people are more likely to open it up and look what's in there (same with .cfg really). If you use .dat most people won't even try to open it in a text editor.
Homey the Clown
21
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 25th Nov 2005 04:10
Wow, that sounds pretty cool and professional . On to the next topic b/c i really dont feel like setting up another thread. So, im going to be a little bit conservative. I'm wondering what is the difference between bones and limbs?

Thanks,
flip998

"Wow, it's like a panda crapped a rainbow in my brain."
-Captain(Sealab 2021)
Intel Pentium 4 2.4Ghz processor,512MB Ram,GeForce4 MX 4000
Bush Baby
20
Years of Service
User Offline
Joined: 23rd Apr 2005
Location: A cave beneath Jerusalem
Posted: 25th Nov 2005 15:49
Lol. Limbs are objects linked to other objects, for example an arm.
A bone has vertexes from limbs or a single mesh assigned to it, for animation purposes.

We will take over the world!
Let our reign begin, CHARGE BUSH BABIES!
Gamefreak
20
Years of Service
User Offline
Joined: 20th Jun 2004
Location: Cyberspace
Posted: 25th Nov 2005 17:06
Quote: "If you use .dat most people won't even try to open it in a text editor. "

...Now i wouldn't say that...
Homey the Clown
21
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 25th Nov 2005 18:05 Edited at: 25th Nov 2005 18:08
Any examples? I've been searching the forums and haven't got a clear idea. I think I know what your saying but I just want to make sure. If anyone has any examples or anything. I'm not saying to go out and start on an example. If you've found one that is good enough for me.

Besides, what kind of animation purposes?

edit: One more thing, can you make your own extension for .txt files? I wanted to make an extension called .fps but, it just shows
file.fps.txt.sooo... if you can, can you mention how?


thanks,
flip998

"Wow, it's like a panda crapped a rainbow in my brain."
-Captain(Sealab 2021)
Intel Pentium 4 2.4Ghz processor,512MB Ram,GeForce4 MX 4000
Darkbasic MADPSP
19
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 25th Nov 2005 18:21
you need soem commands like this code make's a .x file to.dbo


if you want use that as an out line just adjust the load bit

Dbmad C++ programmer
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 25th Nov 2005 19:16
no, lol, you're just trying to show off your converter to save it as a certain file do this:



and stuff, or, a more crude way:

open notepad, write in the file name, then make it save as any file, not just text, just make the filename something like, "Whaever.suk"

Bush Baby
20
Years of Service
User Offline
Joined: 23rd Apr 2005
Location: A cave beneath Jerusalem
Posted: 25th Nov 2005 22:02
Quote: "Besides, what kind of animation purposes?"

As in animating a 3D character or object.....

We will take over the world!
Let our reign begin, CHARGE BUSH BABIES!
Homey the Clown
21
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 25th Nov 2005 22:30
yah, well i mean you can animate with limbs... what's so different about bones?

as for the .txt file thing... it worked and that is freaking awesome!! It feels so professional (tears of joy)

thanks,
flip998

"Wow, it's like a panda crapped a rainbow in my brain."
-Captain(Sealab 2021)
Intel Pentium 4 2.4Ghz processor,512MB Ram,GeForce4 MX 4000
Kenjar
19
Years of Service
User Offline
Joined: 17th Jun 2005
Location: TGC
Posted: 25th Nov 2005 23:09
The primary advantage of the .cfg file extention is that it tells users what it is. Most decent PC users will know that a cfg file is a configuration file containing program setup information. The standard springs from dos games. It's the same from .txt documents, people who read the .txt extention know it's a document containing some kind of information, for instance a log, a read me file, licence or last minute release notes.


Run before you can walk, always raise the stakes higher, always keep moving, because you never know who's catching up.
Red Ocktober
21
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 26th Nov 2005 00:12
you're right MoldRat... bones anim is more realistic than moving a limb around...

--Mike
Homey the Clown
21
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 27th Nov 2005 00:42
Ohhh... So bones is basically skinning, like making an object walk without it looking like a robot(unless you want it that way). I see, oh yah i've heard anim8or doesnt export animations or dbpro cant load them or something like that. Well, I've had anim8or but i haven't experimented with bringing animations into dbp. Does anyone know the answer? I have a model rigged and everything(havent started making animations) and hoping it will come out alright.

Thanks,
flip998

"Wow, it's like a panda crapped a rainbow in my brain."
-Captain(Sealab 2021)
Intel Pentium 4 2.4Ghz processor,512MB Ram,GeForce4 MX 4000
Homey the Clown
21
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 27th Nov 2005 00:45
ooops sorry already found the answer:
http://forum.thegamecreators.com/?m=forum_view&t=65654&b=1

well is there anyway i can animate an object? I can convert it to and x file but are there any free animation programs before i invest in a real animating program?

thanks,
flip998

"Wow, it's like a panda crapped a rainbow in my brain."
-Captain(Sealab 2021)
Intel Pentium 4 2.4Ghz processor,512MB Ram,GeForce4 MX 4000
Bush Baby
20
Years of Service
User Offline
Joined: 23rd Apr 2005
Location: A cave beneath Jerusalem
Posted: 28th Nov 2005 02:30
Well if you want a cheaply priced, very good, low polygonal modeling programm that has a built in animator;
Get MilkShape3D
[href]wwww.milkshape3d.com[/href]

I don't know what kind of budget you run on, but it's only $25 which is one of the cheapest quality modellers I have found~~~

And note:
Bones isn't really a form of skinning..
skinning is a term commonly used by Q3 players when they change the texture to a .md3

We will take over the world!
Let our reign begin, CHARGE BUSH BABIES!
Homey the Clown
21
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 28th Nov 2005 04:04
ahhh... I've heard of milkshape 3d, just wasn't sure if there is anything else there before I look into other stuff(money involved). Skinning is the term used also in anim8or. Well, what matters is i know what it means and thats what counts. Has anyone heard of Gmax? I know thats a free modeler but im not sure if thats just for making models for other games(ie. quake 3, dungeon siege, unreal series).

thanks guys,
flip998

"Wow, it's like a panda crapped a rainbow in my brain."
-Captain(Sealab 2021)
Intel Pentium 4 2.4Ghz processor,512MB Ram,GeForce4 MX 4000
CTF Freak
19
Years of Service
User Offline
Joined: 27th Oct 2005
Location: In your base
Posted: 28th Nov 2005 05:05
I have gmax but I can't find a plugin to convert it to a file you
can use in darkbasic
I used it to make a halo ce map

Login to post a reply

Server time is: 2025-05-21 04:47:05
Your offset time is: 2025-05-21 04:47:05