Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Neden böyle oldu, anlaşılmayan işler [Pc]

The Original Forum. Game archives, full of resources. How to open them? Get help here.
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Code: Select all

23 5f 5f 69 6e 69 74 5f 5f 2e 70 79 0a 0a 27 27
27 0a 20 20 20 20 64 65 66 20 67 65 74 5f 67 61
6d 65 5f 74 6f 5f 74 72 61 6e 73 28 73 65 6c 66
2c 20 67 6e 61 6d 65 29 3a 0a 20 20 20 20 20 20
20 20 73 79 6d 62 6f 6c 73 20 3d 20 22 3a 2c 27
5c 22 20 2b 2d 2a 21 3f 3b 2e 2f 3d 22 0a 20 20
20 20 20 20 20 20 74 61 62 6c 65 20 3d 20 73 74
72 2e 6d 61 6b 65 74 72 61 6e 73 28 73 79 6d 62
6f 6c 73 2c 20 22 5f 22 20 2a 20 6c 65 6e 28 73
79 6d 62 6f 6c 73 29 29 0a 20 20 20 20 20 20 20
20 65 6e 75 6d 20 3d 20 67 6e 61 6d 65 2e 75 70
70 65 72 28 29 2e 74 72 61 6e 73 6c 61 74 65 28
74 61 62 6c 65 29 2e 72 65 70 6c 61 63 65 28 22
5f 5f 22 2c 20 22 5f 22 29 0a 20 20 20 20 20 20
20 20 72 65 74 75 72 6e 20 65 6e 75 6d 0a 0a 20
20 20 20 46 75 6e 64 65 6d 65 6e 74 61 6c 6c 79
20 62 72 6f 6b 65 6e 20 76 65 72 73 69 6f 6e 69
6e 67 20 73 79 73 74 65 6d 0a 20 20 20 20 64 65
66 20 68 65 78 5f 74 6f 5f 64 65 63 28 73 65 6c
66 2c 20 6e 69 66 5f 76 65 72 5f 68 65 78 29 3a
0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20
20 20 6e 69 66 5f 76 65 72 5f 68 65 78 5f 31 20
3d 20 73 74 72 28 69 6e 74 28 27 7b 30 3a 2e 34
7d 27 2e 66 6f 72 6d 61 74 28 0a 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 20 68 65 78 28 73 65 6c 66 2e 64 61 74 61
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Code: Select all

2e 5f 76 65 72 73 69 6f 6e 5f 76 61 6c 75 65 5f
2e 5f 76 61 6c 75 65 29 29 2c 30 29 29 2e 7a 66
69 6c 6c 28 32 29 0a 20 20 20 20 20 20 20 20 6e
69 66 5f 76 65 72 5f 68 65 78 5f 32 20 3d 20 73
74 72 28 69 6e 74 28 27 30 78 7b 30 3a 2e 32 7d
27 2e 66 6f 72 6d 61 74 28 0a 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 68 65 78 28 73 65 6c 66 2e 64 61 74 61 2e
5f 76 65 72 73 69 6f 6e 5f 76 61 6c 75 65 5f 2e
5f 76 61 6c 75 65 29 5b 34 3a 5d 29 2c 30 29 29
2e 7a 66 69 6c 6c 28 32 29 0a 20 20 20 20 20 20
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Code: Select all

def run(self, target, filename, callback):
        """Run the config gui."""
        self.target = target     # import or export
        self.callback = callback # function to call when config gui is done
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Gerk siz ben siz neden böyle bil gisiz

Code: Select all

2e 5f 76 65 72 73 69 6f 6e 5f 76 61 6c 75 65 5f
2e 5f 76 61 6c 75 65 29 29 2c 30 29 29 2e 7a 66
69 6c 6c 28 32 29 0a 20 20 20 20 20 20 20 20 6e
69 66 5f 76 65 72 5f 68 65 78 5f 32 20 3d 20 73
74 72 28 69 6e 74 28 27 30 78 7b 30 3a 2e 32 7d
27 2e 66 6f 72 6d 61 74 28 0a 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 68 65 78 28 73 65 6c 66 2e 64 61 74 61 2e
5f 76 65 72 73 69 6f 6e 5f 76 61 6c 75 65 5f 2e
5f 76 61 6c 75 65 29 5b 34 3a 5d 29 2c 30 29 29
2e 7a 66 69 6c 6c 28 32 29 0a 20 20 20 20 20 20
65 78 5f 32 20 2b 20 22 2e 22 20 2b 20 6e 69 66
5f 76 65 72 5f 68 65 78 5f 33 20 2b 20 22 2e 22
20 2b 20 6e 69 66 5f 76 65 72 5f 68 65 78 5f 34
29 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20
20 20 20 72 65 74 75 72 6e 20 6e 69 66 5f 76 65
72 5f
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Noeee


Neden böy le

Code: Select all

2e 5f 76 65 72 73 69 6f 6e 5f 76 61 6c 75 65 5f
2e 5f 76 61 6c 75 65 29 29 2c 30 29 29 2e 7a 66
69 6c 6c 28 32 29 0a 20 20 20 20 20 20 20 20 6e
69 66 5f 76 65 72 5f 68 65 78 5f 32 20 3d 20 73
74 72 28 69 6e 74 28 27 30 78 7b 30 3a 2e 32 7d
27 2e 66 6f 72 6d 61 74 28 0a 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 68 65 78 28 73 65 6c 66 2e 64 61 74 61 2e
5f 76 65 72 73 69 6f 6e 5f 76 61 6c 75 65 5f 2e
5f 76 61 6c 75 65 29 5b 34 3a 5d 29 2c 30 29 29
2e 7a 66 69 6c 6c 28 32 29 0a 20 20 20 20 20 20
65 78 5f 32 20 2b 20 22 2e 22 20 2b 20 6e 69 66
5f 76 65 72 5f 68 65 78 5f 33 20 2b 20 22 2e 22
20 2b 20 6e 69 66 5f 76 65 72 5f 68 65 78 5f 34
29 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20
20 20 20 72 65 74 75 72 6e 20 6e 69 66 5f 76 65
72 5f 20 20 6e 69 66 5f 76 65 72 5f 64 65 63 5f
33 20 3d 20 68 65 78 28 69 6e 74 28 6e 69 66 5f
76 65 72 5f 64 65 63 5f 33 2c 20 31 30 29 29 5b
32 3a 5d 2e 7a 66 69 6c 6c 28 32 29 0a 20 20 20
20 20 20 20 20 6e 69 66 5f 76 65 72 5f 64 65 63
5f 34 20 3d 20 68 65 78 28 69 6e 74 28 6e 69 66
5f 76 65 72 5f 64 65 63 5f 34 2c 20 31 30 29 29
5b 32 3a 5d 2e 7a 66 69 6c 6c 28 32 29 0a 20 20
20 20 20 20 20 20 6e 69 66 5f 76 65 72 5f 68 65
78 20 3d 20 69 6e 74 28 0a 20 20 20 20 20 20 20
20 20 20 20 20 28 6e 69 66 5f 76 65 72 5f 64 65
63 5f 31 20 2b 20 6e 69 66 5f 76 65 72 5f 64 65
63 5f 32 20 2b 20 6e 69 66 5f 76 65 72 5f 64 65
63 5f 33 20 2b 20 6e 69 66 5f 76 65 72 5f 64 65
63 5f 34 29 2c 20 31 36 29 0a
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

ÇOK bok muhabbet ker ler bunlar neden

Code: Select all

2e 5f 76 65 72 73 69 6f 6e 5f 76 61 6c 75 65 5f
2e 5f 76 61 6c 75 65 29 29 2c 30 29 29 2e 7a 66
69 6c 6c 28 32 29 0a 20 20 20 20 20 20 20 20 6e
69 66 5f 76 65 72 5f 68 65 78 5f 32 20 3d 20 73
74 72 28 69 6e 74 28 27 30 78 7b 30 3a 2e 32 7d
27 2e 66 6f 72 6d 61 74 28 0a 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 68 65 78 28 73 65 6c 66 2e 64 61 74 61 2e
5f 76 65 72 73 69 6f 6e 5f 76 61 6c 75 65 5f 2e
5f 76 61 6c 75 65 29 5b 34 3a 5d 29 2c 30 29 29
2e 7a 66 69 6c 6c 28 32 29 0a 20 20 20 20 20 20
65 78 5f 32 20 2b 20 22 2e 22 20 2b 20 6e 69 66
5f 76 65 72 5f 68 65 78 5f 33 20 2b 20 22 2e 22
20 2b 20 6e 69 66 5f 76 65 72 5f 68 65 78 5f 34
29 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20
20 20 20 72 65 74 75 72 6e 20 6e 69 66 5f 76 65
72 5f 20 20 6e 69 66 5f 76 65 72 5f 64 65 63 5f
33 20 3d 20 68 65 78 28 69 6e 74 28 6e 69 66 5f
76 65 72 5f 64 65 63 5f 33 2c 20 31 30 29 29 5b
32 3a 5d 2e 7a 66 69 6c 6c 28 32 29 0a 20 20 20
20 20 20 20 20 6e 69 66 5f 76 65 72 5f 64 65 63
5f 34 20 3d 20 68 65 78 28 69 6e 74 28 6e 69 66
5f 76 65 72 5f 64 65 63 5f 34 2c 20 31 30 29 29
5b 32 3a 5d 2e 7a 66 69 6c 6c 28 32 29 0a 20 20
20 20 20 20 20 20 6e 69 66 5f 76 65 72 5f 68 65
78 20 3d 20 69 6e 74 28 0a 20 20 20 20 20 20 20
20 20 20 20 20 28 6e 69 66 5f 76 65 72 5f 64 65
63 5f 31 20 2b 20 6e 69 66 5f 76 65 72 5f 64 65
63 5f 32 20 2b 20 6e 69 66 5f 76 65 72 5f 64 65
63 5f 33 20 2b 20 6e 69 66 5f 76 65 72 5f 64 65
63 5f 34 29 2c 20 31 36 29 0a 7d 20 23 20 64 69
63 74 69 6f 6e 61 72 79 20 6f 66 20 67 75 69 20
65 6c 65 6d 65 6e 74 73 20 28 62 75 74 74 6f 6e
73 2c 20 73 74 72 69 6e 67 73 2c 20 73 6c 69 64
65 72 73 2c 20 2e 2e 2e 29 0a 20 20 20 20 20 20
20 20 73 65 6c 66 2e 67 75 69 5f 65 76 65 6e 74
73 20 3d 20 5b 5d
  • def draw_y_sep(self):
    """Vertical skip."""
    self.yPos -= self.YLINESEP
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Code: Select all

if (heapSize < 200000) then
        heapSize = 2000000 -- allow ~ 40 MB instead of just 7.5 MB. Prevents "Runtime Error: Out of scripter memory"
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

New


Oyun neasıl parçalan mas Bunu göstereceğim şimdi sziize

Code: Select all

gname = getOpenFileName \
caption:"Open .bones from Bones folder" \
types:"Shadow of Mordor Bones (*.Kemil AMK)|*.skel" \
historyCategory:"LOTR_SOMObjectPresets"
g = fopen gname "rb"		
fname = getOpenFileName \
caption:"Open .mesh from Mesh folder" \
types:"Shadow of Mordor Models (*.Kafes amk)|*.mesh" \
historyCategory:"LOTR_SOMObjectPresets"
f = fopen fname "rb"
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

AAAA Moder Kelimesi geçti

Code: Select all

fn ReadHalfFloat fstream = 
	(
	hf=readshort fstream
	sign = bit.get hf 16
	exponent = (bit.shift (bit.and hf (bit.hexasint "7C00")) -10) as integer - 16
	fraction = bit.and hf (bit.hexasint "03FF")
	if sign==true then sign = 1 else sign = 0
	exponentF = exponent + 127
	outputAsFloat = bit.or (bit.or (bit.shift fraction 13) \
	(bit.shift exponentF 23)) (bit.shift sign 31)
	return bit.intasfloat outputasfloat*2
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Code: Select all

for i=1 to BoneCountName do (
BName=readstring g
Position=ftell g
NameEnd_00=readbyte g
if NameEnd_00!=0 then fseek g (Position) #seek_set
if NameEnd_00==0 then (
fseek g (0x0) #seek_cur
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Code: Select all

PosBEnd=ftell g
fseek g (BoneStart+BoneNameOff) #seek_set
BoneName=readstring g
fseek g (PosBEnd) #seek_set
append BoneNameArray BoneName
	
tfm = (quat c11 c12 c13 c14) as matrix3
tfm.row4 = [c21,c22,c23]
)	

fclose g
	
fseek f 0xC #seek_set
MshCount=readlong f
SData=readlong f
Unk00=readlong f
MeshOff=readlong f
SizeBoneId=readlong f
Count00=readlong f
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Code: Select all

for a = 1 to Count00 do (
getPos = ftell f + 4
fseek f getPos #seek_set			
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Code: Select all

Print ("Start @ 0x"+((bit.intAsHex(ftell f))as string))

PosBoneMap=ftell f		
fseek f (SizeBoneId) #seek_cur
MeshCount00=readlong f
fseek f (0x8) #seek_cur
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

Code: Select all

Print ("End @ 0x"+((bit.intAsHex(ftell f))as string))	
	
MeshStartPos=ftell f

fseek f (MeshOff) #seek_cur
TSelman61X
mega-veteran
mega-veteran
Posts: 252
Joined: Mon Feb 13, 2017 9:09 am
Has thanked: 9 times
Been thanked: 19 times
Contact:

Re: Neden böyle oldu, anlaşılmayan işler [Pc]

Post by TSelman61X »

TSelman61X wrote:

Code: Select all

Print ("Start @ 0x"+((bit.intAsHex(ftell f))as string))

PosBoneMap=ftell f		
fseek f (SizeBoneId) #seek_cur
MeshCount00=readlong f
fseek f (0x8) #seek_cur

Code: Select all

for a = 1 to Count00 do (
getPos = ftell f + 4
fseek f getPos #seek_set			
)	
for a = 1 to Count01 do (
getPos = ftell f + 4
fseek f getPos #seek_set			
)
for a = 1 to DataCountId do (
BoneId=readbyte f#unsigned	
)
for a = 1 to CountShort do (
BoneId=readshort f#unsigned	
)	
for a = 1 to Count20 do (
getPos = ftell f + 20
fseek f getPos #seek_set			
)	
for a = 1 to Count12 do (
getPos = ftell f + 12
fseek f getPos #seek_set			
)	

Print ("Start @ 0x"+((bit.intAsHex(ftell f))as string))

PosBoneMap=ftell f		
fseek f (SizeBoneId) #seek_cur
MeshCount00=readlong f
fseek f (0x8) #seek_cur

Print ("End @ 0x"+((bit.intAsHex(ftell f))as string))	
	
MeshStartPos=ftell f

fseek f (MeshOff) #seek_cur
Locked