The Daily Click ::. Forums ::. Klik Coding Help ::. INI limits?
 

Post Reply  Post Oekaki 
 

Posted By Message

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
17th July, 2007 at 16:15:11 -

INI has no File size limit, but I'm pretty sure it has another limit.

 
Service Unavailable

Deleted User
17th July, 2007 at 17:38:13 -

lol, using INI for replays IS very inefficient though!

Then we're super-lucky that's how the beta build handles the new record/play demo function!!

 

nim



Registered
  17/05/2002
Points
  7234
17th July, 2007 at 18:19:54 -

Why do you think using an INI is very inefficient for recording replays? Whether you're using INI or an array, you'll still have a crapload of data stored in a file somewhere. An array might be slightly smaller, but that's all. Attempting to record the values of every object 50 times a second was a pretty stupid decision. That was the inefficient part, I'd say.

I'm genuinely asking that question, not just trying to stir something up. If there's a better way to record sequential data then I'd love to hear about it.

 
//

Klowvisk



Registered
  15/07/2007
Points
  6
17th July, 2007 at 18:42:03 -

Server-side INI limitations:

filename limit:
106 characters (no need to include .INI or .IMI extension)

file size limit:
Unlimited, but text files get sluggish after they reach over 2MB

Take a look > http://www.ramraidersoftware.com/moo/api_mg_inis.html

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
18th July, 2007 at 09:58:26 -

I'll correct some common misconeptions here.

- Filenames can be as long as the file system allows you to. This also depends on how many subdirectories you are in. If you're in C: the limit is close to 256 characters (if I remember correctly).
- File sizes have the limit of the maximum file size of the file system. This is a few hundred gigabytes in Linux with ext3 formatted partitions, and I forgot what it was in NTFS (but I think it's a few dozens of gigabytes too).

EDIT: Nim, if you're dealing with lots of data, don't use groups and keys which take up pretty much in a file. Use bytes, which will be much more efficient in this case (only one or two characters of a file to put down a value, instead of a few for the group, then a line break, then some more for the id and value).

Image Edited by the Author.

 
Old member (~2004-2007).
   

Post Reply



 



Advertisement

Worth A Click