Register - Login
Views: 99797234
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 05:51:11 AM
Jul - SM64 Hacking (Archive) - SM64 Water Hex Hacking (Geeky stuff) New poll - New thread - New reply
Pages: 1 2 3 4Next newer thread | Next older thread
VL-Tone
Member
Super Mario 64 forum moderator
Level: 53


Posts: 37/621
EXP: 1136482
For next: 20637

Since: 07-27-07

From: Montreal, Canada

Since last post: 4.7 years
Last activity: 6 days

Posted on 08-17-07 07:29:41 PM (last edited by VL-Tone at 09-23-08 01:25 AM) Link | Quote
Time: Now - Date: Today - Weather: What can be seen outside. - Mood: How it feels. Answer to the universe: 42
Originally posted by Jon
Hmm i never really thought about editing water, anyway nice job im sorry to hear what happened at your office, i haven't really been online in a while


Hi Jon, long time no see, welcome to the forum. About that thing at my workplace, I got over it... It wasn't that bad, nobody died or anything.

Anyway let's get back to the topic

I'll try to implement water areas editing in the next version, or maybe the one just after. Also, I'm gonna try to find where the "hazy haze" is, but it's probably put there using the same command.

____________________
Jon
Member
Level: 14


Posts: 3/31
EXP: 12652
For next: 419

Since: 08-17-07

From: Here??

Since last post: 13.1 years
Last activity: 13.1 years

Posted on 08-19-07 03:02:44 PM Link | Quote
Will you be able to put water anyware or just change its params or what not?

____________________
Hi
John2k4
490
Bubble Bobble
Level: 48


Posts: 88/499
EXP: 817953
For next: 5590

Since: 08-05-07

From: Arizona

Since last post: 8.9 years
Last activity: 7.8 years

Posted on 08-19-07 03:08:41 PM Link | Quote
Also, what about the fog in Jolly Roger Bay?

____________________
Jon
Member
Level: 14


Posts: 5/31
EXP: 12652
For next: 419

Since: 08-17-07

From: Here??

Since last post: 13.1 years
Last activity: 13.1 years

Posted on 08-19-07 03:15:53 PM Link | Quote
I think he said its the same command

____________________
I wonder if i can fly........(crash)..... Noooope.
John2k4
490
Bubble Bobble
Level: 48


Posts: 262/499
EXP: 817953
For next: 5590

Since: 08-05-07

From: Arizona

Since last post: 8.9 years
Last activity: 7.8 years

Posted on 09-22-07 03:55:17 PM Link | Quote

Hey, just thought of something-

What about the water in snow man's land?

You can swim in it, but it can't heal you, and you slowly loose health in it.

____________________
I GET NEW LAYOUT!
Roger3245
blakerobinson2u
Member
holly1
Level: 14


Posts: 28/29
EXP: 11451
For next: 1620

Since: 08-13-07


Since last post: 14.6 years
Last activity: 14.7 years

Posted on 09-28-07 01:54:58 AM Link | Quote
or the ice by the ice bully- it acts like lava but mario says "ha ha ha ha haaaa" in stead of "hot hot hot hot hot"
rstewart215804
User
Crazed Mario 64 Hacker!!!
Level: 11


Posts: 5/18
EXP: 5583
For next: 402

Since: 09-13-07


Since last post: 13.2 years
Last activity: 11.7 years

Posted on 10-09-07 06:18:23 PM Link | Quote
The swimming defines a rectangle and a height.

00 00] [F8 01] [0A CD] [07 9A] [13 CD] [EE CE]

[0,1] - The ID of the water polygons that goes with this swimming box
[2,3] – Left Position
[4,5] – Top Position
[6,7] – Right Position
[8,9] – Bottom Position
[10,11] – Y Position of the rectangle.

The water polygons are one of the things loaded with the 0x18 geometry command.

____________________
Just you wait until next time. Until then, keep that Control Stick smokin’! Buwaa ha ha!
VL-Tone
Member
Super Mario 64 forum moderator
Level: 53


Posts: 104/621
EXP: 1136482
For next: 20637

Since: 07-27-07

From: Montreal, Canada

Since last post: 4.7 years
Last activity: 6 days

Posted on 10-13-07 03:08:50 AM Link | Quote
Time: Now - Date: Today - Weather: What can be seen outside. - Mood: How it feels. Answer to the universe: 42
Originally posted by rstewart215804
The swimming defines a rectangle and a height.

00 00] [F8 01] [0A CD] [07 9A] [13 CD] [EE CE]

[0,1] - The ID of the water polygons that goes with this swimming box
[2,3] – Left Position
[4,5] – Top Position
[6,7] – Right Position
[8,9] – Bottom Position
[10,11] – Y Position of the rectangle.

The water polygons are one of the things loaded with the 0x18 geometry command.


Wow, I didn't post very much these last days, and I missed that post from you rstewart215804. Very useful stuff. I'll implement it in the next version.

____________________
messiaen
Catgirl
Level: 68


Posts: 46/1085
EXP: 2596323
For next: 132477

Since: 11-20-07


Since last post: 8.1 years
Last activity: 7.2 years

Posted on 04-24-08 12:08:05 AM Link | Quote
Now with the Flatworld template, I think it is a good idea to bring out this topic again. I'm still very confused about this, but the idea to *FLOOD* Flatworld and make a few islands with 0x24 objects make me eager to learn.

rstewart, what do you mean by 0x18 geometry command? Could you give some example?
Stevoisiak
Member
Level: 38


Posts: 71/283
EXP: 345780
For next: 24667

Since: 11-22-07

From: New York, Long Island

Since last post: 12.4 years
Last activity: 5.6 years

Posted on 04-25-08 02:44:08 PM Link | Quote
Originally posted by blakerobinson2u
or the ice by the ice bully- it acts like lava but mario says "ha ha ha ha haaaa" in stead of "hot hot hot hot hot"

And even the regular lava it's self? We know a bit about regular water, but what about the water where you loose health, the lava, and the super cold "ice-lava"
GhostMaster3000
Member
Level: 18


Posts: 7/53
EXP: 27658
For next: 2239

Since: 04-07-08

From: United States

Since last post: 12.6 years
Last activity: 12.5 years

Posted on 04-26-08 01:29:45 AM Link | Quote
dont forget about the hazy maze "Haze" in the toxic maze. also, we should try generating lava, water, and haze to flatworld

____________________
Consoles Own: Atari 2600, NES, Game Boy, PlayStation, Nintendo 64, Game Boy Color, Sega Dreamcast, PlayStation 2, Gamecube, Xbox, Gameboy Advance (and SP), Nintendo DS (and DS Lite), PSP, Xbox 360, and Wii
Vinnyboiler
Catgirl
Level: 66


Posts: 31/1045
EXP: 2445450
For next: 16401

Since: 12-27-07

From: London, England

Since last post: 6 days
Last activity: 2 days

Posted on 04-26-08 10:00:02 AM Link | Quote
What happens if you enable flat world but in Dire, Dire Docks or other water levels?.
messiaen
Catgirl
Level: 68


Posts: 50/1085
EXP: 2596323
For next: 132477

Since: 11-20-07


Since last post: 8.1 years
Last activity: 7.2 years

Posted on 04-26-08 11:11:50 PM (last edited by messiaen at 04-26-08 08:12 PM) Link | Quote
There is no such thing as "Enabling Flatworld" in specific levels. Flatwold *IS* a level, just like all the others in the game. If you mean erasing the terrain/collision and replacing it with the flatworld plane, there is no reason for doing this, Flatworld is already there for you!

Also, maybe you are missing that one of the main points of Flatworld, which is the linear, edit-friendly data. If you had the Flatworld terrain in another level, still the level commands/layouts would be very messy.

Back on topic, I tried the obvious, that is, inserting one of these 0x44 commands in Flatworld. From what I gather, this is just a special kind of collision command. I inserted it right after the end of the 0x40 triangles, and it crashed the level.

It is still somewhat misterious to me how these very simple commands cover a lot of area, are the bytes 2-11 just coordinates or do they point to vertexes loaded before by a 0x40 command? Or do they have the effect of flooding everything below the "Y" level set?
Stevoisiak
Member
Level: 38


Posts: 73/283
EXP: 345780
For next: 24667

Since: 11-22-07

From: New York, Long Island

Since last post: 12.4 years
Last activity: 5.6 years

Posted on 04-27-08 05:23:34 PM Link | Quote
I still dont get what makes flatworld "edit-friendly." Everything uses the same game coding, what makes flatword's coding different?
GhostMaster3000
Member
Level: 18


Posts: 21/53
EXP: 27658
For next: 2239

Since: 04-07-08

From: United States

Since last post: 12.6 years
Last activity: 12.5 years

Posted on 06-24-08 05:33:49 PM Link | Quote
I Got water in flatworld Now I need the polygon, but when I try to put it in, the ROM crashes, Any Ideas???

Here is a screen:



____________________
Consoles Own: Atari 2600, NES, Game Boy, PlayStation, Nintendo 64, Game Boy Color, Sega Dreamcast, PlayStation 2, Gamecube, Xbox, Gameboy Advance (and SP), Nintendo DS (and DS Lite), PSP, Xbox 360, and Wii
messiaen
Catgirl
Level: 68


Posts: 143/1085
EXP: 2596323
For next: 132477

Since: 11-20-07


Since last post: 8.1 years
Last activity: 7.2 years

Posted on 06-24-08 09:45:28 PM Link | Quote
Nice .

The polygon part will be a bit harder. As rstewart said a few messages ago, they are loaded with the 0x18 command in the level terrain Geo Layout. For instance, there are the 0x18 commands in the Castle Grounds, starting at offset 0x454DB4:

1800 0000 802D 01E0 -> This one is shared by other levels. I can't notice any different upon removing it.
1800 1601 802D 1B70 -> Waterfall polygons
1800 1601 802D 104C -> Main water area (under the bridge and near the start area)

These are pointers to ASM data. My guess is that the water polygons are in the middle of the 0x07 bank of a specific level, but they get called indirectly by that ASM data, instead of the usual 0x15 command.

Perhaps a close look at the polygons of semi-transparent objects (I'm thinking of the Boo enemy) will help us creating a more portable kind of water polygons.

It's been a long time since I last looked at this thread, but what was your approach to create the water box in Flatworld? A "water" 0x24 object would be interesting!
GhostMaster3000
Member
Level: 18


Posts: 25/53
EXP: 27658
For next: 2239

Since: 04-07-08

From: United States

Since last post: 12.6 years
Last activity: 12.5 years

Posted on 06-25-08 02:26:57 AM Link | Quote
I just thought i wanted to try to put water in flatworld. I may put an island (made from custom vertexes). I will keep trying to put in the water polygon. It would be great to have a 0x24 water polygon in platform battlefield though

____________________
Consoles Own: Atari 2600, NES, Game Boy, PlayStation, Nintendo 64, Game Boy Color, Sega Dreamcast, PlayStation 2, Gamecube, Xbox, Gameboy Advance (and SP), Nintendo DS (and DS Lite), PSP, Xbox 360, and Wii
messiaen
Catgirl
Level: 68


Posts: 261/1085
EXP: 2596323
For next: 132477

Since: 11-20-07


Since last post: 8.1 years
Last activity: 7.2 years

Posted on 09-22-08 08:26:35 PM Link | Quote
I used a bit the script dumper and looked at some of the functions called the 0x18 Geo Layout command.

I think I got some pointers for polygon data, all of them in Bank 0x07:


Castle Grounds - 0x11750 = Waterfall
Lethal Lava Land - 0x286BC = Lava
0x28790 = Lava area2


I see some 0xBF triangle commands in these areas, however the other data doesn't seem RSP commands.
These pointers are loaded from the Checksum area (the waterfall is at 0xEBFDC and the lava pointers are nearby pointers, including the lava ones).

____________________
Mario 64 notes @ http://sites.google.com/site/messiaen64/
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 1741/12211
EXP: 99320666
For next: 552905

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 09-23-08 12:39:55 AM Link | Quote

Time/Date

09-22-08 06:39:55pm

Posts

1741

Days Here

447

Level

58
Metal_Man88
Local Moderator
Good work; it makes sense why this was considered tricky, 'Geeky stuff' back when. Now it should be considered the norm, of course. :p

____________________
Original Layout © Tobias Kelmandia
GhostMaster3000
Member
Level: 18


Posts: 38/53
EXP: 27658
For next: 2239

Since: 04-07-08

From: United States

Since last post: 12.6 years
Last activity: 12.5 years

Posted on 09-23-08 12:59:39 AM Link | Quote
With the script dumper, I could try to make the water polygon now in a giant tank I made with the vertex hacking. Also, do you know the other commands for the lava, haze, cold water, etc.

____________________
Consoles Own: Atari 2600, NES, Game Boy, PlayStation, Nintendo 64, Game Boy Color, Sega Dreamcast, PlayStation 2, Gamecube, Xbox, Gameboy Advance (and SP), Nintendo DS (and DS Lite), PSP, Xbox 360, and Wii
Pages: 1 2 3 4Next newer thread | Next older thread
Jul - SM64 Hacking (Archive) - SM64 Water Hex Hacking (Geeky stuff) New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

35 database queries, 9 query cache hits.
Query execution time: 0.104375 seconds
Script execution time: 0.037002 seconds
Total render time: 0.141377 seconds