# Translating Grandia 1.1.0-Final

#### nanash1

##### Established Member
Is anyone here knowledgeable about color space conversion methods? As far as I can tell the color space conversion in Grandia from YCbCr to RGB works like I described in the post before. I've searched online for other information about the formula, but didn't find much. However, there is one patent by Nvidia that pretty much describes the same thing. The forward conversion from RGB to YCbCr in the patent is just the inverse function as one would expect. The problem is that this can't be the way that the RGB to YCbCr values were calculated in Grandia. Black frames have the values Y=-128, Cb=0, Cr=0, but if I use the inverse formula for Y, it's Y=(R/4 + G/2 + B/4) - 124. Obviously a value of -128 is impossible with this formula since RGB values can't be negative. The question is now, how was the forward transform actually calculated. I tried to do a curve fitting to this function
Python:
``````def fit_func(X, a, d, e, f):
r, g, b = X
return a*b+d*g+e*r - f``````
But the results are not very accurate. I think the problem is that I don't know the real exact colors that the source video had. The simple color space conversion was probably chosen because it can be done very fast. Like described in the patent, you can do all math operations with shifts and additions/subtractions. My guess is that this simple conversion method distorts the original colors somewhat and that's why it's hard to find the right parameters for the transfer function. What goes a bit against this theory is that the DSP is used for the color space conversion. I think it should be powerful enough to do a proper color space conversion. Maybe I'm missing something or maybe I'm overthinking this too much.

#### TrekkiesUnite118

##### Established Member
I know one common thing on Saturn FMVS is to darken them a bit, as it helps hide compression artifacts for things like Cinepak. So maybe they did that for Grandia?

Also I don't know much about this, but is it possible that it's a signed vs unsigned issue? Like if it's impossible to get -128, is it possible that the values are supposed to be unsigned where you'd instead get +128 instead?

#### gameofyou1

Thanks for all your work on this, Trekkies! I played through Grandia in Japanese, when it first came out. It will be cool to now play on the Saturn in english.

#### nando

I've just about finished playing the Switch version - I'll probably play it again on the Saturn (my kids want to play it next), but playing it on the Switch makes me think there could be some additional QOL improvements. Specifically, the last bit of the game is way too easy, especially if you finish all of the extra dungeons. The enemies and bosses are hilariously weak compared to what it was in the beginning of the game. I'd love to figure out a "hard" mode for the 2nd disk, at least. I end up avoiding enemies instead of fighting them because it's just a waste of time.

Also, I wonder if the Saturn version has the same bug as the PSX, where one of Feena's Icarian spells requires level 99 water instead of 33 due to a typo. I don't think I ever got it on either the Saturn or PSX (getting to level 99 in any spell is excruciatingly boring), but they fixed it on the Switch. Although, by the time you actually get those spells, the game is almost over, and Feena is so overpowered that they're not even that useful. Back to the idea of a harder difficulty for the end of the game.

#### Attachments

• SS_Grandia_EN_Disc_1_v0.8.5.zip
1.6 MB · Views: 146
• SS_Grandia_EN_Disc2_v0.8.5.zip
1.3 MB · Views: 131
Last edited:

#### TrekkiesUnite118

##### Established Member
If it's the one in this post it should be the latest released version:

#### msimplay

If it's the one in this post it should be the latest released version:
It's kind of hard to find this post it's all the way in the middle of the thread is it possible to add the latest versions to the first post in this thread?.
I've been waiting for 0.8.5 for ages and I thought it wasn't released I was stuck on 0.8.1 till now

#### TrekkiesUnite118

##### Established Member
This thread is more just for overall updates and bug reporting. The most up to date releases can always be found on my github:

#### msimplay

This thread is more just for overall updates and bug reporting. The most up to date releases can always be found on my github:

Ooh okay thanks

#### shitmat

I just wanted to say thank you for doing this. I already completed the game, without any problems or crashes, on a jap ntsc sega saturn model 2 with a flashed pseudosaturn card. (CDRs were burned with 4x for anybody who has problems with burning)

#### Polydeuces1990

Currently playing this! It's so cool to have another RPG on saturn

#### fafling

Gear Supporter
This thread is more just for overall updates and bug reporting. The most up to date releases can always be found on my github:

So that should be stated in the first post.

#### TrekkiesUnite118

##### Established Member
New Patch Version:

Version 0.8.6:
- Fixed Font Alignment issues.
- Redid Map Screen Text for consistency.
- Fixed alignment of text in the Magic Shop.
- Removed Censorship from Script.

So this patch is pretty much a polish and clean up patch. However it does add one big thing. This the first go at removing the censorship from the script. All coffee References have been reverted back to alcohol references. While I've spot checked for crashes, I have not had a chance to check each line as some I just don't have save files for those parts of the game. So this patch will need some extensive spot checking for those areas.

I used this as a guide for what lines to fix:

For what it's worth, there is actually one legitimate coffee reference that I left alone. There is an area in Disc 2 called Rafane Cafe I believe. It is actually called a Cafe in the Japanese version so I left that area alone.

Assuming there's no issues from this patch that need fixed, here is what still remains to be done:
• FMV Subtitles.
I've been looking into this as has Nanash1. I haven't heard any updates from him though so I'm not sure how that's going for him.

#### Attachments

• SS_Grandia_EN_Disc_1_v0.8.6.zip
1.6 MB · Views: 193
• SS_Grandia_EN_Disc2_v0.8.6.zip
1.3 MB · Views: 180

#### Stry8993

I got the Lunar SSSC Mpeg translation working, but jeeze, am I ever having problems getting this going. Saturn just keeps going to the CD Player, and I have no clue what I did wrong. I followed the instructions to a tee.

#### Deckard_7

Is anybody playing it on a real Saturn burned to a regular cd-r? Is it working fine or there are issues? Thanks!

Last edited:

#### BlackabyJ

Is anybody playing it on a real Saturn burned to a regular cd-r? Is it working fine or there are issues? Thanks!
I am playing on a modified Japanese Sega Saturn. I have used both Verbatim and Philips CD-Rs with no problems (aside from my own errors or my drive packing up)

I have been successful when burning at both 8x and 10x, but I have read from others that lower speeds are better and may put less strain on the Saturn drive.

I would also warn that you should make sure the ISO/CUE file you end up burning is patched to the same region as your console (unless you intend to use an Action Replay). There is a simple region patcher for this if needed.

#### Deckard_7

I am playing on a modified Japanese Sega Saturn. I have used both Verbatim and Philips CD-Rs with no problems (aside from my own errors or my drive packing up)

I have been successful when burning at both 8x and 10x, but I have read from others that lower speeds are better and may put less strain on the Saturn drive.

I would also warn that you should make sure the ISO/CUE file you end up burning is patched to the same region as your console (unless you intend to use an Action Replay). There is a simple region patcher for this if needed.
Thanks man! My Saturn is Japanese and I've got an action replay, so no problem at that end. My only concern was that if using standard cd-r instead something fancy like JVC taiyo yudens would put the laser under many strain

#### BlackabyJ

Thanks man! My Saturn is Japanese and I've got an action replay, so no problem at that end. My only concern was that if using standard cd-r instead something fancy like JVC taiyo yudens would put the laser under many strain
I certainly hope I'm not overly straining my drive but I have been trying to burn at the lowest speed I can to avoid this. There has not been any skipping or crashing thus far.

#### Fandu

Thanks as always @TrekkiesUnite118 , i´ll give it a try this week during my xmas hollydays, i won´t lie you if i say this and SF 3 scenarios were my most desired games to play back in the day. I´ll play it on a pal console after patch to E region of course.
And reladed @nanash1 , how is going your progress with Cotton?. Thanks again.

Replies
7
Views
1K
Replies
6
Views
485
Replies
7
Views
2K
Replies
22
Views
3K
Replies
4
Views
726