[PS2] - Shadow the Hedgehog *.FNT
-
- Posts: 88
- Joined: Thu Aug 11, 2016 6:52 pm
Re: [PS2] - Shadow the Hedgehog *.FNT
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;
-
- Posts: 52
- Joined: Mon Nov 04, 2019 3:18 am
Re: [PS2] - Shadow the Hedgehog *.FNT
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?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [PS2] - Shadow the Hedgehog *.FNT
In case you need that code adapted to quickbms script:
reimport2.bat should work well in editing the strings and using text of any length.
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.
-
- Posts: 52
- Joined: Mon Nov 04, 2019 3:18 am
Re: [PS2] - Shadow the Hedgehog *.FNT
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!