Som_db.exe versions (if any) man I'm confused...

#1
I definitely have records of two different versions of som_db.exe...

case 'rt#2': //574cc-57000/rdata=4cc (595f4-59000/data=5f4)
case 'db#2': //5835c-58000/rdata=35c
case 'db#1': //5735c/574ec-57000/rdata=35c/4ec (59688-59000/data=688)
case 'rt#1': //5633c/564cc-56000/rdata=33c (585f4-58000/data=5f4)

I remember taking these numbers out of individual .exe files I had on hand.

Right now all my som_db.exe files seem to go to db#1 which is according to my notes not patched.

I've been suspecting for a while my som_db.exe was funny. But anyway, I downloaded all the patches on the patch website (https://www.fromsoftware.jp/main/soft/som_dl.html) and I can't find any som_db.exe files in them.

I'm assuming the extra som_db.exe came from the one available for download on the main site here; update: yes just tested that and it's true. But Ex can't use that one because it's not in Japanese...

I'm pretty sure that's the one I want. But I need the original (untouched) and I can't find that anywhere...

So I'm wondering where you guys found it / where it came from Confused

PS: This is pretty important.

PPS: Ex recognizes which exe is in play based upon the size of the memory sections in the EXE image. They are slightly different in each one. I don't think anything John could've done while messing with the files could have changed these numbers.
Reply

#2
Holy here is an idea, might help......... take the SOM ISO if you need it just ask , I have a copy...... install it , DO NOT APPLY John Translation patch...... the som_db.exe will be untainted...... if you look at the som_db.exe AFTER translation you will notice that john included his information, and his version information ect..... when he did the translation and added all the extra text..... THAT changed the file size.......... so on a seperate machine with SOM installed with out John's patches.... That will give you the "GOOD" sob_db.exe you and you EX will need..... PS that is how I had to translate the origanal comments in the code, I tried it with Johns patched, and All I got was little question marks where the comments were:) Hope that helps ...............ML
Reply

#3
Another thing, the version I got of SOM came from a japanese TORRENT...... I discovered som, then I discovered this wonderful site, and johns patch..... so the ISO I have even has the origanal textures......... John did a bunch of adds when he did his custom work.......... ( he did not like the crappy grass textures ect.........) so the key is NOT adding ANY patches , (even the 1.1 patch or the ones that came from, FROM software:) that is the only way to work with the REAL som_db.exe............ I figured out why the source comments were question marks.......when John reassembled the package with all his goodies...... he did not recompile using a japanese compiler...... the compilier not reconising the kanji, just replaced ALL the coments with little question marks...... when I broke the source EXE's down I used that Jap res hacker I posted, and I recompiled with that same compiler ( IMPORTANT) I did not apply ANY patches on the install....... and boom all the kanji remained intact:) then me and babylon.com went to work:) once again I think the little coments He made to sorce alters the memory values, and that is why we have two versoins , of SOM_DB.EXE....... ‎  good luck , I just wanted to eloborate a little, ) So I made sence this time).....................ML
Reply

#4
Ok, first there are three versions of som_rt.exe. There is the one that the KF1 game on the disc uses. There is the one in the tool folder on the disc that becomes GAME.EXE when you build your game. And there is the one you get when you apply the patches on the From Software website.

The KF1 version being an anomaly aside. You'd think whatever changes were made to the patched som_rt.exe should've also have been made to som_db.exe. And I've observed a lot of probs with the original som_db.exe which I use (the one I think you're suggesting) ... which I'd like to think were corrected via some patch. But the only evidence of the existence of a patched som_db.exe I have is the one I downloaded from this website.

PE images like som_db.exe have three main sections. The .text (code) section, the .rdata (readonly) section, and the .data (readwrite) section. These sections are a different size in John's som_db.exe. Which seems to indicate he found another (probably newer) som_db.exe somewhere, because there's no reason in the world anything John could've done would have changed the sizes of those sections.

PS: I'm not sure why you keep saying compile/compiler. First of all there are no resources in som_db.exe (except for the F1/F2 screens) and if whatever app you're using to edit the resources calls itself a compiler, it only means that it's compiling the resource section. Compiling the program (what compiler usually means) is something totally different... afaik no software exists that can successfully decompile/recompile a non-trivial Win32 program (https://en.wikipedia.org/wiki/Decompiler)

All of the decompilers listed in Wikipedia don't even qualify as experimental. You won't find much else about the subject on the web either.
Reply

#5
Ohhhh ‎  Kayyyyy...... I was trying to help thats all.... *queitly walks away*
Reply

#6
Good try. If I did not make it clear. Basically I'm trying to find out where the som_db.exe file on the website here came from because it doesn't line up with the one on the disc and there is not another one near as I can tell available for download on the From' website.

I realize John hexedited it a bit, but changing the section layout (https://en.wikipedia.org/wiki/Portable_E...ble#Layout) isn't possible with a hexeditor. And there's no reason for John to have done that. Is John answering email anymore Confused
Reply

#7
(2011-01-15, 05:16 PM)Madison Lastrega link Wrote:John did a bunch of adds when he did his custom work.......... ( he did not like the crappy grass textures ect.........)

Just to clarify, the only things I changed (other than text) with my SoM translation patch were obvious mistakes by From (texture holes, misaligned models etc). I didn't do any "adds" based on my personal preferences- that would be unfair to KF fans. I added my name as "company" to mark translated exes. The new grass texture was part of my separate, home made "house Piece set" add-on and I mentioned the texture change in the readme specifically so people could choose not to use it. ‎ 

(2011-01-15, 05:16 PM)Madison Lastrega link Wrote:I figured out why the source comments were question marks.......when John reassembled the package with all his goodies...... he did not recompile using a japanese compiler...... the compilier not reconising the kanji, just replaced ALL the coments with little question marks...... when I broke the source EXE's down I used that Jap res hacker I posted, and I recompiled with that same compiler ( IMPORTANT) I did not apply ANY patches on the install....... and boom all the kanji remained intact:) then me and babylon.com went to work:) once again I think the little coments He made to sorce alters the memory values, and that is why we have two versoins , of SOM_DB.EXE.......


Windows exe 'resources' are mostly language independent and its extremely unlikely the question marks you saw were caused by my translation. There is a lot of untranslated Japanese sub-text even after my translation patch and it shows up as Japanese (no ????s) just fine on my PC.
SoM's exes are still actually 100% Japanese- Japanese exes just support English letters so I was able to make the translation without any serious changes. If you were seeing "????" instead of Japanese, you probably didn't have the needed Japanese font or language configuration setup on your PC. The ????s are displayed when your current font is blank in the 'slot' referenced in the text's data. When I first played a Japanese SoM game, all the menus were "?????" because I didn't have MS Gothic installed. The Japanese resource editor may have installed the font you were missing.

Diver was just wrong- the updated Som_db.exe is in From's official SoM update.
Reply





Users browsing this thread:
2 Guest(s)