How to import the translated PC version of Grandia 2 into the Dreamcast version?

Discussion in 'Sega Dreamcast Development and Research' started by fafadou, Nov 20, 2017.

  1. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    This is the PC version ? If you just want to change the text, you just need to copy all the data in the text, and you don't need to replace the other files?
    You provide PC and DC files, I can simply replace try
     
    Anthony817 and irvgotti452 like this.
  2. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    Yes the file it's the french file for PC version (a team translate the PC version in french).
    So need to put this PC version in the DC version,but doesn't work...

    So I upload : http://www31.zippyshare.com/v/3h8prmC6/file.html
    D000 DC ENG > Dreamcast Version,it's the ORIGINAL version.
    D000 PC FR > PC Version,it was translated in french.

    Need to remake D000 PC FR compatible for Dreamcast.

    Thank you for your help I appreciate :)
     
  3. corrigo

    corrigo Active Member

    Joined:
    Mar 1, 2009
    Messages:
    42
    Likes Received:
    15
    Anthony817, fafadou and dragoncity like this.
  4. Mrneo240

    Mrneo240 Gutsy Member

    Joined:
    Sep 15, 2017
    Messages:
    462
    Likes Received:
    571
    Very very interesting. Nice research
     
    fafadou and dragoncity like this.
  5. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    474
    Likes Received:
    185
    @yzb37859365 : are you sure it's the line 70 for the adress and length because I have the same thing in french pc file and dreamcast english origin file, but I notice a difference in line 80 ?...
    Here 3 versions different of the same file we have found around the web and the total length for each file is different :
    [​IMG]
    [​IMG]
    [​IMG]

    Could you tell me where is the file for letters in the dreamcast game. We have found a mod for edit it. Maybe we may do it by yourself.

    Thanks for your help
     
    Last edited: Nov 23, 2017
  6. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    I'm sure 0x7c is the address, and 0x78 is the length
    If it is 0, there is no text
    Do you mean a font file?
     
    fafadou likes this.
  7. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    Where is the font file for add accent?

    Thanks :)
     
  8. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    what accent?

    font file

    TITLE_DATA_001.bin
    QQ图片20171124201452.png

    SYS_004.bin
    QQ截图20171124201402.png
     
    Last edited: Nov 24, 2017
  9. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    In french you have accent : é - à - è - ô etc...

    So need to add accent in the dreamcast version :)
     
  10. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    Maybe you need to add it to yourself

    [​IMG]
     
  11. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    I think I found in the SYS.AFS file where I can add the accent.. but I don't know if I can add the letter direcly ^^

    [​IMG]
     
    fafadou likes this.
  12. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    474
    Likes Received:
    185
    Yes a font file that's it, sorry it's my fault :)
    We are trying this software crystaltale2. I have this with the file of dragon it looks I have not opened the grandia 2 font file...
    [​IMG]
    It looks is in the sys.afs if I read well your picture ? I can't zoom correctly.

    We have learn there is probably a problem of ram adress (locate ?) who trains the french afs to crash in a real dreamcast... And run with nulldc...
    Do you think it's possible to import the french text in an original english text file with correct pointers and length and keep the correct adress ram for dreamcast ?
    Which data we have to change ? The length ?

    I have to try.
     
  13. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    1511545049-font-file.png


    rc4 play this game

    .- Grandia II (eu) no problem, but works only from 0x8cff0000
    .- Grandia II (jp) no problem, works from 0x8cff0000

    I don't know if the structure of French, as you said just é - à - è - ô etc... so if you can modify the font file

    The use of CT2, first you have to unpack the AFS file, the AFS file is, just a packing way, you have to break out of the file,

    QQ图片20171125033041.png


    ps:i not open this line http://www31.zippyshare.com/v/3h8prmC6/file.html
     
  14. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    this is pvr file,no font file
     
    fafadou likes this.
  15. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
  16. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    474
    Likes Received:
    185
    Thanks now I know how use the CT2 :)

    The file you are showing is not the inside the sys.afs file ? I have opened the 03 and I have this :
    [​IMG]

    What AFS file is it please ?
    Sorry to be ignorant lol

    Thanks again for all, you have help us a lot :

    I have copy and paste the lenght "area" you have shown from the pc fr file to the dreamcast 01.l62c english file and the french text more the pointer like this :

    [​IMG]
    and
    [​IMG]
    to :
    [​IMG]

    it has works ! this file in now in french on a real dreamcast :) But I don't found the ram adress, and I don't know how those numbers and pointers are calulated. They must be have some formula for this.

    Anyway all the pc afs translated in french can be import in dreamcast now :-D
     
  17. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
  18. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    1511562441-sys-afs.png

    upload french sys.afs ....


    ps:
    But I don't found the ram adress, and I don't know how those numbers and pointers are calulated. They must be have some formula for this.

    I don't understand what you're saying....
     
    Last edited: Nov 25, 2017
  19. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    474
    Likes Received:
    185
    Someone tell us this in a french forum :

    the processor of an original console is stricter than an emulator most of the time, the freeze comes from an instruction of the program that the processor can not execute because there is a data that it does not arrive not understand. The problem most of the time comes from memory misalignment for some processors.
    PC processors do not care about alignment, so your problem could come from there on Dreamcast.

    But don't worry about the difference between computer and dreamcast text afs.
    I use a new tool for dumping the text and it work. And it's a very good new :)
    So we can focus on the sys.afs and font file

    So the problem is the font file in the sys.afs french. Here :
    https://firedrop.com/0d3c7e83d19de6b7c3f6a2e36d48c02b

    please have a look.
     
  20. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    Alignment issues really need to be noticed, and generally 4 byte alignment is fine (%4=0)

    Text alignment requires 8 byte alignment (%8=0) because of the need for x8



    Font display method seems to be the same, are 24x24 got 1bpp font

    QQ图片20171125214401.png
     
    fafadou likes this.
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page