Author Topic: Salvage a chassis shape from a corrupted bot file?  (Read 3783 times)

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Using BFE to remove a skin?
« Reply #20 on: November 14, 2010, 09:40:56 PM »
The bot still crashes, or the bot editor won't let you save?


Hmm... at this point, I would start thinking about whether it's more effort to try and fix the problem, or just rebuild the bot.

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 Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Using BFE to remove a skin?
« Reply #21 on: November 14, 2010, 09:47:42 PM »
The bot editor still won't let me save.

Regard rebuilding, are there any tricks I can use to make it easier?  I have the old skin, but it's still difficult to get it to line up.

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Using BFE to remove a skin?
« Reply #22 on: November 14, 2010, 09:50:10 PM »
I suppose you could try copying the grid coordinates and the height from your old chassis.  There's some other numbers involving the collision mesh and the skin map that you have to change too, but I'm not sure where those are.

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 Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Using BFE to remove a skin?
« Reply #23 on: November 15, 2010, 10:33:56 AM »
That would be great, if I can get the empty chassis back then puttign all the components back would be pretty easy.  I've changed the topic title; does anyone know how to get the grid and height coordinates?

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Salvage a chassis shape from a corrupted bot file?
« Reply #24 on: November 15, 2010, 10:35:36 AM »
What, the bot editor didn't work? D: That's what I was going to do all along.
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 Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Salvage a chassis shape from a corrupted bot file?
« Reply #25 on: November 15, 2010, 10:38:33 AM »
No, but don't let that stop you, it's probably just one of those things where the error disappears as soon as I get an expert to look at it.  Humour me?

Offline Naryar

  • Posts: 23267
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Salvage a chassis shape from a corrupted bot file?
« Reply #26 on: November 15, 2010, 10:40:44 AM »
If you didn't read that already, read it again :

https://gametechmods.com/forums/index.php/page,page2187.html

I self-taught all the BFE I know (that is not much) from that,

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Salvage a chassis shape from a corrupted bot file?
« Reply #27 on: November 15, 2010, 10:55:38 AM »
Truth be told I'd never seen that before, good to know.  Do I need to take the "3D model of bot with 'buckling' points" portion of the file in addition to the chassis section?

Offline JoeBlo

Re: Salvage a chassis shape from a corrupted bot file?
« Reply #28 on: November 15, 2010, 08:28:16 PM »
How much effort is a rebuild? I could redo the whole skin for you.... just make sure you save the format of it instead of just changing extensions. Or I will give you a .bmp

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Salvage a chassis shape from a corrupted bot file?
« Reply #29 on: November 15, 2010, 09:04:35 PM »
Nary, I've got half a mind to reach through the computer and french kiss you!  It worked!  I have my chassis back, and the components were no trouble at all to replace.  I can't tell you all how grateful I am; thank you so much everyone who helped, all of my rebuilds were crap, and I would never truly be at peace had I not recovered the file.  If anyone wants some replicas as a thank you, please let me know, that's pretty much the best thing I can offer.

If in the future anyone else has this problem, you can fix it by transplanting the shell onto another robot.  Here's how

1) Create your sacrificial bot (We'll call it a Dummy-bot").  Make it roughly the same shape as the corrupted bot.  Give it a paintjob and some components (one control board and one wired motor minimum); try your best to place the components so that they won't end up outside the chassis when you replace the shell.
2) Make a backup of the Dummy-bot and open it in Notepad++.  Open up the corrupted file in Notepad++ too.
3) In the corrupted file, find the word "Chassis."  There will be a one line gap, then about 200 lines of numbers, then the word "true."  Copy all 200-odd lines of numbers and paste them over the 200-odd lines in the Dummy-bot's file.
4) In the corrupted file, find the word "false" followed by about 100-odd lines of numbers.  Again, copy them and paste over those in the Dummy-bot's file.

If you did it all correctly, you should end up with your old chassis on your Dummy-bot.

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Salvage a chassis shape from a corrupted bot file?
« Reply #30 on: November 15, 2010, 10:12:15 PM »
Good to know you fixed it.  Note to self: do not attempt to skin bots with .png's, EVER.

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