[PS2] - Shadow the Hedgehog *.FNT

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
OAleex
Posts: 52
Joined: Mon Nov 04, 2019 3:18 am

[PS2] - Shadow the Hedgehog *.FNT

Post by OAleex »

Image

Image
Image
LinkOFF
Posts: 88
Joined: Thu Aug 11, 2016 6:52 pm

Re: [PS2] - Shadow the Hedgehog *.FNT

Post by LinkOFF »

Code: Select all

//------------------------------------------------
//--- 010 Editor v10.0 Binary Template
//
//      File:
//   Authors:
//   Version:
//   Purpose:
//  Category:
// File Mask:
//  ID Bytes:
//   History:
//------------------------------------------------

int Entries;
local int i;

struct{
    for (i = 0; i < Entries; i++){
        struct{
                int Offset;
                int Unknown1;
                int Unknown2;
                int Unknown3;
                int Unknown4;
                local int Savepos;
                Savepos = FTell();
                FSeek(Offset);
                wchar_t Text[];
                FSeek(Savepos);
      }Text;
   };
}Strings;
OAleex
Posts: 52
Joined: Mon Nov 04, 2019 3:18 am

Re: [PS2] - Shadow the Hedgehog *.FNT

Post by OAleex »

LinkOFF wrote:

Code: Select all

//------------------------------------------------
//--- 010 Editor v10.0 Binary Template
//
//      File:
//   Authors:
//   Version:
//   Purpose:
//  Category:
// File Mask:
//  ID Bytes:
//   History:
//------------------------------------------------

int Entries;
local int i;

struct{
    for (i = 0; i < Entries; i++){
        struct{
                int Offset;
                int Unknown1;
                int Unknown2;
                int Unknown3;
                int Unknown4;
                local int Savepos;
                Savepos = FTell();
                FSeek(Offset);
                wchar_t Text[];
                FSeek(Savepos);
      }Text;
   };
}Strings;



Thanks! But there's a problem, is it possible to expand the text size?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [PS2] - Shadow the Hedgehog *.FNT

Post by aluigi »

In case you need that code adapted to quickbms script:

Code: Select all

int Entries;

    for i = 0 < Entries
                int Offset;
                int Unknown1;
                int Unknown2;
                int Unknown3;
                int Unknown4;
                slog "" OFFSET -1 unicode
    next i

reimport2.bat should work well in editing the strings and using text of any length.
OAleex
Posts: 52
Joined: Mon Nov 04, 2019 3:18 am

Re: [PS2] - Shadow the Hedgehog *.FNT

Post by OAleex »

aluigi wrote:In case you need that code adapted to quickbms script:

Code: Select all

int Entries;

    for i = 0 < Entries
                int Offset;
                int Unknown1;
                int Unknown2;
                int Unknown3;
                int Unknown4;
                slog "" OFFSET -1 unicode
    next i

reimport2.bat should work well in editing the strings and using text of any length.


Thanks, folks! :D