Coder Social home page Coder Social logo

Comments (13)

Inori avatar Inori commented on July 23, 2024 2

It's possible to make script psp-malie_text_out.py work better with english version of Dies Irae game on Steam? English version is saved in unicode LE format.

I see the exec.dat you upload in PC folder, for this file, the entry starts at 0x3c370A and ends at 0x411756, if you look at its' binary content, you can find the pattern just by your eyes:

qq 20190219160115

qq 20190219160221

There many zeros list in columns, the format of the binary index follows like:
offset length offset length offset length........
the next offset equals current offset plus length plus 2(which is the utf-16 end mark \x00\x00)

And then you can modify the psp-malie_text_out.py script, like:

    start = 0x3c370A
    src.seek(start)
    end = 0x411756 -4
    count = (end-start)//8

After some other little error correct, eg. codec and so on, I got:
qq 20190219155944

from fuckgalengine.

0xh3LL0 avatar 0xh3LL0 commented on July 23, 2024

i dont have the game, however try my build, i'm using visual studio 2017
release.zip

from fuckgalengine.

masagrator avatar masagrator commented on July 23, 2024

Nothing. It doesn't show any error and nothing is created.

from fuckgalengine.

0xh3LL0 avatar 0xh3LL0 commented on July 23, 2024

give me the files

from fuckgalengine.

masagrator avatar masagrator commented on July 23, 2024

https://drive.google.com/file/d/1MiO1n2JP0lD53yqMU0FxOYM_FNIJear6/view?usp=sharing
PC version is English Steam (patch.dat is probably newer exec.dat)
Switch-Android is Japanese.

from fuckgalengine.

0xh3LL0 avatar 0xh3LL0 commented on July 23, 2024

guess you're right, i didnt works...

from fuckgalengine.

masagrator avatar masagrator commented on July 23, 2024

OK, i will check that. Now it looks much cleaner. My ultimate goal is to replace english text with switch text.

Accidentaly closed issue. For now I want to stay it open.

from fuckgalengine.

masagrator avatar masagrator commented on July 23, 2024

OK, I cleared out text that now looks like Japanese Switch version.
image
image
And now how to import this? pspimport doesn't work

python pspimport.py
File "pspimport.py", line 56
print fn
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(fn)?

And needs new offsets.

from fuckgalengine.

Inori avatar Inori commented on July 23, 2024

And now how to import this? pspimport doesn't work

You shouldn't expect the old code can just work directly.
Since you can export the text yourself, you know the file's binary structure already.
Just replace the old text with new text, then fix the index with new offset and length.

from fuckgalengine.

masagrator avatar masagrator commented on July 23, 2024

But what are the new offsets? In import there are different than original text_out and I don't have PSP version to check.

Or I need to modify text_out by myself to import it? Because pspimport doesn't have any dics or *.dat reference so maybe I misunderstood something.

Edit: Ok, i converted it to Python 3 and now got
[Errno 2] No such file or directory: 'in.tbl'
And i don't know what is this.

from fuckgalengine.

Inori avatar Inori commented on July 23, 2024

Read the export script's code (psp-malie_text_out.py), see how it works.
Once you understand the code, then you just write new text, update binary index, that's all.

from fuckgalengine.

shensheng070632 avatar shensheng070632 commented on July 23, 2024

May I ask how to find the start Address?

from fuckgalengine.

Monaco-a-Knox avatar Monaco-a-Knox commented on July 23, 2024

I'm trying to get it to work with the HD version, but psp-malie_text_out.py only creates blank files.
Could you provide a working export/import version, @Inori ? I've tried everything

Edit: nevermind, it worked using another tool.

from fuckgalengine.

Related Issues (20)

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.