![]() You have an example in the thcrap source code. The easiest is to use Object::getChild() and the operator= overloads. If you want to change the Act or Nut file, you will need to either edit main.cpp to add your modifications ( right after the file parsing is a good place), or link to libactnut.dll yourself. It is used mostly for debugging the library. The -no-print-files suppresses the normal output and keeps only the errors. It's less readable, but you can copy-paste a path directly to use it with the getChild() functon (see below). If you specify -print-full-names, each line will contain the full path to a member, with all its parents, instead of only the member name. embeeded structures will be indented in order to make a tree view. print-act-nut file.(act|nut)Įach member of every structure will be displayed on one line. If you're only interested by reading the content of a file, you can use print-act-nut. And I don't exactly know what are Act files, they don't seem to belong to a standard file format. Nut files are compiled Squirrel 3 scripts that can be read with the Squirrel sq_readclosure function. They may be interpreted as paths on MinGW/cygwin, but most of these tools will also support the unix-style variant (for example -x file).Īct/Nut lib is a library to parse and edit the Act and Nut files. Some tools use Windows-style parameters (for example /x file).tool_name in this readme with just tool_name. If you run them from a Windows command prompt, replace every occurence of. tool_name only if you run them from an unix-like shell (like MinGW-w64). When you clone the repository, eiher use the -recursive command line switch or run git submodule init & git submodule update. These tools are tested under MinGW-w64 MINGW32 and MinGW-w64 MINGW64, some of these tools does not compile under the MinGW-w64 MSYS environment. ![]() ![]() Anyway, they all have a tiny build.sh script file, just look at it.Īlso, some of these tools will also compile on Linux with the same commands. Some of them will require aditional libraries. Most of them are written in c/cpp and compile on MinGW-w64 with either gcc *.c, g++ *.cpp or make. Some of them are directly copy-pasted from Riatre's 135tk, some of them are upgraded versions, some of them are rewritten, and some of them are totally new. This repo is a set of tools used to read and edit the files used by the Touhou games using the th135 engine: Hopeless Masquerade, Urban Legend in Limbo and Antinomy of Common Flowers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |