Kuribo64
Views: 10,232,353 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
12-16-19 05:46 AM
Guest:

Main - Posts by Yoshimaster96

Pages: 1 2 3 4 5 ... 14 15 16 17 18
Yoshimaster96
Posted on 11-03-14 05:30 PM, in The General Project Screenshot/Videos Thread Link | #50710
FIRST SUPER MONKEY BALL CUSTOM LEVEL EVER!!!
[image]
Without collision, though, so you'll fall right through -_-

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-04-14 10:57 AM, in Let's hack... Super Monkey Ball! (rev. 2 of 11-04-14 10:57 AM) Link | #50774
Need help cracking this collision:

FLOAT:

-5
0
-5
0
1
0
-2.01
-2.01
10
0
10
10
-1
0
0.71
-0.71

-5
0
-5
0
1
0
-2.01
-37181718523570814976
14.14
0
14.14
14.14
-0.71
-0.71
0.71
-0.71

HEX:

C0A00000
00000000
C0A00000
00000000
3F800000
00000000
C0010000
C0010000
41200000
B58637BD
41200001
411FFFFF
BF800000
00000000
3F3504F7
BF3504F7

C0A00000
00000000
C0A00000
00000000
3F800000
00000000
C0010000
E0010000
4162462F
B58637BD
40E24630
40E2462E
BF3504F7
BF3504F7
3F3504F7
BF3504F7

The level is 10x10 units, centered at the origin.
Dimensions:
-X left
+X right
-Y down
+Y up
-Z forward
+Z backward

[EDIT]

I suspect complex functions, such as trig, may be involved. Investigate further!

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-04-14 06:14 PM, in Super Mario 3D Land Hacking Link | #50832
Installed Gateway and dumped an encrypted ROM, but how to dump decrypted ROM from RAM?

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-05-14 08:32 AM, in Let's hack... Super Monkey Ball! (rev. 2 of 11-05-14 09:55 AM) Link | #50855
Posted by blank
It's hard to say much based on this, but my guess would be that the first three floats are the base point of the triangle and the next three are the normal. The next two I'm not sure are floats at all. The next four I don't really have any idea about, but if this is supposed to be 10x10 square then 10 is the width/height and 14.14 is the diagonal. The last four are 2 2D normal vectors. How exactly this translate into a triangle I'm not sure of.

As for trigonometric functions I doubt they are involved. Collision testing has to run fast and trigonometric functions are slow.
2D vectors can be used if you have a plane, which you can get from a normal vector. Also, trig is necessary for rotation matrices, which means it may be used for collision. For example, sin(atan(-37181718523570814976)) is very close to -1, also cos(atan(-37181718523570814976)) is very close to 0.

[EDIT]

Perhaps F-Zero GX uses a similar collision format. I heard that format is known.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-05-14 03:31 PM, in Let's hack... Super Monkey Ball! Link | #50865
I could, but the collision triangles don't match the level geometry, so it'd be hard to make a conclusion.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-06-14 11:59 AM, in Super Mario 3D Land Hacking Link | #50896
How do I dump the files? I have Gateway and a 3DS with FW 4.4. What else do I need? What is the process?

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-08-14 04:21 PM, in Let's hack... Super Monkey Ball! Link | #50986
Anyone know how F-Zero GX's collision is encoded?

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-08-14 05:51 PM, in Let's hack... Super Monkey Ball! (rev. 9 of 11-22-14 08:25 PM) Link | #50999
You'll need a SMB1 ISO and this program:
http://gamehacking.org/downloads/LZSCDec.7z

Extract an lz file.
To decompress, delete the first 4 bytes with a hex editor (or any 4 bytes of the first 8 bytes), then decompress with the program.
To compress, compress with the program, then edit the first 4 bytes to 8 bytes:
CC CC CC CC UU UU UU UU
C: Total compressed size (including these 8 bytes)
U: Uncompressed size
These values are in little endian.

For levels:
File header (0xA0 bytes):

## ## ## ## - ??? (Usually 00 00 00 01)
## ## ## ## - ??? (Usually 00 00 00 64)
## ## ## ## - COLLISION
## ## ## ## - OFFSET 1
00 00 00 A0 ## ## ## ## - ALWAYS
## ## ## ## - NO. GOALS???
## ## ## ## - OFFSET 2
## ## ## ## - NO. GOALS???
00 00 00 00 - ALWAYS
## ## ## ## - BUMPERS
## ## ## ## - OFFSET 3
## ## ## ## - NO. JAMABARS (SEE AD14 AND AD25)
## ## ## ## - OFFSET
## ## ## ## - BANANAS
## ## ## ## - OFFSET 4
00 00 00 00 00 00 00 00 - ALWAYS
00 00 00 00 00 00 00 00 - ALWAYS
## ## ## ## - NO. SOMETHING
## ## ## ## - OFFSET 5
## ## ## ## - LEVEL MODELS
## ## ## ## - OFFSET 6
00 00 00 00 00 00 00 00 - ALWAYS
## ## ## ## - MODELS
## ## ## ## - OFFSET 7
## ## ## ## - NO. SOMETHING
## ## ## ## - OFFSET
## ## ## ## ## ## ## ## - ???
## ## ## ## - REFLECTION FLAG?
## ## ## ## - OFFSET 8
00 00 00 00 00 00 00 00 - ALWAYS
00 00 00 00 00 00 00 00 - ALWAYS
00 00 00 00 00 00 00 00 - ALWAYS



GOAL FORMAT:
XX XX XX XX - X POSITION (FLOAT)
YY YY YY YY - Y POSITION (FLOAT)
ZZ ZZ ZZ ZZ - Z POSITION (FLOAT)
XX XX - X ROTATION (INT, FULL RANGE IS 360 DEGREES)
YY YY - Y ROTATION (INT, FULL RANGE IS 360 DEGREES)
ZZ ZZ - Z ROTATION (INT, FULL RANGE IS 360 DEGREES)
CC CC - GOAL COLOR (4200 IS BLUE, 4700 IS GREEN, 5200 IS RED)

JAMABAR FORMAT:
XX XX XX XX - X POSITION (FLOAT)
YY YY YY YY - Y POSITION (FLOAT)
ZZ ZZ ZZ ZZ - Z POSITION (FLOAT)
XX XX - X ROTATION (INT, FULL RANGE IS 360 DEGREES)
YY YY - Y ROTATION (INT, FULL RANGE IS 360 DEGREES)
ZZ ZZ - Z ROTATION (INT, FULL RANGE IS 360 DEGREES)
00 00 - ALWAYS 0
XX XX XX XX - X SCALE (FLOAT)
YY YY YY YY - Y SCALE (FLOAT)
ZZ ZZ ZZ ZZ - Z SCALE (FLOAT)

BUMPER FORMAT:
XX XX XX XX - X POSITION (FLOAT)
YY YY YY YY - Y POSITION (FLOAT)
ZZ ZZ ZZ ZZ - Z POSITION (FLOAT)
XX XX - X ROTATION (INT, FULL RANGE IS 360 DEGREES)
YY YY - Y ROTATION (INT, FULL RANGE IS 360 DEGREES)
ZZ ZZ - Z ROTATION (INT, FULL RANGE IS 360 DEGREES)
00 00 - ALWAYS 0
XX XX XX XX - X SCALE (FLOAT)
YY YY YY YY - Y SCALE (FLOAT)
ZZ ZZ ZZ ZZ - Z SCALE (FLOAT)

BANANA FORMAT:
XX XX XX XX - X POSITION (FLOAT)
YY YY YY YY - Y POSITION (FLOAT)
ZZ ZZ ZZ ZZ - Z POSITION (FLOAT)
TT TT TT TT - TYPE OF BANANA (00000000 SINGLE, 00000001 BUNCH)

MODEL FORMAT:
UNKNOWN, SEEMS TO BE SOME KIND OF TREE/HIERARCHY

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-13-14 05:41 PM, in Let's hack... Super Monkey Ball! Link | #51170
Anyone make use of my notes? Also, if anyone wants me to try values for the collision, I'll be glad to.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-13-14 07:17 PM, in Super Mario 3D Land Hacking Link | #51172
What tool would I use to rip the BCSTM music files from this game?

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-14-14 12:51 PM, in Super Mario 3D Land Hacking Link | #51187
Thanks!

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-15-14 08:10 PM, in Let's hack... Super Monkey Ball! Link | #51247
YAY! I FINALLY CRACKED THE COLLISION !!!1!!11!!11one
But it's so glitchy that the ball falls through the floor at random places

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-16-14 05:11 PM, in The General Project Screenshot/Videos Thread Link | #51284
I cracked the collision (yay).
It's very glitchy, however, so it's not playable at this point.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 11-18-14 07:20 PM, in Let's hack... Super Monkey Ball! (rev. 5 of 11-22-14 03:02 PM) Link | #51440
COLLISION TRIANGLE FORMAT

04 X1
04 Y1
04 Z1
04 Normal X
04 Normal Y
04 Normal Z
02 X Angle
02 Y Angle
02 Z Angle
02 Zero
04 DX2X1
04 DY2Y1
04 DX3X1
04 DY3Y1
04 ?
04 ?
04 ?
04 ?

04 & 02 are lengths.

X1, Y1, and Z1 are the first point in the triangle.
Normal is, obviously, the triangle's normal vector.
X, Y, and Z angle specifies the rotation angle (Z then X then Y) as integers, which are scaled to 360 degrees (i.e. 4000 is 90 degrees, 8000 is 180, C000 is 270).
DX2X1 and DY2Y1 specify the distance from point 1 to point 2 (DX3X1 and DY3Y1 do the same for point 3).
Note that DZ is not specified, so rotation is necessary.
Also note that said rotation takes place about point 1, NOT the origin.
The ?s are 2 2D vectors, that's all I know at the moment.

[EDIT]

Now we just need to convert GMA 3D triangles to LZ 3D triangles

GMA 3D triangle format:
04 Pos X
04 Pos Y
04 Pos Z
04 Normal I
04 Normal J
04 Normal K
04 Color RGBA (Optional)
04 Texture S
04 Texture T

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 12-01-14 06:11 PM, in Let's hack... Super Monkey Ball! (rev. 2 of 12-01-14 07:23 PM) Link | #52107
Some dumb program I made to extract collision from LZ files:
https://www.dropbox.com/s/bh3gpf9mypv1h5i/lz2obj.exe?dl=0
Decompress LZ files with this:
https://www.dropbox.com/s/vkuua4a2g8inpi7/lzfix.zip?dl=0

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 12-03-14 05:35 PM, in The Introductions Thread (rev. 2 of 12-05-14 08:58 AM) Link | #52205
こんにちは.私の名はYoshimaster96です.私がを日本語学びます.私がスーパーモンキーボールを改造します.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 12-03-14 05:52 PM, in Just stop trying, Google Link | #52207
Oh, and the "Popular channel you might like" nonsense needs to stop. Or not. Or Google will go bankrupt from lack of trust and demand, but seriously, they have WAY too much money for that to happen anytime soon. Or someone will make a better video site and send Google under (I hope that happens). In the meantime, I'm forced to use GOOG£€'$ ¥OUTUB€.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 12-04-14 05:23 PM, in The Introductions Thread (rev. 2 of 12-04-14 05:26 PM) Link | #52231
Posted by jjesss064
Welcome Luigixhero, ENJOY your stay (agmhmmmm)

こんいちはYoshimaster96.貴方は歓迎されている!

Japanese lesson 1:
Konnichiwa, not konichiwa (こんにちは, NOT こんいちは).
Also interesting to note is that は is a particle in this phrase, and while written as は(ha), is pronounced わ(wa).

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 12-06-14 10:17 AM, in Let's hack... Super Monkey Ball! Link | #52299
Screenshot of my new program, "LZ Modifier" (not final name):
[image]

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96

Yoshimaster96
Posted on 12-06-14 02:34 PM, in Let's hack... Super Monkey Ball! (rev. 2 of 12-06-14 02:39 PM) Link | #52321
Posted by gridatttack
Awesome, an editor is on the works. I wonder, hwo is the BG handled? Is there something in the game that tells the game what backdrop it will use? Or are they hardcoded?
The BG is usually made of several models, each loaded by name with a position, rotation, and scaling. These objects are static and cannot move.

Posted by blank
Posted by Yoshimaster96
Some dumb program I made to extract collision from LZ files:
https://www.dropbox.com/s/bh3gpf9mypv1h5i/lz2obj.exe?dl=0
Decompress LZ files with this:
https://www.dropbox.com/s/vkuua4a2g8inpi7/lzfix.zip?dl=0


When trying to run these I get an error telling me that I'm missing MSVCR100D.dll, which as far as I can tell means that the programs are debug versions.

Try these:
https://www.dropbox.com/s/bh3gpf9mypv1h5i/lz2obj.exe?dl=0
https://www.dropbox.com/s/vkuua4a2g8inpi7/lzfix.zip?dl=0

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96
Pages: 1 2 3 4 5 ... 14 15 16 17 18

Main - Posts by Yoshimaster96

Page rendered in 0.030 seconds. (2048KB of memory used)
MySQL - queries: 22, rows: 144/144, time: 0.019 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.