SyntaxBoom

General Category => General Game and Application Development => Topic started by: Baggey on Jul 13, 2025, 09:26 AM

Title: missing Files!
Post by: Baggey on Jul 13, 2025, 09:26 AM
Does anyone have these files?

cg.h

cg.cpp

cg_dat.cpp

Kind Regards Baggey
Title: Re: missing Files!
Post by: Jackdaw on Jul 13, 2025, 10:36 AM
I would help if you know what they are for.
Title: Re: missing Files!
Post by: Baggey on Jul 13, 2025, 12:16 PM
There files missing form codgen inside Blitzmax.
Title: Re: missing Files!
Post by: Dabzy on Jul 13, 2025, 02:13 PM
Maybe try and snoop around on older forks/version if any exist, the code generator may not be the same setup, there's residue stuff laid about all over the shop... That is the problem with BlitzMax-NG, it's a monster and stuff over the years may have been stripped away when it's all changed, stuff gets plucked out, changed with out no proper "cleaning", or checks

I have 2 version of BlitzMax for 2 different projects for that reason, stuff works in one, and stuff just breaks in another, stuff gets stripped and you have to try and rebuild the bits that have gone awry.

Basically, it needs stripping back to it's bare basics and starting again, but by doing so, the work to bring it back up will be astounding. Only the bits people need get any love, the graphical side is still pretty solid, because in the most part, that's all they want, so they are maintained.

When it wants, it can be a massive can of worms.

Dabz



Title: Re: missing Files!
Post by: Henri on Jul 13, 2025, 04:32 PM
What is codgen ?

-Henri
Title: Re: missing Files!
Post by: Dabzy on Jul 13, 2025, 04:42 PM
I'm guessing it's related to a code generator which may have been in an old version of BlitzMax[ng]:

https://github.com/blitz-research/blitzmax/blob/master/_src/codegen/cgmodule.cpp

Or similar and they have gone-a-miss somewhere over time.

That's my guess anyway.

Dabz
Title: Re: missing Files!
Post by: Baggey on Jul 13, 2025, 06:21 PM
Quote from: Henri on Jul 13, 2025, 04:32 PMWhat is codgen ?

-Henri

codgen is a folder buried deep in blitzmax. Although it appears to be open source it ain't under the hood!
Title: Re: missing Files!
Post by: Henri on Jul 13, 2025, 07:35 PM
@Dabz, I thought as well (codegen was Bruceys app for wxFormBuilder output to bmax code converter).

@Baggey, I couldn't find codgen folder on my bmax install.

Edit: That was wxCodeGen. Not sure if codegen was a different project meant for early bootstrapping (seems quite old and long sense abandoned).

There is a bootstrap bmx app for this purpose now (src in the src folder), but I haven't tried it as it seems to do pretty similar thing than what the script does.
 

-Henri
Title: Re: missing Files!
Post by: Baggey on Jul 15, 2025, 06:11 AM
@Henri, It should be in the blitzmax-master