logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,627
Posts: 94,209

Administrators:
DeeZire, Redemption

There are currently 109 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 06-26-2005, 08:12 AM   #1 (permalink)
Member
 
Join Date: Aug 2004
Location: England
Posts: 73
Send a message via MSN to Cattman2236
Default CSF to String??

Hey all, ok i have noticed when using a String file the text looks a WHOLE lot better than what it does in a CSF file. But is there a way to transfer my strings ive wrote in the CSF file to a String file, so i dont have to create a new string file and do EVERY string word for word so to speak. Any help would be much appreciated. or in other words how do i convert my CSF file to a STR file??
Cattman2236 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-26-2005, 05:31 PM   #2 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

I haven't opened a csf or str file in awhile, so I might be off by a bit. In one of the CSF editors, there is an export to INI feature (file>export>to ini. file) You do that and rename the file to a .str file.

Open it with textpad (google it) or other text editor with regular expression find and replace. Here's what you do:

- Delete everything from the beginning to the end of [Table]
- Delete excess enters & spaces at the end of the file, but keep one enter at the end
- do a find and replace (ctrl+h in textpad) and make sure regular expressions is checked
- set Find What to: \n|
- set Replace With to: \\n
^ please note the extra space in the beginning and end
- Press "replace all" to go through the entire file

- set Find What to: \n
- set Replace With to: "\nEND\n
- Replace All

- set Find What to: =
- set Replace With to: \n"
- Replace All


Done!.... I'm doing this from memory so I'm not totally sure if it works 100%.
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-27-2005, 05:18 PM   #3 (permalink)
Member
 
Join Date: Aug 2004
Location: England
Posts: 73
Send a message via MSN to Cattman2236
Default

Well it worked for me mate, thanks alot mate much appreciated.

Also i dont soppose you know how to make Generals challenge intro videos do you?? like in pro:gen when you have a challenge between Ironside and that chinese general there pictures pop up (example) General ironside Vs General leang (or whatever her name is), you know what i mean or have i lost you??
Cattman2236 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2005, 08:22 AM   #4 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 134
Default

no problem...

As for the generals challenge intro videos, the only way i would guess, on how to get one is to extract the bmp of all the frames (using bink & smacker) for an existing general and edit each frame with a picture of another general and reconvert the series of bmps to .bik with bink & smacker.

You can dl bink & smacker http://www.radgametools.com/down/Bink/RADTools.exe
GuyInTheWindow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
some csf string stuff Kelso LOTR: Battle For Middle Earth I & II Editing 4 02-21-2005 07:29 AM
New String Editor Cold-Blooded Generals & Zero Hour Editing 37 06-11-2004 09:49 AM
String problem in ZH Sponge Generals & Zero Hour Editing 1 12-23-2003 03:41 PM
String Editor For ZH Cold-Blooded Generals & Zero Hour Editing 9 11-14-2003 03:25 AM
String Editor...? LtZack Generals & Zero Hour Editing 5 02-28-2003 12:45 PM


All times are GMT -4. The time now is 11:53 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.