Author Topic: How do you decompile a component?  (Read 2401 times)

Offline Zog

  • *
  • Posts: 1173
  • Rep: 0
  • I suck.
    • georgedbabingdon
    • View Profile
    • Awards
How do you decompile a component?
« on: December 24, 2009, 12:10:47 PM »
So, I'm following the tutorial on the BeetleBros page, but, whenever I decompile the GMF file, it reduces it to 0KB and when I open it in Notepad, there's nothing there, so I can't change it....


What am I doing wrong?


TeamZog
how do i
how do u
what
no

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #1 on: December 24, 2009, 12:11:54 PM »
Hmm.

Which compiler are you using, Serge's?
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Zog

  • *
  • Posts: 1173
  • Rep: 0
  • I suck.
    • georgedbabingdon
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #2 on: December 24, 2009, 12:18:19 PM »
Hmm.

Which compiler are you using, Serge's?

I don't know if it's Serge's, found it on google. the shortcut name (if it's of any help) says GMFDec with the Robot Arena 2 logo as it's picture.

TeamZog
how do i
how do u
what
no

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #3 on: December 24, 2009, 12:23:24 PM »
I don't know about that one. Dummy's fixed by Megabyte from the downloads page here definitely works.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Zog

  • *
  • Posts: 1173
  • Rep: 0
  • I suck.
    • georgedbabingdon
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #4 on: December 24, 2009, 12:27:22 PM »
It's working now :)


Thanks G.K.


TeamZog
how do i
how do u
what
no

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #5 on: December 24, 2009, 12:27:57 PM »
No problem.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Zog

  • *
  • Posts: 1173
  • Rep: 0
  • I suck.
    • georgedbabingdon
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #6 on: December 24, 2009, 12:40:29 PM »
Oh god, it's not showing up in the workshop......


Even when I try cheatbot2...


TeamZog



how do i
how do u
what
no

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #7 on: December 24, 2009, 12:53:41 PM »
Have you made a .txt for it?
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Zog

  • *
  • Posts: 1173
  • Rep: 0
  • I suck.
    • georgedbabingdon
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #8 on: December 24, 2009, 01:15:29 PM »
Have you made a .txt for it?

Yes, and it is:

name = plunderbirdclaw
preview = plunderbird_preview.bmp
dir = plunderbirdclaw
model = plunderbirdclaw.gmf
type = weapons
base = weapon
styles = Default
passthru = collision
hitpoints = 5000
decal = single_slash.tga 0 0 1 .5 .5 1
concussion = 10
fracture = 150
piercing = 19
damagesounds = sounds\dsl_03.wav
attachsound = sounds\cmp_generic.wav
description = Here is the claw of Plunderbird with 5000 hitpoints. GET IN THERE!
hidden= 1
how do i
how do u
what
no

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #9 on: December 24, 2009, 01:23:18 PM »
You need a space before the = sign from the 'hiddden'.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Zog

  • *
  • Posts: 1173
  • Rep: 0
  • I suck.
    • georgedbabingdon
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #10 on: December 24, 2009, 01:30:27 PM »
You need a space before the = sign from the 'hiddden'.

Sorry that was a typo I'm using my mac because pc's internet is down....

There IS a space there....

TeamZog
how do i
how do u
what
no

Offline somestrangeguy

  • *
  • Posts: 2068
  • Rep: 2
  • If you can read this, your monitor is turned on.
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #11 on: December 24, 2009, 08:37:06 PM »
I dont remember wich is wich but there are 3 choices for hidden: 0 1 and 2, one makes it always visible, one is cheatbot2 and one is always hidden. try changing the nuber on hidden to see if that helps at all.

Oh, and you have remembered to recompile the component, right? Othervise the game wont recodnize it.

Offline Zog

  • *
  • Posts: 1173
  • Rep: 0
  • I suck.
    • georgedbabingdon
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #12 on: December 24, 2009, 11:42:16 PM »
I'll see if that works.


Yes I have recompiled the component afterward and it came up with something like: 'Dude, you now have a new component.'


TeamZog
how do i
how do u
what
no

Offline JoeBlo

Re: How do you decompile a component?
« Reply #13 on: December 25, 2009, 03:22:36 AM »
I dont remember wich is wich but there are 3 choices for hidden: 0 1 and 2, one makes it always visible, one is cheatbot2 and one is always hidden. try changing the nuber on hidden to see if that helps at all.

or remove the line completly and it will appear by default

also Serges from this download section is the best way to go, Dummy's wont do wheels for some reason

Offline Avalanche

  • Retired.
  • Ultra Heavyweight
  • Posts: 3107
  • Rep: -34
  • Yeah, I don't know why I'm still here either.
    • View Profile
    • Awards
  • Discord: ThePootisPower#8377
Re: How do you decompile a component?
« Reply #14 on: December 26, 2009, 11:37:14 AM »
So, I'm following the tutorial on the BeetleBros page, but, whenever I decompile the GMF file, it reduces it to 0KB and when I open it in Notepad, there's nothing there, so I can't change it....

It happens to me.
Im using the one from Beetlebros tutorial.
What am I doing wrong?


TeamZog
Former DSL HW champion.
Runner-Up in The Cybernetic Colosseum HW division.
Semi-finalist in RNP: Sword of Glory.
Robogames 1 BW Runner-up.
Professional cunt.
Man of a thousand alt accounts.

Offline Zog

  • *
  • Posts: 1173
  • Rep: 0
  • I suck.
    • georgedbabingdon
    • View Profile
    • Awards
Re: How do you decompile a component?
« Reply #15 on: December 27, 2009, 02:07:29 AM »
It shows now, but whenever I click on it, the game crashes....


TeamZog
how do i
how do u
what
no

Offline JoeBlo

Re: How do you decompile a component?
« Reply #16 on: December 27, 2009, 02:19:16 AM »
make sure the componant is compiled
 
make sure the directories in the text file are all right
 
 

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: How do you decompile a component?
« Reply #17 on: December 29, 2009, 09:06:00 PM »
For troubleshooting purposes, it would also help to know what component you are editing, and what you are trying to do to it.

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