Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Miscellaneous > Off Topic Discussion » Help edditing a txt file
Closed Thread
Old 12-18-2008, 04:28 PM   #1 (permalink)
 
010011010110000101111000

Join Date: Dec 2006

Location: Leicester, England

Posts: 3,660

Oreo will become famous soon enoughOreo will become famous soon enough

Send a message via MSN to Oreo
Default Help edditing a txt file

I don't know where this goes. So i'll put it here.

I have a txt file for GTA4 that i wish to mod to remove all police. it's basicly this for every zone in GTA4, but each one is slightly different (there is about 80 areas in GTA)



I want to change all the numbers in the red box to zero, all the way down in every zone. And i obviously dont want to tediously edit each individual section. And i cant even copy and paste for each section (because you obviously cant just highlight them columns and rows in the red box...) so i think you understand my problem.

Can anyone think how to do this i that takes no longer than 5 or 10 minutes ?
Oreo is offline  
Old 12-18-2008, 05:04 PM   #2 (permalink)
Hefemeister's Avatar
 

Join Date: Feb 2004

Location: Sweden

Posts: 6,808

Hefemeister is just really niceHefemeister is just really niceHefemeister is just really niceHefemeister is just really niceHefemeister is just really nice

Default Re: Help edditing a txt file

some type of copy and paste into excel. It would be tab delimited then you could use the replace function and copy and paste back perhaps. If I had the file I could give it a shot.
__________________
ASUS P6T Deluxe V2 :: INTEL i7 920 @3.4 :: XFX GTX260 :: 6gb Corsair 1600 :: Corsair 750TX :: TRUE 120 :: Samsung T240 24" :: Windows 7 X64

I do not accept support questions via PM

"The man in black fled across the desert, and the gunslinger followed."
Hefemeister is offline  
Old 12-18-2008, 05:14 PM   #3 (permalink)
synergy's Avatar
 
Monster Techie

Join Date: Mar 2005

Location: Somewhere between a 1 and a 0

Posts: 1,677

synergy will become famous soon enoughsynergy will become famous soon enough

Send a message via MSN to synergy Send a message via Yahoo to synergy Send a message via Skype™ to synergy
Default Re: Help edditing a txt file

Do a Find/Replace...still tedious, but nonetheless faster than manually typing it all.
__________________

Windows 7 Professional 64-bit
HTPC: Phenom II X4 920 | Biostar TA790GX XE mATX w/ ATI HD 3300 IGP | 4 GB Dominators DDR2 1066
LG Blu-Ray/HD-DVD ROM + DVD RW | WD Caviar 1 TB | 250 GB Cuda | Antec Veris Fusion Black HTPC Case
Logitech diNovo Edge KB | Win7 Pro 64-bit

3dMark06 23,159 | 3dMark Vantage 23,579 | TF2 Stats Page
synergy is offline  
Old 12-18-2008, 05:52 PM   #4 (permalink)
Spit-wad's Avatar
 
Bake a Pretty Cake!

Join Date: Jun 2008

Location: Madison, WI

Posts: 718

Spit-wad will become famous soon enough

Default Re: Help edditing a txt file

just kill the police and if u get 6 stars u gotta find a boat and drive it straight off the map and they eventually stop following u and u lose the stars
Spit-wad is offline  
Old 12-18-2008, 06:38 PM   #5 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,690

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: Help edditing a txt file

ctrl+h
__________________

Need website help? PM me!
CrazeD is offline  
Old 12-18-2008, 07:34 PM   #6 (permalink)
carnageX's Avatar
 

Join Date: Feb 2007

Location: South Dakota

Posts: 6,063

carnageX is just really nicecarnageX is just really nicecarnageX is just really nicecarnageX is just really nice

Send a message via AIM to carnageX Send a message via MSN to carnageX
Default Re: Help edditing a txt file

Get Notepad++. You can setup a macro function that records the key combo's you've done. So for example, set it to the first line to backspace, go dowdn a line, backspace/type in the number you want/repeat. You can even set it to repeat X amount of times . I use Notepad++ instead of regular Notepad on all my computers.
__________________
Sorry but I do not accept support questions via E-mail, PM, or IM.




3DMark06 Score: 15418 | carnageX | e6750 @ 3.54GHz | GTX 285 @ 648/1242 | Windows 7 Beta 1 64bit


If I help you, or you just like what I said, rep me by clicking the scale under my avatar
carnageX is offline  
Old 12-19-2008, 11:32 AM   #7 (permalink)
 
010011010110000101111000

Join Date: Dec 2006

Location: Leicester, England

Posts: 3,660

Oreo will become famous soon enoughOreo will become famous soon enough

Send a message via MSN to Oreo
Default Re: Help edditing a txt file

Ok thanks. it was quite hard, the columns didnt even line up all the way down !

I finally managed to get it to work using find and replace, luckily as you can see in the pic the two fields i wanted to edit had more spaces than the rest. by copy and pasting the number and all the spaces between the next column the replace all function did change it all.

Just a shame the game won't launch. It wouldn't launch before i eddited, i fixed it before by reinstalling - but that didn't work this time :mad:. so i installed it on a new hard drive and i get a different error..woopy.
Oreo is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Ubuntu. 95BlackGA Linux, BSD, other *nixes & Open Source Software 1 10-16-2008 09:44 PM
A sneaky, and annoying virus donaldj HijackThis Logs (finished) 25 06-16-2008 08:58 PM
Possible Corrupted/Infected Files. xXxexpertxXx Virus - Spyware Protection / Detection 11 03-12-2008 01:18 AM
WTF is a Bad Block? MikesCreation Hardware Troubleshooting 18 02-24-2008 09:31 PM
Another Hijack Log boo HijackThis Logs (finished) 17 06-26-2007 12:30 PM