Results 1 to 10 of 10

Thread: How do I make my Bitmap string to 1-2 lines?

  1. #1
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default How do I make my Bitmap string to 1-2 lines?

    I remember there was a way to make a 100s of line of a bitmap string into 1-2 lines, can someone please help me here?

    -Cheers

  2. #2
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    CompressString? You have to inflate or deflate the string.. I know Simba uses ZLib compression to do this without data loss. Pretty sure I'm spot on though but you should wait for another response to confirm or maybe not?

    I'm sure simba has a compress string function as well.
    I am Ggzz..
    Hackintosher

  3. #3
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by ggzz View Post
    CompressString? You have to inflate or deflate the string.. I know Simba uses ZLib compression to do this without data loss. Pretty sure I'm spot on though but you should wait for another response to confirm or maybe not?

    I'm sure simba has a compress string function as well.
    Wouldn't you still have to paste the entire string into CompressString? I've never used it before but I've seen the parameters...

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    When using the bitmap string maker on simba uncheck the 'padr output' box. Then when you paste the sting into simba it will be one line.

  5. #5
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    When using the bitmap string maker on simba uncheck the 'padr output' box. Then when you paste the sting into simba it will be one line.
    Love you.

  6. #6
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    When using the bitmap string maker on simba uncheck the 'padr output' box. Then when you paste the sting into simba it will be one line.
    Are you fricking kidding me. That's what it does! Now I can get rid of ugly code.

    Thanks

  7. #7
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    When using the bitmap string maker on simba uncheck the 'padr output' box. Then when you paste the sting into simba it will be one line.
    This. Or Dgby's method.

    Simba Code:
    Bitmap := BitmapFromString(w,h, DecompressString('v`  xœíš¯Ïâ0ÇwŽ„ä‚DNžD^Na.AÎ\‚DN]æx ’?9‰x’?ƒ?a’kh®ïC÷m×vïFžO23º¶ÏgO¿~ÿ]'~Šë‡¸þˆ+×·dþ¸Ÿ‰Ï?¾Ëë?wÁ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0½{9N‹Å"qc³ÙôÝGúò²Ûí] SM_^&“I˜A]×=õʝ¾¼Ìçò«Ó$MÓ¢(n·›½|UU³ÙL>’çyO½r§//"Î,ËŽÇ£û#‡ÃA¥LO½rçë{@a/ö‚a/ö‚a/ö‚a/ö‚a/ö‚±x‘ô—¶GãEÐ_Ô“×4ãˆÅË‹‡XH3ÛíVôoµZÅïÍx½\¯W{»L#ö’ç¹ìŸ)_ºL¦à뺺¶H\c‡ à³BÊr¹”÷EëðA‘ž   "xýòî}*DœëõZ @¤¡))Š¢P÷Å mVH‡¶†Éc{˜ÞXÃvIx'E%…ö¬ÊP1ßó,ƒ¦iêõEêS˜ÞXÃV1›^”ãï'Ž-Ò!–˜‡v ~^ìé@c†    '/ŸŠ“ €:a6ãçÅž0f
    µ /ËÒ× VâJ¹ûzQ‘Ãt0Å,¡a4ʼnL¤?×ÂjµòtZ‘Ó¶W,vü¼8¢æ§4 ÓtHŝN§æMZV”¯Xìxx±ït탈N–ÙQ•¹#ï4·‘šõÃfõ´íáÅ´ÓÕö#Í\pŸèû—w´m¤&EÖFÕ¸‡cÇ£"ÓN—îG`²P(èͳ—f†Â¨ªª¯ôÛ/Pù‚*u¡yÑ2Ô’wò¢íÐLksë96![Ñ2ÔRÕ ¼@Z7r.›QÍ‹*¥*U2Ö‚ÁËt:Ýï÷¦§ä¤èx~S3¨,¯y±¿J÷…)N¾Xö^„…Ó²¼æ…®;v‚ÑŸÁz}
    î¥èº î[²·(*µJérŒþl:¸—íÆU[|
    ]½4ßaÌ΍׋„î¬"žßFïåNTÄóÛ8¼¨È/—KóÓ¸ÿ¦Ô6Ý+ôÅ£Iõ*RY–¸®xaÐ9«û¢€G çóYvTt×Ï‹šÎ£,ºDû^êî¹µ81½üÇ{°ÄôòNøEøN#ÅŽŸ—w)vÞD„Á^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0ìÃ^0É?#T¢‡'));
    Etc...that string is the string CompressString results.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  8. #8
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Wow lol....Should probably do this for my agility script as the paint takes up like 3k lines or something rofl.

  9. #9
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    The Padr just adds the plus signs so that it doesn't go offscreen.. the length of the string is the exact same unless you compressed it :S
    I am Ggzz..
    Hackintosher

  10. #10
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Yeah length is same, I think they just didn't want a zillion vertical lines of code uglying up their script.

    THE MORE YOU KNOW!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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