Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Text Files Shadow Of mordor

Featured Replies

  • Author
  • Localization

michalss, posted Thu Nov 27, 2014 9:47 am (2002)


Can anyone help please with this format ??

Code:
https://dl.dropboxusercontent.com/u/38234344/stringSoM.rar


This is what i have so far... I cannot find offset :(

Code:
BigEndian();

local uint x;

char sign[4];
uint version;
uint headsize;
uint entry;
uint64 textSize; // must be *2 coz of unicode
byte bbb[8];

for (x=0;x
 struct Entry {
    //uint ID;
    //uint Offset;

    ushort id1;    //???
    ushort id2;   //????
    ushort of1;   //????
    ushort of2;   //????

 }data;

}
  • Author
  • Localization

michalss, posted Sat Nov 29, 2014 7:56 am (2049)


anyone please ? I cannot figure it out :(
  • Author
  • Localization

aluigi, posted Sat Nov 29, 2014 3:44 pm (2055)


Really strange because there is a field that doesn't seem to have a meaning and the total number of strings is different than those reported in the files.
This is my idea:
Code:
endian big
idstring "BDKS"
get DUMMY long
get DUMMY long
get FILES long
getdstring DUMMY 16
for i = 0 < FILES
    get DUMMY long
    get CRC long
next i

get BDKS_SIZE asize
do
    get STR unicode
    print "%STR%"
    savepos OFFSET
while OFFSET < BDKS_SIZE
  • Author
  • Localization

michalss, posted Sat Nov 29, 2014 5:32 pm (2059)


well had same problem 100% same one :( for me this data did not make sense :(
  • Author
  • Localization

michalss, posted Sun Nov 30, 2014 7:58 am (2065)


Was testing it in game and works ok there is no any offsets to text fields. iteresting how this game work :) Anyway working on repacker now... Ill post it here once is done
  • Author
  • Localization

InKviZ, posted Sun Nov 30, 2014 10:35 pm (2068)


It already has a program that can translate the text.
  • Author
  • Localization

michalss, posted Sun Nov 30, 2014 10:55 pm (2069)


InKviZ wrote:
It already has a program that can translate the text.


OK share it pls ? I dont want to waste time on this if such a thing exist?
  • Author
  • Localization

michalss, posted Mon Dec 01, 2014 9:09 am (2072)


This format is stupid :( My lates version of 010 Template, but still dont know if this is correct. Tested it in game and once you make strings longer then in game u can see text *SPAM* up :(

Code:
//--------------------------------------
//--- 010 Editor v5.0.2 Binary Template
//
// File:
// Author: michalss
// Revision: 1.5
// Purpose: Shadow of Mordor TextFiles
//--------------------------------------
BigEndian();

local uint x,padding,dCounter;
local string text;

char sign[4];
uint version;
uint headsize;
uint entry;
uint64 textSize; // must be *2 coz of unicode
uint64 unk;


struct DONTKNOW {
    for (x=0;x
        struct Entry {
   
            uint dummy;   
            uint crc;

        }data;

   }
}n;

dCounter = (textSize*2) (entry*2);

struct TextEntry {
do {

 struct Text {
         
    text=ReadWString(FTell());
    char TextF[Strlen(text)*2];   
    padding=ReadUInt(FTell());
    if (padding==0) {
        byte padding[4];
    }else{       
        byte padding[2];
    }
 }data;


} while (FTell()} E;
//Printf("Counter %i\n",dCounter);
  • Author
  • Localization

michalss, posted Thu Dec 04, 2014 6:28 am (2091)


ok so there is some kind of offset for each string :( however data does not make any sense to me :(
  • Author
  • Localization

michalss, posted Tue Dec 30, 2014 8:42 am (2386)


Sorted :) Finally ...
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.