Forum: Official UlaunchELF Forums - Discussion for the most unofficial build of launchELF!


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?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: uLaunchELF TextEditor utility problem..
  

Results 1 to 4 of 4
  1. #1 uLaunchELF TextEditor utility problem.. 
    Mister Impaler's Avatar
    Mister Impaler is offline Impalerator
    Join Date
    Apr 2006
    Posts
    60
    Downloads
    6
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    3
    Likes Received
    0
    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
    Reply With Quote  

  2. #2  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote 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
    Reply With Quote  

  3. #3  
    Polo35's Avatar
    Polo35 is offline Volatile member
    Join Date
    Mar 2006
    Location
    France
    Posts
    528
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    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
    Reply With Quote  

  4. #4  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote 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
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •