Author Topic: MoF/SA/IN Bytecode Documentation [Touhou Code Modding]  (Read 11825 times)

Dark Kitsune

  • Code Fox
MoF/SA/IN Bytecode Documentation [Touhou Code Modding]
« on: August 30, 2015, 06:07:54 PM »
These spreadsheets may be updated often and there can occasionally be some false information but most of it seems to be correct so far.

10 (For MoF and possibly SA)
ECL - https://docs.google.com/spreadsheets/d/1S5vxd9SgSVmqRYPKmBrmw19uTovkQMgfYipMzQmJOkc/edit?usp=sharing
ANM - https://docs.google.com/spreadsheets/d/1B4aVjCuviXMguECodvEFIF31z3_cN-I7zmMZinCnuyA/edit?usp=sharing
STD - https://docs.google.com/spreadsheets/d/1P6YeoWycFcNBLIO202O2Re6gFwg-Nkak-JnwmGjfBu4/edit?usp=sharing
SHT - [coming soon]


8 (For IN; verrrry barebones right now because I am mostly focusing on 10)
ECL - https://docs.google.com/spreadsheets/d/1joms2rUPXzocDN5NOkBWwqSk3FnYYufnYXep9ygUsH8/edit?usp=sharing
ANM - [coming]
STD - [coming]
SHT - [coming some time, once I figure out where to even start]
« Last Edit: July 21, 2016, 09:22:11 PM by Dark Kitsune »

Dark Kitsune

  • Code Fox
Fixed the ECL spreadsheet link and added more spreadsheets-in-progress.

Dark Kitsune

  • Code Fox
Re: MoF/SA/IN Bytecode Documentation [Touhou Code Modding]
« Reply #2 on: February 12, 2016, 08:46:47 PM »
Update: The MoF STD dumper now uses names for the known instructions, and should no longer leave a bunch of broken code at the end if the new code is shorter than the original.

Example (ZUN's original stage01.std from MoF):
« Last Edit: February 13, 2016, 05:30:59 AM by Dark Kitsune »

Re: MoF/SA/IN Bytecode Documentation [Touhou Code Modding]
« Reply #3 on: April 08, 2016, 04:49:33 PM »
Hello my friend, you wrote a wonderful reference!
I'm writing a reference, too (only for ECL th13+ at the moment)
with the goal to combine all efforts until now to document the Touhou file formats
(http://nutzer.bplaced.net/Database/)
and I would like to ask if I could add your database to it, too...
(While crediting you, of course)

(I would very inactive take care of updating the database if your spreadsheets change  ;))

Dark Kitsune

  • Code Fox
Re: MoF/SA/IN Bytecode Documentation [Touhou Code Modding]
« Reply #4 on: April 09, 2016, 02:41:00 AM »
If you want to.
Also, I suggest rewriting some of the bad English in the documentation. I'm guessing that was from translating?

I'm also almost done with a basic SHT dump/pack tool. Example dump of pl00a.sht (Reimu A) from a few minutes ago: http://pastebin.com/Qvdy6kaq
« Last Edit: April 09, 2016, 07:25:17 AM by Dark Kitsune »

Re: MoF/SA/IN Bytecode Documentation [Touhou Code Modding]
« Reply #5 on: April 09, 2016, 10:08:04 AM »
Thank You!
(You're right about the bad english, I'll be working on that!)

The SHT dumping tool is for Touhou 10, I suppose?
Well, I'll be looking forward to that!


By the way, the link for your std dumping tool is down...
« Last Edit: April 09, 2016, 08:19:44 PM by Nutzer »

Re: MoF/SA/IN Bytecode Documentation [Touhou Code Modding]
« Reply #6 on: July 11, 2016, 01:43:27 AM »
Hello~
I am the writer of this page
http://thwiki.cc/ECL%E8%84%9A%E6%9C%AC%E5%AF%B9%E7%85%A7%E8%A1%A8-%E6%98%9F%E8%8E%B2%E8%88%B9
I am here for the same reason as Nutzer.
We all want to complete this
And recently I had a big progress.So can we combine our efforts together?

Dark Kitsune

  • Code Fox
Re: MoF/SA/IN Bytecode Documentation [Touhou Code Modding]
« Reply #7 on: July 16, 2016, 09:36:19 PM »
Sorry for not checking on this lately. I have not reuploaded the STD tool yet because I started changing some things first and took a long break from researching all this stuff.
I'll work on it some more and upload soon. I also need to work on my MoF development environment before making more progress as it needs a lot of work.

And yes, I'm willing to work with you guys.

Edit: Alright I rewrote a lot of the STD dumper and reuploaded it https://drive.google.com/file/d/0B0NyOdPoeBMhN25BRGpzbU5BcWM/view?usp=sharing
It no longer needs an existing file to inject into, and can create working STD files.
I have not bug tested a whole lot yet.
« Last Edit: July 17, 2016, 01:59:11 AM by Dark Kitsune »

Dark Kitsune

  • Code Fox
Re: MoF/SA/IN Bytecode Documentation [Touhou Code Modding]
« Reply #8 on: July 21, 2016, 10:04:30 PM »
Clarified some of the ECL 10 documentation and provided equivalent C or Danmakufu examples for some of the instructions, as well as moved the STD tool to this topic: https://www.shrinemaiden.org/forum/index.php/topic,19745.msg1275048.html#new
« Last Edit: July 21, 2016, 10:32:32 PM by Dark Kitsune »

Re: MoF/SA/IN Bytecode Documentation [Touhou Code Modding]
« Reply #9 on: September 02, 2016, 12:22:23 AM »
Do you use discord or twitter ?