gametechmods
Robot Arena => General Support => Topic started by: Vertigo on June 21, 2011, 10:49:34 AM
-
I opened up the AI folder, and opened up a team logo image, and changed it
Still remained a .bmp, same size, same file name
I start RA2, go to select an AI bot, and it crashes
I have noticed by clicking on the folder RA2 is in, properties, it is in "Read Only"
I unchecked "Read Only", and clicked on "Apply", but as soon as I re-open the properties, and it reset itself to "Read Only"
I much preferred Vista :(
-
You may have to be an admin to fix that.
-
lol I am
Its my laptop and there's only one login
-
TC, is your RA2 out of your C drive?
Because Windows 7 only hates it while its in there.
(...At least if I remember correctly)
-
I have this same problem with windows 7, I've managed to get it to stay unchecked on one of my games, although i don't have a clue how, as every other time it just resets like you said.
-
Yeah, its on my C drive
EDIT: Just put the folder on my desktop and doesn't make any difference
-
Any other ideas?
If I can't fix this, I'll never be able to release SkAI High or host another tourney
-
What did you edit the .bmp with?
-
paint.net
-
What depth did you save it as? Sometimes RA2 doesn't like it.
-
Its not because of the team picture it won't work
If I open teams.txt, don't change anything, but save it, then it will crash too, I simply cannot edit anything in the RA2 folder
-
Can you for example, rename a bot in the robot designs folder?
-
Nope
-
DO you have editing rights to all the files and folders of RA2?
-
Should have
I have noticed by clicking on the folder RA2 is in, properties, it is in "Read Only"
I unchecked "Read Only", and clicked on "Apply", but as soon as I re-open the properties, and it reset itself to "Read Only"
-
For some reason my anti-virus made nothing editable on my RA2 for my laptop. Try disabling it for 5 mins. (Disconnect the internet first). If not that, I got no idea.
-
Nope
-
Nope
This might sound crazy, but maybe its still thinking its part of the C Drive, as that "second" RA2 still exists in that hidden folder section.
-
Nope
This might sound crazy, but maybe its still thinking its part of the C Drive, as that "second" RA2 still exists in that hidden folder section.
I believe I have the same problem, and my copy has never been on my C drive.
Though, just to check, is there a delay before it crashes Vertigo, as in it comes up with the teams and the bots, but then it crashes?
-
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.
-
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
-
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?
-
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
-
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.
-
FFFFUUUUUUUUUUU, how didn't i notice that?
Anyway, what are the control names for FBSPlus.py
-
Forward, LeftRight and Spin isn't it?
-
I thought it used ahead?
-
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 :/
-
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.
-
G.K., that's a curly brace ;)
Curly brace: }
Square bracket: ]
-
Shut up. :P
-
So, I've AI'd an SNS with those bindings, and it still doesn't move towards its opponent or avoid immobility?
-
Controls named?
-
Forward, LeftRight & Spin
-
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"
-
Ah, that would be the problem :D