April 20, 2021

GameMaker 8 – Rini DLL – Faster than GM ini Functions

Get Element Earth ▶
Support This Channel ▶

Follow me on Facebook ▶
Follow me on Instagram ▶
Follow me on Twitter ▶
Follow me on Google+ ▶

In this tutorial I’ll show you how to use .ini files to store data. Not using Game Maker’s built-in functions, but rather a clever DLL that’s not only up to 10x faster but also has alternate path support so that you can access and store .ini files wherever you want. In this case I’ve put together a mock register and log-in system that one might find in an MMO game.

Very special thanks to Revel for making this great dll.

▼ Useful Links and Resources ▼
GM 8 Project File ▶
You can find Revel’s dll forum page here ▶

▼ More ▼
General Game Maker Playlist ▶
Game Maker Networking ▶

Happy Coding 😀

Nguồn: https://ka-nom.com/

Xem thêm bài viết khác: https://ka-nom.com/game/

in Game
Related Posts

Frog and Toad Tricks You Need To Try!

July 8, 2020

July 8, 2020 40

Everyone loves topwater! Check out these tips on Toads and Soft Body Frogs to increase your catch rates today. The...

NFL Championship Weekend Picks and Predictions (Every Game on the Board- NFL Playoffs)

July 12, 2020

July 12, 2020 1

NFL Championship Weekend Picks and Predictions from Teddy Covers and Drew Martin as the Sportsmemo handicappers breakdown the weekend card....


July 8, 2020

July 8, 2020 11

***SUPPORT CHANNEL ON PATREON: You can support me on Patreon and get Full-time normal speed video, 4k wallpaper image, layered...

#Blaachat #Bloodland #Vitamin game #Incen#Khai thác tiền xu việt nam

July 8, 2020

July 8, 2020 6

Địa chỉ đăng ký thành viên Trang chủ Blaachat Địa chỉ khác Xin chào mọi người. Các bạn thân mến...

{Vitamin 3.60} How To Transfer Dumped Game Between PC & Vita Without FTP

July 8, 2020

July 8, 2020 29

Yes you heard it right. Someone called OhhShitLeak leaked Team Freeks Game Dumper called Vitamin. This means we will see...

NFL Finger Football Game

July 8, 2020

July 8, 2020 9

Prices subject to change. Please visit www.hsn.com or call 1-800-284-3100 for the current selling price. The old schoolhouse game of...

Gladiator Heroes – Sparta, Valor & Glory Android Gameplay

July 9, 2020

July 9, 2020 8

Let’s fight! Play in the best fighting game with valor and glory and enjoy Spartan Leonidas fighting for blood and...

Fire Ant Simulator Android Gameplay HD #4

July 7, 2020

July 7, 2020 5

Establish your ant colony, feed the Queen, find Worker and Soldier Ants, and go out in search of the bosses....


July 12, 2020

July 12, 2020 4

Download : Jangan Lupa Buat Follow Sosial Media Gua di : Instagram ► Twitter ► Facebook Page ► Steam ►...

TERA MOBILE | First Impressions | IS THE HYPE REAL?! Mobile MMORPG

July 10, 2020

July 10, 2020 22

Today I check out one of the most anticipated Mobile MMORPGS to hopefully come out later this year. A game...

TERA HERO Gameplay Android / iOS Mobile MMORPG Unreal Engine 4

July 9, 2020

July 9, 2020 14

TERA HERO (테라 히어로) Gameplay Video 1080p Ultra. TERA HERO by Red Sahara Studio Inc. is a mobile MMORPG on...

MINUSCULE Clips + Trailer (2016)

July 12, 2020

July 12, 2020 32

Watch the official MINUSCULE Clips + Trailer (2016). Let us know what you think in the comments below! MINUSCULE is...

Tera Hero Mobile – Siêu phẩm MMORPG Xứ Hàn Chính Thức Ra Mắt Android/IOS Với Đồ Họa Ấn Tượng

July 7, 2020

July 7, 2020 9

Tera Hero Mobile – Siêu phẩm MMORPG Xứ Hàn Chính Thức Ra Mắt Android/IOS Với Đồ Họa Ấn Tượng ||...


July 12, 2020

July 12, 2020 10

***SUPPORT CHANNEL ON PATREON: Support me on Patreon and get Full-time normal speed video, 4k wallpaper image, layered PSD file,...

Spider-Man & Friends (Vtech V.Smile, 2008) [Dutch V-Smile Game / Nederlands spel]

July 9, 2020

July 9, 2020

Longplay video of the dutch version of “Spider-Man and Friends: Secret Missions”, released in 2008 for the kids educational game...

  • can you make a tutorial to show how to combine this with the .ini files encryter? by the way, cool tutorial, very usefull

  • I don't know if gamaker's ini functions do this but this one keeps crashing when reading large strings but not when writing them. Even when there is a large string anywhere in the ini file it crashes. The only workaround I've come up with is to break the string into several Keys though a bit difficult when writing data structures….

  • I got a question, where can I find my files created based after I registered a new account in game maker?

  • THX a bunch, helped out a lot. Is it ok if I credit you as SlasherXGAMES for this? by the way. One glitch in this function, it will ignore strings with a . in them. It will just take the default value, something I discovered trying to integrate this function with my auto updater. Also, this function is hella fast, I can now finally make a custom save system with ini files!

  • Check out my tutorial on rotating character towards mouse.
    In the object you want facing something:
    Just replace image_angle = point_direction(x, y, mouse_x, mouse_y);
    image_angle = point_direction(x, y, x co-ord of facing object, y co-ord of facing object);

  • b) I read somewhere that unless a dll uses GMAPI (which gives a dll direct access to many resources from Game Maker), calling the dll function has large overhead, so the speed increase isn't guaranteed. If you really want to query its performance and whether it utilises GMAPI then give Revel a shout and ask him about it. You can get to him via his Rini dll page on the YoYo Games Community forum.

  • a) I'm glad you picked up on this. When coding a MMO engine using one of the popular dlls, one should have the client disconnected from the game world as soon as the server stops receiving information from him. If the server-side player obj to the specific client is allocated a variable that contains the username of the client then during the server-client disconnection it could quickly open up the user's profile and edit it as such. I have not implemented this personally but it seems possible.

  • Nice videos, thank you for these!
    2 Questions:
    a)with the login/logout thing, how do you handle events like the game crashing or the the user force quitting so there's not proper logging out?

    b) when do you think the performance advantages of rini actually exceed the overhead of calling the dll? I'm making a game with procedural level elements and want to record their sequence each time it's played (for balancing and debugging purposes). My approach would be to add letters to a string…

  • I could just send you a PM with the specifics.
    Basically you'd have buttons in a main menu for level selection and use a global variable for the score. This score is saved every time the user quits the game via an .ini file as described in this tut.
    Your level select room would open this .ini file and check the score each time this room is visited. If the score read from the file is favourable then the image representing level 2 is unlocked. The PM I'll send you will go into greater detail.

  • please can u do a tutorial about this

    if score >=

    what ever

    then unlocked the next level and change the first level picture to another one

    and save the score

    sorry but i got confused about how to do it

    again i need a tutorial about levels

    if the 1st level score bigger or what ever then unlocked net level if not do something els

    please can u help me am stack ]; subs

  • Don't forget rini_init(); before you use the dll everytime.
    Then to read:
    rini_init();//first initialise the dll
    file = rini_open(working_directory + 'ProfilesPlayer ' + global.name + '.ini');//so put the destination of the .ini file here.
    AVariableIWantReadInto = rini_read_string(file, 'PROFILE', 'Status', 'offline');//file being the location stipulated above, then SECTION from where to read, then KEY from where to read, and lastly default value if non-existent.
    rini_close();//close ini file.

  • It's really simple.
    file = rini_open(working_directory + 'ProfilesPlayer ' + name + '.ini');//here is where you tell the dll where the file is. In this case, the ini file with the player's profile is located in a subdirectory called "Profiles".
    rini_write_string(file, 'PROFILE', 'Username', name);//the location we've set to the variable "file", then there's SECTION, then there's KEY, then there's the value you want written.
    //Then you close it.
    rini_close();//close ini file.

  • As long as you provide the location for the .ini file. Remember this dll does have the ability to use .ini files in locations other than the working directory.

    file = rini_open(working_directory + 'A Folder NameAnother Folder Namefile.ini');//this is where you'd stipulate the directory where the ini file can be found.

  • seriously i've been watching this over and over again, can you please make a more simple version, all i want to do is have the ini file in a different folder than the game file and then to be able to change a variable by reading it

Leave a Reply

Your email address will not be published. Required fields are marked *