Hacking What's the best way to format text files for my CycloDS?

Harbinger of Cak

New Member
OP
Newbie
Joined
Aug 26, 2009
Messages
2
Trophies
0
XP
60
Country
United States
The reason this isn't in the Cyclo sub-forum is because the solution should apply to the text-reading function of all flashcarts. Primarily, I'm interested in the conversion of GameFAQs txt files.

First, I tried WrapIt, which I found here, but it kinda sucks. Words get cut off and returns are only added, not removed, resulting in something like this:
==================================
========

[space space space space space] Game: The Fina
l Quest of the Blonklonks

[space space space space space] Written by Writ
ely Writerton

===================================
========

First, go through the second door and take a righ
t.
Now go forward, etc, etc...

Irritating as hell to read with nearly every other line that way.

The functions needed just aren't there, such as:
- Left-align, achieved by deleting of two or more consecutive spaces on a single line that starts with a space or a few border characters (EG: ||, +, etc)
- Stripping single hard returns from paragraphs and replacing them where the new wrapping ends (EG: "righ?t.?Now, go..." becomes "right.?Now, go...")
- Reducing three or more hard returns to only two, saving space and helping readability
- Deleting remaining consecutive border characters (====) after the new wrapping instead of returning them to the next line
- Deleting enough leaders (EG: Room 1 . . . . . ED0) so each section ID fits on a single line, or just deleting the leaders altogether

WrapIt does have a format exemption feature (sandwich text between tildes to exempt it) for preserving tables/charts and a max line length specifier, but its other oversights render it a poor choice overall.

This website gets about the closest to what I want simply by having two features: deletion of extra spaces and max line length specifier WITHOUT cutting off words, as WrapIt so annoyingly does.

I also tried TextFormatterPlus, which couldn't do what I wanted at all. I'm currently checking out LiquidNinja's metapad, but I'm doubting it can do what I'm looking for.

Anyway, I figured maybe some of you guys stumbled upon a way to automate text reformatting, be it crude or no. What might you suggest?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    +1
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
    +1
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    +1
  • K3Nv2 @ K3Nv2:
    White fries hold up
    +1
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 sure you can
    The Real Jdbye @ The Real Jdbye: @K3Nv2 sure you can