The above video goes away if you are a member and logged in, so log in now!
|
| |
Would you like to get all the new info from PSX-Scene in your email each day?
| |
|
-
#1
uLaunchELF TextEditor utility problem..
uLaunchELF TextEditor utility problem.. –
10-13-2006,09:01 AM
I try to use the TextEditor from MISC section of uLE, but there are some limitations. How come I can't open a file with a size bigger than 75 KB, so tell me please what is the txt filesize limit for ule to open it quickly and not to get frozen??
Any solutions for quick opening of bigger txt files?? I'm talking about 300+ KB
-
10-13-2006,01:10 PM

Originally Posted by
Mister Impaler
I try to use the TextEditor from MISC section of uLE, but there are some limitations.
Of course there are. This editor is almost identical to quite early versions contributed by Polo, and there have been almost no feedback to motivate changes.
How come I can't open a file with a size bigger than 75 KB, so tell me please what is the txt filesize limit for ule to open it quickly and not to get frozen??
The editor works quite simply at present, reading the entire file into RAM, so RAM cost is one big factor. We haven't set any absolute limit though, so this will vary with other factors too.
Any solutions for quick opening of bigger txt files?? I'm talking about 300+ KB
Limitless files requires entirely different approaches, such as only keeping a small segment of any file in RAM at any time. At present I'm not working on any such code though, and I doubt if Polo is. But it could definitely be done.
This editor, in its present state, should be thought of mainly as a tool for manipulating existing configuration files of PS2 software, both for uLE and some other programs. But it's not really suitable as a general purpose word processor.
Best regards: dlanor
-
10-13-2006,04:50 PM
Hey. 
Here a line from editor.c, open( int Win) fonction :
Code:
if( TextSize[Win] && TextSize[Win] <= 512*1024 ){ // Limit Text Size To 512Kb???
So, text size limitation is clearly 512kb for each window.
You can open 10 windows at same time, and editor need 2 temp buffer.
So total used ram in worth case is 512kb x 12 = 6Mb.
We can easily increase size limition to 1Mb, if needed.
Best regards
Polo
-
10-13-2006,07:47 PM

Originally Posted by
Polo35
Hey.
Here a line from editor.c, open( int Win) fonction :
Code:
if( TextSize[Win] && TextSize[Win] <= 512*1024 ){ // Limit Text Size To 512Kb???
So, text size limitation is clearly 512kb for each window.
You can open 10 windows at same time, and editor need 2 temp buffer.
So total used ram in worth case is 512kb x 12 = 6Mb.
We can easily increase size limition to 1Mb, if needed.
When I said that we don't limit the size earlier, I meant that it is not the size limit we impose that effectively limits the size of files to be edited.
Any attempt to edit so large files will crash/freeze the console, and that is the real limitation... 
Best regards: dlanor
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|