[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

915.0. "Edit .PRG files" by SUBURB::JAMESH (Left Handed People are SUPER Natural) Thu Jun 28 1990 08:14

    I looking to translate some German text in a PD .prg file to English
    so when I run the program I can read the prompts. Is there any PD
    that will allow me to read the program into memory, allows me to
    search and edit the German words and then re-write the file to disk.
    I have programs that allow me to read/edit but not save, read/edit/save
    but not the same file e.g. read 32K, saves 40K etc. Do I need a
    disk sector editor? Am I going to get check-sum errors?
    ...Howard
T.RTitleUserPersonal
Name
DateLines
915.1Will the english fit?SICKO::PATTERSONEngaged to a RedheadThu Jun 28 1990 13:0227
>    I looking to translate some German text in a PD .prg file to English
>    so when I run the program I can read the prompts. Is there any PD
>    that will allow me to read the program into memory, allows me to
>    search and edit the German words and then re-write the file to disk.

	If you can fit the English into the same number of characters
	or less, then all you need to do is, use a sector editor
	and replace the characters.

	If you need more space for the English, then it is very much
	harder.  You must disassemble the program, change the text and
	all pointers referencing anything from tht point on, and
	re-assemble it.

>    disk sector editor? Am I going to get check-sum errors?

	Not unless the program computes its own checksum to prevent
	viruses or piracy.  When you re-write the given sector of
	a file, the sector header gets updated with the correct
	checksum.


	There are several PD sector editors around, look in topic #9
	to see if any are online, if not, I'll bet someone has one and
	will upload it, if you ask.

						Jim
915.2dlii does sector editing among other thingsOLDTMR::WALLACEThu Jun 28 1990 22:147
The program called DLII which I just made available OLDTMR:: (and I've fixed
the write protection :-) has a sector editor which alows searching, modifying,
and saving.

	OLDTMR::$1$dua8:[wallace.public.st]dlii.arc

	Ray
915.3ThanksSUBURB::JAMESHLeft Handed People are SUPER NaturalFri Jun 29 1990 07:522
    Thanks Ray, I'll try it.
    ...Howard