Skip to content

Commit

Permalink
181220-01
Browse files Browse the repository at this point in the history
  • Loading branch information
turican0 committed Dec 20, 2018
1 parent c3be31a commit 5690a6e
Show file tree
Hide file tree
Showing 18 changed files with 8,000 additions and 5,855 deletions.
9,984 changes: 5,011 additions & 4,973 deletions Debug/fix-sound/sound.dbg

Large diffs are not rendered by default.

Binary file modified Debug/remc2.exe
Binary file not shown.
Binary file modified Debug/remc2.exp
Binary file not shown.
Binary file modified Debug/remc2.lib
Binary file not shown.
1,020 changes: 1,016 additions & 4 deletions remc2/Debug/remc2.log

Large diffs are not rendered by default.

Binary file modified remc2/Debug/remc2.pch
Binary file not shown.
Binary file modified remc2/Debug/remc2.tlog/CL.command.1.tlog
Binary file not shown.
Binary file modified remc2/Debug/remc2.tlog/CL.read.1.tlog
Binary file not shown.
Binary file modified remc2/Debug/remc2.tlog/CL.write.1.tlog
Binary file not shown.
Binary file modified remc2/Debug/stdafx.obj
Binary file not shown.
Binary file modified remc2/Debug/vc141.idb
Binary file not shown.
Binary file modified remc2/Debug/vc141.pdb
Binary file not shown.
18 changes: 10 additions & 8 deletions remc2/engine/engine_support.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,24 +254,26 @@ void mine_texts(char* filename, Bit32u adressdos, Bit32u count, char* outfilenam
fseek(fptestepc, adressdos, SEEK_SET);
long adressadd;
long adressaddall=0;
fread_s(&actchar, 1, 1, 1, fptestepc);
for (int i = 0; i < count; i++)
{
adressadd = 0;
fread_s(&actchar, 1, 1, 1, fptestepc);
while(actchar!=0){
outtext[adressadd] = actchar;
while ((adressaddall % 4)||(actchar==0))
{
fread_s(&actchar, 1, 1, 1, fptestepc);
adressadd++;
adressaddall++;
}
for (int j = 0; j < (adressaddall + 1) % 4; j++)
{
while(actchar!=0){
outtext[adressadd] = actchar;
fread_s(&actchar, 1, 1, 1, fptestepc);
adressadd++;
adressaddall++;
}

outtext[adressadd]=0;
sprintf(outtext2,"text:%s\n",outtext);
fwrite(outtext2, strlen(outtext2),1, fileout);
sprintf(outtext2,"char* off_%05X[1]={%s};\n", 0xDB06C- 0x1131 + adressaddall,outtext);
if(strlen(outtext2)>1)
fwrite(outtext2, strlen(outtext2),1, fileout);
}

fclose(fptestepc);
Expand Down
30 changes: 29 additions & 1 deletion remc2/engine/info.x
Original file line number Diff line number Diff line change
Expand Up @@ -3169,4 +3169,32 @@ int sub_2BE30()//20ce30
}
}

2a1000
2a1000


x_WORD_F4960[40]
versus
2c5960

x_BYTE_10B1E0
versus
2dc1e0-> ffffff
2818ac
call 281863
size_t sub_988A7_read(FILE* a1, Bit8u* a2, int a3)//2798a7
int sub_53E60_readfile_and_decompress(const char* path, Bit8u** a2)//234E60
void sub_54800_read_and_decompress_tables(Bit8u a1)//235800
void sub_56A30_init_game_level(unsigned int a1)//237a30

2c7ee0+0x14300
x_BYTE_F6EE0_tables
x_BYTE_10B1E0==x_BYTE_F6EE0_tables[0x14300]

pallette
1a7358 -> 000000 000101 000203 000305

35d7d8->7ffbffff40020000
LOBYTE(v56b) = sub_3E360(v217, v227);//21f01b

_UNKNOWN unk_D4328; // weak //2a5328
find 2a5328->ed01000000ffd8
Loading

0 comments on commit 5690a6e

Please sign in to comment.