Author Topic: BMAX: How do you know what to include.[BMAX]  (Read 2815 times)

0 Members and 1 Guest are viewing this topic.

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
BMAX: How do you know what to include.[BMAX]
« on: September 27, 2006 »
I've had BMAX since around the day of release, and am about to re-install it after my PC Conundrumns. I have done a little bit of stuff with it; and it's majorly different from any previous Blitz flavours, a little lacking in the manual department.
 
But what Im really unsure of and am stuck on, is what libraries to have included for final executables & and how you implement including them? Also im in need of assistance on how to use image resources that are contained in the EXE; as I dont understand how it all works.

Cheers and many thanks,
Clyde.
« Last Edit: July 21, 2007 by Shockwave »
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Dad1916

  • Atari ST
  • ***
  • Posts: 112
  • Karma: 3
    • View Profile
Re: BMAX: How do you know what to include.
« Reply #1 on: September 28, 2006 »
Unless you are using a library like fmod you don't need to include any with the executable. To include "attachements" with your executable use the incbin command. Here is an example:
Code: [Select]
Incbin "macstartup.ogg"
Incbin "images/boot.png"
Incbin "images/blankboot.png"
Incbin "images/apple.png"

HideMouse()
Graphics 1024,768,32
SetColor 255,255,255
Local Counter:Int

While Not KeyHit(Key_Escape)
bootsequence()

Wend





Function BootSequence()
startup = LoadSound ("incbin::macstartup.ogg")
bootpic=LoadImage("images/boot.png")
blankboot=LoadImage("images/blankboot.png")
apple=LoadImage("images/apple.png")
...............

Any other questions just ask...

Offline TinDragon

  • Pentium
  • *****
  • Posts: 644
  • Karma: 24
    • View Profile
    • J2K's blog
Re: BMAX: How do you know what to include.
« Reply #2 on: September 28, 2006 »
If your talking about the framework and import of only need modules then I recommend Framework Assistant as it will scan your source and give you a piece of code with the right setup code. It isnt flawless however as I cant get it to work for the framebuffer lib but it is the first problem I have had and it helps reduce the exe size to more realistic sizes.

http://homepage.ntlworld.com/config/fa/index.htm

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: BMAX: How do you know what to include.
« Reply #3 on: September 28, 2006 »
Cheers and thanks to you both :)
And I'll sure come back with any questions.

Ta,
Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won: