Start position in worldmap.

Search my webpage, section download,
there is wonderfull tool named:

WORLDMAP STARTER 1.03b

I am sure, this will be useful for you :)
 
Very nice util :idea:... But I need to patch it in memory, because I need it to our mod (F1.5:Resurrection)... Can U reveal the offset :wink: ?
 
I do not know how to reveal the offsets, sorry. However, you should know, that changes in "city.txt" file are needed to good work. I mean coordinates of Arroyo in city.txt. I hope, somebody will reveal the offsets.
 
Strange, if you use my tool then all must be ok. Do you have patch000.dat in Fallout2 folder? But I tested the tool on different versions with patch000.dat and without the patch000.dat file and all was ok.
Remember, U must start new game.
 
Don't worry, your util is awesome. Mayve i've just haven't switched bytes. But I understand it now.

So I gonna make virtual starter for our mod...
 
This may help... I dont know where I downloaded it...

Code:
[US 1.02]
Feature                     Memory  Fallout2.exe    Number      Original
                            Offset  File Offset     Of Bytes    Value

Enable Pipboy               497011  085611          1           0x7E 
Remove City Limit           4BF3BB  0AD9BB          1           0x24 
Disable Movies              44E690  03CC90          1           0x89 
Male Start Appearance       5002E8  0EE8E8          6           hmwarr 
Female Start Appearance     5002F0  0EE8F0          6           hfprim 
Male Default Appearance     5002D8  0EE8E0          6           hfjmps 
Female Default Appearance   5002E0  0EE8E0          6           hfjmps 
Starting Map                5194C8  107AC8          12          artemple.map 
DAT Name                    5023C8  0F09C8          13          patch%03d.dat 
Mod Name (Main Menu)        50EA18  0FD018          19          FALLOUT II %d. %02d
Start Year                  4A336C  09196C          2           0x84A8 
Start Month                 4A3382  091982          1           0x00 
Start day                   4A3356  091956          1           0xF8 
World Viewport X            10C42C  091956          2           0x0000 
World Viewport Y            51DE30  10C430          2           0x0000
 
But I don't need to change Worldmap ViewPort. I wanna change Worldmap Highlight. Hex offsets are OK :

Offset bytes orig. val. descr
0AD008: 4 0хAD000000 World Highlight X
0ACD90: 4 0хAD000000 World Highlight X
0AD00D: 4 0х7A000000 World Highlight Y
0ACD95: 4 0х7A000000 World Highlight Y

Overwriting exe file works, but patching it in memory does not.

C Example:

/* world highlight X */ WriteProcessMemory(processInfo.hProcess, (void*)0x4BE790, "\x72", 1, &bytesWritten);
WriteProcessMemory(processInfo.hProcess, (void*)0x41EA08, "\x72", 1, &bytesWritten);
/* world highlight Y */ WriteProcessMemory(processInfo.hProcess, (void*)0x4BE795, "\x45", 1, &bytesWritten);
WriteProcessMemory(processInfo.hProcess, (void*)0x4BEA0D, "\x45", 1, &bytesWritten);

So... In this case formula (Memory_offset = File_Offset + 0x411A00) doesn't... work ? I can't find it's memory offset
:?
 
I found them...

BEGTEXT:004BCC07 mov esi, 0ADh
BEGTEXT:004BCC0C mov edi, 7Ah

BEGTEXT:004BC98F mov esi, 0ADh
BEGTEXT:004BC994 mov edi, 7Ah

So, memory offsets of World Highlights are :

X - 4BC990
X - 4BCC08
Y - 4BC995
Y - 4BCC0D
 
Back
Top