Unlimited Text File

Discussion in 'NDS - Emulation and Homebrew' started by kiafazool, Jun 24, 2010.

  1. kiafazool
    OP

    kiafazool GBAtemp Maniac

    Member
    1,221
    0
    Apr 21, 2010
    Canada
    Canada
    hey guys
    can any one tell me a text viewer app/homebrew that works on the ak2i w/ akaio 1.7 that can read a txt file of up to 90k lines or more or better yet unlimited
    i want to be able to have a heartgold walkthrough on the move
    i have the walkthrough from this link but i have deleted the title and the updates to lower the number of lines
    the count starts from table of contents
     
  2. Rydian

    Rydian Resident Furvert™

    Member
    27,883
    8,103
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    Does moonshell have a limit on the number of lines?
     
  3. kiafazool
    OP

    kiafazool GBAtemp Maniac

    Member
    1,221
    0
    Apr 21, 2010
    Canada
    Canada
    i dont know
    i was using textds homebrew but that only supports up to 30k lines
     
  4. The Pi

    The Pi Lurker

    Member
    1,638
    67
    Mar 18, 2010
    Scotland
    You could break it up into kanto, johto and then the rest

    I'll check other homebrew to see if they can manage larger files.
     
  5. kiafazool
    OP

    kiafazool GBAtemp Maniac

    Member
    1,221
    0
    Apr 21, 2010
    Canada
    Canada
    ill try that
    but thanks in advance for looking for a homebrew that i need
     
  6. DeltaBurnt

    DeltaBurnt I'm bored

    Member
    3,353
    2
    Feb 21, 2009
    United States
    Where intellect matters
    Moonshell should work. I don't recall there being a limit, it just may need to load halfway through the reading of the file.
     
  7. Stormwave

    Stormwave GBAtemp Regular

    Member
    223
    2
    Apr 22, 2010
    The problem with unlimited is that it would have to stream the text file from your memory card. Whilst that would be fine for general viewing of the file, it would make searching larger files very slow, that is why TextDS stores the entire file in RAM. Of course, this is only in theory, I have never tested the real overheads of this method. I might test it out for TextDS3 and have an option to use streaming files with unlimited size and potentially slow searching, or fully cached files with limited size and very fast searching. Don't expect this update to come within the next couple of weeks though (busy with other things at the min).
     
  8. The Pi

    The Pi Lurker

    Member
    1,638
    67
    Mar 18, 2010
    Scotland
    moonshell2 can read up to 131072 lines
     
  9. kiafazool
    OP

    kiafazool GBAtemp Maniac

    Member
    1,221
    0
    Apr 21, 2010
    Canada
    Canada
    wow pi
    how did u get that number

    btw thanks soo much
    that helped alot

    does anyone know how to add moonshell to the first screen where it says microsd, and slot 2
    can u add another thing to it?
     
  10. jurassicplayer

    jurassicplayer Completionist Themer

    Member
    4,342
    478
    Mar 7, 2009
    United States
    Pantsuland
    The number is from the user manual thing...you can add it as your favorite by pressing Y and then X I think....
     
  11. kiafazool
    OP

    kiafazool GBAtemp Maniac

    Member
    1,221
    0
    Apr 21, 2010
    Canada
    Canada
    what y and x??

    while i wait for ur reply im going to add moonshell
     
  12. Rydian

    Rydian Resident Furvert™

    Member
    27,883
    8,103
    Feb 4, 2010
    United States
    Cave Entrance, Watching Cyan Write Letters
    Go to moonshell, press Y to access info about it, and then press X to make it a favorite.
     
  13. kiafazool
    OP

    kiafazool GBAtemp Maniac

    Member
    1,221
    0
    Apr 21, 2010
    Canada
    Canada
    i didn't have time to even put moonshell on my ak2i
    ill try it soon

    thanks for everyones help
     
  14. The Pi

    The Pi Lurker

    Member
    1,638
    67
    Mar 18, 2010
    Scotland
    and put it in to moonshell and I could read up to 131072.
     
  15. Stormwave

    Stormwave GBAtemp Regular

    Member
    223
    2
    Apr 22, 2010
    Hmm, that doesn't necessarily mean moonshell2 can open all text files and view 131072 lines. I'm not sure how the moonshell2 text viewer allocates memory, but if it has variable line lengths (line length up to a return character), then that number would decrease significantly when trying a text file with longer lines. Perhaps you could try making each line something like:

    Code:
    1abcdefg
    2abcdefg
    3abcdefg
    4abcdefg
    5abcdefg
    and see if it still views that many lines? I'm interested to know [​IMG]
     
  16. Overlord Nadrian

    Overlord Nadrian Banned

    Banned
    6,671
    10
    Jul 28, 2008
    Belgium
    Riviera
    Moonshell can read huge text files, but you can't edit the big ones. So, if the only thing you intend to do is read the guide, you can just put that on your µSD and open it with Moonshell's Text Viewer (or whatever it's called).
     
  17. The Pi

    The Pi Lurker

    Member
    1,638
    67
    Mar 18, 2010
    Scotland
    In response to stormwave it's still 131072 lines
     
  18. Stormwave

    Stormwave GBAtemp Regular

    Member
    223
    2
    Apr 22, 2010
    Fair enough, thanks for informing me [​IMG]
     
  19. kiafazool
    OP

    kiafazool GBAtemp Maniac

    Member
    1,221
    0
    Apr 21, 2010
    Canada
    Canada
    wow thanks pi, stormwave, and overlord
    i just cant seem to be getting moonshell to work on my ak2i
    can u all please go to my other thread and help me out there

    helping me will be greatly appreciated