AerialX / pso2-go

PSO2 tools
Do What The F*ck You Want To Public License
12 stars 6 forks source link

Text File #1

Open NozomiRem opened 7 years ago

NozomiRem commented 7 years ago

How can I rebuild the Pso2 text files? With NIFL v0.05 performing the command Nifl.exe ui_mainmode.text> ui_mainmode.txt Information can be extracted Is it possible to reverse that process? Return the txt a Text?

AerialX commented 7 years ago

No idea what nifl.exe is. The code in this repo can be used to repack text/nifl files fairly easily, but there is no tool for that purpose included.

NozomiRem commented 7 years ago

But would it be possible to translate the game into another language with this?

2017-02-27 14:06 GMT-03:00 Aaron Lindsay notifications@github.com:

No idea what nifl.exe is. The code in this repo can be used to repack text/nifl files fairly easily, but there is no tool for that purpose included.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AerialX/pso2-go/issues/1#issuecomment-282783065, or mute the thread https://github.com/notifications/unsubscribe-auth/AY18tO55iN8T6T-ntOcQ1o1C6PRWxLB8ks5rgwKQgaJpZM4MMmpy .

AerialX commented 7 years ago

Certainly, that's why the code was written; to power the english translation. It's however not packaged into a tool a non-programmer could use.

For example, cmd/pso2-text when used with the -p -w flags will write out a new text file with every string replaced with LOLOLOL. Not very useful, but it's an example that can be adapted to replace strings from a translation document / lookup table instead.

NozomiRem commented 7 years ago

My intention is to try to translate the game into our native language But using wxMEdit to edit the text / file This limits number of slides

NozomiRem commented 7 years ago

Excuse me if you do not quite understand what I mean My English is not very good

NozomiRem commented 7 years ago

tmp/sandbox795523324/main.go:7:2: cannot find package "aaronlindsay.com/go/pkg/pso2/text" in any of: /usr/local/go/src/aaronlindsay.com/go/pkg/pso2/text (from $GOROOT) /go/src/aaronlindsay.com/go/pkg/pso2/text (from $GOPATH)

NozomiRem commented 7 years ago

import ( "fmt" "os" "flag" "aaronlindsay.com/go/pkg/pso2/text" )

"Aaronlindsay.com/go/pkg/pso2/text" it seems that the error goes by there should I change it?

AerialX commented 7 years ago

The go dependencies are annoying to set up. You have to do something like:

export GOPATH="$HOME/.go/"
mkdir -p "$HOME/.go/src/aaronlindsay.com/go/pkg"
ln -s /your/path/to/cloned/pso2-go "$HOME/.go/src/aaronlindsay.com/go/pkg/pso2"

(this is from memory and may not be exactly correct, and slightly different on Windows if you're not using the unix subsystem)

WeiTen commented 5 years ago

Hello I am sorry for my bad english but I am learning. Im a Chinese player and want to take apart the PSO2 .text file and turn it into normal .txt file and then edit and then back to .text file.

Can you help me with this?

I am beginning coder level but learn.

Thank you.