gametechmods

Robot Arena => General Support => Topic started by: Zog on October 24, 2010, 09:08:55 AM

Title: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Zog on October 24, 2010, 09:08:55 AM
So I'm trying to reskin a rubber wheel, following Serge's (?) tutorial (the one where I add a new "style" to the main .txt). I've done all the GMF and .txt work, checked and triple checked the names so then they match, yet when I click on the component and scroll to the style I want it, there's nothing there, only what looks like a hexagonal thingy and an attachment point.


What is it that I'm doing wrong?
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: JoeBlo on October 24, 2010, 09:30:42 AM
using the wrong compiler  ;)

only Serge's will do wheels for some reason. Dummy's cant.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Gazea2 on October 24, 2010, 09:34:35 AM
^Yup. That happened to me before.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Zog on October 24, 2010, 09:37:50 AM
Will download Serge's, and see if it works. I'm surprised that no one's mentioned this before in tutorials etc.


And Dummy's did do slipperbottoms (for my replica of Rosie the Riveter), but I'm not sure why...


EDIT: Serge's one says that it's for arenas...?
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Badnik96 on October 24, 2010, 09:50:44 AM
Nah, it works for components too.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Zog on October 24, 2010, 09:55:21 AM
Really? Because I've just decompiled the GMF and it is now 0 KB and has nothing inside.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: JoeBlo on October 24, 2010, 10:01:25 AM
Arena GMF's and component GMF are virtually the same... it dosnt take much to have a component (say Mads large circle SZ) as an arena.

Really? Because I've just decompiled the GMF and it is now 0 KB and has nothing inside.

That happens if you decompile a decompiled GMF so thats a personal error...

dont try and over-right with Serges and make sure you manually put .gmf in the filename
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Zog on October 24, 2010, 10:35:07 AM
I've done it three times, and I have definitely not decompiled a decompiled GMF.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: JoeBlo on October 24, 2010, 10:47:22 AM
it also does it if you are compiling a compiled GMF.. are you sure your using Serges Decompiler and not the Compiler
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Zog on October 24, 2010, 11:18:31 AM
It's called "GMFDec", so I'm assuming that that is the decompiler.


It's ok though, skinning the wheels isn't really a necessity for the robot I'm doing.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: JoeBlo on October 24, 2010, 11:22:22 AM
run the decompiler

select the GMF

type in a new name with .gmf at the end (when the destination window comes up)

and your done
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Zog on October 24, 2010, 11:33:10 AM
And do I just use Dummy's to compile it?
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: JoeBlo on October 24, 2010, 11:39:47 AM
they could work but I would use Serges Compiler to be sure (again dont over-right make a new name with .gmf)
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Zog on October 24, 2010, 11:44:01 AM
YES!!! It works!


I bloody love you, JoeBlo! I mean that in a plutonic way, btw.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: JoeBlo on October 24, 2010, 11:46:10 AM
your welcome  :gawe:
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Badnik96 on October 29, 2010, 04:04:46 PM
small bump but I need help

I did what Joe says here (to decompile with Serge's and the recompile without overwriting and with putting .gmf at the end) but it doesn't recompile. It says "error! expected (something) but found (something)! Continue?" Then I hit yes and it says "compilation unsuccessful". Help?
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Serge on October 29, 2010, 04:59:53 PM
small bump but I need help

I did what Joe says here (to decompile with Serge's and the recompile without overwriting and with putting .gmf at the end) but it doesn't recompile. It says "error! expected (something) but found (something)! Continue?" Then I hit yes and it says "compilation unsuccessful". Help?

I put the "(something)"'s there for a bloody reason. It helps out a lot when debugging what's wrong with your GMF file.

(protip: to copy text from a dialog, click on it, then hit CTRL-C)
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: 123savethewhales on October 29, 2010, 08:07:53 PM
You know, if all you are doing is using a different bmp file, you can do that with a txt editor.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Badnik96 on October 29, 2010, 08:08:22 PM
whut
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: 123savethewhales on October 29, 2010, 08:14:00 PM
Open the regular GMF file with a txt editor.  Most of the stuff will be junk, but the name of the BMP file would be in plain english.

This method only allow you to replace letters, so the new bmp file name will need to have the same length as the old.

I reskinned Junkyarddog's wheels with this method.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Badnik96 on October 29, 2010, 08:46:26 PM
oh cool. Thanks, I'll do it tomorrow.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Naryar on October 30, 2010, 03:20:36 AM
Open the regular GMF file with a txt editor.  Most of the stuff will be junk, but the name of the BMP file would be in plain english.

This method only allow you to replace letters, so the new bmp file name will need to have the same length as the old.

I reskinned Junkyarddog's wheels with this method.

Ah, OK. I tried that method once but had a longer bmp name, changed the length of the file and it screwed up :P
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Serge on October 30, 2010, 06:23:30 AM
Yes, the length of the name can't be longer than the default one. It can be shorter, but you have to pad out the rest with \x00's.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Badnik96 on October 30, 2010, 08:02:25 AM
I did that, making absolutely sure that the bmp names were the same size, and when I click on it the game crashes.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: JoeBlo on October 30, 2010, 08:08:22 AM
what text editor did you use ? notepad++ ?
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Badnik96 on October 30, 2010, 08:09:02 AM
gaah used notepad. Will go fix.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Badnik96 on October 30, 2010, 08:12:55 AM
DP

I got it to not crash, but it's completely grey.
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: JoeBlo on October 30, 2010, 08:14:40 AM
file name you put in the GMF match the BMP in the maps folder ?
Title: Re: The 500,000th "I Need Help With Skinning Components" Thread
Post by: Badnik96 on October 30, 2010, 08:19:12 AM
That was the problem, thanks.

*goes to post in his custom components thread*