gemot encubed  

Go Back   gemot encubed > Gemot > Technical Issues

Technical Issues For bug reports, problem solving, and help running Japanese software.

Reply
 
Thread Tools Display Modes
  #1  
Old 2006-12-05, 06:49
blauerbrief
Guest
 
Posts: n/a
Default Help, minori's .paz format..

I got ef~a fairy..~ trail version.
I success unpack ef data from .paz files with this tool (http://atelibet.s11.xrea.com/side_yuu/)
but I don't know that how can repack .paz format..
haven't anyone repacker program or ideas?
sorry for my poor english.
Reply With Quote
  #2  
Old 2006-12-05, 12:14
roxfan roxfan is offline
Regular
 
Join Date: Jan 2004
Posts: 99
Default

Try this.
It's best to use a list file for packing back, e.g.:
Code:
mkdir scr
cd scr
..\paz e ..\scr.paz
dir * /b >..\list.txt
..\paz a ..\scr1.paz @..\list.txt
Attached Files
File Type: zip ef_trial.zip (91.8 KB, 507 views)
Reply With Quote
  #3  
Old 2006-12-05, 18:36
blauerbrief
Guest
 
Posts: n/a
Default thank you.

thank you roxfan!
unpack and repack perfect.
but one more question.
I edited script file and repack..
but It can't display english&korean letter.
is ef using own fonts?
or windows fonts?
How can I fix for display Korean Letter or ef using korean fonts..?
my friends try to fix it, but looks failed.



- runs with original exe files.



- runs with temp-hexed exe files. Can't see fonts.

edit : english is shown well, but Korean letter never show up..

Last edited by blauerbrief; 2006-12-05 at 22:28. Reason: add images
Reply With Quote
  #4  
Old 2006-12-05, 22:33
devilforgemaster's Avatar
devilforgemaster devilforgemaster is offline
Member
 
Join Date: Nov 2006
Location: New Zealand
Posts: 27
Default

You need to edit the exe file because minori doesn't use unicode..

What's the format for the list file?
I tried to make a list.txt like that
Code:
C:\100_01.sc
C:\movie.sc
C:\opening.sc
C:\test.sc
and used this command, but it doesn't work..
paz a ..\scr.paz @c:\list.txt

EDIT:I didn't see the pictures..They look good to me.
Have you tried clicking on the little triangles beside the font preview?
Maybe it's due to the font doesn't have Korean characters or you need to edit one or two bytes in the exe file to make it use something like EUC-KR instead of Shift-js.
I think ef only lets you choose the fonts that can display Japanses characters. I don't know how to change it..maybe do something on the font file?

By the way..I've asked someone for the first fan disk key. Here it is.
Attached Files
File Type: txt paz_ffd.txt (1.2 KB, 395 views)

Last edited by devilforgemaster; 2006-12-05 at 23:15.
Reply With Quote
  #5  
Old 2006-12-05, 23:28
blauerbrief
Guest
 
Posts: n/a
Default h...

How can I fix it?
someone told me "it's relation with Japanese Halfwidth and Fullwidth Forms check problem.. so I can solve it."
but he doesn't told solution to me because it's secret -_-



- this 'solved' ef setting screen shot, Korean Fonts works good. but I don't know how to it.

Last edited by blauerbrief; 2006-12-05 at 23:45.
Reply With Quote
  #6  
Old 2006-12-06, 09:43
roxfan roxfan is offline
Regular
 
Join Date: Jan 2004
Posts: 99
Default

devilforgemaster
Just a list of filenames. You don't need full paths as long as they all reside in the current directory. If you use the commands I provided, dir/b should generate a proper list.
As for Korean text, you will probably need to patch in the exe:
1) lfCharset parameter to the CreateFontA call. Japanese is 128(0x80), Korean is 129(0x81)
2) Checks for lead bytes. Shift-JIS (CP932) has two ranges of lead bytes: 0x81-0x9F and 0xE0-0xFC, while Korean (CP949) only has one range - 0x81-0xFE. For example, in a code like this:
Code:
cmp     eax, 81h
jb      short loc_439933
cmp     eax, 9Fh
jbe     short loc_439927
cmp     eax, 0E0h
jb      short loc_439933
cmp     eax, 0FCh
ja      short loc_439933
Just patch the second jump to execute always:
Code:
cmp     eax, 81h
jb      short loc_439933
cmp     eax, 9Fh
jmp     short loc_439927
Reply With Quote
  #7  
Old 2006-12-06, 10:51
devilforgemaster's Avatar
devilforgemaster devilforgemaster is offline
Member
 
Join Date: Nov 2006
Location: New Zealand
Posts: 27
Default

Hehe, it's working. Thanks roxfan.
Reply With Quote
  #8  
Old 2006-12-06, 18:19
blauerbrief
Guest
 
Posts: n/a
Default

thank you for answering roxfan.
I try it. but I failed.. can you fix it?
http://blogfile.paran.com/BLOG_50650..._kr_test_2.rar
CreateFontA call was already solved.
but second step failed..

p.s : have anyone Haru no Ashioto key? roxfan's tool doesn't work with ef keys.

Last edited by blauerbrief; 2006-12-06 at 23:19.
Reply With Quote
  #9  
Old 2006-12-07, 11:44
roxfan roxfan is offline
Regular
 
Join Date: Jan 2004
Posts: 99
Default

Use these for Haruoto:
Code:
[scr]
Key1=6AE90C8FCF059136FCD7D50292E7EBAA9D8595D74B93E1566E1080FCB163E957
Key2=9D6C311A494AA644E3EC3115E35A68B108BF7591193DA9AC5C6FDE69D5BD9042
[bg]
Key1=3E63B937C93F6FF9975C3FD2F74147555EF915C929E241551335CBEB775834F5
Key2=46E65EC1C77A24AC103EB8104636BFED964B2C59F219DFA88B79FD5B12CC0DC9
[st]
Key1=AD0DD78EBA94FBB545A952A749CF07D2AACD7419ED7CBDFEBC522E901CB15415
Key2=6BEFDC761B252E6D2FB7C77078A65A5B8F97A5E092A113AE9DDA15620E9F4031
[sys]
Key1=77A6255261C5F32BC67ECE424B51EDE140C175865822171127276AAA5F2E0876
Key2=CA496BF9050B844801181FF63A6AF9BBB3629DE4B895027D5253E54089F6E63B
[bgm]
Key1=5BF064437F91181BD99B7363BC87B741E194D6D12A930D4D16743FFB028F12D9
Key2=24B2CA0947EEE8FD4620816249415ECCC26DD72625B46FD76AA32FB34291C2A7
[voice]
Key1=1BA95423D4BA2A453FC000CA5B3026B44D0758BA2291607346F86D41C29330FE
Key2=38EBBA679F8C184BBE91AA7368EC47507B78126699C0187AA48CB17CFA2F9335
[se]
Key1=7591B5B020FEE968B8AC3736E90DF9F844DABB0102DAD0437A75B33D62FB23A4
Key2=C8B4FBD3CEA6D5F428295DEA552B75059F430D63D477BE26C1CC2C5B719118A4
[se]
Key1=7591B5B020FEE968B8AC3736E90DF9F844DABB0102DAD0437A75B33D62FB23A4
Key2=C8B4FBD3CEA6D5F428295DEA552B75059F430D63D477BE26C1CC2C5B719118A4
[mov]
Key1=2A6A46AB221E14450420D66826DEF2CE86CCBF65882F1C7C70A9D2AEA187AA8C
Key2=C8B4FBD3CEA6D5F428295DEA552B75059F430D63D477BE26C1CC2C5B719118A4
Reply With Quote
  #10  
Old 2006-12-07, 18:16
blauerbrief
Guest
 
Posts: n/a
Default

ok. roxfan. I have some question.

first, I find 'CreateFontA' function but I can't found charset = 128


then edit here.


finally, I find cmp eax,81h... edit. all go to 00414701




but I still can't see Korean Font. (maybe eftrail.exe only read support japanese fonts..)
How can I edit it?

sorry for newbie's annoying questions.

Last edited by blauerbrief; 2006-12-07 at 21:32. Reason: add images
Reply With Quote
  #11  
Old 2006-12-08, 00:17
kyun kyun is offline
Member
 
Join Date: Oct 2006
Posts: 13
Default

Quote:
Originally Posted by blauerbrief View Post
first, I find 'CreateFontA' function but I can't found charset = 128
You have to set a break at 0x004714AE.


Quote:
Originally Posted by blauerbrief View Post
You're in the wrong area. If you put a break on it and run the program, nothing goes to that part so that part is useless. The one you should be editing is 0x00435735.


And there we go.

So to tell you exactly what to do:
Code:
0043573D  JBE 004357CF

004713AA  MOV DWORD PTR SS:[EBP+2C],80
Code:
0043573D  JMP 004357CF

004713AA  MOV DWORD PTR SS:[EBP+2C],81

Last edited by kyun; 2006-12-08 at 00:22.
Reply With Quote
  #12  
Old 2006-12-08, 01:40
Vlobulle
Guest
 
Posts: n/a
Default

Thank you, roxfan and kyun : I got the trial to show my lame french translation :)
Reply With Quote
  #13  
Old 2006-12-08, 06:51
blauerbrief
Guest
 
Posts: n/a
Default

Very thank you kyun!!!! I finally got it. I never forget it.



Korean works correctly.



Korean Font working (only gulimche. others not works. why?)



Korean test.

hm... one more question.
I edited script files. but every letters looks like correctly.
but they ignore every space( ). can I fix it?

Last edited by blauerbrief; 2006-12-08 at 08:09.
Reply With Quote
  #14  
Old 2006-12-08, 15:21
kyun kyun is offline
Member
 
Join Date: Oct 2006
Posts: 13
Default

It looks like it is trying to display japanese with the korean fonts enabled, which it doesn't like. Mine will do the same thing if I type in japanese when it expects korean.

I have no idea about the space thing. It's something in the engine and not related to the hack. I tried both the original and the hacked one and neither of them work with spaces. Sorry. :(

Last edited by kyun; 2006-12-08 at 15:37.
Reply With Quote
  #15  
Old 2006-12-08, 20:12
blauerbrief
Guest
 
Posts: n/a
Default




ok. I solve font problem. it's simple.
but I have more problem..
first, Korean mode. Character mouth doesn't animaited.
second, Space Problem. ( ) this space work correctly. but ( ) this space work incorrectly. (if ( ) space in sentence , sentence won't display)
third, I don't know that Character name , Character speech control code.
so 'Character name' ugly words display.



ugly.

Last edited by blauerbrief; 2006-12-08 at 20:41.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About Minori Unregistered General Discussion 50 2010-08-02 01:29
about minori's *.paz format (especially ef - the latter tale) blauerbrief Production & Help 0 2009-05-21 18:27
Question about minori game localization (2) blauerbrief Technical Issues 13 2007-11-06 12:08
Haruoto and minori game discussion Misu General Discussion 17 2007-03-18 09:55
Wind: What the blazes is the .paz format Carl Technical Issues 4 2006-05-13 11:57


All times are GMT -8. The time now is 05:33.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.