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. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    Dreamcasts emulators on PC do not pay attention to the pointer, you know an emulator to test as if I was on the console?

    Because on the PC with emulator it works, but on Dreamcast no ..
     
  2. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    There is no way, only pay attention to the inspection

    The bin program master file must be 4 byte aligned
     
  3. dragoncity

    dragoncity Rapidly Rising Member

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

    I need your help this time very important..

    I upload 2 files.

    http://dragoncity17.free.fr/Grandia 2/2801 EN + FR.zip

    2801-EN.AFS : it's ok
    >> The TXT file
    2801-FR.AFS : Doesn't work...
    >> The TXT file

    The code I use for convert maybe it's not perfect.. Gr2dump9.c

    If you can tell me why it doesn't work I will appreciate ! :)
     
    Last edited: Jan 18, 2018
  4. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    1 first of all, the end of your file text is not aligned, causing the file to go wrong
    QQ图片20180119183202.png
    QQ图片20180119183212.png
    QQ截图20180119183348.png

    2 text data can be put at the end of the file, the original address is changed to 00
    I hack file,you can test it
     

    Attached Files:

    dragoncity likes this.
  5. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    Ok so How can I fix that for this file work?

    Thank you really for your help!! :)
     
  6. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    I hack file,you can test it
     
    dragoncity and fafadou like this.
  7. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    474
    Likes Received:
    185
    Thanks a lot for your help :)

    I want to be sure to understand if we have this same problem later :
    edit :
    if we have keep the 00 00 else 01 01 as you shown, in the FR text file the alignment in the text file will be good ?
    I see in your second picture a 01 at the middle . So we have to be carreful of this alignement data in the 01.bin of the afs file ?
    [​IMG]

    I see you have change the lenght and the adress data at line 70 as you shown us at the first page. How have you calculate them ?

    I just see your file, you have let the english text and add the french text and only the french text appears on screen ^^ What a wonderful skill you have :)
     
    Last edited: Jan 19, 2018
  8. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    o_O just amazing !! you are too strong .. I spent 3 days on it and I did not succeed or I had to delete some text ...

    And it's crazy because in the same file you have english text and french text... whaouuuu !!

    so can you tell us how you do that? Because maybe there is an other file like that? :rolleyes:

    And how find if an other file had the same problem.

    Seriously without you we would never have succeeded you helped us a lot! :)
     
  9. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    You need to change all of the data in English text to 00, because at some time the game will be black screen.
     
  10. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124

    no,That's right. I just painted a rectangular box casually.
     
  11. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    474
    Likes Received:
    185
  12. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    I was able to continue the game but again black screen with an other AFS ..

    http://dragoncity17.free.fr/Grandia 2/28F1/
    28F1 - FR.AFS > Doesn't work
    28F1 - EN.AFS > Original..work :)

    How to hack directly AFS file without adding the part in English?

    It's crazy because some files AFS no problem with the tool gr2dump9.exe,but sometimes like this there is a problem...
     
    Last edited: Jan 19, 2018
  13. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    474
    Likes Received:
    185
    It looks 28xx.AFS series can't be dump like others AFS...
     
  14. megavolt85

    megavolt85 Peppy Member

    Joined:
    Jan 8, 2015
    Messages:
    311
    Likes Received:
    454
    28F1 is standart AFS container
     

    Attached Files:

  15. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    Well I succeeded for boot the file.. but after there is problem (no text and bug).. so I need your help again ! :)

    I take the AFS FR file that does not work.

    I copy from \ at the end of the EN file (which works it's the original)

    [​IMG]


    After I change the "Address"

    For that I noticed that hex code is upside down.

    So here it's CEC0.. so invert the code : C0CE

    [​IMG]


    So this is doesn't work.. and very boring !

    Can I modify directly the french AFS (28F1 - FR.AFS)?

    28F1-FR.afs
     
    Last edited: Jan 20, 2018
  16. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    I don't understand,I checked your 28F1 - FR.AFS and 28F1 - EN.AFS.. it's the same I uploaded ... o_O
     
  17. megavolt85

    megavolt85 Peppy Member

    Joined:
    Jan 8, 2015
    Messages:
    311
    Likes Received:
    454
    it's your unpacked afs files
     
  18. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    Yes but I know make that since a long time ^^ :)
     
  19. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    Why don't you put the French documents at the end of the way I say? So you don't have to change the back pointer.
     
    fafadou likes this.
  20. dragoncity

    dragoncity Rapidly Rising Member

    Joined:
    Nov 20, 2017
    Messages:
    97
    Likes Received:
    18
    how do you calculate the length?


    here it's 24 1B your hack file.

    [​IMG]
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page