Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BASFILE - Converts small files to BAS code.
#13
I have updated the BASFILE program once again - mainly to fix a conflict with the output code and this forum.  Now generated output can be safely posted on the forum without any errors (the posted code was breaking before because of the ' symbol in the encoded data).  

I've upgraded encoding method from Base64 to Base85 to make a smaller output code.  Although not the most efficient method out there, I decided to go with Base85 for this as it offers a good balance of space efficiency and decoding speed.   

Another change - BASFILE output now sets up the output code as a FUNCTION to call to decode the data and have it ready to go as a BASFILE$ string.  Having it set up this way makes it easier to incorporate encoded files to your programs, just insert the Function.

- Dav

EDIT:  Hmm.. looks like the forum QB tag still doesn't display encoded data correctly.  Not sure why, I'll have to ask @grymmjack for advice on that.  Still can post in the old CODE tag ok.  

Anyway, here's an example of what the new output looks like and can do.  Thanks to the new "memory" option in several QB64-PE functions now, loading a background image from code is easy.

Code: (Select All)
Screen _NewImage(1000, 650, 32)
Paper& = _LoadImage(BASFILE$, 32, "memory")
_PutImage (0, 0)-(_Width, _Height), Paper&


Function BASFILE$ ()
    'Returns decoded file as BASFILE$
    A$ = ""
    A$ = A$ + "3O.JPTD,^.<:rURPnd-DR*1\-EjLZcX/Iedwco;==\n0sP[mXXhRMvTg1NHRV5r{Y5U.1{,a"
    A$ = A$ + "}.ur^|bFNkq|^*mASvr)Y_Z9ks2+_ATwo]f2/H^Mv{*;odt-/i7dblw9Irun5eMQ0zjws7(c"
    A$ = A$ + "OUiwM5?m|JZS,/a5,/4=342ag{=bM=.rHu/VToy/g>lNLi3dk];]z^28SfO^mZ+F/PC<6UzA"
    A$ = A$ + "(VyuSilWG8_?L0s-\+CRH]mRu*8V[\n+4rhM:,rtHt'PJw2yK;un)Hi4)HwM.}V\(N.AIvB,"
    A$ = A$ + "r(:C^g64xIou*3zMi0-Mj*(qWoLntYWG60D>*JRk6y*.x[iTcEWT=O(eGYLF5L|2K55,:(9y"
    A$ = A$ + "x6SI.WS9*Ul^OI<MvqU>w_)/9_OOVP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TlN*ZUV)]_oNIx{yl16Kzn{Fj1odF2*Em]V9"
    A$ = A$ + "k<UAo-TkmTZ?=>B[9?Sg_;vbKk,,slpBVhM?bxvd_I-if:Y91M5wNVG:6j})Zs)udQsyw?-4"
    A$ = A$ + "Qcy[0?cikOuct4MI9Yb<f67fn=KbvNR[TDfI>*D=Z.zJO,dKEl{:qp';-yXN4[PTgl2P>>:{"
    A$ = A$ + ")8.c|0_uG>.}[nsGh|ltN;cNZG(vk0uQ{;{P|2/fsD:TOU,RksHf/c'z]r|pqtab74.inUFs"
    A$ = A$ + "V45>'_PP^B[*=[NUcrlphds8xPQYp1xXBWesJoPG8CCXBFNt<[4|Ai*oIFObNipeZT1^rnDG"
    A$ = A$ + "vDIiNsL)dp^p_M'UyjCTQk+8<V8>DipMHw0t<'n:f;hAf<9>q{QISo;]+wrfXR4{1{qFM19["
    A$ = A$ + "nNY]],Hp]>l4O[sc:uIs:*2TiCSn>ID<r^;w9zvkBPVlu43AcLC{dUbnBe14|o}YT-Woiqh^"
    A$ = A$ + "anWp};mAdOgNwidlx>F]K]zl97.U]jF\nFqD7Er<4\sWW1b,(Uv.1Cdy"
    For i = 39 To 125
        If i <> 64 And i <> 96 Then c$ = c$ + Chr$(i)
    Next: Dim v As _Unsigned Long
    a = Val(Mid$(A$, 1, 1))
    For i& = 2 To Len(A$) Step 5: v = 0
        For j& = 0 To 4: p& = 85 ^ (4 - j&)
            c& = InStr(c$, Mid$(A$, i& + j&, 1)) - 1
        v = v + c& * p&: Next: o$ = o$ + MKL$(v)
    Next: btemp$ = Mid$(o$, 1, Len(o$) - a + 1)
    BASFILE$ = _Inflate$(btemp$, 8874)
End Function

Find my programs here in Dav's QB64 Corner
Reply


Messages In This Thread
RE: BASFILE - Converts small files to BAS code. - by Dav - 09-27-2023, 06:00 PM



Users browsing this thread: 4 Guest(s)