How to open .bimg images?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Asia81, Jul 13, 2016.

  1. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,848
    2,340
    Nov 15, 2014
    France
    Albi
    Hi.

    I extract a CIA (ShaunTheSheep15Videos.cia) and, for each episodes inside, there is some .bimg files, who are banner image:
    [​IMG][​IMG]
    [​IMG] [​IMG] [​IMG]

    But I can't open, neither Every File Explorer or Ohana3DS (in the texture tab) can't open them.

    So if someone of you know how to open this format, it will be appreciable if you let us know how.

    Thanks.

    I uploaded some samples here:
    http://www36.zippyshare.com/v/JS5e0pQJ/file.html
     
    Last edited by Asia81, Jul 14, 2016
  2. Jayro

    Jayro MediCat DVD and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,724
    2,477
    Jul 23, 2012
    United States
    Octo Canyon
    They just look like thumbnails for the video. I wouldn't worry about them as long as the vids play fine.
     
  3. Ella879

    Ella879 Banned

    Banned
    123
    62
    May 26, 2016
    United States
    but she wants to change the nails
     
  4. Jayro

    Jayro MediCat DVD and Mini Windows 10 Developer

    Member
    GBAtemp Patron
    Jayro is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,724
    2,477
    Jul 23, 2012
    United States
    Octo Canyon
    Wouldn't you select the thumbnail in the encoder?
     
  5. Asdolo

    Asdolo the Hedgehog

    Member
    462
    824
    Apr 29, 2016
    Argentina
    Buenos Aires
    Are 2d images? Whats the first 4 bytes of one of these files?
     
  6. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,848
    2,340
    Nov 15, 2014
    France
    Albi
    Yes, they are.
    [​IMG]
    I guess I don't even know what is a thumbnail xD
     
  7. Asdolo

    Asdolo the Hedgehog

    Member
    462
    824
    Apr 29, 2016
    Argentina
    Buenos Aires
    Thumbnail = miniature picture = preview picture, etc

    I think I know how to convert that to PNG (and reverse too), but I'm not home right now, so if you wait...

    From 0x00 to 0x20 there is the header, which saves the width and height of the image and the format, then from 0x20 to the end I think it's the real raw image data

    Do every file explorer shows an error when trying to open it, or it does nothing?
     
    Last edited by Asdolo, Jul 14, 2016
    Thunder Kai and Scarlet like this.
  8. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,848
    2,340
    Nov 15, 2014
    France
    Albi
    does just nothing :/
     
  9. gamesquest1

    gamesquest1 Nabnut

    Member
    14,082
    9,417
    Sep 23, 2013
    if it helps you figure out the format, here is a little crappy botch job bimg file i made with a screenshot of it for referencing
     

    Attached Files:

  10. evandixon

    evandixon PMD Researcher

    Member
    1,652
    776
    May 29, 2009
    United States
    It looks like a bit map of some sort, possibly 16 bit color. Try playing around with yy-chr, to see which settings best display the image (it's great for 4bpp images, not sure about anything else).
     
  11. Asdolo

    Asdolo the Hedgehog

    Member
    462
    824
    Apr 29, 2016
    Argentina
    Buenos Aires
    Can you send me the bimg file?
     
  12. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,848
    2,340
    Nov 15, 2014
    France
    Albi
    first post
     
    Asdolo likes this.
  13. Asdolo

    Asdolo the Hedgehog

    Member
    462
    824
    Apr 29, 2016
    Argentina
    Buenos Aires
    Did it, it's a 200x120 px image. Make your own on photoshop or where you want. No transparency. I'm making a import-export tool

    [​IMG]
     
    Last edited by Asdolo, Jul 14, 2016
  14. Asdolo

    Asdolo the Hedgehog

    Member
    462
    824
    Apr 29, 2016
    Argentina
    Buenos Aires
    Try this.

    You should just use the buttons and the format RGB565.
    The image comes with a black borders, just ignore them in photoshop when editing. It seems that the real image in the CIA doesn't show the black borders.
     
  15. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,848
    2,340
    Nov 15, 2014
    France
    Albi
    Work fine, thanks a lot!
    [​IMG]
     
    Thunder Kai and Asdolo like this.
  16. Asdolo

    Asdolo the Hedgehog

    Member
    462
    824
    Apr 29, 2016
    Argentina
    Buenos Aires
    You're welcome, that hack looks amazing! Here is the source code.

    Edit: Here's a new repo of the source. It's not my user, but I totally approve.
     
    Last edited by Asdolo, Apr 25, 2017
    awtgrduzwt5r9 and Subötaï like this.
  17. focusonme

    focusonme Advanced Member

    Newcomer
    93
    21
    Jun 30, 2016
    United States
    dude you are a monster genius!