Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ggdict: unknown value types 9, 10 and 11 for RtMI .wimpy files #5

Open
fzipp opened this issue Sep 30, 2022 · 2 comments
Open

ggdict: unknown value types 9, 10 and 11 for RtMI .wimpy files #5

fzipp opened this issue Sep 30, 2022 · 2 comments

Comments

@fzipp
Copy link
Owner

fzipp commented Sep 30, 2022

Examples:

# unknown value type: 9
ggdict -monkey-island -to-json Cliff.wimpy

# unknown value type: 10
ggdict -monkey-island -to-json Alley.wimpy

# unknown value type: 11
ggdict -monkey-island -to-json BarebonesIsland.wimpy
@fzipp
Copy link
Owner Author

fzipp commented Sep 30, 2022

  • 9: coordinate (e.g. "(960, 480)") for point
  • 10: coordinate pair (e.g. "((0, 0),(123, 456))") for rectangle
  • 11: coordinate list (e.g. "((33,74),(175,113),(217,13),(40,29))") for polygon

These types are effectively strings.

@fzipp
Copy link
Owner Author

fzipp commented Oct 2, 2022

Conversion to JSON is already implemented on main.
The reverse direction has yet to be implemented. To do this, the marshaller must recognize strings in the form of coordinates and set the appropriate type markers. At the moment, coordinates are still encoded as regular strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant