Git Product home page Git Product logo

personaeditor's Introduction

PersonaEditor

Last Release

Supported File Types

  • Container: BIN (BIN, PAK, PAC, P00, ARC); PM1; BF; BVP; TBL; FTD (FTD, CTD, TTD)
  • Graphic: FNT; SPR; TMX; SPD; DDS
  • Text: BMD (BMD, MSG); PTP

personaeditor's People

Contributors

meloman19 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

personaeditor's Issues

Use persona editor

Sorry for my english. I am newbie want to translate game persona 4 golden pc. When i use persona editor to translate i have some problem
image

I write á à ả in two row to test the font and after i save the text below disappear

image

09680c79-3af1-4273-a5b3-6d7a5e2160b2

The visualizer seem ok but the game and tool didn't show text below but the text at first row is fine.
I don't know what wrong or i missing something can you help me plz

P4G PC Font width editing error

I want to try edit the width of various glyphs but when I try to double click to edit the width, it opened up a blank page without anything to edit. I believe it's a bug or P4G PC font is not supported.
Screen Shot 06-18-20 at 09 36 PM 001

Update P4_PC fonts

The 2023 update for P4G added a number of languages to the game, and the font file was updated accordingly. The current version of Persona Editor can't read or display those new glyphs.

Add a license to the repo.

I'm working on NovelVM, à visual novel reimplementation project, I'm currently working on the persona games, and would like to make use of your fnt reading code, but as NovelVM is gpl licensed, I can't use your code unless it has a license.

Replace for non-standard P5 Font not working

Hey, Meloman19, you got a nice tool here. I have an issue when trying to replace the .fnt of a font with non-standard size (Persona 5 4K upscaled font). If I try to replace it even with the same file but drawn on, it does nothing to the file. While if I tried it with a standard P5 font size, it works just fine. Can you help with this? Many thanks.

P5 font loading code question

Have you reversed font loading code in PS3 Persona 5 binary? If you have an Ida database, can you share it? I'm trying to make it support higher res fonts but it seems to be using fixed size buffers. Thank you.

Script request for exporting as an excel table

Hi Meloman19 !

I'm a part of the Persona 4 Golden French Translation Team, we are using Persona Editor on our project and I'm trying to contact you because we need your help on something that could skip hours of work for us ^^

The first step of work is preparing the script scenes for our translators. We copy-paste the script scenes and copy them into an Excel table template we made. So basically we make this :

image

Into this :

image

It is a really time-consuming task that does not require much human thought. We were wondering if it was possible to make a script to convert the .ptp into Excel sheets right of the bat. It would save us so much time. Since we don't know a lot about the .ptp format, we can't do it without your help. Can you help us ?

Answer me here or on Discord please. My user name is Wilrick#0925 👍 Thanks in advance !

Add P3P & P4G Traditional Chinese FNT&FNTMAP support

Currently I'm trying to make a certain P3P mod into Traditional Chinese. Since there's no such fntmap files for P3P & P4G .fnt in the tool yet, using PersonaEditor to show bmd texts from .bf files will result in no corresponding encoding, causing Mojibake. Thankfully P3P has the same font mapping table with P4G, so I decided to create both ones to help anyone have the same problem. Maybe @Meloman19 can update the release with these.

Font_CHT.zip

For now if anyone wants to use it, put the FNT and FNTMAP files all in "font" folder.

Request: SMT3 Support

The Persona games were derived off of the SMT3 engine, and many of their formats are similar or the same.. This is also the case for SMT3's font format, but there's sadly something throwing it off when trying to use this tool.

At a glance the header appears to be four bytes longer than later games, though I'm not sure why.. Also although your tool doesn't parse the file correctly, it does produce a misaligned image that vaguely resembles the font sheet. (You can make out the characters if you look closely enough.)

I'm not sure how difficult it would be for you to add support for this, but it would greatly help me in my translation efforts. Failing that though, I'd be grateful if you could at least point me in the right direction toward figuring it out for myself. Regardless I appreciate the time you've taken to hear me out, thank you.

Below I've included the NA and JP Fonts for SMT3, for reference.

font.zip
font-jp.zip

Persona 3 Portable PC support

Hello,

Will support be added for editing the bf/bmd files from the new P3P PC release in a future release of PersonaEditor?

For some files it does not save the changes, but it works perfectly for P3FES PS2 files, so I assume P3P PC is just not supported yet..

Thank you in advance!

Support for PC Persona 1 .BIN files

Hello,

I’ve been studying Persona 1 (PC/Windows) files and I’ve managed to figure out how the game displays text. Would you be interested in adding support for Persona 1 BIN files in PersonaEditor using my research? I can provide a table for decoding some of the characters along with information that, although incomplete, should be enough to understand how the game works and get us started.

Support for PS2 SMT games' font0.fnt files

Hi! Although this program is called PersonaEditor, I was wondering if it was possible to add support for the fonts of other SMT games from the PS2 era (Nocturne, DDS1-2, Raidou 1-2), since I need to add new accented characters for a translation patch. I originally tought they would work the same as P3 and P4.

I tried extracting the xml from Nocturne's font (both NTSC and PAL, which have different characters), but the resulting file has mostly blank cutting values.

image

I don't know if I'm allowed to share sample files.

How about mask in .bat for all files?

Hi Meloman19!
Example to plain files:
for /R %%a in (.fnt) do .\Tools\PersonaEditor.exe -expimage "%%a"
or
for /R %%a in (
.fnt) do .\Tools\PersonaEditor.exe -expimage "%%a" "%%~pna.png"
or
SETLOCAL ENABLEDELAYEDEXPANSION

for /r %%i in (*.fnt) do (
set fdir=%%~dpi
.\Tools\PersonaEditor.exe -expimage "%%i" "!fdir:~0,-1!"
)

Example for container
for /R %%a in (.pac) do .\Tools\PersonaEditor.exe -expall "%%a"
or
for /R %%a in (
.pac) do .\Tools\PersonaEditor.exe -expall "%%a" "%%~dpna"

Do you speak Russia?

Не читает .spr с pc версии

Не читает .spr, а вместе с этим не работает редактор.

Есть отличия в заголовке файлов
Слева пк версия, справа вита (выделен filesize из SPRHeader)
image

И вот здесь срабатывает исключение
image

Короче без этого невозможно редактировать координаты спрайтов, памаги

пкшный .spr: https://drive.google.com/file/d/1rDxcbDUo9-rrb0dwkklttsFP8AK8edr2/view?usp=sharing
виты: https://drive.google.com/file/d/1QRUUP_-_1UjSBVLFhEz4mO5PvT49JYqk/view?usp=sharing

The first value from battle quotes doesn't show on PTP and TXT

Hello Meloman, I'm editing the battle quote file (The MSG file from BTL) from the Game Persona 4 and the first value from the string doesn't show.
image
Is it a bug? because they are present in the file:
image
I need the value for adding the inicial ¡ on the string.
Thanks.

P4G PC's .SPR aren't opening in PersonaEditor

Unlike their vita counterparts, PersonaEditor cannot open P4G PC .SPR, i tried opening p4p_com01x2.spr located in data00000\battle\panel\btlpanel.bin and while i can open the vita version, i cannot open and edit the PC version. I can provide the files if needed.

File replacement filter broken with some files

The filter for the open file dialog when replacing files prevents me from choosing the desired file because it adds a space after the extension with some pak files. It appears to be a problem with the files inside the pak files actually having that space in its name.

imagen

Here is the pak file used for testing:
crossword_00.zip

P4G PS Vita font0.fnt Support

I'm a brazilian persona fan, and i'm translating the game into my language, i need to edit font0.fnt of the game but i can't find a supported program, i would like to ask for font support for PS Vita's Persona 4 Golden.

Note: whenever i edit the font it breaks the game it stops working or bugs occur!
JPEG_20200412_040922
IMG-20200411-WA0000

Persona 4 Golden Japanese Text Edit

Hello,

Thank you for this wonderful tool. I have a quick question. I would like to edit the Japanese text of the Persona 4 Golden PC version, but when I try to open those event files with your editor, the Japanese characters are not displayed like the English text is, but are instead displayed like, well, this: �����������.

Do you think this program will ever support editing Japanese files?

In any case, thank you!

Dlon93

Textures are wrongly scaled

image

While editing spr files, pixels are wrongly scaled. For example, the box at the top left should encapsulate the entire d-pad at the top left, not just quarter of it. The box at the top right for example is supposed to encapsulate LB but it can't even reach there. Running the app at a lower resolution doesn't fix the problem neither.

Can't insert PNG to FNT

When I try to insert a png to the font it won't change anything.
Even when I tried to insert an exported png from the Russian to my font nothing changed too.

Font Editor Improvements

Some features that will be very usefull to edit the fonts

  • Search glyph textbox (when selected the game charset)
  • show the glyph character instead index when possible
  • Auto redraw font characters from system fonts (Ohh, dear GDI)
    • Allow draw custom characters replacing original ones, like what this tool do: link (help a lot in translations)
  • Better collor pallet selector, the current algorithm put some wrong colors when converting
    image

Korean font map

Can you support korean pfont map please?
there's tsv which used in other tool, but I can't create PersonaEditor's Charset.

please let me know how to create charset without input every single character in font(it's over 2700!)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.