Giavapps File


 

Giavapps File

 
Giavapps File (developed and produced by Luigi PiscopoHe is the same developer of the Giavapps Windows API, Giavapps MIDI, Giavapps ProAudio, Giavapps CC and Giavapps 3D extensions for GameMaker: Studio!) provides a set of non-sandboxed and cross-platform File functions for GameMaker Studio and GameMaker Studio 2.

This Extension includes support for reading and writing Text Files and Buffersfile_bin_* functions are old, slow and deprecated: for binary reading and writing you should definitely use Buffers instead..

Giavapps File works exclusively on Windows and Mac OS X.
 

Key Features

  • Support for reading and writing Text Files with Unicode characters.
  • Support for loading and saving Buffers.
  • Support for Searching Files (Windows only).
  • Functions for Copying, Deleting and other common File functions.
  • Includes support for executing Shell Commands.
  • Well documented, inexpensive, easy to use, lightweight and cross-platform.

 

Documentation

 

Giavapps File

  • File (WindowsGiavappsFile.dll, Mac OS XGiavappsFile.dylib)
  • File Text (WindowsGiavappsFile.dll, Mac OS XGiavappsFile.dylib)
  • File Find (WindowsGiavappsFile.dll)
  • Buffer (WindowsGiavappsFile.dll
    GiavappsFile.gml
    , Mac OS XGiavappsFile.dylib
    GiavappsFile.gml
    )
  • Shell (WindowsGiavappsFile.dll, Mac OS XGiavappsFile.dylib)

 

Licensing

 

Giavapps File is available on GameMaker: Marketplace!

 

$1.99

$4.99

 

LIMITED PROMO!

74% OFF!

 


 

I am Luigi Piscopo, also known as DJ GiDeejay / Producer / Remixer in the music world. I am a Producer with a lot of experience in photo editing, video editing, audio editing, graphic design, web design, programming and promotion.

 

3 Responses to “Giavapps File”

  1. file write dosent work!
    //code
    gf_init();
    f = gf_file_text_open_write(“a.txt”);
    t = gf_file_text_write_line(f,”ok”);
    gf_file_text_close(f);

    //i cannot found a.txt

    • gamemaker studio 2-2.0.7.171

      • First you shouldn’t call gf_init(); since the extension does that already for you. Besides, there are some limits on the locations you can write files (this is probably why GameMaker Studio and GameMaker Studio 2 were sandboxed), and FileName argument doesn’t support Unicode characters at the moment (but you can write Unicode characters inside the text file!). Anyways you can test this script:

        ——————————————–
        //FILE TEXT WRITE

        var fname = working_directory+”test.txt”;

        var file = gf_file_text_open_write(fname);

        for(i=0;i<10;i++)
        {
        gf_file_text_write_line(file,"Test "+string(i));
        }

        gf_file_text_close(file);

        gf_shell_execute("explorer /select, \""+fname+"\"");

        --------------------------------------------

        I've just tested this script right now with GameMaker Studio 2 and it works for me.

        Greetings, Luigi.

Leave a Reply

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

*