中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-10 15:59
47,811 topics / 349,897 posts / today 0 new / 48,255 members
DOS疑难解答 & 问题讨论 (解答室) » [Help] Please teach how to modify the content of the file address using commands
Printable Version  3,538 / 19
Floor1 死性不改 Posted 2004-07-13 00:00
中级用户 Posts 88 Credits 378
The N T L D R in the position of the yellow status bar as shown. For example, I want to change it to $ L D R $

http://61.130.50.195/rtdw/UploadFile/2004-7/200471318195489.jpg

Floor2 wangsea Posted 2004-07-13 00:00
中级用户 Posts 110 Credits 445
I used to use a command-line software to modify files in binary mode before. It's been too long, and I don't know where it was put. It seems to be brought by a game modification tool.

By the way: Can't we use the method of replacing files?
Or: Use debug to read the first xxx bytes of the first file and save them as file 1, then copy 1.bin+2.bin /b 1.bin
(2.bin is the modified second half, and 1.bin is the first half of the original file)
Floor3 Climbing Posted 2004-07-13 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
Take a look at this page: http://cyberside.dyn.ee/freesoft/txtms01.htm

I quite like:
4. GSAR
5. Change
3. Alter
Floor4 死性不改 Posted 2004-07-14 00:00
中级用户 Posts 88 Credits 378
Hehe! Just a whim.

If I want to read a long article, I just...
Floor5 Climbing Posted 2004-07-14 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
It's not an article, but software. The kind of software you want.
Floor6 死性不改 Posted 2004-07-15 00:00
中级用户 Posts 88 Credits 378
How exactly should these software be used to solve the problem I mentioned?

I tried change, but it didn't work.


Floor7 死性不改 Posted 2004-07-15 00:00
中级用户 Posts 88 Credits 378
The following is a quote from wangsea on July 13, 2004, 07:26:22 AM:
I used to use a command-line software to modify files in binary mode before. It's been too long, and I don't know where it was put. It seems to be a game modification tool.

By the way: Can't we use the method of replacing files?
Or: Use debug to read the first xxx bytes of the first file and save it as file 1, then copy 1.bin+2.bin /b 1.bin
(2.bin is the modified second half, and 1.bin is the first half of the original file)



The file is random and cannot be pre-made for replacement.

I don't know how to use debug.
Floor8 Climbing Posted 2004-07-15 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
Just look at the instructions. The several software I mentioned earlier all support the functions of finding and replacing hexadecimal codes. But since I don't need them, I haven't tried either.
Floor9 wangsea Posted 2004-07-15 00:00
中级用户 Posts 110 Credits 445
It's very simple to use debug. Create the following two files:

cut.bat Content:
debug ntldr<do.txt

do.txt Content:
r cx
100
r bx
0000
n ntldr1.bin
q

-----------------------------------------------
Note that the 100 in do.txt above refers to hexadecimal, that is, 100H bytes (you can just change this value to intercept different bytes).
After creating these two files, execute cut.bat to generate a ntldr1.bin (intercepting 100H bytes of ntldr) file.
Floor10 wangsea Posted 2004-07-15 00:00
中级用户 Posts 110 Credits 445
Finally found this software from an old disc: edithex. The file size is 17K, a DOS program specially used for binary data replacement, and it's in Chinese version. How should I give it to you if you want it?
Floor11 死性不改 Posted 2004-07-15 00:00
中级用户 Posts 88 Credits 378
Does this program have a command-line mode?
Floor12 wangsea Posted 2004-07-15 00:00
中级用户 Posts 110 Credits 445
edithex.exe is in command - line mode.
Floor13 死性不改 Posted 2004-07-15 00:00
中级用户 Posts 88 Credits 378
It seems to need to be entered manually. Is there an automatic mode?
Floor14 wangsea Posted 2004-07-15 00:00
中级用户 Posts 110 Credits 445
Do you want cut.com, which functions to split large files into subfiles of specified size, with extensions 001, 002, ...

Usage: cut
nnn in KB unit.
Floor15 死性不改 Posted 2004-07-15 00:00
中级用户 Posts 88 Credits 378
But I just need to modify, not split. It would be perfect if edithex can do it without manual input.
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023