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

Notes and suggestions on thstd #49

Open
ghost opened this issue Oct 7, 2018 · 0 comments
Open

Notes and suggestions on thstd #49

ghost opened this issue Oct 7, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 7, 2018

So I went poking around to see how the new std dump tool worked. It seems to outline everything well for the most part. I had created a tool for this some time ago so I'm sharing my findings (and opinions on the design).

For each entry the first param is marked as unknown, this number is actually an identifier used to refer to the object(entry) id.

Second, in your version of the tool "FACE:" refers to the actual placement of the objects(entries) in the scene. I do not know if these control the draw order but it seems like in your version it is assumed that the draw order is decided elsewhere. In my version I included all of the object placement information in one location similar to how the actual std file has them.

	place_object(0, 0, 2432, 0);
	place_object(0, 0, 2944, 0);
	place_object(0, 0, 3456, 0);
	place_object(1, 0, -128, 0);
	place_object(1, 0, 384, 0);
	place_object(1, 0, 896, 0);
	place_object(1, 0, 1408, 0);
        etc...

I will also attach a copy of my dumped version for comparison purposes. It is designed to mimic a more readable script-like syntax. The std file I used is day01.std from Touhou 16.5.

day01.txt
day01_ultima_ver.txt

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

No branches or pull requests

1 participant