Jump to content




[Discontinued] File Extension Mod


  • You cannot reply to this topic
8 replies to this topic

#1 inventor2514

  • Members
  • 63 posts

Posted 19 March 2012 - 11:56 PM

Description
This mod adds file extensions to ComputerCraft. The advantage of extensions is that types of files can be identified by programs so that they do not attempt to use files they are not designed for. Three file extensions are included: .lua for programs, .txt for text files, and .api for APIs. More extensions can be added using the file extension API (ext.api). The API also includes other functions that allow programs to manipulate file extensions:

Spoiler

Note that most non-core files must be renamed with an appropriate extension for them to work. If you define an extension for use with one of your programs, please post it on this thread so extensions can be standardized.

The mod can be downloaded with the link below; just press Ctrl+S.
https://docs.google....1SGdZSWxlR3M0QQ


Features
- Most core files were renamed to include an extension
- The os.loadAPI function requires a .api extension
- The run command always assumes an extension of .lua
- The edit command defaults to an extension of .lua
- The type command recognizes defined file extensions
- A file extension API and a corresponding help file were added


#2 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 21 March 2012 - 12:04 PM

i can see were dotsonface is coming from but i do think this makes cc pc's more realistic and if there more realistic then we can do more right?

#3 Robd

  • New Members
  • 32 posts

Posted 05 April 2012 - 02:19 AM

It's more of a simplicity than functionality mod in my opinnion. I think it'd really just be a matter of preference

#4 jcc10

  • New Members
  • 20 posts

Posted 15 July 2012 - 11:16 PM

Heay could you fix the download link... it broke

#5 inventor2514

  • Members
  • 63 posts

Posted 16 July 2012 - 12:12 AM

Sorry, I no longer have the files. I posted this a while ago but abandoned it due to the lack of community interest at the time.

#6 jcc10

  • New Members
  • 20 posts

Posted 16 July 2012 - 05:27 PM

aww... It helped so much when editing the files in Notepad++... Oh well...

#7 rex41043

  • Members
  • 88 posts

Posted 19 July 2012 - 07:14 PM

I wish this API was still running :P/>

#8 inventor2514

  • Members
  • 63 posts

Posted 19 July 2012 - 08:21 PM

View Postjcc10, on 16 July 2012 - 05:27 PM, said:

aww... It helped so much when editing the files in Notepad++... Oh well...

View Postrex41043, on 19 July 2012 - 07:14 PM, said:

I wish this API was still running :P/>

I've got some good new for you. I just recreated the API and posted it!
http://www.computerc...-extension-api/

#9 rex41043

  • Members
  • 88 posts

Posted 20 July 2012 - 09:01 AM

View Postinventor2514, on 19 July 2012 - 08:21 PM, said:

View Postjcc10, on 16 July 2012 - 05:27 PM, said:

aww... It helped so much when editing the files in Notepad++... Oh well...

View Postrex41043, on 19 July 2012 - 07:14 PM, said:

I wish this API was still running :)/>

I've got some good new for you. I just recreated the API and posted it!
http://www.computerc...-extension-api/
YAY thanx :P/>





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users