News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: translate Super Mario World to Arabic  (Read 744 times)

mu11121993

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
translate Super Mario World to Arabic
« on: December 02, 2020, 01:52:41 pm »
 How to translate Super Mario World to Arabic?

Jorpho

  • Hero Member
  • *****
  • Posts: 4666
  • The cat screams with the voice of a man.
    • View Profile
Re: translate Super Mario World to Arabic
« Reply #1 on: December 03, 2020, 12:30:36 pm »
Have you hacked any games before?  What have you tried so far?

For SMW, Lunar Magic is usually the tool of choice.
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

mu11121993

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: translate Super Mario World to Arabic
« Reply #2 on: December 03, 2020, 04:48:08 pm »
this my hack
https://www.romhacking.net/hacks/5540/
I am asking how to use Arabic letters in translation, it is not supported

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 7060
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: translate Super Mario World to Arabic
« Reply #3 on: December 03, 2020, 10:29:23 pm »
Do you mean you want to translate that hack?

From what I heard, Super Mario World uses compressed graphics.
I think Lunar Magic supports decompressing them.

Otherwise, I don't know, maybe some people know a program to decompress.
Then you use a tile editor to find the font and change it.
Then recompress or whatever is needed to put it back in the game.
"My watch says 30 chickens" Google, 2018

Green Jerry

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: translate Super Mario World to Arabic
« Reply #4 on: December 04, 2020, 06:07:47 am »
Someone called Abderrahmane DYAR made an Arabic translation of the vanilla game, but it hasn't been released. I can only find this video.

mu11121993

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: translate Super Mario World to Arabic
« Reply #5 on: December 04, 2020, 08:47:35 am »
Thanks for your help. I hope to translate my hack into Arabic soon

FAST6191

  • Hero Member
  • *****
  • Posts: 3013
    • View Profile
Re: translate Super Mario World to Arabic
« Reply #6 on: December 04, 2020, 09:48:37 am »
You face two main problems, maybe three.

1) Lack of Arabic glyphs
2) or maybe 1a) It is a computer so some opt out of it but no joined up letters which is of more importance to Arabic than some other languages.
3) Arabic tends to be written right to left where most games are not built to work that way.


1) is generally solved by finding the font (most computer games will have pictures in one form or another, PC will tend to have vector images but we can skip that for now). A tile editor is the main tool here. If indeed it is compressed you will want a tool to handle that.
You will face a secondary issue in that Arabic has more characters than some other languages so you get to find space to fit them all in, or maybe add more which makes life considerably harder on older systems.

2) Joined up writing is quite complicated to implement, or you add extra characters to account for it. That said if you are happy to go with the unjoined thing because computers then so it goes.

3) Two things people do here
i) Use a lot of spaces to make it appear right to left. Main problems being lack of space in either the ROM (there is a reason people use French games in a lot of Arabic translations -- French tending to give you the longest sentences to begin with to make room for all the spaces) or the RAM if it is copied to it, secondary problem being if it is a game that pauses for a fraction of a second to write a new character then it can take a while to get to it.
ii) Actually recode the game to handle it. Difficulty of this is not so very much (in many ways I would place it as easier than a variable width font) but will see you messing with game code where a basic translation and using spaces can be learned over a weekend and no great technical abilities necessary. Anyway most games text handlers and game system hardware will start in the left hand side and go to the right. It is not so bad in some cases to set the origin on the right hand side, change the add to a subtract and greater than to less than, for all the maths that determines placement on screen, or maybe when to start a new line (some games will have a character in the text itself do that, others will use pointers, others will determine when something gets too long and go from there). The SNES even has the nice bonus of having decent subtract functionality (some older devices do not). Worst case you get to add some form of negative handling; add 1 to 256, which we will assume is the limit of the distance you want, and you get 257, subtract 5 from 4 and you get -1 which is a whole different game in binary maths and the ways computers will handle things (or alternatively you only have letters say 16 wide and if the number gets below 20 you say start new line).

mu11121993

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
Re: translate Super Mario World to Arabic
« Reply #7 on: December 04, 2020, 03:27:06 pm »
It's very difficult but I'll try to even translate it.
Thank you all for a wonderful forum