Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Garbled text replacing editor #171

Open
na-sa-do opened this issue Nov 20, 2016 · 10 comments
Open

Garbled text replacing editor #171

na-sa-do opened this issue Nov 20, 2016 · 10 comments

Comments

@na-sa-do
Copy link
Contributor

na-sa-do commented Nov 20, 2016

https://i.imgur.com/auoT3J1.png

This seems to be happening to random editors. In this case it's a script (one that I found a bug in -_-), but it also happened to a scene. Also, pressing Cmd+W while the active tab has this in it just closes the entire Superpowers window.

@na-sa-do na-sa-do closed this as completed Dec 4, 2016
@na-sa-do na-sa-do reopened this Dec 4, 2016
@na-sa-do
Copy link
Contributor Author

na-sa-do commented Dec 4, 2016

whoops, misclick

Also, I uploaded the file over here and it actually worked: https://static.vikomprenas.com/wtf-superpowers

@na-sa-do
Copy link
Contributor Author

na-sa-do commented Dec 4, 2016

O...kay. So I just had a scene editor replaced with what looks like the first half or so of a shader.

Going off that and the suspicious "PNG" at the beginning of the file I uploaded, I'd say it's somehow deciding to send raw asset data in place of an actual editor? What the hell?

@na-sa-do
Copy link
Contributor Author

na-sa-do commented Dec 4, 2016

But it's only partial asset data. The PNG doesn't actually qualify as a PNG. Also it ends in script.js">, which I'm pretty sure is not ever allowed in PNG. What the hell?

@na-sa-do
Copy link
Contributor Author

na-sa-do commented Dec 4, 2016

Okay. On cursory inspection, the asset numbers of the assets being confused with each other are completely different (323 in place of 131), at least in the scene/shader case, since I actually know what's going on there and can look. Also, the assets themselves don't look like symlinks, and contain the right data in the actual files.

@na-sa-do
Copy link
Contributor Author

na-sa-do commented Dec 4, 2016

entries.json looks fine. I have to leave now

@elisee
Copy link
Contributor

elisee commented Dec 8, 2016

No idea what that could be, haven't seen that behavior before. Is it possible your project or some folder inside it has a name that conflicts with the paths for the editors somehow? Seems unlikely but I can't think of a better explanation.

@na-sa-do
Copy link
Contributor Author

na-sa-do commented Dec 8, 2016

The editors are stored in their own folder, separately from the projects, aren't they?

@elisee
Copy link
Contributor

elisee commented Dec 8, 2016

Yes, but URL route mapping could possible explain that. It's just a shot in the dark cause I can't think of a better explanation.

@na-sa-do
Copy link
Contributor Author

na-sa-do commented Dec 9, 2016

I have no idea how to check for this, so...

@na-sa-do
Copy link
Contributor Author

Let's wake this two-month-old issue up again! Now that I actually can think of something to try, I copied and pasted a printable part of the garbled data into find . -type f -exec fgrep B.@.@.@ '{}' ';' (it's B.@.@.@), and got one result: ./assets/Characters (179)/Generic [redacted]s (196)/No. 3 Sprite (207)/map-map.dat. Does that help anything? I still have no idea what else to try.

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

No branches or pull requests

2 participants