Ace Lightning
Ну что господа-специалисты по NDS, требуется помощь по игре Fire Emblem - Shin Monshou no Nazo (J) (Rev 1) (NDSi Enhanced) [T+Eng3.01_The Heroes of Shadow] в разборе игровых ресурсов.
Игровой текст я нашёл в папке Data/m. Весь или не весь непонятно, но не нашёл пока там текста заставки (There is not a soul who does not know of Marth, Hero King and savior и так далее).
Если верить программе Puyo Tools, то текстовые блоки в папке m в основном пожаты LZ11 и LZSS. После распаковки получается ориентировочно 1,36 мегабайта бин файлов с текстом. Думаю, если убрать мусор, то килобайт 500 чистого текста будет. Если не больше. Попробовал найти пойнтеры, ничего не вышло. Один товарищ написал по этому поводу.
Пойнтеры (Отобразить)Editing Text
-------------
At this point, there are limits to editing text. Before you go on and type things out in your hex editor
with your text file loaded, note the size of the file. In order for pointers to stay the same and not
get messed up, each text entry/index/slot has to be the same length as the original entry.
An entry is considered one piece of text loaded at one time. The name 'Marth' is one text entry. Before
and after an entry you should see dots which signify the end of that entry.
For example
.Marth.Caeda.Jagen.
"Marth" is one piece of text, as is "Caeda" and "Jagen".
If I wanted to change Marth's name, the new name must be 5 characters or less. Let's say I want to make
the name "Bobby".
.Marth. -> .Bobby.
If I wanted it to be "John", I could do this.
.Marth. -> .John..
I placed the extra dot there as it is just a place holder to make sure the file size is the exact same
as it was before.
After you make the changes you want, save the file and recompress it, and then replace the old text file
with the new text file and recompile your ROM using DSlazy (I'm sure this is explained in some file in this editing package).
Note that these are all examples of text edits and it may not appear *exactly* like this in game.
For the record, it IS possible to not have to worry about character limits and all that annoying stuff. The text would have to be repointed so that there was more space for text and more characters could be allowed in an entry-- I just don't know how to do that which is why I'm not telling you how. If you DO know how, then please contact me as I'd love to know. smashfire17@gmail.com
То есть пойнтеры он не нашёл. И советует не удлинять оригинальные строки. Приложил для примера текстовый блок PlayerMake. В нём текст, когда создаешь второстепенного персонажа вначале игры. В конце текстовых блоков идут какие-то данные, вначале блока идут ссылки на другие файлы в папке Data/f. Мне пойнтеры так сразу найти не удалось. Кто-нибудь более сведущий, посмотрите, пожалуйста. А то может здесь всё явно.
Вложил этот блок с текстом.
Также попробовал найти игровые шрифты. По логике вещей они могут быть в папке date/fonts. Файл system пожат LZ. В нём ещё хоть что-то проглядывается после разжатия, а вот в других файлах в этой папке вообще ничего не видно. И стандартные декомпрессоры сжатия в них не находят. Приложил и файл talk из этой папки. По идее это должен быть шрифт для диалогов.
Буду рад любой помощи.) В NDS я еще толком не копался.
P. S. Спасибо
pedro за ссылку на сайт -
http://www.heroesofshadow.net/p/downloads.html.
На нём есть кое-какие тулзы и даже документация, вырезку из которой я выше привёл.