Results 1 to 2 of 2

Thread: Creating .exe from thinbasic scripts

  1. #1

    Creating .exe from thinbasic scripts

    Hi all
    Is it possible to compile thinbasic scripts into an .EXE with anything other than the bundle feature..
    The reason i ask is my application has a large texture library which makes things really slow when starting the app..
    I would like to be able to compile an .EXE that doesnt have to extract files everytime it is run..

    Can this be done??

    Basically i would like to compile the mainscript of my app to an .EXE and then run it from the app folder that already has the texture library in a subfolder as well as all includes in a subfolder..(This means all thinbasic includes as well as my own script includes..)

    Then the app wouldnt need to extract files to run as they would already be in the correct folders and referenced in the compiled mainscript..

    Is this possible or do all the files have to be bundled and then extracted everytime the app is run?

    Sorry if i am not being very clear about what i am wanting to do but i dont know how else to explain it..

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Creating .exe from thinbasic scripts

    Hi Macros,

    when transformed into an EXE, original thinBasic source code is expanded and all source code includes are all put together with the main script. So even if you will have your included in the correct directory, thinBasic will not use them.

    Regarding textures or other files (not part of the source code or modules) can be left outside the bundled exe. It is in reality preferable that bundled exe does not contains anything other than source code and needed modules.

    I'm sorry but I cannot change that for the moment.

    Ciao
    Eros


    PS: post moved to thinBundle forum.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Similar Threads

  1. Creating thinBasic keywords lists
    By ErosOlmi in forum Tips and Tricks
    Replies: 13
    Last Post: 29-12-2012, 03:45

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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