Portuguese Edition client and files .res

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Portuguese Edition client and files .res

Postby blackannis » Tue Sep 03, 2013 11:28 pm

Hello, good evening.
First I apologize for the English. I am Brazilian and I had to google translator to be able to speak here.

Before the questions, let the basic information.

I am a student of a course of developing games and applications here in Brazil, however, we only studied modeling and 3D games with advanced graphics and codes created from tools like Autodesk Maya and Unreal Engine, however, I love Haven & Hearth, so much that I came back to play after three years away from here.
Let the questions:
I know that editing the client is released under the terms set out here, however, I took a quick study and noticed that these issues must be made ​​through programs such as Delphi or Visual Basic, however, even with these programs I can not edit files. res of this game, as I can not find the language file in order to translate this client to the Portuguese.

I would love to help the team and management translating the game and giving it a new client, however, I need this help from you.

I hope not to disturb the course of this forum if anyone can give me some help and practice type, 1 + 1 = 2, I thank you.

Hugs to all.

:D
Last edited by borka on Wed Sep 04, 2013 12:38 am, edited 1 time in total.
Reason: moved and title edited
blackannis
 
Posts: 1
Joined: Tue Sep 03, 2013 11:09 pm

Re: Edition client and files .res

Postby borka » Wed Sep 04, 2013 12:07 am

The default client is written in Java - main popular custom clients based on Ender client (Union, Rizen) also in Java
(boshaw started to write a client in Lisp)

Client Source Code Terms and usage:
http://www.havenandhearth.com/portal/doc-src
Client Source Code Copying and Copyright
http://www.havenandhearth.com/portal/client-src-copying
Client Source Code
https://github.com/dolda2000/haven-client

Ender Source Code
https://github.com/EnderWiggin/Haven-an ... d-by-Ender

So for having a different language client you'll need to edit the .java files (and for Ender some conf files aswell) and compile the client.

simple example excerpt from LoginScreen.java (Ender client):
Code: Select all
private Pwbox(String username, boolean save) {
       super(new Coord(345, 310), new Coord(150, 150), LoginScreen.this);
       setfocustab(true);
       new Label(new Coord(0, 0), this, "nome de usuário", textf);
       user = new TextEntry(new Coord(0, 20), new Coord(150, 20), this, username);
       new Label(new Coord(0, 60), this, "palavra de passe", textf);
       pass = new TextEntry(new Coord(0, 80), new Coord(150, 20), this, "");
       pass.pw = true;
       savepass = new CheckBox(new Coord(0, 110), this, "Lembrar mim");
       savepass.a = save;
       if(user.text.equals(""))
      setfocus(user);
       else
      setfocus(pass);

just a short test - proof of concept (you'll see usuário isn't shown correct - but i didn't took the time to fix it)
Image
right click - open in new tab to enlarge


There are few other custom clients like olgeigracexD Brodgar client https://sourceforge.net/projects/hnh-brodgar/ and not public ones

Editing Resource file (.res) threads and tools
viewtopic.php?f=27&t=23458
viewtopic.php?f=27&t=5853
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap


Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 0 guests