Is changing the file extension the same thing as converting?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Lightworker
Regular
Posts: 100
Joined: Sun Dec 13, 2015 2:06 pm
Projects: Detroit.exe
Skype: badthai
Contact:

Is changing the file extension the same thing as converting?

#1 Post by Lightworker » Wed Jan 13, 2016 8:02 pm

I converted a ton of WAV to OGGs, but I am just curious, if changing the file type is the same thing as converting... then why do people use converters anyway if they could just right click on a file and rename the filetype? :?

User avatar
Keinart
Regular
Posts: 132
Joined: Sun May 13, 2012 8:28 pm
Completed: One Thousand Lies
Projects: Lotus Reverie
Organization: Keinart Lobre
Tumblr: keinart
itch: keinart
Location: Spain
Contact:

Re: Is changing the file extension the same thing as convert

#2 Post by Keinart » Wed Jan 13, 2016 9:03 pm

It's not the same, you are just changing the name, but it will still be a wav, ogg or mp3 or whatever at the end.

User avatar
Zetsubou
Veteran
Posts: 490
Joined: Wed Mar 05, 2014 1:00 am
Completed: See my signature
Github: koroshiya
itch: zetsuboushita
Contact:

Re: Is changing the file extension the same thing as convert

#3 Post by Zetsubou » Wed Jan 13, 2016 9:04 pm

It is not the same thing.

For text formatted files, like source code files, "converting" can indeed be as simple as changing the extension.
In those cases, it depends on the format of the contents.
For example, a valid .py file may or may not also be a valid .rpy file.

For binary formats like WAV and OGG, you cannot convert between them by simply changing the expression.

If you need a more in-depth explanation of file formats and format-shifting, use a search engine. There's plenty of information on the subject, but this isn't the place to find it.
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails

Working on:
Circadian Loop, My Heart Grows Fonder + VN writing commissions

Image

Lightworker
Regular
Posts: 100
Joined: Sun Dec 13, 2015 2:06 pm
Projects: Detroit.exe
Skype: badthai
Contact:

Re: Is changing the file extension the same thing as convert

#4 Post by Lightworker » Wed Feb 17, 2016 4:10 pm

Thanks!

User avatar
Shakezula
Regular
Posts: 67
Joined: Wed May 20, 2015 8:01 pm
Organization: Digital Sandbox
Contact:

Re: Is changing the file extension the same thing as convert

#5 Post by Shakezula » Fri Feb 19, 2016 5:03 pm

The extension itself just tells your computer what type of file it is, and therefore what program to use to open it.

As text files are mostly the same - just bits of characters and spaces, the file extension is merely a decorator.

audio files are different, and the bits inside vary based on the encoding, compression, and meta tags.

you can convert your files to .ogg online using this website however: http://audio.online-convert.com/convert-to-ogg

Post Reply

Who is online

Users browsing this forum: No registered users