SCSArchiver

User avatar
Sniper
Posts: 122
Joined: 07 Dec 2012 18:00
Location: The other side

Re: SCSArchiver

#21 Post by Sniper » 05 Mar 2018 18:52

Btw, why are you compiling binaries in a format that works only in Win7+? You are writing console-app only, you can select older, more compatible, format without losing anything.
GitHub: https://github.com/TheLazyTomcat
Programs download: https://www.dropbox.com/sh/lhz3m1n56ed7 ... 7c3ea?dl=0

If anyone will be contacting me, please be notified that I might not be able to respond for several months. Or at all.
User avatar
Minus
Posts: 50
Joined: 24 Apr 2015 17:23

Re: SCSArchiver

#22 Post by Minus » 05 Mar 2018 19:09

It was just a test - now I'm working on GUI application, so I haven't changed any settings (next version is in development, I don't have enough time to sit and just make it). It's not a real reason, but well even SCS stopped supporting XP, and Vista isn't a big deal too, so I'm not loosing to many users, but if someone need older version of Windows supported all I need is one word - please and I will compile it for older versions of Windows (as long as I can support them).

PS: https://pastebin.com/nv2CJRBn -> RTA archive extracted - needed to tweak some settings in order to stop looking for metadata in archive and go straight to finding some replacements. It seems that here I extracted some sounds. So it's possible to extract them, but not with this version of SCSArchiver - I'll add needed configuration options to add extracting some weird SCS# archives too ;)
User avatar
Sniper
Posts: 122
Joined: 07 Dec 2012 18:00
Location: The other side

Re: SCSArchiver

#23 Post by Sniper » 05 Mar 2018 19:20

WS-4800 for ATS from RTA, archiver 0.1R2 - does not extract anything and crashes.
Renault T for ETS from RTA, same result.
GitHub: https://github.com/TheLazyTomcat
Programs download: https://www.dropbox.com/sh/lhz3m1n56ed7 ... 7c3ea?dl=0

If anyone will be contacting me, please be notified that I might not be able to respond for several months. Or at all.
User avatar
Minus
Posts: 50
Joined: 24 Apr 2015 17:23

Re: SCSArchiver

#24 Post by Minus » 05 Mar 2018 19:25

Yeah, It will crash most likely, I'm not pro programmer, also I don't have these mods to extract them with "newer" code that I recently wrote. I made few changes and it extracted it properly, today I don't have enough time to build it (need to change more files too). We can check it further tomorrow. I'll try to build release version for that little test. ;)
User avatar
knox_xss
Posts: 1263
Joined: 20 Dec 2012 14:38

Re: SCSArchiver

#25 Post by knox_xss » 05 Mar 2018 20:07

@Minus, Sniper: Understood. Thanks guys!
Long way to Fuji starts with the first step!
User avatar
Minus
Posts: 50
Joined: 24 Apr 2015 17:23

Re: SCSArchiver

#26 Post by Minus » 06 Mar 2018 11:30

Update in first post:
- added option to bypass searching for root entry.
- added simple check to prevent extracting other file types than SCS#.
- now each extracted archive should be located in it's own directory created in out directory.
- fixed some minor bugs that caused program to freeze or crash.

@Sniper, please check if you can now extract RTA archives with new version.
User avatar
Sniper
Posts: 122
Joined: 07 Dec 2012 18:00
Location: The other side

Re: SCSArchiver

#27 Post by Sniper » 06 Mar 2018 11:48

Nope, crash.
I am telling you, these archives does NOT contain ANY metadata entries you could use for name/path resolving, yet the hashes of actual file-entries are done on full paths. Your program cannot resolve any filename and therefore extract the data into files with right name. You should at least check for this posibility and exit gracefully, not by hard crash.
I don't know what you are trying to achieve- I have already written extractor, and you cannot resolve these without parsing the actual content or bruteforcing the name hashes. There is no way around it.
GitHub: https://github.com/TheLazyTomcat
Programs download: https://www.dropbox.com/sh/lhz3m1n56ed7 ... 7c3ea?dl=0

If anyone will be contacting me, please be notified that I might not be able to respond for several months. Or at all.
User avatar
Minus
Posts: 50
Joined: 24 Apr 2015 17:23

Re: SCSArchiver

#28 Post by Minus » 06 Mar 2018 11:53

Well, then I'll add some check in next version. Still it should not crash, I checked every single case even written by hand some archives and it still did not crash - just said that it finished extracting and does not extract anything '-'
User avatar
Sniper
Posts: 122
Joined: 07 Dec 2012 18:00
Location: The other side

Re: SCSArchiver

#29 Post by Sniper » 06 Mar 2018 11:58

I will send you the files.
GitHub: https://github.com/TheLazyTomcat
Programs download: https://www.dropbox.com/sh/lhz3m1n56ed7 ... 7c3ea?dl=0

If anyone will be contacting me, please be notified that I might not be able to respond for several months. Or at all.
User avatar
room217au
Posts: 2725
Joined: 17 Jul 2015 01:55
Location: Lakeside

Re: SCSArchiver

#30 Post by room217au » 07 Mar 2018 00:41

Sniper wrote: 06 Mar 2018 11:48 I have already written extractor
and it works really well.
If you suck at playing the trumpet, that's probably why.
Post Reply

Return to “Help center - player to player”

Who is online

Users browsing this forum: No registered users and 9 guests