Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-05-2025, 20:45
teusma teusma is offline
Registered User
 
Join Date: Oct 2017
Location: Brazil
Posts: 30
Thanks: 24
Thanked 5 Times in 3 Posts
teusma is on a distinguished road
Tool to decrypt GTA San Andreas radios/audio to then compress with Oggre.

the radio/audios (the one in the streams folder) in GTA San Andreas is encrypted so oggre cannot process/compress the .ogg audios - but with this tool (stream_tool) you will be able to.

so it will look like this: -mstream_tool+oggre+lolz (yes, you can still compress more) - remember that this tool will not extract the .ogg files from gta sa radios, it only decrypts the entire files.

limitation: you can't compress all the files into a single block - so you need to manually compress the radios to form several blocks, which you can then join together with frearc and the "j" command.

The Tool:
Attached Files
File Type: zip stream_tool.zip (13.2 KB, 8 views)
Reply With Quote
The Following User Says Thank You to teusma For This Useful Post:
kj911 (13-05-2025)
Sponsored Links
  #2  
Old 15-05-2025, 04:29
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 194
Thanks: 144
Thanked 69 Times in 48 Posts
kj911 is on a distinguished road
Small issue: WinXP compatible compiled EXE not available? (Likely, adftool its works.)

The game "XYZ" sound files compress them alternative "arc.ini" configuration, resolve manually compression issues?

Code:
[External compressor:stream_tool]
; GTA San Andreas Radio/audios decrypt tool
header    = 0
packcmd   = stream_tool -d $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = stream_tool -e $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
datafile    = $$arcdatafile$$.tmp
packedfile  = $$arcpackedfile$$.tmp
Reply With Quote
  #3  
Old 15-05-2025, 13:19
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,182
Thanks: 285
Thanked 1,380 Times in 621 Posts
Masquerade is on a distinguished road
Why are you running lolz after oggre? There's no point.
Reply With Quote
  #4  
Old 16-05-2025, 19:54
teusma teusma is offline
Registered User
 
Join Date: Oct 2017
Location: Brazil
Posts: 30
Thanks: 24
Thanked 5 Times in 3 Posts
teusma is on a distinguished road
Quote:
Originally Posted by kj911 View Post
Small issue: WinXP compatible compiled EXE not available? (Likely, adftool its works.)

The game "XYZ" sound files compress them alternative "arc.ini" configuration, resolve manually compression issues?

Code:
[External compressor:stream_tool]
; GTA San Andreas Radio/audios decrypt tool
header    = 0
packcmd   = stream_tool -d $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = stream_tool -e $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
datafile    = $$arcdatafile$$.tmp
packedfile  = $$arcpackedfile$$.tmp
To generate an exe compatible with WinXP I would have to change the compiler... tell me why don't you let WinXP rest in peace?

Adding the line "header=0" with this program in freearc will cause it to not work.
Reply With Quote
  #5  
Old 16-05-2025, 19:56
teusma teusma is offline
Registered User
 
Join Date: Oct 2017
Location: Brazil
Posts: 30
Thanks: 24
Thanked 5 Times in 3 Posts
teusma is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
Why are you running lolz after oggre? There's no point.
Try it and you will see that this saves space significantly. Of course, not in all cases. but with gta san andreas radios this works.

Last edited by teusma; 16-05-2025 at 20:11.
Reply With Quote
  #6  
Old 17-05-2025, 01:03
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,813
Thanks: 20
Thanked 331 Times in 216 Posts
Joe Forster/STA is on a distinguished road
Quote:
Originally Posted by teusma View Post
tell me why don't you let WinXP rest in peace?
Because this game was released in the Windows XP era.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #7  
Old 17-05-2025, 19:26
teusma teusma is offline
Registered User
 
Join Date: Oct 2017
Location: Brazil
Posts: 30
Thanks: 24
Thanked 5 Times in 3 Posts
teusma is on a distinguished road
Quote:
Originally Posted by Joe Forster/STA View Post
Because this game was released in the Windows XP era.
But as far as I know, lolz is also not compatible with Windows XP
Reply With Quote
  #8  
Old 18-05-2025, 02:51
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 194
Thanks: 144
Thanked 69 Times in 48 Posts
kj911 is on a distinguished road
LOLZ and XP: Partially compatible... (decompressor only.) Few case, i need EXE patching from running XP.

Unfortunately, this cannot be said about Razor. (Due to Christian's stubbornness, several people asked him to release an x86 binary in vain.) There is no 32-bit (de)compressor for it, although its memory requirement of 1.66*N (during decompression) and its limited dictionary size of 1023MB would be no problem for its use on PCs with 2.5-4GB of RAM and under 32-bit OS. It plays in the same league as DLZ in this regard. You only need x64 when packing, if the dictionary size is large.

Hint: There is an early Razor compressor, it even runs on XP, but it is not easy to compile correctly and it compresses quite well even with a 64MB fixed dictionary(?), compressing each data type to bytes exactly the same way as the RZ1.0x.x versions. The difference is 1-2%, but the unpacking code is not stable enough. (There is no multi-file or folder compression/archiver functions.)

Last edited by kj911; 18-05-2025 at 02:53.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tools for Repacking Masquerade Conversion Tutorials 125 03-07-2025 11:15
tool (decryptor) for anyone who wants to compress gta vice city radios. teusma Conversion Tutorials 0 22-04-2025 18:07
UBT | Unity Bundle Tool Masquerade Conversion Tutorials 19 02-06-2023 11:21



All times are GMT -7. The time now is 04:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
FileForums @ https://fileforums.com