scratch
SGDK
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scratch
- Windows XP dedicated image viewer?
-
What Happens Before the Main Function is Called ?
pbmview, an image viewer (windows subsystem).
-
A couple freestanding parsers in C99
For comparison (for those following along): https://github.com/skeeto/scratch/blob/master/parsers/qoi.c https://github.com/skeeto/scratch/blob/master/parsers/ini.c
- (POSIX) theory and practice of the useless use of cat
- [2023-05-19] Challenge #400 [Intermediate] Practical Numbers
-
Difference in accuracy when compiling in windows and linux
Another option I learned a couple years ago is embedding a UTF-8 manifest ([details])[https://github.com/skeeto/scratch/tree/master/libwinsane]. Also put the console in UTF-8 mode (SetConsoleOutputCP(CP_UTF8)), and you're done. Works on Windows 10 and later. This covers everything: argv is UTF-8 and fopen accepts UTF-8 paths. (This is exactly how CRTs should have worked all along.)
-
I made this small program in C :)
I was thinking more about this and I realized it's quite easy to do it in arbitrary precision, so here's my take: https://github.com/skeeto/scratch/blob/master/misc/bswap.c
-
Beside SDL, is there an easier way to just show a custom rectangle with text, cross-platform?
As was linked from my QOI article, here's my full decoder with comments: qoi.c. Each pixel decodes to a 32-bit integer, ABGR. That corresponds to SDL's SDL_PIXELFORMAT_ABGR8888. SDL_UpdateTexture copies that data into the texture's internal storage, and font is no longer needed. (In a real program I'd allocate it in a scratch arena, reset after initialization.)
-
GitHub - pmkenned/pmk_string: A simple string library in C
A recent, interesting experience with function+context allocation: For more than a decade, Windows accidentally exposed part of zlib in a public DLL, and (overly-)clever applications can exploit this as a "system zlib." Though it doesn't export the "end" functions, so cleanup seems impossible. However, custom allocation works, so doesn't matter. I plugged it into an arena.
- decompressing a .deflate file?
SGDK
- iHaveNoReasonToDoThisOtherThanBraggingRights
- Crowd sourcing for genesis
- If I were to try to make a simple 2D RPG or visual novel is the n64 easier than genesis Dreamcast and Saturn?
-
Problem with compiling
It might have needed two at one point. I see both mentioned in a few places, but the wiki appears to say you need the full path. https://github.com/Stephane-D/SGDK/wiki/SGDK-Usage
-
Best way to create a map with enemy characters using C?
P.S. The plan down the line is to at some point add sprites to it and port it to the Sega Genesis using SGDK so it would no longer be a text adventure game. However for now I'm having fun practicing my C skills with this and hopefully will have a cool project for my portfolio.
-
At least college isn't making me learn Objective-C.
Examples: - Someone I know created machine-optimized library in c and asm to accelerate compression, erasure coding, and encryption on Intel Xeon CPUs (https://github.com/intel/isa-l) which runs those ops WAY faster than the standard linux libraries. - My friend is making a retro SEGA genesis game using a C and asm dev kit (https://github.com/Stephane-D/SGDK)
-
What is it called when you make a whole new game and put it on a old console like NES Atari genesis etc
If you are specifically looking into the Genesis you should look into SGDK, the sega development toolkit https://github.com/Stephane-D/SGDK.
- SGDK – A free and open development kit for the Sega Mega Drive
- Dear developers and hardware engineers of reddit, It is possible to develop new games for old consoles? Like the SNES or DS for instance. If it is indeed possible, what tools would be required?
-
Why do Sega Genesis has so much more homebrew ports of games than SNES?
SGDK may be one reason. Nothing comparable on the SNES side.
What are some alternatives?
w64devkit - Portable C and C++ Development Kit for x64 (and x86) Windows
pvsneslib - PVSnesLib : A small, open and free development kit for the Nintendo SNES
busybox-w32 - WIN32 native port of BusyBox.
TotalSMS - Sega Master System emulator
BUSY - BUSY is a lean, statically typed, cross-platform, easily bootstrappable build system for GCC, CLANG and MSVC inspired by Google GN
beginners-C-program-examples - Simple, Short and Sweet beginners friendly C language programs , revised.
PSCalendar - :calendar: A set of PowerShell commands for displaying calendars in the console.
neosdconv - A command line tool to convert Neo Geo roms into the format needed for NeoSD
cimgui - c-api for imgui (https://github.com/ocornut/imgui) Look at: https://github.com/cimgui for other widgets
Save-Game-Copier - Copy Sega Saturn save game files
gameinfojs - High level interface to the functionality provided by the other game* libraries
Energy-Languages - The complete set of tools for energy consumption analysis of programming languages, using Computer Language Benchmark Game