Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Share Objects (http://www.alice.org/community/forumdisplay.php?f=8)
-   -   File I/O Tool (http://www.alice.org/community/showthread.php?t=6758)

Dj Tech42 08-24-2011 11:15 AM

Awesome!
 
[QUOTE=arty-fishL;41022]That's got me thinking

I'm working on an update right now.
It features:
- An OS module patch
- More functions for use with numbers
- A function that provides the user's home directory (So the stuff Dj Tech42 is talking about can be resolved automatically)
- A function that provides the Alice directory
- Some other features.[/QUOTE]

Cool! What file structure does Linux have? Windows is C:\folder\folder and Mac is /folder/folder. I am wondering because I have a Windows version and a Mac version of my flight simulator, but will one of the versions work on Linux, too?

Jabadahut50 08-24-2011 02:22 PM

[QUOTE=arty-fishL;41022]That's got me thinking

I'm working on an update right now.
It features:
- An OS module patch
- More functions for use with numbers
- A function that provides the user's home directory (So the stuff Dj Tech42 is talking about can be resolved automatically)
- A function that provides the Alice directory
- Some other features.[/QUOTE]

this would make the job of saving and loading so much easier and i could really use it. looking forward to next update now:p

arty-fishL 08-26-2011 10:30 AM

[QUOTE=Dj Tech42;41023]Cool! What file structure does Linux have? Windows is C:\folder\folder and Mac is /folder/folder. I am wondering because I have a Windows version and a Mac version of my flight simulator, but will one of the versions work on Linux, too?[/QUOTE]Not got a clue. :confused:

[QUOTE=Jabadahut50;41033]this would make the job of saving and loading so much easier and i could really use it. looking forward to next update now:p[/QUOTE]This is on hold because I'm wanting Addons out ASAP, then I can work on this again.

Jabadahut50 08-26-2011 03:28 PM

[QUOTE=arty-fishL;41069]Not got a clue. :confused:

This is on hold because I'm wanting Addons out ASAP, then I can work on this again.[/QUOTE]

NOOOOOOOOOOOOOO! Darnit i was hoping to be able to finish my game with the new version. oh well can't wait for eitehr soooooo. confuzzled happy unhappy explosive creeper troll awsome face! :confused:

arty-fishL 08-27-2011 08:55 AM

When using the IO Tool you can make it save to the Alice directory by setting the save path without a directory (ie "savedata.dat" only, without directory). But, I'm sorry - I am quite busy with Addons etc.

David B 08-27-2011 09:21 AM

[QUOTE=DensetsuNoKaboom;37494]My head is spinning, partly because Arty just made a new manly batch of awesome, but also partly because I don't know what to do with it.

Can you write new .txt files with it?[/QUOTE]

I know...I said already that it looks interesting, but at the same time, what's it for?

Dj Tech42 08-27-2011 02:16 PM

[QUOTE=arty-fishL;41098]When using the IO Tool you can make it save to the Alice directory by setting the save path without a directory (ie "savedata.dat" only, without directory). But, I'm sorry - I am quite busy with Addons etc.[/QUOTE]

Whoa, awesome! I didn't know about that! That should make the world work on any computer very easily. Thanks!

Dj Tech42 09-04-2011 09:15 PM

[QUOTE=David B;41101]I know...I said already that it looks interesting, but at the same time, what's it for?[/QUOTE]

It lets you save things from your world (like settings, what level you were on, achievements). You write text to a text file. Then, when the world runs, it loads from the text file and using if statements, you can have the world set variables to "restore its progress." So, it basically lets you save while the Alice world is running, which is AWESOME. :D

David B 09-04-2011 10:35 PM

Awesome!
 
[QUOTE=Dj Tech42;41312]It lets you save things from your world (like settings, what level you were on, achievements). You write text to a text file. Then, when the world runs, it loads from the text file and using if statements, you can have the world set variables to "restore its progress." So, it basically lets you save while the Alice world is running, which is AWESOME. :D[/QUOTE]

I am envious that I am not smart enough to figure out how to do that! That is awesome! [IMG]http://www.alice.org/community/images/icons/icon14.gif[/IMG]

arty-fishL 09-05-2011 01:32 PM

[QUOTE=David B;41320]I am envious that I am not smart enough to figure out how to do that! That is awesome! [IMG]http://www.alice.org/community/images/icons/icon14.gif[/IMG][/QUOTE]Yeh, its a file Input/Output tool for reading and writing files and performing file operations.


All times are GMT -5. The time now is 05:28 AM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.