China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-23 12:59
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » [Wengier, Roy, Have to Love] Please come in.. View 2,426 Replies 18
Original Poster Posted 2007-07-08 22:48 ·  中国 山东 济宁 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
I downloaded a Dwarf boot disk a few days ago. When I extracted the files inside, there was an argj.exe. At first glance, I thought it was a RAR compression, but after adding a few files myself, it didn't work. After testing for a long time, I found that the compression format of this argj.exe was incorrect. The original argj.exe would decompress directly under DOS, but the one I made with RAR wouldn't. And the original argj.exe has the following sentences in the header

-------------------------------
MZ  ) 1 1 ?€ T B PMODSTUB.EXE generated on Sun Oct 22 16:55:35 2000
The PMODSTUB.EXE stub loader is Copyright (C) 1993-1995 DJ Delorie.
Permission granted to use for any purpose provided this copyright
remains present and unmodified.
This only applies to the stub, and not necessarily the whole program.
--------------------------------
It decompresses itself under DOS. I saved the decompression process, please see

--------------------------------
RAR SFX archive

Extracting from c:/argj.exe

Extracting ATTRIB.COM  2% OK
Creating DOC OK
Extracting DOC\BATCH.TXT  2% OK
Extracting CMOSMENU.TXT  2% OK
Extracting MEMSCAN.txt  2% OK
.................
--------------------------------
May I ask how this is compressed? Thanks!!!

[ Last edited by dalong on 2007-8-14 at 08:35 PM ]
Floor 2 Posted 2007-07-09 02:02 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
Old versions under DOS could be compressed!
I haven't used this, not familiar!
Floor 3 Posted 2007-07-09 20:54 ·  中国 山东 济宁 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
I don't understand...... Which version is needed
Floor 4 Posted 2007-07-09 21:26 ·  中国 北京 电信
新手上路
Credits 5
Posts 20
Joined 2007-04-18 00:10
19-year member
UID 85537
Gender Male
From SZ
Status Offline
This is a WinRAR format DOS self-extracting file.
Floor 5 Posted 2007-07-11 22:57 ·  中国 山东 济宁 曲阜市 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
I don't know how to modify argj.exe of the Dwarf Boot Disk. After I added it, it can't boot.
Floor 6 Posted 2007-07-13 08:10 ·  中国 山东 济宁 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
Originally posted by dalong at 2007-7-11 10:57 PM:
I don't know how to modify argj.exe in the Dwarf Boot Disk. After I added it, it can't boot.

:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o
Floor 7 Posted 2007-07-27 22:27 ·  中国 重庆 九龙坡区 电信
新手上路
Credits 4
Posts 2
Joined 2007-07-25 22:53
18-year member
UID 94043
Gender Male
Status Offline
Using IMG8.0 to modify the dwarf's IMG image file format, then you can use GRUB to load the image and boot! The specific modification format is: System file: F12/16 is also okay, sectors per cluster: 4 (2048), total number of sectors: 12800, FAT12/16 root entries: 224 0XE0, media descriptor: 248 0xf8, sectors per track: 32 0x20, heads: 64 0x40. If you don't know exactly how to do it, you can try it yourself... If you need the format, I can send one.. This format is only for loading a 6.4M image, which is large enough. Many can add many bootings...
Floor 8 Posted 2007-07-28 10:47 ·  中国 福建 厦门 电信
高级用户
★★★
Credits 741
Posts 366
Joined 2007-07-25 19:11
18-year member
UID 94024
Gender Male
Status Offline
Replace it with a self-extracting archive created with RAR version below 2.9 or ARJ version above 2.61
Floor 9 Posted 2007-07-28 17:53 ·  中国 山东 济宁 曲阜市 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
Floor 10 Posted 2007-07-28 18:47 ·  中国 山东 济宁 曲阜市 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
Originally posted by zhaofu29 at 2007-7-27 10:27 PM:
After modifying the IMG image file format of the dwarf with IMG8.0, you can load the image with GRUB to start! The specific modification format is: system file: F12/16 is also okay, number of sectors per cluster: 4 (2048), total number of sectors: 12800,
Root of FAT12/16 ...



This way of doing it doesn't work. Even Ms dos can't start anymore

[ Last edited by dalong on 2007-7-28 at 06:52 PM ]
Floor 11 Posted 2007-07-28 18:50 ·  中国 山东 济宁 曲阜市 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
Originally posted by netwinxp at 2007-7-28 10:47 AM:
Use versions of RAR below 2.9 or versions of ARJ above 2.61 to create a self-extracting archive and replace it



This way of making still can't boot. The size of the made argj.exe is different from the original one. The original is 4.44m while the one compressed by RAR 2.8 is 4.56m, and it can't boot the argj.exe. Entering DOS shows "bad command...".

In addition, I used RAR 2.8 to open the original argj.exe and it shows:
------------------
! dos.bat: The file header of "dos.bat" is damaged
! gh.BAT: The file header of "gh.BAT" is damaged
! menu.BAT: The file header of "menu.BAT" is damaged
! MHDD.BAT: The file header of "MHDD.BAT" is damaged
! tmenu.bat: The file header of "tmenu.bat" is damaged
! argj.scr: The file header of "argj.scr" is damaged
! BATCH: The file header of "BATCH" is damaged
! DATA: The file header of "DATA" is damaged
--------------------
Please give me some pointers

[ Last edited by dalong on 2007-7-28 at 06:52 PM ]
Floor 12 Posted 2007-07-28 19:13 ·  中国 福建 厦门 电信
高级用户
★★★
Credits 741
Posts 366
Joined 2007-07-25 19:11
18-year member
UID 94024
Gender Male
Status Offline
You don't run argj.exe, change to run your own self-extracting package
Floor 13 Posted 2007-07-28 21:58 ·  中国 山东 济宁 曲阜市 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
Originally posted by netwinxp at 2007-7-28 07:13 PM:
Don't run argj.exe. Change to run your self-extracting package.


I extracted argj.exe and then compressed it back into argj.exe. The size changed, it became larger than the original, and it can't run now.

[ Last edited by dalong on 2007-7-28 at 10:02 PM ]
Floor 14 Posted 2007-07-29 15:41 ·  中国 山东 济宁 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
After extracting argj.exe and then compressing it back into argj.exe, the size has changed, it has become larger than the original, and it cannot run
Floor 15 Posted 2007-08-09 17:44 ·  中国 山东 济宁 联通
初级用户
Credits 52
Posts 23
Joined 2007-05-12 08:08
19-year member
UID 88248
Gender Male
Status Offline
After extracting argj.exe and then compressing it back into argj.exe, the size has changed, it has become larger than the original, and it cannot run.
Forum Jump: