dMZX Forums: CharCon's Source Code - dMZX Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CharCon's Source Code

#1 User is offline   GetDizzy 

  • Touch Fuzzy.
  • Group: DigiStaff
  • Posts: 3,567
  • Joined: 22-November 01
  • Gender:Other
  • Location:MA

Posted 06 February 2013 - 03:02 PM

So, apparently according to a visual basic hobbyist site I read, VB3 EXEs contain in a barely-obfuscated format their entire source code including comments.

This is interesting because CharCon is a VB3 application.

I'm going to have to set up a 32-bit VM to do it (as, being on 64-bit windows, I can't run the 16-bit EXEs I need to run), but I'm going to try to get the entire source code for CharCon sometime today using the decompiler I found.


Wish me luck!


If I'm succesful in this, at the very least I'm going to post the source and a 32-bit VB6 version of CharCon for running on 64-bit systems that can't do 16-bit applications, which will probably also no longer have the 8.3 filename limit and may in general be made more usable simply from the API transition.

This may end up merely being a curiosity piece, but its still kinda neat.

More on this later.
- Your Jumpy Neighborhood Admin

<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
0

#2 User is offline   GetDizzy 

  • Touch Fuzzy.
  • Group: DigiStaff
  • Posts: 3,567
  • Joined: 22-November 01
  • Gender:Other
  • Location:MA

Posted 06 February 2013 - 09:48 PM

Okay, so here's the complete VB3 source to CharCon:

Removed by Author: This version of the source was incomplete. For the complete VB3 source, see the next post.

Working on upgrading this to VB6 as we speak, I need to first acquire a copy of VB6 that has upgrade license for THREED.VBX and COMMDLG.VBX, working on that.
- Your Jumpy Neighborhood Admin

<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
0

#3 User is offline   GetDizzy 

  • Touch Fuzzy.
  • Group: DigiStaff
  • Posts: 3,567
  • Joined: 22-November 01
  • Gender:Other
  • Location:MA

Posted 07 February 2013 - 03:46 PM

Ladies, gentlemen. Friends, compatriots.

I present to you

32-bit CharCon

Requires Visual Basic 6 runtimes, I've tried to include all the relevant dependencies with the file like the original CharCon did, but may have missed something.

I removed the drawing stuff (in a haphazard, hackish way because I don't actually know VB6 :(/>) because it used THREED.VBX which is apparently a non-Microsoft component that was included in VB3 Pro as a "bonus". A license to use the VB6 version and thus upgrade these controls costs $295.

As far as I can tell the rest still works and works beautifully.

And here's the source code to both 2.1 (16-bit VB3 version) and 2.2 (my 32-bit VB6 version)
- Your Jumpy Neighborhood Admin

<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
0

#4 User is offline   Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 07 February 2013 - 04:59 PM

Split the source into separate dependency zips for the main records. The only reason MegaZeux versions get away with doing that is because of the front page download bar, and that's getting fixed anyway.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
0

#5 User is offline   GetDizzy 

  • Touch Fuzzy.
  • Group: DigiStaff
  • Posts: 3,567
  • Joined: 22-November 01
  • Gender:Other
  • Location:MA

Posted 07 February 2013 - 05:41 PM

Thanks Alice.
- Your Jumpy Neighborhood Admin

<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
0

#6 User is offline   GetDizzy 

  • Touch Fuzzy.
  • Group: DigiStaff
  • Posts: 3,567
  • Joined: 22-November 01
  • Gender:Other
  • Location:MA

Posted 07 February 2013 - 08:08 PM

Just a caveat to anyone not familiar with CharCon trying to use this utility: It expects an 8-bit BMP, so load your black and white bitmap in Paint or whatever and save as 255 color, and it should work fine.

This needed to be noted because MZXImageResampler expects true 1-bit bitmaps, and ccv expects 24-bit bitmaps. They can all handle the exact same images, you just have to load and re-save it in the required format.
- Your Jumpy Neighborhood Admin

<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
0

#7 User is offline   Giel 

  • Right this way, M'lady.
  • PipPipPip
  • Group: Members
  • Posts: 237
  • Joined: 25-December 08
  • Gender:Not Telling
  • Location:Like I'm EVER going to tell you.

Posted 07 April 2013 - 08:50 PM

You REALLY need to reupload that ZIP file man! WinRAR is displaying error messages and 7-Zip CRASHES!
Seriously, I want to use Charcon32 but I can't use it if the ZIP file is BROKEN!
0

#8 User is offline   asgromo 

  • steiner, porsches
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 3,841
  • Joined: 04-May 02
  • Gender:Female
  • Location:New York State

Posted 08 April 2013 - 12:44 AM

JEEZ

GOSH
0

#9 User is offline   Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,904
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 08 April 2013 - 03:36 AM

Be nice asgromo sheesh

Which zip file is broken? That'd help us find a replacement.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
0

#10 User is offline   GetDizzy 

  • Touch Fuzzy.
  • Group: DigiStaff
  • Posts: 3,567
  • Joined: 22-November 01
  • Gender:Other
  • Location:MA

Posted 14 April 2013 - 04:52 PM

Tested both of the zip files I uploaded in WinRAR and 7-zip, no errors, no crashes. You may want to check that your own system is healthy before blaming me.
- Your Jumpy Neighborhood Admin

<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users