Author Topic: Windows 7 does not like RA2  (Read 3101 times)

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #20 on: June 23, 2011, 10:06:21 AM »
This doesn't seem crazy at all, you just need to be a bit technical to understand this WTF?!?! situation.

I think you are using the wrong (windows) tools to edit the files.

BMP images aren't just BMP images, you can have various bit depths and other settings. The programming of RA2 assumes these properties of the BMP image and crashes if these assumptions aren't true. Use the GIMP for editing the image. I think it saves the image with the same depth-properties as it opens the image.

The same goes for text files. Text files have to be saved in a certain encoding. An encoding is a convention for what values (since a computer only understands numbers, or bits) we use for what characters. Different encodings exist and I think RA2 assumes one encoding while your editor uses a different encoding. Try editing the image with Notepad++, it should save the file in the same encoding as it was opened.
I did use Notepad++ to edit the files

That's not the problem, if anything changes within the RA2 folder, if I save any file, regardless how I do it, crashes the game

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #21 on: June 23, 2011, 01:44:27 PM »
Ermm, everythings OK now :P

Basically just extracted another copy of RA2, copied the files across, and it worked
T'was like the other copy was corrupt or something?

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #22 on: June 23, 2011, 02:00:05 PM »
OK, actually, not all OK

Just unchecked edited the teams, changed names, pictures etc and all was OK
Then edited the bindings.py and put two new lines in saying this

        list.append( ("Brain Washer 6", "Omni", { 'topspeed': 12.0, 'throttle': 110, 'turn':60, 'turnspeed':1.5, 'weapons': (13,) }) )
   list.append( ("Final Flipper", "Flipper", { 'topspeed': 12.0, 'throttle': 110, 'turn':60, 'turnspeed':1.5, 'weapons': (13,) }) )

Aaaaand it crashes on startup

Offline Conraaa

  • Certified Hood Classic
  • *
  • Posts: 3325
  • Rep: 10
  • I like my sugar with coffee and cream
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #23 on: June 23, 2011, 02:02:08 PM »
OK, actually, not all OK

Just unchecked edited the teams, changed names, pictures etc and all was OK
Then edited the bindings.py and put two new lines in saying this

        list.append( ("Brain Washer 6", "Omni", { 'topspeed': 12.0, 'throttle': 110, 'turn':60, 'turnspeed':1.5, 'weapons': (13,) }) )
list.append( ("Final Flipper", "Flipper", { 'topspeed': 12.0, 'throttle': 110, 'turn':60, 'turnspeed':1.5, 'weapons': (13,) }) )

Aaaaand it crashes on startup
One has spaces at the beginning the other has tabs at the beginning.
Bindings don't like tabs.

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #24 on: June 23, 2011, 02:17:35 PM »
FFFFUUUUUUUUUUU, how didn't i notice that?

Anyway, what are the control names for FBSPlus.py

Offline Conraaa

  • Certified Hood Classic
  • *
  • Posts: 3325
  • Rep: 10
  • I like my sugar with coffee and cream
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #25 on: June 23, 2011, 02:18:07 PM »
Forward, LeftRight and Spin isn't it?

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #26 on: June 23, 2011, 02:18:31 PM »
I thought it used ahead?

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #27 on: June 23, 2011, 02:28:27 PM »
      list.append(("SnStorm","FBSPlus",'radius':1.5,'spinspeed':10,'topspeed':100,'range':99,'throttle':130,'turn':60,'turnspeed':4,'weapons':(2,)}))

So it doesn't like these

Got an SNS to work on Bee.py, decided to try and use this one since everyone seems to use this now
Don't see what's wrong with Bee.py though :/

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #28 on: June 23, 2011, 03:24:41 PM »
I thought it used ahead?

Nope, that's FBS_1.


      list.append(("SnStorm","FBSPlus",{'radius':1.5,'spinspeed':10,'topspeed':100,'range':99,'throttle':130,'turn':60,'turnspeed':4,'weapons':(2,)}))

I entered and bolded a square bracket you missed.
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 nightcracker

  • *
  • Posts: 505
  • Rep: 7
  • Script kiddo
    • View Profile
    • NC Labs
    • Awards
  • Skype: orsonpeters
Re: Windows 7 does not like RA2
« Reply #29 on: June 23, 2011, 05:02:07 PM »
G.K., that's a curly brace ;)

Code: [Select]
Curly brace:    }
Square bracket: ]

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #30 on: June 23, 2011, 05:25:10 PM »
Shut up. :P
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 Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #31 on: June 24, 2011, 10:46:49 AM »
So, I've AI'd an SNS with those bindings, and it still doesn't move towards its opponent or avoid immobility?

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #32 on: June 24, 2011, 10:49:06 AM »
Controls named?
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 Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #33 on: June 24, 2011, 10:51:39 AM »
Forward, LeftRight & Spin

Offline JoeBlo

Re: Windows 7 does not like RA2
« Reply #34 on: June 24, 2011, 11:04:33 AM »
Is "Spin" wired to the drive ? if so thats why it isnt working..

the Spin control is there for HS / SnS hybrids the AI python will spin the robot using "LeftRight"

Offline Vertigo

  • *
  • Posts: 4547
  • Rep: 5
    • View Profile
    • Awards
Re: Windows 7 does not like RA2
« Reply #35 on: June 24, 2011, 11:25:15 AM »
Ah, that would be the problem :D