Premium Only Content
Command & Conquer Generals - Mod Tools - CSF Reading and Investigations
This was made months ago but I never bothered uploading it. Had nothing better to do.
I was asked to help figure out some problems with non-English Command and Conquer Generals CSF files and the original csfeditor program written back in 2002/2003. No source code was available and as it's been 18 years since the original release I doubt the problem would be fixed.
I'm not a programmer but I can do stuff so wrote a program to convert CSF to STR. Suprised that other modders didn't know how to do this, I thought I'd make a video explaining the process of how I read the file.
This isn't a programming guide. The CSF file contains basic strings used in the game, but they're in Unicode. This is how to read and understand the contents. The end goal is to output the CSF Unicode text to a literal string file (STR) for standard human reading. The STR can be read by the Generals game and is far easier to work with, however it does seem limited to standard English characters. Maybe it's to do with system or game install language? My CSF converter works in all languages and fixes all errors I found with the original csfeditor program.
I thought this was very basic stuff so I wasn't sure how to pace the video or what to explain. Hopefully it's not too condescending.
As there's a lot to read on the screen and most of it is in hex, I disabled the mouse cursor.
Come find us on the free and intelligent platforms:
- https://rumble.com/user/1738Creations
- https://odysee.com/@1738Creations:c
- https://www.bitchute.com/channel/yVh3u7eYhgnu
Tools:
- HxD
-- Any hex file reader will work, write ability is not needed
-- https://mh-nexus.de/en/hxd/
- Game files used
-- Generals and ZH CSF files
-- Project Raptor Russian CSF file
-- Original csfeditor program (not made by me)
-- https://drive.google.com/file/d/1zm5Kxoz1FdwgzasBjSMJV2I_78W-PkAv
- My CSF to STR converter
-- Program, no code
-- https://drive.google.com/file/d/1A8Rvxp69_LkOG334N8fNHTc5UkWWXUjZ
- Annotated (sort of!) code
-- Build in C# with VS 2015
-- https://drive.google.com/file/d/1Oe9nsY6iNfyiF6elELVYajwzeR4SXoCi
Time stamps:
00:00 - 05:15 - Intro and ramblings about tools and what we want to do
05:15 - 08:55 - Inspecting the CSF and STR files in Notepad++
08:55 - 11:59 - Basic walkthrough of HxD and what we;re looking at in Hex
11:59 - 21:44 - Inspecting the data we can read
21:44 - 31:12 - Deciphering the data we can't read (Unicode values)
31:12 - 35:13 - How we iterate through all entries in the CSF
35:13 - END - A bit about why I don't want to release the code and final thoughts
-
1:47:50
Side Scrollers Podcast
1 day agoSide Scrollers Presents: OVERCOCKED
49.1K24 -
15:01
GritsGG
13 hours agoSolo Dubulars! Most Winning Warzone Player Dominates Lobby!
1.07K -
13:12
The Pascal Show
17 hours ago $0.01 earnedTYLER'S ARREST FOOTAGE MISSING?! Local Police Claim Tyler Robinson Arrest Footage Has BEEN DELETED?!
1.52K -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
228 watching -
1:37:16
omarelattar
18 hours agoEx-Mafia Boss: I Made $8 Million Every Week Until The FBI Destroyed My Life! What I Learned...
1.58K -
57:44
TruthStream with Joe and Scott
1 day agoShe's of Love podcast and Joe co-Hosted interview, Mother Claudia and Daughter Juliette: Traveling, Home School, Staying Grounded, Recreating oneself, SolarPunk #514
4.9K -
2:32:42
CAMELOT331
2 days agoCAMELCAST 107 | CECIL SAYS | My Last Stream? Being Kicked Off Youtube
3.62K2 -
1:16:28
Man in America
16 hours agoThe Study They Tried to BURY: Covid Shots Cause MASSIVE Spike in Cancer w/ Dr. Makis
201K44 -
2:07:43
Inverted World Live
9 hours agoNASA Finds Strange Rock on Mars w/ Cody Dennison | Ep. 145
98.4K5 -
3:29:04
TimcastIRL
8 hours agoTrump Calls For DEATH Of Democrats For Sedition, White House WALKS IT BACK | Timcast IRL
253K145