Comments (7)
That one used an entirely different convention (doesn't call the "Print" function but instead populates a large array). Support for that one is now available as well.
from vntranslationtools.
Additional info: in this case, it seems that the scripts are in UTF8, but I'm not sure if this apply to all games. At least English versions of this engine and this company (Jast) use UTF, but Japanese versions with the same engine use SJIS. I thought that you may know that, just in case.
from vntranslationtools.
For reference: MWare uses Squirrel as the embedded VM. The language specification and additional info can be found on http://squirrel-lang.org.
from vntranslationtools.
Another reference: https://github.com/marcussacana/MwareStuff/blob/master/NUTEditor/NUT.cs
https://github.com/AyamiKaze/exNUT/tree/master/nutcracker
from vntranslationtools.
Support implemented with UTF8 encoding. If you ever need SJIS, you can change the Encoding
property in MwareScript.cs to StringUtil.SjisTunnelEncoding
.
from vntranslationtools.
Can you also add support for English script like this one from Muramasa?
script.zip
from vntranslationtools.
I can provide some context for this: Mware has builtin multilanguage support, so there are two different kinds of files to worry about. Both are squirrel scripts (.nut).
The first are the actual game scripts, they contain all the logic and Print calls. They are located in media/script/nut
. The Print function takes an index as its first parameter (can be either an integer or a string). When a non-default language is used, this is the index into the translation table.
The second kind are the language files. They are located in media/nut/lang
and do nothing except populate the translation tables. There are several common tables, like TransText
, TransAddText
and TransLog
, but games may define entirely new tables for specialized use.
I'm pretty sure all of these files are automatically generated from yet another format, but I don't have any specifics on that.
from vntranslationtools.
Related Issues (20)
- Found invalid data while decoding (YU-RIS ) HOT 1
- Index out of array bounds(Csystem) HOT 10
- Invalid Files on Yu-RIS VN, after deleting them, the scripts extract weirdly HOT 5
- Softpal / POINT.DAT / Found invalid data while decoding HOT 6
- Request: Support for Will Co (.wsc) HOT 5
- question on wrapping kirikiri script HOT 3
- Some scn files cannot be parsed(一些scn文件无法解析) HOT 2
- Artemis .ast files fail to parse HOT 2
- Artemis .lua support
- About encoding HOT 4
- SjisTunnelEncoding HOT 1
- Failed to extract BGI scripts HOT 1
- Majiro engine issue
- Question: How does the program use Columns, can I add columns? HOT 1
- Artemis failed to parse
- An error occurred with the Majiro engine using sjis_ext.bin
- "Found invalid data while decoding" KaGuYa Message.Dat HOT 4
- Euphoria (Yu-Ris) Packing error HOT 2
- Help with Artemis Engine .iet extension script
- The generated script causes a memory leak in the Majiro engine.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vntranslationtools.