Fun With Physics [Archive] - Team17 Forum

PDA

View Full Version : Fun With Physics

Etho
4 Jun 2006, 05:00
Here is a very strange mission I made for WWP. Everyone must see it's weirdness!
http://www.blamethepixel.com/filedownload.php?id=1139
Place the mission in your Worms World Party/User/missions folder. If the folder does not exist, then create it. You can play the mission by going into the multiplayer section and click the "Multiplayer Missions" button twice, or you can play it online with other people.

Lex
4 Jun 2006, 05:47
What other forums did you post this mission on, Etho? I want to see others' reactions to the mission! I would try it if playing WWP wasn't such a hassle because of its bugginess.

KRD
4 Jun 2006, 14:33
I'd try it if someone told me how to uninstall WWP completely so I could install it again.
Link, if anyone has ideas: http://forum.team17.co.uk/showthread.php?t=26980
Bonz: Not my computer, I can't see it happening. There'd be a lot to back up if I had to format, so I rather keep the thing well-protected and defragment the drive regularry.

bonz
4 Jun 2006, 15:29
I'd try it if someone told me how to uninstall WWP completely so I could install it again.
Link, if anyone has ideas: http://forum.team17.co.uk/showthread.php?t=26980
What? you still haven't reformatted your HDD in the meantime?

Etho
4 Jun 2006, 20:18
I posted it here and on cl2k. As far as I can tell, no one has actually tried it out yet. A little disappointing considering it took me like 4 hours to make. :confused: I've been trying to think of a new game that could be made from the exploits.
KRD: It seems that uninstalling the game will be very difficult to do. I suggest a more healthy alternative - instead of trying to manually uninstall the game, why not try to manually install it. If you can make it so that the "Uninstall WWP" option shows up when you pop the CD in, then you may be able to manually install it. Ask a friend who has the same WWP CD as you (there are 3 different ones) to then copy and send his WWP folder to you and all the files. Then ask him what registry keys you will need to create. I think WWP has registry keys in 2 or 3 different sections. It may work. :-/

KRD
5 Jun 2006, 00:50
Don't mean to kidnap your thread, Etho, but that sounds crazy enough to work. You reckon I'd be able to actually uninstall the thing after manually installing it properly?

bonz
5 Jun 2006, 00:57
uninstall the thing after manually installing it properly?
Why that? If the game is running properly after a manual install, just keep it like that till your next format of the HDD.

Etho
5 Jun 2006, 03:30
Yeah, exactly what bonz said. But, no I don't think you would be able to uninstall even if you got it working. Something is messed on the computer; I think a path is pointing to the wrong place.

Plutonic
5 Jun 2006, 17:36
i tried running it but i just got a black screen. gotta love WWP...

Alien King
5 Jun 2006, 17:40
I would try it, except I have no idea where my WWP disc is.

maximinio
5 Jun 2006, 19:19
first time installing missions...
i put the file on /User/missions folder
but now dont know where to find this mission!

Etho
5 Jun 2006, 22:16
max: You can play the mission by going into the multiplayer section and click the "Multiplayer Missions" button twice, or you can play it online with other people.
Plut do you get a black screen when you play wwp in general, or just with my mission?

bonz
5 Jun 2006, 23:26
but now dont know where to find this mission!
Go to the single player screen and then to the mission screen.
There's a button on bottom right.
Edit:
See next post!

Plutonic
6 Jun 2006, 00:48
its a multiplayer mission so its under multiplayer -> mult mussions -> user mult missions.
as for wwp... good questions, 1 sec!
nope, just wwp in general.... wonderfull.

Muzer
10 Jun 2006, 10:06
Wow! Excellent Missiion!
How The **** Did You Do That?

marco_s85
17 Jun 2006, 00:01
how did u modify the wind value to 32767 without corrupting the mission file? when i try to do so, the file gets corrupted, do i need other editor than notepad? i tryed to put the file in ansi, unicode and utf, but i can't get it to work...

bonz
17 Jun 2006, 03:02
Hilarious mission! :D
I especially like how the 2 worms slowly roll up the hills and jump to the others as if they were magnetic.
Also the skipping across the water at the end is funny.

Etho
17 Jun 2006, 04:22
Play around with the mines and jetpacks, they are especially fun. And try do the sky jump by doing a mine knock with your worm.

Muzer
17 Jun 2006, 09:54
I love this! I like putting a worm as an obstruction and causing a never-ending loop. I also like petrol bombs.

marco_s85
17 Jun 2006, 11:28
oh, i forgot to say that the mission is fantastic and very original ;)
can u tell us how did u did it?

Muzer
17 Jun 2006, 11:33
meh, open the mission file in notepad. Notice "friction" and "wind" are set to -1 (minus one)
I reckon he edited the text file and changed that.

AndrewTaylor
17 Jun 2006, 12:12
meh, open the mission file in notepad. Notice "friction" and "wind" are set to -1 (minus one)
I reckon he edited the text file and changed that.
That's what I did when I made my mission that had a 45-second-fused mine in it. Any off-the-shelf hex editor will do it for you. I used XVI32.
If Notepad can't do it then that's probably null characters at work. Notepad can't handle them as they're not something that should appear in .txt files, so when you save it it overwrites them with spaces, but any hex editor will keep them for you.

marco_s85
17 Jun 2006, 13:01
AndrewTaylor can u give me a little help with the hex editor? what do i need to do to alter the wind value?

Alien King
17 Jun 2006, 13:03
AndrewTaylor can u give me a little help with the hex editor? what do i need to do to alter the wind value?
On the ASCII side of the screen you should be able to find the relavant part (assuming it's readable). Once found, click on the wind value. Then just change it. Remove what is not needed by replacing it with spaces or something. Should work.

marco_s85
17 Jun 2006, 13:09
how do i edit the number? imagine the number is 1 and i wan't to insert 100

AndrewTaylor
17 Jun 2006, 13:15
I'm not sure. I've only ever altered mine fuse. A lot of hex editors can't insert extra charaters into a file -- they just changes the ones that are already there -- but XVI32 can, which is why I use it.
A lot of files break if you insert or remove characters, but maybe WWP missions don't. I really can't remember; I've only delved into them once.

marco_s85
17 Jun 2006, 13:40
i modify the mission, then i save it, and xvi32 replaces the unknown characters - ( [] ) by spaces ( ). am i doing something wrong?

Alien King
17 Jun 2006, 13:46
A lot of files break if you insert or remove characters.
Isn't there some way of getting around that? I thought there was often a line telling the file how big it actually is. But anyway...
Never heard of a hex editor to change the symbols, as all the symbols have their own hex code. I myself use a different hex editor. XVI32 never gave me any trouble though.

marco_s85
17 Jun 2006, 16:28
still can't get it to work, i edit the mission file .WSM, change the wind value to 255, and it replaces the control characters with spaces...

AndrewTaylor
17 Jun 2006, 17:20
Isn't there some way of getting around that? I thought there was often a line telling the file how big it actually is. But anyway...
Well, that depends on the file format. I've no idea if WWP missions have such a line or not. I mean, in theory you can always modify it a bit more and a bit more, and modify the game's mission loading routines, and so forth, but eventually it just gets impractical.
I've not fired it up to check, but it's safe enough to say that XVI32 does not replace nulls with spaces. It's a hex editor. The whole point of them is not to do things like that.
I'm sure it would if you asked it to, of course.

marco_s85
17 Jun 2006, 17:26
you're right, i can already edit the mission and play with it, but only if i don't add/remove something. if the wind value is 50 and i want to change it to 500, i have to add one byte to the file, and when i insert one byte more, the mission corrupts, but if the wind value is 50 and i change it to 75, without adding/removing nothing, the mission can be playable! i don't understand why this happen, and how did etho put the wind value to 32767, because to do that, he would need to add bytes to the file!

Etho
17 Jun 2006, 23:17
;)
XVI32 truely is the best hex editor. It's simple, fast, and effective. I've made a few other missions since this one that are similiar. I managed to do the highest sky jump possible with low gravity. The worm started 1 pixel above water and jumped 200 pixels above the viewable play area. I also discovered that the drill is very fun to play with when there is anti friction.
Edit: There are a number of extra things you can do to a mission if you hex edit it. I'm a bit tempted to make a new mission editor that has no limits; if only missions were more popular.

Alien King
17 Jun 2006, 23:29
There are a number of extra things you can do to a mission if you hex edit it. I'm a bit tempted to make a new mission editor that has no limits; if only missions were more popular.
When I've recovered from my strain injury, I may start taking a further interest.
Summer holiday is coming soon... lots of free time.

pop
18 Jun 2006, 00:17
why r people saying wwp is bad its great i think better than wa because of the damn patches u have to download as for wwp just play:p

marco_s85
18 Jun 2006, 00:51
Etho can u explain me how do you add values in an hex editor like xvi32? eg: how did u changed the wind value to 32767? when i try to add bytes to the file, it gets corrupted :(

Etho
18 Jun 2006, 01:08
Just about any file type you deal with has a header on it. If you change the length of a file you will need to make some changes to the header too.

marco_s85
18 Jun 2006, 13:05
Etho, can u explain me how to change the header of the file? i would be very gratefull. ;)
... please, answer me...

Plainplane
19 Jun 2006, 23:44
I am currently out of state and away of my worms computer. When I return home I will download the mission. It sounds fun.
Plainplane :)

Plutonic
20 Jun 2006, 03:17
i havent hex edited the file but if the defauly value is a 2 digit number say... 10.
The chances are it is an unsigned value so making the wind strength value -1 will cause it too sort of loop round to the maximum value instead at runtime..... editing the header is probably a better way, and if it is a signed value then the above wont work anyway.

marco_s85
21 Jun 2006, 12:31
Plutonic, how can i edit the header? it is a propriety of all files, or is something in the file?

DaKing
22 Jun 2006, 20:26
Rolfmao XD
I did a pump on that start and the worm fly to another planet :cool:
Great mission Etho :P
By the way, what was your site's address? I forgot T.T

Etho
22 Jun 2006, 22:04
I abandoned my site quite some time ago and none of the links work on it anymore. No point going to it. ;)

Plutonic
23 Jun 2006, 02:12
um, dont know.... i assumed it was at the top of the file, but that might not be strictly true. i think NTFS keeps the header separate from the actuall data for it.

Lex
23 Jun 2006, 04:11
Lol. NTFS has nothing to do with that.

Plutonic
23 Jun 2006, 21:12
meh - what i said was still true :p
differenter head tho i'm guessing.

Shockdude
27 Jun 2006, 17:41
whee!
make more missions!

vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.