Hello,
My current project is a map editor that allows the user to customize various options. So I generate PB code based on these options. The problem is that I need the result to be an independent application ; and to do so I need to compile the generated code. Legally speaking, am I allowed to distribute the PB compiler ? Or is there another way to do what I'm trying to do ?
Thanks.
Compiler distribution
Re: Compiler distribution
Of course you can't redistribute the compiler from the full version of PureBasic.
If you generate PB code, the receiver can buy PureBasic and use it or you can generate something other than PB code (for example data that is used by a standard application).
If you generate PB code, the receiver can buy PureBasic and use it or you can generate something other than PB code (for example data that is used by a standard application).
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: Compiler distribution
Come up with a parser or something instead. That way the customized options are just read from a text file.
Re: Compiler distribution
Hmm, that's my problem ; if I do that, the application will not be independent. The user would need to download another application to read the map and the options.Tenaja wrote:Come up with a parser or something instead. That way the customized options are just read from a text file.
Let's develop a FreePB
Re: Compiler distribution
It seems you just need to learn how to do it...Joubarbe wrote:Hmm, that's my problem ; if I do that, the application will not be independent. The user would need to download another application to read the map and the options.Tenaja wrote:Come up with a parser or something instead. That way the customized options are just read from a text file.
Let's develop a FreePB![]()
!
Or use FreeBasic. Not quite PB, but free to distribute.
Re: Compiler distribution
Can't you add the map and the options as a resource to an existing exe ?Joubarbe wrote:Hmm, that's my problem ; if I do that, the application will not be independent. The user would need to download another application to read the map and the options.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Compiler distribution
Difficult to advise when we do not really know what your app does, but I'm guessing that the options include adding/rearranging parts of your GUI? Search the forum for scripting options (Lua for example) - that is likely to be answer. The basic method is that the part of the GUI you allow to be changed is always built by a script, making truely customisable. If however you only want to assign, say, different http links to buttons, then a simple text file can be saved/re-loaded as the User requires.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Compiler distribution
Point them towards the demo compiler download?Joubarbe wrote:Hello,
My current project is a map editor that allows the user to customize various options. So I generate PB code based on these options. The problem is that I need the result to be an independent application ; and to do so I need to compile the generated code. Legally speaking, am I allowed to distribute the PB compiler ? Or is there another way to do what I'm trying to do ?
Thanks.
Keep it BASIC.
Re: Compiler distribution
Thanks for your answers. I think I'll give up on the idea of making independent apps from my project. I'm just gonna mix Read and Create features into one app.
-
User_Russian
- Addict

- Posts: 1630
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: Compiler distribution
Maybe it makes sense to release a free the previous version of PB (for example 4.02), for non-commercial use.

