[Release] 3DS Binary Decimal Converter 2.0 [NEW!]

Discussion in '3DS - Homebrew Development and Emulators' started by AlbertoSONIC, Apr 19, 2015.

  1. AlbertoSONIC
    OP

    AlbertoSONIC Pasta Team Member

    Member
    929
    1,221
    Jun 27, 2014
    Italy
    3DS Binary Decimal Converter 2.0


    Today I introduce you to Binary Decimal Converter 2.0, a huge upgrade from the old Binary --> Decimal Converter. It's an easy to use converter: input a decimal number and you will get binary number, input a binary number and you will get a decimal number. Since 2.1, you can also convert HEX numbers to Decimal and Binary, Decimal to Hex and Binary to Hex! The converted values are calculated in real time, no "CONVERT" button!


    Changelog:


    This is the full changelog (2.1):
    - New GUI
    - Status bar with clock
    - Two input keyboards: one for decimal, one for binary
    - Real time conversion
    - No need of switching mode (bin>dec, dec>bin). The last keyboard used sets the mode.
    - Full support to CFW, Gateway and Ninjhax
    - Easy to use
    - ADDED HEX SUPPORT!

    Limitations:

    The maximum hex number is FFFFF, the max binary number lenght is of 20bits, the maximum decimal number is 1048575 (1111111111111111111 in binary). No negative numbers accepted, unsigned int only.


    Screenshot:

    [​IMG]



    Download:

    - Compiled cia, 3dsx, 3ds, smdh, elf: dl.albertosonic.com/3DS_Binary_Decimal_Converter
    - Source code: https://github.com/AlbertoSONIC/3DS_Binary_Decimal_Converter

    Credits:

    - filfat for the text font
    - Relys for helping me with the old binary converter
     
  2. Rizzorules

    Rizzorules "What are you doing?" "Something unexpected."

    Member
    916
    366
    Aug 17, 2013
    Netherlands
    Sweet!!! i hope my math teacher doesnt see my 3ds while im using it on my exam :lol:
     
    AlbertoSONIC likes this.
  3. dubbz82

    dubbz82 GBAtemp Maniac

    Member
    1,493
    806
    Feb 2, 2014
    United States
    not sure how practical this is, but still very cool to see more active development on the 3ds.
     
    AlbertoSONIC likes this.
  4. Tjessx

    Tjessx GBAtemp Maniac

    Member
    1,156
    508
    Dec 3, 2014
    Belgium
    Sweet, Any plans for hex support? :D
     
    Margen67 and AlbertoSONIC like this.
  5. AlbertoSONIC
    OP

    AlbertoSONIC Pasta Team Member

    Member
    929
    1,221
    Jun 27, 2014
    Italy
    It shouldn't be difficult to add, but it probably would be a one way conversion (binary/decimal->hex only, no hex->binary/decimal) since finding space for another keyboard doesn't seem to be easy. Maybe I could reorganize the bottom screen UI... I'll see ;)
     
    Margen67 likes this.
  6. Chrisser_75

    Chrisser_75 GBAtemp Regular

    Member
    256
    107
    Dec 12, 2014
    Germany
    Germany
    cool ;)
    some functions of this page would be nice! :D
     
    AlbertoSONIC and Margen67 like this.
  7. AlbertoSONIC
    OP

    AlbertoSONIC Pasta Team Member

    Member
    929
    1,221
    Jun 27, 2014
    Italy
    I think an hex converter is enough ;)
    I'll add hex2dec, dec2hex, bin2hex and hex2bin support (with hex keyboard) this night ;)
     
  8. AlbertoSONIC
    OP

    AlbertoSONIC Pasta Team Member

    Member
    929
    1,221
    Jun 27, 2014
    Italy
    I'm sorry for this delay but.... HEX support is done! (Up to FFFFF)

    [​IMG]

    I've done my best for
    - Fitting everything on 3ds' screens
    - Writing proper conversion functions (nothing is taken from internet, I wrote everything based off school's lessons)

    Hope you like it!

    P.S. Updated source is available here: https://github.com/AlbertoSONIC/3DS_Binary_Decimal_Converter
    P.S.2 Compiled stuff (.cia, .3ds, .3dsx, .smdh, .elf) is already available here: http://dl.albertosonic.com/3DS_Binary_Decimal_Converter
     
    Chrisser_75 and Tjessx like this.
  9. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    4,625
    2,457
    Dec 8, 2014
    United States
    Ohio
    For me, anyway, it's not very useful, but still great to see activity in the homebrew scene!
     
    AlbertoSONIC likes this.
  10. Relys

    Relys Master of Computer Science

    Member
    863
    788
    Jan 5, 2007
    United States
    It's been really great to see you progress as a programmer. :) I don't think I ever mentioned this to you, but I actually wrote a hex/dec converter back in college for one of my assignments using C and OpenGL. Keep up the great work!
     
    AlbertoSONIC likes this.
  11. AlbertoSONIC
    OP

    AlbertoSONIC Pasta Team Member

    Member
    929
    1,221
    Jun 27, 2014
    Italy
    Thank you, really! This wouldn't have been possible without your help! :)

    Actually 3DS Binary Decimal (Hex) Converter 2.0 is an huge jump from the old 1.0 version:
    Warning: Spoilers inside!
     
  12. InsaneNutter

    InsaneNutter GBAtemp Advanced Fan

    Member
    524
    349
    Dec 26, 2007
    Yorkshire, UK
    I remember having to do binary to decimal / hex and visa versa using pen and paper in an exam, this would have been welcome back then, not that I think you'd ever get away with a 3DS in an exam lol.

    Nice work :)
     
    AlbertoSONIC likes this.