Author Topic: New beta GMF compiler!  (Read 7635 times)

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
New beta GMF compiler!
« on: October 25, 2008, 08:35:23 AM »
Yes, this time it's a compiler. And yes, it supports all the stuff dummee's compiler didn't. And yes, it has useful error messages.

But it is still not public, since there are some bug fixes left. Depending on how many people reply to this topic, I will either finish it completely today, or in two or three days.

The ball's in your court now - show me that you ar actually interested in what I'm doing, and get the program today.

Thanks in advance,
Serge
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline ACAMS

New beta GMF compiler!
« Reply #1 on: October 25, 2008, 10:06:11 AM »
It will help modding the game and I really would like to recompile the carsteering. Thanks for your work on it. even tho there are only a handfull of people that mod components.......like always, heck even back in the good ol days there were only a handfull at a time.

Offline Madiaba

New beta GMF compiler!
« Reply #2 on: October 25, 2008, 01:25:45 PM »
Serge, you know I appreciate your work. I just don't have the time to help all of the time any one; but you, I've co-worked with you already on the gmfs and soon the bot files.
Soooo, thanks for your work, it and you are greatly appreciated, and I will continue to help when/where needed, no prob.:-D
Several have expressed the same to me, and perhaps need to here also...
 
...
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline Urjak

  • *
  • Posts: 2753
  • Rep: 6
  • Shell Spinner King
    • http://www.youtube.com/wa
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #3 on: October 25, 2008, 01:43:03 PM »
Nice Serge, I was thinking of trying to mod some arena and or components. This would definatly be a big help.
Any comments would be appreciated. :D

Offline R1885

  • *
  • Posts: 2127
  • Rep: 3
  • Forum shopping list generator.
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #4 on: October 25, 2008, 01:51:59 PM »
I too want to mod parts and arenas. This should prove highly useful.

Offline somestrangeguy

  • *
  • Posts: 2068
  • Rep: 2
  • If you can read this, your monitor is turned on.
  • Awards BOTM Winner
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #5 on: October 25, 2008, 02:02:06 PM »
Yes. Please finish the compiler, I think many would like to have this. Even I might take look at it, even tough I dont know much of anything about gmf files.

Offline Scrap Daddy

New beta GMF compiler!
« Reply #6 on: October 25, 2008, 02:09:25 PM »
I'm DEFINATLY interested. Please finish Serge.

Offline Sage

  • *
  • Posts: 6182
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #7 on: October 25, 2008, 02:10:35 PM »
I've been looking for an upgraded compiler! I would really appreciate if you finished it.

one thing i need is for it to compile hexadecimal code correctly. if you can do that, it would be awesome.
You got my vote for RA2 Wizard. Always and forever.

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
New beta GMF compiler!
« Reply #8 on: October 25, 2008, 02:10:45 PM »
Alright, thank you guys, thanks to your motivation, I already finished the bare-bones compiler. The only thing left is to add the non-standard object types I discovered earlier, and it's ready for release!

Serge
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
New beta GMF compiler!
« Reply #9 on: October 25, 2008, 02:35:58 PM »
Nice!  Can't wait to see it.

Offline infiniteinertia

  • *
  • Posts: 1853
  • Rep: 6
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #10 on: October 25, 2008, 02:45:59 PM »
Love the new stuff. I happen to be an avid student of modding myself. And this stuff makes work alot easier! Love the hard work, it really helps.

Keep it up!
#MakeStockGreatAgain


#BANtheHS The Movement

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
New beta GMF compiler!
« Reply #11 on: October 25, 2008, 03:18:42 PM »
If it's better than Dummee's then I'll get it gladly.
 
****
« Last Edit: October 25, 2008, 04:25:01 PM by Madiaba »

Offline man manu

  • Heavyweight
  • Posts: 627
  • Rep: 0
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #12 on: October 25, 2008, 03:36:57 PM »
woo for the thing that the guy is making to do wuith the game i sometimes play for a bit!!!!
Son of a fat bold guy!
[SIGPIC][/SIGPIC]
http://roundy99.mybrute.com

Offline DuckRA2

  • *
  • Posts: 1006
  • Rep: 1
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #13 on: October 25, 2008, 03:41:56 PM »
can it compile wheels?

Offline andrewm0304

  • *
  • Posts: 164
  • Rep: 0
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #14 on: October 25, 2008, 07:38:52 PM »
I never really got into modding the game... but I would like too. It should be quite useful, looking forward to using it! :)

Offline Dragonfire

New beta GMF compiler!
« Reply #15 on: October 26, 2008, 07:19:35 AM »
this looks promising, looking forward to it :)

Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
New beta GMF compiler!
« Reply #16 on: October 26, 2008, 02:48:04 PM »
You can bet I'm interested in the compiler.  I'm still making stuff on occasion, and this will open up a lot more possibilities.  FB and I were discussing how cool it would be to have a bobblehead component with a dashpot.

I did find a couple more things the decompiler can't do, however, and by extension probably the compiler as well.  It can't read reflection maps (in the *MAP_DIFFUSE part) and additive transparency (in the *MATERIAL_XP_TYPE part) in the materials.  (examples: the shiny hub wheel and the additive beam of light in the LumaZone).

If it helps, this is the VB code Firebeetle inserted into Dummy's decompiler to make it decompile those materials.  I know it's not C++, but some of the id numbers might help.

Code: [Select]

Select Case getInteger
    Case 0:
    matXPType = "Other"
    Case 1:
    matXPType = "Filter"
    Case 2:
    matXPType = "Subtractive"
    Case 3:
    matXPType = "Additive"
    Case Else:
    matXPType = "Other"
    End Select


Code: [Select]

Select Case getInteger
    Case 0:
    mapStyle = "*MAP_AMBIENT"
    Case 1:
    mapStyle = "*MAP_DIFFUSE"
    Case 2:
    mapStyle = "*MAP_SPECULAR"
    Case 3:
    mapStyle = "*MAP_SHINE"
    Case 4:
    mapStyle = "*MAP_SHINESTRENGTH"
    Case 5:
    mapStyle = "*MAP_SELFILLUM"
    Case 6:
    mapStyle = "*MAP_OPACITY"
    Case 7:
    mapStyle = "*MAP_FILTERCOLOR"
    Case 8:
    mapStyle = "*MAP_BUMP"
    Case 9:
    mapStyle = "*MAP_REFLECT"
    Case 10:
    mapStyle = "*MAP_REFRACT"
    Case Else:
    mapStyle = "*MAP_DIFFUSE"
    End Select
   
Select Case getInteger
    Case 0:
    mapType = "Explicit"
    Case 1:
    mapType = "Spherical"
    Case 2:
    mapType = "Cylindrical"
    Case 3:
    mapType = "Shrinkwrap"
    Case 4:
    mapType = "Screen"
    Case Else:
    mapType = "Other"
    End Select


Firebeetle also just told me that there's camera objects in the .gmf of the stock Practice Garage.  I didn't know it was even possible to put cameras in the .gmf until today.  Naturally, neither Dummy's nor yours can decompile it.  So that's another thing to look into.

But if you COULD compile cameras... can anyone say Slam Cam component? :mrgreen:

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #17 on: October 26, 2008, 03:06:46 PM »
Like a camera attached to an axe? Cool!
Put this onto your signature if you were part of this crappy fad in '03.

Offline Somebody

  • *
  • Posts: 7200
  • Rep: 13
  • CP: +2
    • SomebodyofGTM
    • View Profile
    • My site
    • Awards
New beta GMF compiler!
« Reply #18 on: October 26, 2008, 03:16:52 PM »
That would be AWESOME!!!!!!!!!
I built that big robot on that TV show that time


Offline Gigafrost

  • *
  • Posts: 805
  • Rep: 0
  • You'll never know what I'll think of next.
    • View Profile
    • Awards
New beta GMF compiler!
« Reply #19 on: October 26, 2008, 03:45:45 PM »
Yeah that would rock. Or maybe do a similar cam to the "House robot LIVEcam".