Inkbox
Inkbox
  • 47
  • 7 584 028
What is the Smallest Possible .EXE?
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Inkbox/ . You’ll also get 20% off an annual premium subscription.
What is the smallest possible EXE that can be run on the Windows Operating System? What about the largest possible EXE? What even is an EXE file? On Windows, EXE files use the Portable Executable file format, which contains the program's code, data, and references to other libraries that can be loaded and run by the OS. It is often referred to as an "Image", the captured state of the program in a form ready to be run by the system.
After testing it was found that the smallest EXE on 64-bit Windows is 268 bytes. This is a system limitation and not a limit with the Portable Executable file format itself. The smallest EXE runnable by other versions of Windows are as follows:
Windows XP: 97 bytes
Windows 2000: 133 bytes
Windows Vista/7 (32-bit): 252 bytes
Windows 7/10/11 (64-bit): 268 bytes
The largest EXE possible is 1,996,488,704 bytes. Again, this size is a limitation with Windows.
GitHub project containing 268 byte EXE, world's smallest game, and world's smallest piano:
github.com/InkboxSoftware/smallEXE/
About the PE file format:
PE file format: learn.microsoft.com/en-us/windows/win32/debug/pe-format
PE file diagram: github.com/corkami/pics/blob/master/binary/pe101/README.md
Making Small EXE:
Original research into smallest possible EXE: archive.is/w01DO
World's Smallest Windows App (Dave's Garage): czcams.com/video/-Vw-ONPfaFk/video.html
Tiny PE on Windows 10 (x64): github.com/ayaka14732/TinyPE-on-Win10
More on the 268 byte limit: gist.github.com/kajott/063dfce6a94da03a379553b3db6be334
Refined MattKC snake: github.com/EimaMei/snake-qr
Low Level Programming:
Kernel32 functions: www.geoffchappell.com/studies/windows/win32/kernel32/api/index.htm
Windows Virtual Terminal Sequences: learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
MSVC Linker options: learn.microsoft.com/en-us/cpp/build/reference/linker-options?view=msvc-170&viewFallbackFrom=vs-2019
What is the largest EXE: superuser.com/questions/667593/is-it-possible-to-run-a-larger-than-4gb-exe
This video is sponsored by Brilliant
zhlédnutí: 153 853

Video

This Abandoned Project Haunted Me for Years…
zhlédnutí 105KPřed měsícem
Special thanks to www.PCBWay.com for sponsoring this video. PCBWay provides fast and easy PCB prototyping, 3D printing, and CNC services. I made my own smartwatch from basic components, and created everything except the board and screen, including the case, additional hardware, and the operating system. The main board used was the Lilygo T-Display S3 AMOLED (www.lilygo.cc/products/t-display-s3-...
Programming Temple Run for the Game Boy
zhlédnutí 87KPřed 2 měsíci
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Inkbox/ . You’ll also get 20% off an annual premium subscription. I programmed Temple Run for the Game Boy and Game Boy Color systems in assembly using the Rednex Game Boy Development System. The Game Boy, first released in 1989, runs of a custom SoC known as the DMG CPU, with its core SM83 being based off the...
How 40KB NES Games Actually Work
zhlédnutí 99KPřed 4 měsíci
The Nintendo Entertainment System (released as the Family Computer in Japan) is the world's most iconic home game console. With a Ricoh 2A03 CPU based on the popular MOS 6502, it had 2KB of RAM, 2KB of VRAM, and with the built in Picture Processing Unit and Audio Processing Unit, was used to run some of the world's most popular games ever released. Although early NES games were design for 40KB ...
I built my own 16-Bit CPU in Excel
zhlédnutí 1,4MPřed 5 měsíci
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Inkbox. The first 200 of you will get 20% off Brilliant’s annual premium subscription. I designed my own 16-Bit Computer in Microsoft Excel without using Visual Basic scripts, plugins, or anything other than plain Excel. This system on a spreadsheet is based off of a custom Instruction Set Architecture that ha...
Your Keyboard Cannot Comprehend These Noodles
zhlédnutí 313KPřed 6 měsíci
How did it take 50 years to be able to type this character: 𰻞𰻞麵 Biang Biang Noodles are one of the staples of Shaanxi in central China. They are world famous for their name, written in 58 strokes, being one of the most complex Chinese characters. But computers weren't always up to the task of typing Chinese. In the early encoding schemes of China, Japan, and Korea only a few thousand characters...
8-Bit Minecraft Pt. 2: There's A Reason This Doesn't Exist
zhlédnutí 369KPřed 8 měsíci
The first 100 people to use code INKBOX at the link below will get 60% off of Incogni: incogni.com/inkbox The progress on creating a crafting and mining game continues, now with a new release title: 8-Bit Blocks. This installment features a brand-new physics engine, including 3D collision and gravity, building, the beginning stages of mining, inventory management, and many more details all pain...
Is 8-Bit Minecraft Possible?
zhlédnutí 1,2MPřed 10 měsíci
What would Minecraft look like if it was programmed for a 1980s 8-Bit computer? To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/Inkbox . The first 200 of you will get 20% off Brilliant’s annual premium subscription. Using the power of the Commander X16, a newly released 8-Bit computer I've begun the process of building a brand new 8-Bit block game. Through ...
The Commander X16 is Finally Reviewed!
zhlédnutí 62KPřed 10 měsíci
The Commander X16, The 8-Bit Guy's dream computer, is finally here and available for the public. At least the first hundred or so units are. I was lucky enough to get my hands on one of the units (#0054) and create the first, non-nostalgic, non-bias review. The Commander X16 is a modern 8-Bit computer with a real 65C02 CPU running at up to 8MHz, with 40KB of low RAM, and up to 2MB of total RAM ...
China's Answer to the NES ft. Jackie Chan | 小霸王
zhlédnutí 326KPřed 11 měsíci
The Xiao Bawang Education Computer was China's response to the popularity of the NES and Famicom game systems around the world. Duan Yongping, a young entrepreneur, led the delivery of the home computer to the public, bringing classic games and experiences to a whole generation. While often remembered for the iconic endorsement from Jackie Chan, it was the system's software that led the machine...
The Origin of Computers Beyond the Great Wall
zhlédnutí 13KPřed rokem
What were computers like during the early computer and home computer eras in China? While the last century was a turbulent time, the People's Republic of China and Chinese Academy of Sciences kept research and development of computers a top priority. The computers natively produced in that country by scientists from the 50s to today are uniquely Chinese. They had to be, their history and langua...
Are Hardware and Software the Same Thing?
zhlédnutí 13KPřed rokem
Are Hardware and Software the Same Thing?
Why is @ on your computer keyboard?
zhlédnutí 1,2MPřed rokem
Why is @ on your computer keyboard?
Building an All-Terrain NES Emulator
zhlédnutí 49KPřed rokem
Building an All-Terrain NES Emulator
I Made Fruit Ninja Into a REAL 8-Bit NES Game
zhlédnutí 259KPřed rokem
I Made Fruit Ninja Into a REAL 8-Bit NES Game
What's inside a .EXE File?
zhlédnutí 415KPřed rokem
What's inside a .EXE File?
Polishing a Game as a Gift
zhlédnutí 5KPřed rokem
Polishing a Game as a Gift
Programming the Commander X16 to type 10,000 Chinese Characters
zhlédnutí 14KPřed rokem
Programming the Commander X16 to type 10,000 Chinese Characters
It's like Twitter, but you have 140 Characters of JavaScript
zhlédnutí 9KPřed rokem
It's like Twitter, but you have 140 Characters of JavaScript
How to Appy Game Hack Patch IPS Files
zhlédnutí 26KPřed rokem
How to Appy Game Hack Patch IPS Files
How I Hacked Pokémon Emerald to make Pokémon walk with you
zhlédnutí 322KPřed rokem
How I Hacked Pokémon Emerald to make Pokémon walk with you
Programming the NES - Everything you need to know
zhlédnutí 52KPřed rokem
Programming the NES - Everything you need to know
Creating an Operating System for the NES
zhlédnutí 764KPřed rokem
Creating an Operating System for the NES
Creating an App with the world's most detailed SVG map
zhlédnutí 8KPřed rokem
Creating an App with the world's most detailed SVG map
卍 The Ancient Origin of the Swastika 卐
zhlédnutí 70KPřed rokem
卍 The Ancient Origin of the Swastika 卐
Can I make an MMO in 48 hours? - ¡Fruit!
zhlédnutí 3,5KPřed rokem
Can I make an MMO in 48 hours? - ¡Fruit!
Fixing three $10 Junk Famicom Nintendo Systems from Japan
zhlédnutí 7KPřed 2 lety
Fixing three $10 Junk Famicom Nintendo Systems from Japan
漢字, Kanji, Hanzi, Hanja - How Many Characters are there? - A look at ancient and modern history
zhlédnutí 82KPřed 2 lety
漢字, Kanji, Hanzi, Hanja - How Many Characters are there? - A look at ancient and modern history
Turning an Ancient Chinese Legend into a Mario Rom Hack
zhlédnutí 16KPřed 2 lety
Turning an Ancient Chinese Legend into a Mario Rom Hack
World's Smallest Gameboy Plays Pokémon - Thumby
zhlédnutí 31KPřed 2 lety
World's Smallest Gameboy Plays Pokémon - Thumby

Komentáře

  • @cassandrachristine
    @cassandrachristine Před 21 hodinou

    ewwww windows 🤢

  • @kaihenthe
    @kaihenthe Před 22 hodinami

    after watching the video i decided to sub to become a 102K sub :D

  • @void_327
    @void_327 Před 22 hodinami

    bro took "i excel in it" to a whole new level

  • @itwasntworking1916
    @itwasntworking1916 Před 22 hodinami

    Wait was that that one Chinese governmental song

  • @butterjelly6339
    @butterjelly6339 Před dnem

    Wait2 is that friggin MAH symbol?

  • @Pixelated_Chicken
    @Pixelated_Chicken Před dnem

    2 weeks he says huh

  • @technikschaf1574
    @technikschaf1574 Před dnem

    The smallest piano having 555 Bytes, "like" THE one IC used for making simple sounds, the one and only NE555... That's just awesome and it cant be a coincidence

  • @ducksreviewtech3396

    Bro why did you choose 没有共产党就没有新中国as the background music 30s in💀 Although tbh it’s a good song

  • @Ultimate-Gamer1983

    exe> encoded 'EXECUTALBE' sequence.. the file 'size' is almost irrelevant but the bare minimum should be binary (.xslb) if it is 5mb or below, the information must be encoded otherwise it can't be executed upon entry. ;p

  • @AlexTrusk91
    @AlexTrusk91 Před dnem

    I would love to play the Nintendo Switch in color (my first pc was b/w and the games I had asked me to choose between a blue or red baloon to resume or quit. I have trauma to this day.)

  • @user-to9ng1jn1g
    @user-to9ng1jn1g Před dnem

    Bro why do i hear chinese propaganda music in the background

  • @20NBA01
    @20NBA01 Před dnem

    No need to watch this 18 min long nonsense video. Create an empty text file, rename its extension from .txt to .exe. There, a 0 Byte .exe

    • @NachosElectric
      @NachosElectric Před dnem

      He covers that in the first 18 seconds lol. It won't run so it's not a real .exe.

    • @ZayedAbdelrahman
      @ZayedAbdelrahman Před dnem

      have you watched the video after reading the title and duration?

  • @AlexTrusk91
    @AlexTrusk91 Před dnem

    I once talked to the kernel directly. Now I got a lifetime supply of chicken wings.

  • @rafamigayt
    @rafamigayt Před dnem

    Kudos for the International Karate music in the background. 8^)

  • @seanthebuilder1
    @seanthebuilder1 Před dnem

    the chinese propagdanda music lol

  • @cjnf11
    @cjnf11 Před dnem

    Long ago I remember I had (and probably still have on the old HDD) a .com file, that showed a very cool burning pentagram animation, and it was so small I just wrote its hex view on a sheet of paper. And could take it anywhere with me like that and recreate on any machine. Of course it would run only on something old like DOS and Win9x.

  • @Aldrich_A.W
    @Aldrich_A.W Před dnem

    Why am i watching this

  • @sebastianrojas9884

    Vietnamese sounds a lot like Cantonese

  • @allezvenga7617
    @allezvenga7617 Před dnem

    Interesting 😂 Thanks for your sharing

  • @everwiseofficials
    @everwiseofficials Před dnem

    This video makes you C developer 😂

  • @BoyCcns
    @BoyCcns Před dnem

    In my minimal work with exe compression in the demoscene I verified that if the PE header offset at 0x3C points to a value smaller than 0x40 then the microsoft signing tool will not recognize the image as an executable, which may be an indication towards future limitations. The space between 0x02 and 0x3C can still be used freely though... We use it to put a small vanity ASCII art header in there for our 64k intros ;)

  • @GhostShadow.0316
    @GhostShadow.0316 Před dnem

  • @ChosenOne41
    @ChosenOne41 Před dnem

    0 bytes, just make a blank .exe file

    • @DPedroBoh
      @DPedroBoh Před dnem

      Cmon it's the first thing he adresses.

    • @ChosenOne41
      @ChosenOne41 Před dnem

      @@DPedroBoh I wrote this before watching the video 😭

  • @NivvyLynxy
    @NivvyLynxy Před dnem

    The lego island guy also made smth simillar, good work man!!!

  • @foor
    @foor Před dnem

    I was so ready to leave a comment that a pixel art style is not 8bit, but I was pleasantly surprised :) Great video <3

  • @andresduranmolina7994

    hey im doing something closely, similar to a pidboy, with an opcion to turn on my PC or off, a wifi opcions with a access point etc

  • @GoggleMan1
    @GoggleMan1 Před dnem

    I’m I the only one with buggy audio

  • @sukhoifockewulf9371

    Got my sub, lol

  • @jan_Eten
    @jan_Eten Před 2 dny

    crazy how ðe number shown is 90 away from 234,567 (just digits 2 to 7 as a number)

  • @666chapelofblood
    @666chapelofblood Před 2 dny

    Britney Spears - New Song.mp3.exe

  • @MsHojat
    @MsHojat Před 2 dny

    I know that 4k is comparatively huge to these tiny minimal-size exes, but I've seen some pretty cool demoscene exes that are only 4kb.

  • @user-wc7dh4vl3r
    @user-wc7dh4vl3r Před 2 dny

    Smallest horror game

  • @iraniansuperhacker4382

    on 32 bit linux you can get an elf file to run a hello world program in 45 byes. I might try and implement this in 32 bit linux and see how the size compares.

  • @MangoPango1973
    @MangoPango1973 Před 2 dny

    Nearly 40 years ago, my first Computer was an Amstrad / Schneider CPC 464. I bought a monthly magazine which featured type in programs, back then called listings and there was always the 1kb program section, containing fantastic tools and full games with sound, colour graphics and joystick controls. I remember several Space Invaders clones, Shoot'em Ups, Racing and Puzzle games and an absolutely awesome Fractal generator, everything less than 1kb in Locomotive Basic and less than one page in the magazine.

  • @estebanod
    @estebanod Před 2 dny

    Eh yeah mo el ee dee

  • @it_is_i.mp4
    @it_is_i.mp4 Před 2 dny

    5:40 DEDOTATED WAM⁉⁉

  • @predabot__6778
    @predabot__6778 Před 2 dny

    REALLY COOL! Man, this is the kind of knowledge we don't learn in the standard courses.

  • @PianoElipse
    @PianoElipse Před 2 dny

    it's still not smaller than 4096 bytes.

  • @pioneer7855
    @pioneer7855 Před 2 dny

    lmao the without the communist party there will be no new China music in the beginning

  • @sejtano
    @sejtano Před 2 dny

    atari 2600 games are 4kb and some are fairly elaborate

  • @amazeyourself_
    @amazeyourself_ Před 2 dny

    what happened to the mic quality?

  • @fabjanekeczek2013pl-ui2sn

    At first when I saw the program with your logo at the middle of the video, I thought you were making a Robux generator

  • @DrewUniverse
    @DrewUniverse Před 2 dny

    Thanks for making this video! I'm wondering if you've heard of the Demoscene? People make all kinds of audiovisual non-interactive presentations that are just art for art's sake. Back in the 2000s, one group made a game instead and called it ".kkrieger". It's only 96KB. Games can be smaller than that, but for a game that has more than just minimal visuals I think kkrieger is impressive. Even as a teenager I saw how amazing that was, and I wish more game devs experimented with making visually stunning games with a limited filesize. The devs said that if the game was made in a conventional way, it would be 200-300MB large. That's quite a difference!

  • @MasterGeekMX
    @MasterGeekMX Před 2 dny

    I once saw a question on reddit asking why you can't make the same executable file for Linux and Windows. The answer: see the first half of this video and then one about the ELF format to understand it.

  • @tmhchacham
    @tmhchacham Před 2 dny

    I've made a 2 byte executable (com, technically) that just exited. That is, if you ran it in a dos box, it would close it.

  • @j_r28
    @j_r28 Před 2 dny

    I like the idea of random Pokemons appearing. Because that's how we see anime, they can randomly see a Ho-oh or Rayquaza flying in the sky, they don't necessary have to go to sky pillar.

  • @andreyrumming6842
    @andreyrumming6842 Před 2 dny

    The 2GB limit for RAM with 32 bit systems was a massive headache until I realised using GCC I was compiling for 32 bit OS's, when my OS was 64 bit. Changed that, and solved

  • @EscapedShadows
    @EscapedShadows Před 2 dny

    11:58 „And that works twice as well as I expected“ Best line every

  • @ronaldhenson3379
    @ronaldhenson3379 Před 2 dny

    The nintendo famicom is the Japanese counterpart of the nintendo entertainment system the famicom uses 60 pins the nintendo entertainment system uses 72 pins

  • @LARLEY_
    @LARLEY_ Před 2 dny

    C is low level