gametechmods

Robot Arena => General Support => Topic started by: Vertigo on August 27, 2011, 05:04:04 PM

Title: GMF issues
Post by: Vertigo on August 27, 2011, 05:04:04 PM
So I opened up a GMF and replaced the map file for a component, then going back in game when I try to select the component the game crashes

Is it something to do with re-complying that I need to do, or something else?

Thanks
Title: Re: GMF issues
Post by: GarvinTheGreat on August 27, 2011, 05:05:22 PM
DSL or Stock?
Title: Re: GMF issues
Post by: Vertigo on August 27, 2011, 05:06:01 PM
Stock, although I doubt that will have any affect on the matter
Title: Re: GMF issues
Post by: GarvinTheGreat on August 27, 2011, 05:06:40 PM
Do you have any Patches?
Title: Re: GMF issues
Post by: Vertigo on August 27, 2011, 05:08:16 PM
1.4
Title: Re: GMF issues
Post by: Conraaa on August 27, 2011, 05:09:44 PM
Silly question, but the map file the gmf is pointing to, is it named right?
Title: Re: GMF issues
Post by: GarvinTheGreat on August 27, 2011, 05:10:14 PM
1.4

Final Question

Are you ready to rock?

Is it a laptop? I know laptops can be kinda slow and are buggyer then Desktops.
Title: Re: GMF issues
Post by: Mr. AS on August 27, 2011, 05:10:28 PM
Did you forget to recompile the GMF?
Title: Re: GMF issues
Post by: Vertigo on August 27, 2011, 05:13:48 PM
Silly question, but the map file the gmf is pointing to, is it named right?
Checked that, twice :P

Did you forget to recompile the GMF?
Since I never used a program to de-compile it, nope, but as I said I assume it is something to do with that, I just need pointing in the right direction
Title: Re: GMF issues
Post by: nightcracker on August 27, 2011, 05:15:00 PM
1.4

Final Question

Are you ready to rock?

Is it a laptop? I know laptops can be kinda slow and are buggyer then Desktops.

That made just as much sense as: Are you in Europe? Because RA2 tends to work worse there.

If I knew how I would -1 you for this horrible horrible help.
Title: Re: GMF issues
Post by: GarvinTheGreat on August 27, 2011, 05:16:31 PM
1.4

Final Question

Are you ready to rock?

Is it a laptop? I know laptops can be kinda slow and are buggyer then Desktops.

That made just as much sense as: Are you in Europe? Because RA2 tends to work worse there.

If I knew how I would -1 you for this horrible horrible help.

I'm just tryning to appear helpful.

Now, I think you're gonna need Craaig for this one
Title: Re: GMF issues
Post by: Vertigo on August 27, 2011, 05:17:29 PM
1.4

Final Question

Are you ready to rock?

Is it a laptop? I know laptops can be kinda slow and are buggyer then Desktops.

That made just as much sense as: Are you in Europe? Because RA2 tends to work worse there.

If I knew how I would -1 you for this horrible horrible help.
You need repping abilities, and so I have done so on you're behalf
Title: Re: GMF issues
Post by: Conraaa on August 27, 2011, 05:17:51 PM
So, you never decompiled it in the first place? And have never recompiled it?
Title: Re: GMF issues
Post by: Vertigo on August 27, 2011, 05:18:53 PM
So, you never decompiled it in the first place? And have never recompiled it?
Just right-clicked, "Edit in Notepad++", and then saved it
Title: Re: GMF issues
Post by: Conraaa on August 27, 2011, 05:23:38 PM
Whenever I just right click edit a non-decompiled gmf. I just get gibberish.
Only thing I can think of if you can open it up and get actual text is to try and compile it.
Title: Re: GMF issues
Post by: Mr. AS on August 27, 2011, 05:26:07 PM
You HAVE to decompile it with a GMF decompiler program, then recompile it when you're done. Editing with out decompiling otherwise just gives gibberish and give you a corrupted file when you save.
I prefer FireBeetle's GMF compiler: http://beetlebros.gametechmods.com/files/GMFCompiler_FB.zip (http://beetlebros.gametechmods.com/files/GMFCompiler_FB.zip)
Title: Re: GMF issues
Post by: Conraaa on August 27, 2011, 05:27:32 PM
I would suggest Dummy's compiler fixed by Megabyte but that hates wheels and having 2 people suggest different ones would probably confuse things.
Title: Re: GMF issues
Post by: Vertigo on August 27, 2011, 05:35:13 PM
Okay, so I select the gmf file for both source and destination and select compile, press "compile", and then I get this:

Run-time error '62':

Input past end of file

What am I doing wrong now? :P
Title: Re: GMF issues
Post by: Mr. AS on August 27, 2011, 05:36:33 PM
Okay, so I select the gmf file for both source and destination and select compile, press "compile", and then I get this:

Run-time error '62':

Input past end of file

What am I doing wrong now? :P
Did you you didn't compile it into the same folder as the edited GMF, did you?
Title: Re: GMF issues
Post by: Conraaa on August 27, 2011, 05:37:01 PM
Yeah, I think that .gmf file is pretty far gone.

My suggestion is start again with a clean .gmf, plug the clean .gmf file in and decompile it, work in it using notepad++, compile it using the compiler and then put it back in Ra2.
Title: Re: GMF issues
Post by: Badnik96 on August 27, 2011, 05:48:32 PM
Is the new map file the same amount of characters as the old one? Because if they aren't it crashes if you didn't decompile and then recompile.
Title: Re: GMF issues
Post by: Clickbeetle on August 27, 2011, 07:20:31 PM
Okay, so I select the gmf file for both source and destination and select compile, press "compile", and then I get this:

Run-time error '62':

Input past end of file

What am I doing wrong now? :P

You have to decompile first.  Decompiling puts the gmf into a readable, editable format.  When you're done making changes, THEN you compile the file, which puts it back into a compressed form that is readable by RA2.
 
Also, when decompiling, you should enter a different name in the Destination field.  Like if you're decompiling ram_plate.gmf, put ram_plate.gmf as the Source and ram_plate_txt.gmf as the Destination.  Then when you're ready to compile, put ram_plate_txt.gmf as the Source and ram_plate.gmf as the Destination.
Title: Re: GMF issues
Post by: Vertigo on August 28, 2011, 03:10:20 AM
Okay, so I select the gmf file for both source and destination and select compile, press "compile", and then I get this:

Run-time error '62':

Input past end of file

What am I doing wrong now? :P

You have to decompile first.  Decompiling puts the gmf into a readable, editable format.  When you're done making changes, THEN you compile the file, which puts it back into a compressed form that is readable by RA2.
 
Also, when decompiling, you should enter a different name in the Destination field.  Like if you're decompiling ram_plate.gmf, put ram_plate.gmf as the Source and ram_plate_txt.gmf as the Destination.  Then when you're ready to compile, put ram_plate_txt.gmf as the Source and ram_plate.gmf as the Destination.
Thanks Click, that solved it

Only thing I don't understand, is that when I didn't decompile it, I didn't get a load of jibberish
Title: Re: GMF issues
Post by: Vertigo on August 28, 2011, 04:14:18 AM
Okay, quick question:

Which complier do I need to use for wheels? (FB's doesn't seem to work)
Title: Re: GMF issues
Post by: JoeBlo on August 28, 2011, 04:41:35 AM
Dummy's compilers wont work (FB's and Megabyte versions)

You will need Serges one for that, either in the downloads section (for his older one) or in his Sig (for the newer one)
Title: Re: GMF issues
Post by: Vertigo on August 28, 2011, 04:55:09 AM
Ah, thanks :D
Title: Re: GMF issues
Post by: Vertigo on August 28, 2011, 05:05:23 AM
Okay, downloaded newest version of Serge's complier/decompiler

It works fine for decompiling, but for some reason that's the only thing I can do, it won't give the option of either compiling or decompiling

?
Title: Re: GMF issues
Post by: JoeBlo on August 28, 2011, 05:24:24 AM
I havent tried Serges new one.. but his old one, the compiler and decompiler were separate programs
Title: Re: GMF issues
Post by: G.K. on August 28, 2011, 05:54:53 AM
Since when did Serge's be a combined one again?
Title: Re: GMF issues
Post by: JoeBlo on August 28, 2011, 06:02:44 AM
I thought he was doing a combined one for his latest but havent downloaded it..  (still using his old one)

Title: Re: GMF issues
Post by: G.K. on August 28, 2011, 06:07:08 AM
I know he was working on a combined, but to he best of my knowledge he hasn't released it. You say it's in his sig?
Title: Re: GMF issues
Post by: JoeBlo on August 28, 2011, 06:27:46 AM
In his sig are newer versions of his compiler.. They are separate now I have had a look at it..

All I knew was they were updated.. I didnt know if it was his completely new one or not though..
Title: Re: GMF issues
Post by: The Zephyr on August 28, 2011, 08:52:42 AM
Okay, downloaded newest version of Serge's complier/decompiler

It works fine for decompiling, but for some reason that's the only thing I can do, it won't give the option of either compiling or decompiling

?

This is the old one that they're talking about:

https://gametechmods.com/uploads/files/GMFComp.rar (https://gametechmods.com/uploads/files/GMFComp.rar)

Try that one. Make sure that, when you decompile it, you give it a different name. If you don't, it won't work. :)
Title: Re: GMF issues
Post by: Vertigo on August 28, 2011, 09:31:12 AM
Okay, downloaded newest version of Serge's complier/decompiler

It works fine for decompiling, but for some reason that's the only thing I can do, it won't give the option of either compiling or decompiling

?

This is the old one that they're talking about:

https://gametechmods.com/uploads/files/GMFComp.rar (https://gametechmods.com/uploads/files/GMFComp.rar)

Try that one. Make sure that, when you decompile it, you give it a different name. If you don't, it won't work. :)
I found it, but thanks anyway
Title: Re: GMF issues
Post by: Gazea2 on August 29, 2011, 06:24:12 AM
Has the old compiler worked?
Title: Re: GMF issues
Post by: Vertigo on August 29, 2011, 08:29:22 AM
Yeah, it's fine, just didn't have the other half of it  :laughing
Title: Re: GMF issues
Post by: Gazea2 on August 29, 2011, 08:30:15 AM
Cool.