|
Post by ouch on Feb 22, 2013 7:02:13 GMT -5
It doesn't crash for me...
I would try deleting "hardwar patcher.db" and re-downloading. maybe you just have a corrupted file?
Also be sure to put it in the same directory as hardwar.
|
|
|
Post by riedquat on Feb 22, 2013 8:50:51 GMT -5
Can't help you there guys, still have to install hardwar.
Ouch, still not fully understanding everything but thank you so much for such versatile tool, you rock!
|
|
|
Post by sushi on Feb 22, 2013 9:54:59 GMT -5
Now it works, I have disabled HardWarEopt to patch the game. The launcher remains in English but the game is translated...
I have no accentuated characters, can I upload you my French Hardwar.res cause I don't understand how to make Duncan's extractor work ?
How must I do to tell your patcher to write nothing instead of "no cargo" for example, when i replace "no cargo" by just a space, the patcher automatically refill the blanc with "no cargo"...
@+
|
|
|
Post by sushi on Feb 22, 2013 12:09:47 GMT -5
Maybe you could make a tutorial because it definitely doesn't work for me as soon as I customize.
I really try to make it work but it is really out of reach for me... - If I modify any of the words from a version and then click save new, all the modifications are ignored and i have just English. - If i do "save new" and then copy/past the French version in the offset, and then "save" and then "patch game" when i launch the game a dos window appears 1 second and then... Nothing. - So I erase the patcher.db and all have to be done once again.
Applying the french version is quite easy but this version is not finished and there are some moddification I'd like to do...
EDIT : Now it works...
Here is how to do :
First of all, the UIM06 must be installed without any enhancements. Save HardwarW.exe on the desktop it should help further.
1. put Hardwar Patcher.exe into Hardwar main directory 2. launch Hardwar Patcher.exe
If you have not already translated, you can do it right now in the patcher or copy/past all the strings into a spreadsheet. It could help you to translate all the redundancies easily by sorting all this. Don't forget to resort everything back when you have done the translation.
3. Choose the translation tab 4. click on "save new" button to create a new translation sheet. 5. copy/past your own language into the second column so your translation will be displayed instead of the original. 6. click on "save" 7. click on "Patch Game" 8. click on Launch, or launch the game as usual
If you can't launch the game erase Hardwar Patcher.db, then erase HardwarW.exe and copy/past the save from the desktop. You can try againe to translate...
@+
|
|
|
Post by riedquat on Feb 22, 2013 12:40:28 GMT -5
Here is how to do : First of all, the UIM06 must be installed without any enhancements. Save HardwarW.exe on the desktop it should help further. 1. put Hardwar Patcher.exe into Hardwar main directory 2. launch Hardwar Patcher.exe 3. Choose the translation tab 4. click on "save new" button 5. copy/past your own language into the second column so your translation will be displayed instead of the original. 6. click on "save" 7. click on "Patch Game" 8. click on Launch, or launch the game as usual If you can't launch the game erase Hardwar Patcher.db, then erase HardwarW.exe and copy/past the save from the desktop. You can try againe to translate... @+ Thanks, this is the guide for dummies I was asking for!! Definitely many things need to be tried out first and many others need to remain in English because there isn't a shorter way to put some things up!
|
|
|
Post by sushi on Feb 22, 2013 12:42:53 GMT -5
Hello Riedquat,
If you use a space instead any word you want, nothing is displayed... It seems to works fine, That's cool...
|
|
|
Post by ouch on Feb 22, 2013 16:32:20 GMT -5
Just wanted to pop in here real quick...
All your problems are caused by the fact that you don't enter in a new name before you click "save new".
The database is a series of tables. These are like spreadsheet tabs in spreadsheet editing software. The program has to know which table (or which spreadsheet tab) to display for each section of the program. I do this by adding tags at the end of the table name. For example the translation section of the program have _TRANS at the end of the names. While the custom section uses _CUST.
Now when you click "save new" what it does is it takes whatever is currently in the dropdown box and adds _TRANS to it. So if just click "save new" right off you will get two tables named:
UIM06_English_By_Duncan_TRANS UIM06_English_By_Duncan_TRANS_TRANS
But those _TRANS are just tags... so the program actually sees:
UIM06_English_By_Duncan UIM06_English_By_Duncan
And you can see where your problems are coming from. Basically it can't distinguish between the 2 tables and may randomly pick values from either... So you might have your translation on one of those tables but when you click "patch game" it doesn't appear anything has changed as it just wrote the defaults in instead of your changes...
This will also cause other problems as well as it might be expecting something with 20 characters, but reading something with 50. this will likely cause the app to crash.
So in short, be sure to save your new translations under a new name. Just type in whatever you want to call your translation in that dropdown box where you select different translations, and then click "save new".
|
|
|
Post by sushi on Feb 22, 2013 16:33:24 GMT -5
Hello Ouch, Ok thanks a lot for all those precisions I'll go better now. How to add those 2 addresses missing  1072015 31 DAY:%ld, TIME:%02ld:%02ld:%02ld JOUR:%ld - %02ld:%02ld:%02ld 1072047 31 DAY:%ld, TIME:%02ld:%02ld:%02ld JOUR:%ld - %02ld:%02ld:%02ld For the moment I'm correcting the numerous errors there is in the translation... I play the game and each time I encounter an error I go to my spreadsheet and correct. I apply the corrrection with the patcher and it seems to work very well. Good job. The only thing is those accents missing... As soon as you explain me how to extract the font I give them to you. @+ EDIT : Here is all the addresses missing I've found until now : 1072015 31 DAY:%ld, TIME:%02ld:%02ld:%02ld JOUR:%ld - %02ld:%02ld:%02ld 1072047 31 DAY:%ld, TIME:%02ld:%02ld:%02ld JOUR:%ld - %02ld:%02ld:%02ld 902923 16 Testing Patience Tests en cours 955219 21 Installed: Version %d Version installée: %d 1029043 21 Installed: Version %d Version installée: %d 883751 11 %s's Hangar Hangar - %s
|
|
|
Post by ouch on Feb 23, 2013 17:01:28 GMT -5
You can add those to your translation by clicking the "add row" button along the top.
I've added the strings to the spreadsheet that I posted in the translations thread. So you can just copy and paste what you need from that.
|
|
|
Post by sushi on Feb 23, 2013 17:52:43 GMT -5
Great ! That will help a lot for patching on the go !!!  EDIT : how to make my DEC address become an HEX address, in your spreadsheet there is no field for that !
|
|
|
Post by ouch on Feb 23, 2013 18:43:22 GMT -5
it's converted for you on sheet 3. the "strings" and "clear field" values are on sheet2.
|
|
|
Post by sushi on Feb 24, 2013 4:44:00 GMT -5
In fact it is on sheet 3 !
|
|
|
Post by sushi on Mar 4, 2013 8:49:02 GMT -5
Hello Ouch Still this message each time I close the Patcher :  It says Hardwar Patcher.exe has stopped working And then Do you want to send infos about this issue ? The patcher works well but each time I quit I have this message. How can I fix that. I'm using Vista 32. Maybe I have to disable something ? My updates are automatic but maybe something is missing in Vista ?
|
|
|
Post by riedquat on Mar 6, 2013 13:03:24 GMT -5
No, same happens to me with XP, not a big deal as it works fine, just crashing on exit
|
|
|
Post by ouch on Mar 27, 2013 7:07:37 GMT -5
New version folks! the english defaults now produce a byte for byte compatible version! Additionally you can now create translations for hardman.exe as well with the new vertical tabs on the left. In order to keep it simple the translation gets applied to both files at once when you click "patch game". The defaults for the translation are now stored in a seperate file called "Hardwar Patcher Defaults.db" whenever a new translation is made or a default translation is deleted it reads this file to restore everything. (or if hardwar patcher.db is deleted) There is now an import and export buttons just for the translations. to keep things simple just click export and enter a file name, whatever translation your looking at will get exported to that file. you can then change your translation and then export again to the same file to add another translation to the exported file. if the exported file already has a translation of that name in it then it will be over written. Imported files add all translations in the file. The "Hardwar Patcher Defaults.db" file is actually just the 2 translations exported to it. So you don't have to wait for me to update things anymore...  Just export the new stuff and the old will be overwritten. Then you can just share that file. Or just send your own separate translation database around to everyone and they can import it into their database. Escape sequences are now handled properly as well. The program currently supports these standard sequences: Escape sequence Description Representation \' single quote byte 0x27 \" double quote byte 0x22 \? question mark byte 0x3f \\ backslash byte 0x5c \0 null character byte 0x00 \a audible bell byte 0x07 \b backspace byte 0x08 \f form feed - new page byte 0x0c \n line feed - new line byte 0x0a \r carriage return byte 0x0d \t horizontal tab byte 0x09 \v vertical tab byte 0x0b and also \% which gets changed to a % character. I had to add this because SQLite apparently automatically converts %% to % and I don't see a way to turn it off... AND.... You can now edit hardman's registry settings... So whether you want to change where hardwar looks for it's video's, or you would just like a more taste full resolution, it's all there. Keep in mind this part is not connected to the database yet. So there are no defaults to fall back on. If you screw things up you will have to use regedit to delete the offending item and then run hardman to re-generate it. Oh, and the registry thing is read and written directly from your current registry. So if you have stray items from previous hardwar installations you will see them there.
|
|