Friedslick6
Full Gruntzer
Resident Archivist
Posts: 80
Display Name: Friedslick6
|
Post by Friedslick6 on Feb 17, 2014 1:21:58 GMT -8
Hey all. I have extracted the video filez from the GRUNTZ.FEC and GRUNTZLO.FEX archivez. The FEC archive contains the 3 moviez from the game at a resolution of 640x480, and the FEX archive contains the same, only at a resolution of 320x240. I have uploaded the 3 moviez from the game to YouTube, which you can view below: English
Polish
I decided against uploading the 320x240 resolution moviez due to redundancy, but would be willing to upon request. I can also upload the raw video filez to Google Drive for download upon request. (Thanks to Zu for sending the Polish version of the moviez.)
|
|
Zu
Retired Staff
Posts: 752
|
Post by Zu on Feb 17, 2014 5:14:44 GMT -8
Oh, very nice! ![:)](//storage.proboards.com/568377/images/BBmrDInYcFdYXCiORfIA.gif) What did you use to export the video files? Perhaps I would be able to submit Polish versions of the intro and outro as well.
|
|
Friedslick6
Full Gruntzer
Resident Archivist
Posts: 80
Display Name: Friedslick6
|
Post by Friedslick6 on Feb 17, 2014 6:39:59 GMT -8
Oh, very nice! ![:)](//storage.proboards.com/568377/images/BBmrDInYcFdYXCiORfIA.gif) What did you use to export the video files? Perhaps I would be able to submit Polish versions of the intro and outro as well. Thanks. ![:)](//storage.proboards.com/568377/images/BBmrDInYcFdYXCiORfIA.gif) I used a hex editor called HexEdit to extract them manually. The specification of the SMacKer (.SMK) file format includes a header at the start of the file (SMK[1-4]). By making a case-sensitive ASCII text search for "SMK?", allowing the wildcard character, I found 3 files with the header "SMK2", or "534D4B32" in hexadecimal. I simply selected the entirety of each file within the archive, from the header bytes (534D4B32) to the ending byte (the byte before the next occurrence of 534D4B32, or the end of the archive file), and saved the selections as Smacker video files. Then I downloaded the RAD Video Tools program, converted the Smacker video files to uncompressed Audio Video Interleaved (.AVI) video files, and uploaded those files to YouTube. I am willing to extract the videos from the Polish version of the game's archives, if you think that you cannot. But I implore you to try, it's a fun learning experience using a hex editor.
|
|
Zu
Retired Staff
Posts: 752
|
Post by Zu on Feb 18, 2014 20:24:03 GMT -8
|
|
Friedslick6
Full Gruntzer
Resident Archivist
Posts: 80
Display Name: Friedslick6
|
Post by Friedslick6 on Feb 18, 2014 21:52:05 GMT -8
Okay, sure. I have extracted the 3 videos out of the archive, and I will upload those shortly. Was Gruntz released in any other languages? I like how the fart in the Final movie was changed. Polish fart translation. ![(rofl)](//storage.proboards.com/568377/images/WQrvJGVKdEibJcKsrnKZ.gif)
|
|
Zu
Retired Staff
Posts: 752
|
Post by Zu on Feb 19, 2014 6:47:35 GMT -8
Thanks. ![:)](//storage.proboards.com/568377/images/BBmrDInYcFdYXCiORfIA.gif) The outro works great. ![:)](//storage.proboards.com/568377/images/BBmrDInYcFdYXCiORfIA.gif) But the intro doesn't seem to be available for some reason...
|
|
|
Post by Blaze The Movie Fan on Feb 19, 2014 9:09:46 GMT -8
Thanks. ![:)](//storage.proboards.com/568377/images/BBmrDInYcFdYXCiORfIA.gif) The outro works great. ![:)](//storage.proboards.com/568377/images/BBmrDInYcFdYXCiORfIA.gif) But the intro doesn't seem to be available for some reason... That's strange, the intro works fine for me.
|
|
GooRoo
Administrator
Owner Administrator
I luv Gruntz!
Posts: 7,425
Display Name: GooRoo
|
Post by GooRoo on Feb 19, 2014 10:41:04 GMT -8
Well, I didn't understand a word of the Polish versions ... but knew when the DisGruntled leader yelled (in Polish, of course) "Charge!". They all worked fine, for me.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 28, 2016 6:41:25 GMT -8
Oh, very nice! What did you use to export the video files? Perhaps I would be able to submit Polish versions of the intro and outro as well. Thanks. I used a hex editor called HexEdit to extract them manually. The specification of the SMacKer (.SMK) file format includes a header at the start of the file (SMK[1-4]). By making a case-sensitive ASCII text search for "SMK?", allowing the wildcard character, I found 3 files with the header "SMK2", or "534D4B32" in hexadecimal. I simply selected the entirety of each file within the archive, from the header bytes (534D4B32) to the ending byte (the byte before the next occurrence of 534D4B32, or the end of the archive file), and saved the selections as Smacker video files. Then I downloaded the RAD Video Tools program, converted the Smacker video files to uncompressed Audio Video Interleaved (.AVI) video files, and uploaded those files to YouTube. I am willing to extract the videos from the Polish version of the game's archives, if you think that you cannot. But I implore you to try, it's a fun learning experience using a hex editor. I still didn't understand how did you extract the files.
|
|
Friedslick6
Full Gruntzer
Resident Archivist
Posts: 80
Display Name: Friedslick6
|
Post by Friedslick6 on Aug 28, 2016 6:58:40 GMT -8
I still didn't understand how did you extract the files. Sorry, I don't know how to simplify the instructions further. The files weren't compressed or encrypted, only merged. I used a hex editor to split the file back into 3 videos, but you could probably use a few file splitting programs too. Did you want to do this because you have a copy of the Gruntz videos in a different language?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 28, 2016 7:16:01 GMT -8
I still didn't understand how did you extract the files. Sorry, I don't know how to simplify the instructions further. The files weren't compressed or encrypted, only merged. I used a hex editor to split the file back into 3 videos, but you could probably use a few file splitting programs too. Did you want to do this because you have a copy of the Gruntz videos in a different language? I wanted to do that because i want to replace the gruntz intro with a custom intro.If replacing the movie filez possible,Then can you PM me the full instructions?
|
|
Tomalla
Designer
General Modder
Posts: 525
|
Post by Tomalla on Aug 28, 2016 7:35:57 GMT -8
I'm afraid it might not be possible at this moment without further research. Extracting the SMK videos out of the FEC package is rather easy, but in order to do that the other way around we'd have to know what the header of the FEC file actually is, so that the game loads it up properly. If there's no specification in the internet (as FEC file format doesn't seem to be the part of the Smacker technology, rather an invention of the Wap32 engine creators), it'd have to be reverse-engineered. Unless Friedslick6 has done some research on his own
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 29, 2016 4:19:58 GMT -8
Can i get the fec file for moviez at least ?
|
|
Tomalla
Designer
General Modder
Posts: 525
|
Post by Tomalla on Aug 29, 2016 4:46:18 GMT -8
The GRUNTZ.FEC file is located on the Gruntz CD in the MOVIEZ folder. Its size is 107 MB.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 29, 2016 4:49:09 GMT -8
The GRUNTZ.FEC file is located on the Gruntz CD in the MOVIEZ folder. Its size is 107 MB. Uh,okay thanks ![:)](//storage.proboards.com/568377/images/BBmrDInYcFdYXCiORfIA.gif)
|
|
GooRoo
Administrator
Owner Administrator
I luv Gruntz!
Posts: 7,425
Display Name: GooRoo
|
Post by GooRoo on Aug 22, 2023 12:39:33 GMT -8
I was asked in DisCord about the Gruntz movies, and I knew I had a CD-ROM from Monolith ... somewhere. Now I have found it, and find that the files are too large for (my) email to handle. So I was prepared to add them to this Forum's web host and CREATE a thread about the movies ... and did a search to find THIS thread. And (lo andbehold) to find that they are available online (Youtube?) and in POlish, as well as in (my language) English. So this serves as a 'bump' to make it known to whoever is interested in the movies.
|
|
|
Post by Halamix2 on Oct 19, 2023 11:33:31 GMT -8
This post is here to keep somewhere a copy of how to read .FEC moviez archive, and/or possibly to create a new one if needed
FEC format, everything's little endian: 0x0 - header ("FEC") - 3Bytes 0x3 - major version (1) - 4B 0x7 - minor version (1) - 4B 0xB - files count (3 for Gruntz) - 4B
Then, for each file 0x0 - id - 4B 0x4 - unknown short - 2B 0x6 - possibly trash - 256B 0x106 - offset* - 4B 0x10A - size of data - 4B
Then we have some more data (sometimes?). Just jump to "offset - 0x2B8" and read "size of data" bytes to a new .smk file
Example Python code to unpack gruntz.FEC to 3 .smk files:
import struct
filenames=["LOGO", "INTRO", "FINAL"]
with open("gruntz.FEC", "rb") as fec: fec.read(3) ver_major = struct.unpack("<L", fec.read(4))[0] ver_minor = struct.unpack("<L", fec.read(4))[0] files_count = struct.unpack("<L", fec.read(4))[0] for i in range(files_count): meta_id = struct.unpack("<L", fec.read(4))[0] unk = struct.unpack("<H", fec.read(2))[0] trash = fec.read(256) offset = struct.unpack("<H", fec.read(2))[0] size = struct.unpack("<L", fec.read(4))[0] fec.seek(offset - 0x2b8,1) movie = fec.read(size) with open(filenames[i]+".smk", "wb") as output_file: output_file.write(movie)
|
|
|
Post by Perfect Grunt on Oct 31, 2023 1:40:23 GMT -8
Was Gruntz released in any other languages? Very old question, but I can at least add here: The German version of Gruntz, published by CDV, contains the English videos.
|
|