Is there a Linux app for (de)scrambling binaries?

This forum is for discussion pertaining to homebrew and indie software for the Dreamcast, such as homebrew games, emulators/interpreters, and other homebrew software/applications. Porting requests and developmental ideas are not to be made here; you can make those here. If you need any help burning discs for homebrew software, this is the place to ask as well.
Post Reply
Stryfe
Psychotic DCEmu
Psychotic DCEmu
Posts: 577
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Mon Aug 11, 2008 9:34 am
Location: Nowhere U.S.A.
Has thanked: 0
Been thanked: 0

Is there a Linux app for (de)scrambling binaries?

Post by Stryfe »

Hi.

Does anyone know of any Linux apps that can scramble, or descramble, homebrew Dreamcast binaries? I looked into Fackue's bin checker app. Unlike the Windows version, it appears the Linux version can only tell you the state of the binary, but not modify it.

http://dchelp.dcemulation.org/downloads/
ImageImageImageImage
Senk
DCEmu Crazy Poster
DCEmu Crazy Poster
Posts: 33
Joined: Wed Apr 04, 2012 1:58 pm
Location: Virginia
Has thanked: 0
Been thanked: 0
Contact:

Re: Is there a Linux app for (de)scrambling binaries?

Post by Senk »

I've got the c file that supposedly does the job. Granted, I've never successfully tested it as I ended up using a Nero image to create my dctool disc; however, this c file is provided on several Dreamcast homebrew websites.

http://senkbeil.no-ip.org/files/dc/src/scramble.c

[EDIT]
Oh, wait, sorry. This only scrambles/descrambles the boot file on the disc.
Stryfe
Psychotic DCEmu
Psychotic DCEmu
Posts: 577
Joined: Mon Aug 11, 2008 9:34 am
Location: Nowhere U.S.A.
Has thanked: 0
Been thanked: 0

Re: Is there a Linux app for (de)scrambling binaries?

Post by Stryfe »

That isn't a Linux binary.
ImageImageImageImage
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5663
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: Is there a Linux app for (de)scrambling binaries?

Post by BlueCrab »

Compile it with GCC. :wink:

Most people don't distribute Linux binaries, since different versions of libraries can break things.
Stryfe
Psychotic DCEmu
Psychotic DCEmu
Posts: 577
Joined: Mon Aug 11, 2008 9:34 am
Location: Nowhere U.S.A.
Has thanked: 0
Been thanked: 0

Re: Is there a Linux app for (de)scrambling binaries?

Post by Stryfe »

Most people don't distribute Linux binaries, since different versions of libraries can break things.
I would have thought a simple binary wouldn't need dependencies, or at the very least could use a few static libs. For instance, FamilyGuy's BinHack32 Linux binary has worked across several 32, and 64, bit distros for myself.
Compile it with GCC. :wink:
Thanks, that did the trick.

Could someone test this out with their Linux install, maybe for creating a sdiso?
http://www.qfpost.com/file/d?g=EjqA3M76j
ImageImageImageImage
User avatar
Juan
DCEmu Commie
DCEmu Commie
Posts: 3398
Joined: Sun Jun 15, 2003 11:47 pm
Location: Montevideo
Has thanked: 39 times
Been thanked: 3 times

Re: Is there a Linux app for (de)scrambling binaries?

Post by Juan »

It's all about the sauce :)
Stryfe wrote:Could someone test this out with their Linux install, maybe for creating a sdiso?
http://www.qfpost.com/file/d?g=EjqA3M76j
What's that? I'm on linux 64-bit btw.
Stryfe
Psychotic DCEmu
Psychotic DCEmu
Posts: 577
Joined: Mon Aug 11, 2008 9:34 am
Location: Nowhere U.S.A.
Has thanked: 0
Been thanked: 0

Re: Is there a Linux app for (de)scrambling binaries?

Post by Stryfe »

It is a Dreamcast binary (de)scrambler. If you know how to build sdisos, could you use it to unscramble the binary used in the iso?

I'm trying to put together a tutorial on creating sdiso images, and I'd like a Linux method not requiring Wine. This should be the last tool needed.
ImageImageImageImage
Post Reply