Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Roblox/rbx-test-files
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: UpliftGames/rbx-test-files-roblox
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
Loading
Showing with 6,317 additions and 65 deletions.
  1. +0 −21 .github/workflows/clabot.yml
  2. +1 −0 .gitignore
  3. +1 −0 CODEOWNERS
  4. +1 −1 LICENSE.txt
  5. +2 −0 edge-cases/xml-unknown-type/README.md
  6. +13 −0 edge-cases/xml-unknown-type/xml.rbxmx
  7. +18 −0 models/attributes/README.md
  8. BIN models/attributes/binary.rbxm
  9. +20 −0 models/attributes/xml.rbxmx
  10. +5 −0 models/ball-socket-constraint/README.md
  11. BIN models/ball-socket-constraint/binary.rbxm
  12. +26 −0 models/ball-socket-constraint/xml.rbxmx
  13. +10 −0 models/cframe-case-mixture/README.md
  14. BIN models/cframe-case-mixture/binary.rbxm
  15. +49 −0 models/cframe-case-mixture/xml.rbxmx
  16. +6 −0 models/cframe-special-cases/README.md
  17. BIN models/cframe-special-cases/binary.rbxm
  18. +533 −0 models/cframe-special-cases/xml.rbxmx
  19. +7 −0 models/optionalcoordinateframe-models/README.md
  20. BIN models/optionalcoordinateframe-models/binary.rbxm
  21. +176 −0 models/optionalcoordinateframe-models/xml.rbxmx
  22. +4 −0 models/package-link/README.md
  23. BIN models/package-link/binary.rbxm
  24. +51 −0 models/package-link/xml.rbxmx
  25. +6 −0 models/sharedstring/README.md
  26. BIN models/sharedstring/binary.rbxm
  27. BIN models/sharedstring/expected.png
  28. +1,753 −0 models/sharedstring/xml.rbxmx
  29. +6 −0 models/tags/README.md
  30. BIN models/tags/binary.rbxm
  31. +13 −0 models/tags/xml.rbxmx
  32. +4 −0 models/text-label-with-font/README.md
  33. BIN models/text-label-with-font/binary.rbxm
  34. +92 −0 models/text-label-with-font/xml.rbxmx
  35. +27 −0 models/three-beams/README.md
  36. BIN models/three-beams/binary.rbxm
  37. +83 −0 models/three-beams/xml.rbxmx
  38. +0 −3 models/three-rayvalues/README.md
  39. BIN models/three-rayvalues/binary.rbxm
  40. +29 −0 models/three-uigradients/README.md
  41. BIN models/three-uigradients/binary.rbxm
  42. +53 −0 models/three-uigradients/xml.rbxmx
  43. +3 −3 models/three-unique-parts/README.md
  44. BIN models/three-unique-parts/binary.rbxm
  45. +18 −5 models/three-unique-parts/xml.rbxmx
  46. +7 −0 models/three-vector3values/README.md
  47. BIN models/three-vector3values/binary.rbxm
  48. +44 −0 models/three-vector3values/xml.rbxmx
  49. +8 −0 models/two-cframevalues/README.md
  50. BIN models/two-cframevalues/binary.rbxm
  51. +49 −0 models/two-cframevalues/xml.rbxmx
  52. +7 −0 models/two-imagebuttons/README.md
  53. BIN models/two-imagebuttons/binary.rbxm
  54. +191 −0 models/two-imagebuttons/xml.rbxmx
  55. +9 −0 models/two-particleemitters/README.md
  56. BIN models/two-particleemitters/binary.rbxm
  57. +73 −0 models/two-particleemitters/xml.rbxmx
  58. +6 −0 models/two-ray-values/README.md
  59. BIN models/two-ray-values/binary.rbxm
  60. +15 −32 models/{three-rayvalues → two-ray-values}/xml.rbxmx
  61. +8 −0 models/two-terrainregions/README.md
  62. BIN models/two-terrainregions/binary.rbxm
  63. +43 −0 models/two-terrainregions/xml.rbxmx
  64. +6 −0 models/unions/README.md
  65. BIN models/unions/binary.rbxm
  66. BIN models/unions/expected.png
  67. +706 −0 models/unions/xml.rbxmx
  68. +4 −0 models/weldconstraint/README.md
  69. BIN models/weldconstraint/binary.rbxm
  70. +224 −0 models/weldconstraint/xml.rbxmx
  71. +4 −0 places/baseplate-454/README.md
  72. BIN places/baseplate-454/binary.rbxl
  73. +706 −0 places/baseplate-454/xml.rbxlx
  74. +4 −0 places/baseplate-566/README.md
  75. BIN places/baseplate-566/binary.rbxl
  76. +1,193 −0 places/baseplate-566/xml.rbxlx
21 changes: 0 additions & 21 deletions .github/workflows/clabot.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.lock
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @LPGhatguy @Dekkonot @Kampfkarren
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Roblox Corporation
Copyright (c) 2023 Lucien Greathouse

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
2 changes: 2 additions & 0 deletions edge-cases/xml-unknown-type/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# xml-unknown-type
An artificial test file containing a `NumberValue` with a property named `hello` of type `Baloney`. At the time of this writing, `Baloney` is not a type that is present in the Roblox model format, so this model exercises what implementations do with unknown property types.
13 changes: 13 additions & 0 deletions edge-cases/xml-unknown-type/xml.rbxmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
<Meta name="ExplicitAutoJoints">true</Meta>
<External>null</External>
<External>nil</External>
<Item class="NumberValue" referent="RBXBA58581CA31545A480E20D8DD930F7EB">
<Properties>
<string name="Name">A NumberValue</string>
<Baloney name="hello">
I really hope Roblox never makes a property called Baloney
</Baloney>
</Properties>
</Item>
</roblox>
18 changes: 18 additions & 0 deletions models/attributes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- Roblox Studio Version: 0.467.0.418297

A folder with the following attributes:
- Boolean: `true`
- BrickColor: `Really red`
- Color3: `rgb(162, 0, 255)`
- ColorSequence: A color sequence with `#f00` at 0, `#0f0` at 0.5, and `#00f` at 1
- Number: `12345`
- NumberRange: `5, 10`
- NumberSequence: A number sequence with the value 1 at the time 0, the value 0 at the time 0.5, and the value 1 at the time 1.
- Rect: `1, 2, 3, 4`
- String: `Hello, world!`
- UDim: `0.5, 100`
- UDim2: `{0.5, 10}, {0.7, 30}`
- Vector2: `10, 50`
- Vector3: `1, 2, 3`
- Infinity: `math.huge`
- NaN: `0/0`
Binary file added models/attributes/binary.rbxm
Binary file not shown.
20 changes: 20 additions & 0 deletions models/attributes/xml.rbxmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
<Meta name="ExplicitAutoJoints">true</Meta>
<External>null</External>
<External>nil</External>
<Item class="Folder" referent="RBX10E3276249364E44B1EBE3BF36E14C1D">
<Properties>
<BinaryString name="AttributesSerialize"><![CDATA[DwAAAAMAAABOYU4GAAAAAAAA+P8IAAAASW5maW5pdHkGAAAAAAAA8H8NAAAAQ29sb3JTZXF1
ZW5jZRkDAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAAAAAAAAPwAAAAAAAIA/AAAAAAAAAAAA
AIA/AAAAAAAAAAAAAIA/BwAAAFZlY3RvcjMRAACAPwAAAEAAAEBABwAAAFZlY3RvcjIQAAAg
QQAASEIOAAAATnVtYmVyU2VxdWVuY2UXAwAAAAAAAAAAAAAAAACAPwAAAAAAAAA/AAAAAAAA
AAAAAIA/AACAPwYAAABDb2xvcjMPo6IiPwAAAAAAAIA/CgAAAEJyaWNrQ29sb3IO7AMAAAQA
AABSZWN0HAAAgD8AAABAAABAQAAAgEAFAAAAVURpbTIKAAAAPwoAAAAzMzM/HgAAAAQAAABV
RGltCQAAAD9kAAAACwAAAE51bWJlclJhbmdlGwAAoEAAACBBBgAAAE51bWJlcgYAAAAAgBzI
QAcAAABCb29sZWFuAwEGAAAAU3RyaW5nAg0AAABIZWxsbywgd29ybGQh]]></BinaryString>
<string name="Name">Folder</string>
<int64 name="SourceAssetId">-1</int64>
<BinaryString name="Tags"></BinaryString>
</Properties>
</Item>
</roblox>
5 changes: 5 additions & 0 deletions models/ball-socket-constraint/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* Roblox Studio version: 0.467.0.418297

This file contains a single `BallSocketConstraint` that was inserted via the Studio UI with its default properties.

`BallSocketConstraint` has a `BrickColor` property, `Color`, making it a good test case for `BrickColor`.
Binary file added models/ball-socket-constraint/binary.rbxm
Binary file not shown.
26 changes: 26 additions & 0 deletions models/ball-socket-constraint/xml.rbxmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
<Meta name="ExplicitAutoJoints">true</Meta>
<External>null</External>
<External>nil</External>
<Item class="BallSocketConstraint" referent="RBX91EC4F5665474AC392A6D7E51E304935">
<Properties>
<Ref name="Attachment0">null</Ref>
<Ref name="Attachment1">null</Ref>
<BinaryString name="AttributesSerialize"></BinaryString>
<int name="Color">1009</int>
<bool name="Enabled">true</bool>
<bool name="LimitsEnabled">false</bool>
<float name="MaxFrictionTorqueXml">0</float>
<string name="Name">BallSocketConstraint</string>
<float name="Radius">0.150000006</float>
<float name="Restitution">0</float>
<int64 name="SourceAssetId">-1</int64>
<BinaryString name="Tags"></BinaryString>
<bool name="TwistLimitsEnabled">false</bool>
<float name="TwistLowerAngle">-45</float>
<float name="TwistUpperAngle">45</float>
<float name="UpperAngle">45</float>
<bool name="Visible">false</bool>
</Properties>
</Item>
</roblox>
10 changes: 10 additions & 0 deletions models/cframe-case-mixture/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# cframe-case-mixture
* Roblox Studio version: 0.452.2.413165

Contains two `CFrameValue` objects with two seperate values and their names set accordingly. The values are:
- `0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0`
- `0.15625, -0.15625, 0.1, -0.1, 0, 0, 1337, -1337, inf, -inf, nan, nan`

In the binary format, the first of these values will have an orientation ID of `03` and the second will have an orienation ID of `00`.

This test file is really only useful for testing implementations of the binary format, but an xml file is included for completion.
Binary file added models/cframe-case-mixture/binary.rbxm
Binary file not shown.
49 changes: 49 additions & 0 deletions models/cframe-case-mixture/xml.rbxmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
<Meta name="ExplicitAutoJoints">true</Meta>
<External>null</External>
<External>nil</External>
<Item class="CFrameValue" referent="RBX0D02F757F9F544179780757DCE66884D">
<Properties>
<BinaryString name="AttributesSerialize"></BinaryString>
<string name="Name">0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0</string>
<int64 name="SourceAssetId">-1</int64>
<BinaryString name="Tags"></BinaryString>
<CoordinateFrame name="Value">
<X>0</X>
<Y>0</Y>
<Z>0</Z>
<R00>1</R00>
<R01>0</R01>
<R02>0</R02>
<R10>0</R10>
<R11>0</R11>
<R12>-1</R12>
<R20>0</R20>
<R21>1</R21>
<R22>0</R22>
</CoordinateFrame>
</Properties>
</Item>
<Item class="CFrameValue" referent="RBX17F887E3DFFE4795B92492C115AED292">
<Properties>
<BinaryString name="AttributesSerialize"></BinaryString>
<string name="Name">0.15625, -0.15625, 0.1, -0.1, 0, 0, 1337, -1337, inf, -inf, nan, nan</string>
<int64 name="SourceAssetId">-1</int64>
<BinaryString name="Tags"></BinaryString>
<CoordinateFrame name="Value">
<X>0.15625</X>
<Y>-0.15625</Y>
<Z>0.100000001</Z>
<R00>-0.100000001</R00>
<R01>0</R01>
<R02>0</R02>
<R10>1337</R10>
<R11>-1337</R11>
<R12>INF</R12>
<R20>-INF</R20>
<R21>NAN</R21>
<R22>NAN</R22>
</CoordinateFrame>
</Properties>
</Item>
</roblox>
6 changes: 6 additions & 0 deletions models/cframe-special-cases/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# cframe-special-cases
* Roblox Studio version: 0.452.2.413165

Contains 24 `CFrameValue` objects. Each one corresponds to one of the special orientation IDs in the binary format, and is named after that ID. For more information see the [CFrame specification](https://github.com/rojo-rbx/rbx-dom/blob/master/format/binary.md#cframe) in rbx-dom.

This test file is really only useful for testing implementations of the binary format, but an xml file is included for completion.
Binary file added models/cframe-special-cases/binary.rbxm
Binary file not shown.
Loading