How to localize Visual Basic 5.0/6.0 games?

Jacklack3

( ゚ヮ゚) buddie was here
OP
Member
Joined
Oct 6, 2015
Messages
1,863
Trophies
1
Location
Canada
Website
jackomix.neocities.org
XP
3,806
Country
Canada
Kairosoft created Game Dev Story on the PC a long time ago and made a sequel but it never got a translation. I was able to use a program and I found out the game was made in Visual Basic 5.0/6.0. I tried to use some VB decompilers but they didn't work or the project file wasn't able to run/compile back. Is there a way I can edit the forms in the binary itself or change the text itself? It doesn't appear in hex by the way so that doesn't work. Thanks!
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
How well do the decompilers handle packing/encryption? A lot of such programs won't do much. http://www.romhacking.net/utilities/626/ will hopefully tell you a bit more here.

Simple hex viewing is not likely to do much -- compression, not being ASCII encoded, split up a bit... the list goes on.

You can start with a resource extractor https://www.nirsoft.net/utils/resources_extract.html
They are typically aimed at general windows programs but visual basic still conforms to that in most ways that matter here.

http://www.angusj.com/resourcehacker/ is another, the classic tool people use for debugging which could also tell you something is ollydgb http://www.romhacking.net/utilities/625/

While getting stuff to decompile and then recompile is a feat did any of your decompilations yield any useful info here? If they tell you where you should be looking for a more typical hacking approach then so much the better.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,373
Trophies
4
Location
Space
XP
13,977
Country
Norway
Kairosoft created Game Dev Story on the PC a long time ago and made a sequel but it never got a translation. I was able to use a program and I found out the game was made in Visual Basic 5.0/6.0. I tried to use some VB decompilers but they didn't work or the project file wasn't able to run/compile back. Is there a way I can edit the forms in the binary itself or change the text itself? It doesn't appear in hex by the way so that doesn't work. Thanks!
That's the thing with decompilers, the code rarely compiles without changes. You'll have to correctly edit all the errors so they compile and work.
 

Jacklack3

( ゚ヮ゚) buddie was here
OP
Member
Joined
Oct 6, 2015
Messages
1,863
Trophies
1
Location
Canada
Website
jackomix.neocities.org
XP
3,806
Country
Canada
How well do the decompilers handle packing/encryption? A lot of such programs won't do much. http://www.romhacking.net/utilities/626/ will hopefully tell you a bit more here.

Simple hex viewing is not likely to do much -- compression, not being ASCII encoded, split up a bit... the list goes on.

You can start with a resource extractor https://www.nirsoft.net/utils/resources_extract.html
They are typically aimed at general windows programs but visual basic still conforms to that in most ways that matter here.

http://www.angusj.com/resourcehacker/ is another, the classic tool people use for debugging which could also tell you something is ollydgb http://www.romhacking.net/utilities/625/

While getting stuff to decompile and then recompile is a feat did any of your decompilations yield any useful info here? If they tell you where you should be looking for a more typical hacking approach then so much the better.
All those tools just show me metadata stuff about the EXE. Also I found the decompilers don't really decompile since it can't translate machine code into Visual Basic. There was a failed translation before and they seem to make a tool that would create a save for you in english. Though when I ran the broken decompiled VB project the text was in the forms and there's no external save data file.
 

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,323
Trophies
1
XP
4,469
Country
Canada
Since this is a Windows program, you could conceivably write something that hooks into the process while it's running and replaces the text in RAM, sort of like a fancy cheat engine. I expect someone out there must have done something like that with a Visual Basic program before, though of course editing the data files themselves would be a much more elegant solution.
 

Jacklack3

( ゚ヮ゚) buddie was here
OP
Member
Joined
Oct 6, 2015
Messages
1,863
Trophies
1
Location
Canada
Website
jackomix.neocities.org
XP
3,806
Country
Canada
Since this is a Windows program, you could conceivably write something that hooks into the process while it's running and replaces the text in RAM, sort of like a fancy cheat engine. I expect someone out there must have done something like that with a Visual Basic program before, though of course editing the data files themselves would be a much more elegant solution.
After this post was made I was able to contact a dude who tried to do a translation and did this. Though how exactly do you do it? Not much helpful resources to help me know where to start.
 

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,323
Trophies
1
XP
4,469
Country
Canada
Though how exactly do you do it? Not much helpful resources to help me know where to start.
Well, you'll need to know a heckuva lot more about Windows programing than I do. :-P

I did a Google search for "rewrite a visual basic program in ram by hooking into the process" (no quotes) and found
https://www.codeguru.com/cpp/w-p/sy...-To-Inject-Your-Code-Into-Another-Process.htm .

Apparently O'Reilly has a whole book on it.
http://shop.oreilly.com/product/9780596001186.do
 
  • Like
Reactions: Jacklack3

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87...