Oddworld Forums > Zulag One > Oddworld Discussion > Oddworld Mods & Hacks


 
Thread Tools
 
  #1  
03-16-2011, 12:03 PM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)
Polish translations

Hi everyone, you may not remember me, but to the point - I've made a MO polish translation, now I'm working on SW, but I wanted to mess around with LED's and hint bugs in AO. Can It be done with Paul's/LIJI/anyone's editor? I really need help on that, thanks.
Reply With Quote
  #2  
03-16-2011, 12:19 PM
Wil's Avatar
Wil
Oddworld Administrator
Oddworld Inhabitant
 
: Apr 2001
: UK
: 13,534
Blog Entries: 39
Rep Power: 39
Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)

It can't be done with a level editor because all the LED and hint fly messages are contained with the game's .exe. You can modify this easily, but redistributing it is dodgy. Maybe once you'd translated all the text someone could put together a patcher.
__________________

Reply With Quote
  #3  
03-16-2011, 12:54 PM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

I have good contact with Stewart Gilray, so I can ask him for permission. Second, the problem would be extracting text from the .exe. And third - patcher? I have no idea how to do that, as I only can write basic java programs.
Reply With Quote
  #4  
03-16-2011, 01:30 PM
RoryF's Avatar
RoryF
aka OddMan360
 
: Jul 2009
: 42 Wallaby Way
: 1,485
Blog Entries: 17
Rep Power: 16
RoryF  (860)RoryF  (860)RoryF  (860)RoryF  (860)RoryF  (860)RoryF  (860)RoryF  (860)
Happy

:
the problem would be extracting text from the .exe.
Most Hex Editors have a Find feature built-in like notepad so if you knew the text strings I'm pretty sure you can edit them easily from there.
__________________
>> oddmatics.co.uk <<
there's stuff there, totally cool stuff, really!

Reply With Quote
  #5  
03-16-2011, 01:39 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 19
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

You'll have the same issue as my hook dll for Exoddus, it will only work with ONE version of the game. Each version of the game will have different offsets etc and the steam version is protected/packed.
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #6  
03-16-2011, 01:46 PM
Wil's Avatar
Wil
Oddworld Administrator
Oddworld Inhabitant
 
: Apr 2001
: UK
: 13,534
Blog Entries: 39
Rep Power: 39
Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)

:
You'll have the same issue as my hook dll for Exoddus, it will only work with ONE version of the game. Each version of the game will have different offsets etc and the steam version is protected/packed.
Do you mean a patcher couldn't work because each version of game has different offsets for each string? Or that translating the strings in the .exe wouldn't work because the game uses hardcoded offsets to insert them?

If the former, couldn't the patcher use search/replace?
__________________

Reply With Quote
  #7  
03-16-2011, 01:50 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 19
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

:
Do you mean a patcher couldn't work because each version of game has different offsets for each string? Or that translating the strings in the .exe wouldn't work because the game uses hardcoded offsets to insert them?

If the former, couldn't the patcher use search/replace?
Search and replace could work but there are more issues. The strings are fixed length so that can/will bugger things up.

There are many versions of the game, search and replace in the French version for example isn't ever going to work.

I think the best way any of this can work is to assume all game versions are not supported, with the exception of the steam version! Since anyone can easily buy the steam version etc.

Only problem is that this means somehow unpacking the game at runtime and then doing the patching, I've got no idea how the steam binary packing protection works..
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #8  
03-16-2011, 02:24 PM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

I've found those LED's in hex editor. Now I will replace one of them and try will it work.
Reply With Quote
  #9  
03-16-2011, 02:25 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 19
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

I've just dumped the steam version of the game using LordPE, it appears the function offsets are the same as the version I have that is not from steam!

I think to make my dll work with the steam version I may just need to delay the memory overwriting code until the binary has been unpacked. I think at DllLoad its still packed!

I shall give it a try and report back with results.
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #10  
03-16-2011, 02:33 PM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

Thanks Paul, you're so helpful.
Reply With Quote
  #11  
03-16-2011, 02:41 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 19
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

It worked!

I'll release new DDrawHook dll in lvl files thread. It might/should be possible to do translations/custom messages too. I'll have to look into it.

I assume that you wish to only change LED and HINTFLY messages?
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #12  
03-16-2011, 03:03 PM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

I would like to alter anything that I can, eg. those signs (grinding area, etc.) main menu, pause menu and so on. I just started with hintbugs and leds, because I thought that they will be the easiest ones. Those "hand" screens are .cam screens, right?
Reply With Quote
  #13  
03-16-2011, 03:09 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 19
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

Correct, I can likely make LED and HINTFLY msgs in AE easy to edit in steam and English none steam version.
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #14  
03-16-2011, 03:11 PM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

That would be great, as I may get to them at some point. What about editing signs and "hands"?
Reply With Quote
  #15  
03-16-2011, 03:13 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 19
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

Those are cam images so you can use my editor to change those, the AE cam editing requires the hook dll to work
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #16  
03-17-2011, 08:06 AM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

Hmm, when I edit AbeWin.exe with my HEX Editor and I try to use it Windows either says it's unproper Win32 Application, or just crashes it right after launching it, any help?
Reply With Quote
  #17  
03-17-2011, 12:11 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 19
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

:
Hmm, when I edit AbeWin.exe with my HEX Editor and I try to use it Windows either says it's unproper Win32 Application, or just crashes it right after launching it, any help?
Because you've overwritten code segments and damaged the binary. You can only replace the strings, you CANT expand them which is what I was saying before.

Also if you edit the steam version I'm pretty sure the copy protection will go mental and not allow it to run. Hence a hook DLL is the way to go.

Edit: So overwrite anything that isn't a string, or change teh size in anyway and the binary is buggered!
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #18  
03-17-2011, 01:21 PM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

When I replace any letter, even eg. A to B. It goes red and doesn't work. And steam control isn't very good, as AO with changed AbeWin worked and crashed after all those checks.
Reply With Quote
  #19  
03-17-2011, 01:34 PM
Paul's Avatar
Paul
Outlaw Sniper
 
: Jun 2007
: MilkyWay
: 1,535
Rep Power: 19
Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)Paul  (718)

It won't crash if you're using a proper hex editor, if youre using something like notepad then it certainly will
__________________
[ http://www.paulsapps.com ]

Crawling sligs will shout "Mommy!" while running around and then the slig mommy will appear and help them put their pants on.

Reply With Quote
  #20  
03-17-2011, 02:17 PM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

I use hex editor Neo.
Reply With Quote
  #21  
03-18-2011, 09:21 AM
foust's Avatar
foust
Zappfly
 
: Jan 2011
: Ukrain
: 7
Rep Power: 0
foust  (10)

Hi lismati!
I did AO, finished the translation of the Russian version.
I used the program - Ogregui
Have a question for SW. How do you translate SW, open *. smb files, if so, how?
Reply With Quote
  #22  
03-18-2011, 11:09 AM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

I will try that program later. Oh, and to translate SW I got special language table from Stewart Gilray.
Reply With Quote
  #23  
03-19-2011, 05:19 AM
foust's Avatar
foust
Zappfly
 
: Jan 2011
: Ukrain
: 7
Rep Power: 0
foust  (10)

I want to translate SW into Russian, can you help me with this?
Reply With Quote
  #24  
03-20-2011, 12:59 PM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

Not with translating itself, but I can talk you with JAW for help.
Reply With Quote
  #25  
03-21-2011, 04:40 AM
foust's Avatar
foust
Zappfly
 
: Jan 2011
: Ukrain
: 7
Rep Power: 0
foust  (10)

Like that. Translations will be doing myself. Tell me.
JAW - what is it?
Reply With Quote
  #26  
03-21-2011, 04:56 AM
Nate's Avatar
Nate
Oddworld Administrator
Rainbow of Flavour
 
: Apr 2002
: Seattle (woo!)
: 16,311
Blog Entries: 176
Rep Power: 41
Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)

JAW are the company that converted SW to PC, are managing MO on Steam and are developing the future Oddworld releases. They're the people to talk to if you want to assist an official port.
__________________
:
Spending as long as I do here, it's easy to forget that Oddworld has actual fans.

Reply With Quote
  #27  
03-22-2011, 03:03 AM
foust's Avatar
foust
Zappfly
 
: Jan 2011
: Ukrain
: 7
Rep Power: 0
foust  (10)

With JAW understandable.
How can I make a translation?
Reply With Quote
  #28  
03-22-2011, 04:51 AM
Nate's Avatar
Nate
Oddworld Administrator
Rainbow of Flavour
 
: Apr 2002
: Seattle (woo!)
: 16,311
Blog Entries: 176
Rep Power: 41
Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)Nate  (13497)

You contact JAW. They tell you if it's something they want to work on. They tell you what needs to be translated. You give them the translated text. They put it in the game.
__________________
:
Spending as long as I do here, it's easy to forget that Oddworld has actual fans.

Reply With Quote
  #29  
03-22-2011, 09:20 AM
Wil's Avatar
Wil
Oddworld Administrator
Oddworld Inhabitant
 
: Apr 2001
: UK
: 13,534
Blog Entries: 39
Rep Power: 39
Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)Wil  (9443)

Not sure about that last bit. Is lismati's Polish translation going in the game?
__________________

Reply With Quote
  #30  
03-22-2011, 11:45 AM
lismati's Avatar
lismati
Spark Stunk
 
: Jul 2010
: Poland
: 384
Rep Power: 15
lismati  (25)

I work on SW now, and try to alter AO or AE. Oh, and yes, It is supposed to be official - I should be relased on MO language update.
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 








 
 
- Oddworld Forums - -