Unlimited Text File

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

Jun 24, 2010

Unlimited Text File by kiafazool at 12:20 AM (1,360 Views / 0 Likes) 18 replies

  1. kiafazool
    OP

    Member kiafazool GBAtemp Maniac

    Joined:
    Apr 21, 2010
    Messages:
    1,221
    Location:
    Canada
    Country:
    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

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    Does moonshell have a limit on the number of lines?
     
  3. kiafazool
    OP

    Member kiafazool GBAtemp Maniac

    Joined:
    Apr 21, 2010
    Messages:
    1,221
    Location:
    Canada
    Country:
    Canada
    i dont know
    i was using textds homebrew but that only supports up to 30k lines
     
  4. The Pi

    Member The Pi Lurker

    Joined:
    Mar 18, 2010
    Messages:
    1,638
    Location:
    Scotland
    Country:
    United Kingdom
    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

    Member kiafazool GBAtemp Maniac

    Joined:
    Apr 21, 2010
    Messages:
    1,221
    Location:
    Canada
    Country:
    Canada
    ill try that
    but thanks in advance for looking for a homebrew that i need
     
  6. DeltaBurnt

    Member DeltaBurnt I'm bored

    Joined:
    Feb 21, 2009
    Messages:
    3,353
    Location:
    Where intellect matters
    Country:
    United States
    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

    Member Stormwave GBAtemp Regular

    Joined:
    Apr 22, 2010
    Messages:
    223
    Country:
    United Kingdom
    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

    Member The Pi Lurker

    Joined:
    Mar 18, 2010
    Messages:
    1,638
    Location:
    Scotland
    Country:
    United Kingdom
    moonshell2 can read up to 131072 lines
     
  9. kiafazool
    OP

    Member kiafazool GBAtemp Maniac

    Joined:
    Apr 21, 2010
    Messages:
    1,221
    Location:
    Canada
    Country:
    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

    Member jurassicplayer Completionist Themer

    Joined:
    Mar 7, 2009
    Messages:
    4,280
    Location:
    Pantsuland
    Country:
    United States
    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

    Member kiafazool GBAtemp Maniac

    Joined:
    Apr 21, 2010
    Messages:
    1,221
    Location:
    Canada
    Country:
    Canada
    what y and x??

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

    Member Rydian Resident Furvert™

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

    Member kiafazool GBAtemp Maniac

    Joined:
    Apr 21, 2010
    Messages:
    1,221
    Location:
    Canada
    Country:
    Canada
    i didn't have time to even put moonshell on my ak2i
    ill try it soon

    thanks for everyones help
     
  14. The Pi

    Member The Pi Lurker

    Joined:
    Mar 18, 2010
    Messages:
    1,638
    Location:
    Scotland
    Country:
    United Kingdom
    and put it in to moonshell and I could read up to 131072.
     
  15. Stormwave

    Member Stormwave GBAtemp Regular

    Joined:
    Apr 22, 2010
    Messages:
    223
    Country:
    United Kingdom
    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

    Banned Overlord Nadrian Banned

    Joined:
    Jul 28, 2008
    Messages:
    6,671
    Location:
    Riviera
    Country:
    Belgium
    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

    Member The Pi Lurker

    Joined:
    Mar 18, 2010
    Messages:
    1,638
    Location:
    Scotland
    Country:
    United Kingdom
    In response to stormwave it's still 131072 lines
     
  18. Stormwave

    Member Stormwave GBAtemp Regular

    Joined:
    Apr 22, 2010
    Messages:
    223
    Country:
    United Kingdom
    Fair enough, thanks for informing me [​IMG]
     
  19. kiafazool
    OP

    Member kiafazool GBAtemp Maniac

    Joined:
    Apr 21, 2010
    Messages:
    1,221
    Location:
    Canada
    Country:
    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
     

Share This Page