Main Menu

News:

SyntaxBoom, now with pwetty syntax highlighted code boxes! \o/ 

https://www.syntaxboom.com/forum/index.php?topic=96

Shoutbox

Baggey

2025-09-24, 17:57:11
They'll be using Expanding foam to glue bricks together next  :-X

Dabzy

2025-09-24, 06:09:52
You can also get the expanding foam post fix, but, I wouldnt trust it really, especially where I live on the side of a valley and when the storms blow in the right direction, whistling down the valley, nowt is safe!

Baggey

2025-09-23, 08:53:01
That Postcrete stuff is amazing. I never know how much water to add. May be i should read the Instructions  ;D 

Dabzy

2025-09-22, 21:33:46
Cannot beat a breaky uppy mode, saves the hand cramps and chipped knuckles knocking ten bells out of a chod of conc with a hammer and chisel.

GfK

2025-09-22, 21:28:44
I have a massive JCB drill with a concrete breaky uppy mode which has got me out of jail free a couple of times replacing rotted fence posts that has been concreted in.

Amon

2025-09-22, 19:23:30
What about Roly?

Dabzy

2025-09-22, 19:22:35
Putting my 2 deckings in.... I've dug enough post holes to last me a life time... I feel sorry for the future poor sod who may want to shift'em... Like most things I do, I tend to go over the top, and as such, I've probably got shares in postcrete! :D

GfK

2025-09-22, 19:10:57
Round is a shape.

Baggey

2025-09-22, 19:04:49
Consult a qualified electrician for compliance with BS 7671 and local building Regs! Avoid areas where future digging is likely. ;)

Jackdaw

2025-09-22, 18:18:24
That depends on where the cable is to run. Minimum depth in a garden in 450mm. Under pavements 600mm.

Members
  • Total Members: 55
  • Latest: Amon
Stats
  • Total Posts: 1,608
  • Total Topics: 198
  • Online today: 12
  • Online ever: 54 (Sep 14, 2025, 08:48 AM)
Users Online
  • Users: 1
  • Guests: 9
  • Total: 10
Welcome to SyntaxBoom. Please login or sign up.

Recent

IncBin

Started by Baggey, Jul 02, 2025, 05:12 AM

Previous topic - Next topic

Baggey

Any one give me an idea of the usage of incBin.

I assume it's some way of loading graphics music etc.. in away someone else cant pinch your underlying code?
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Jackdaw

If you've dug yourself into a hole. Just keep digging. You're bound to come out the other side eventually.

_PJ_

Essentially, it is a way of packing external assets [any kind of filetype] into your executable.
Of course, it will inflate the size of exe and you can only have hardcoded static paths to those files.

It can mitigate the end users' ability to examine/steal/edit those assets, but if they're particularly shrewd wityh the right tools, they might still be able to grab the binary data and recreate the individual files - it will be very labour intensive for them, so may be enough of a deterrent for all but the most peristent - depends on the potential for rewards I guess...

_

To use IncBin it really is a s simple as:


Incbin "C:\Program Files\BlitzMax\samples\aaronkoolen\AStar\mountain.png"

Local I:TImage=LoadImage("Incbin::C:\Program Files\BlitzMax\samples\aaronkoolen\AStar\mountain.png")



Baggey

QuoteIt can mitigate the end users' ability to examine/steal/edit those assets, but if they're particularly shrewd wityh the right tools, they might still be able to grab the binary data and recreate the individual files - it will be very labour intensive for them
:o

Are saying even just an .exe could be stripped for internal working code  :-X

Baggey
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

_PJ_

Quote from: Baggey on Jul 12, 2025, 07:28 AMAre saying even just an .exe could be stripped for internal working code  :-X

Baggey

Anything is decrypotable/decompilable - it's jsut a matter of effort & time (and maybe tools too)