We're on Discord! Please join our server now if you don't want to miss anything! (More info) | Join the UCC4 contest! (More info)

* WalrusIRC & Discord main room

If you have a forum account, have more than 4 posts and are not part of a restricted usergroup, then you can chat in our main Discord server room directly from here and continue using the forums at the same time. Or you can join our server directly and access many more discussion rooms!

Recent Posts

Pages: [1] 2 3 ... 10
Drawing & Animation / Re: Walrii fanart
« Last post by xlibman on Yesterday at 03:50:10 am »
It's official, thanks to my game, what actually is in Walrii world is Réseau de Transport de la Capitale walrus. xd
PC, Mac & Vintage Computers / Re: Custom Bitmap Format
« Last post by rowan_futurerave on November 16, 2018, 11:29:58 pm »
Nice thoughts gameblabla you have inspired me, I now have decided on the file spec. Woot  (-_(//));
PC, Mac & Vintage Computers / Re: Custom Bitmap Format
« Last post by gameblabla on November 16, 2018, 01:39:14 pm »
You could use a raw format (RGB565, RGB8, RGB555 etc...) then compress it with an algorithm known to decompress pretty fast such as lz4.If your compiler is somewhat modern, then the best choice would probably be zStandard. It has higher compression rates than lz4 while being much faster than its other alternatives. (although lz4 is still faster)
If your platform is using a Motorola 68000 cpu, stef made a fast decompressor called lz4w for that CPU family. It can be found in assembly form here :https://github.com/Stephane-D/SGDK/blob/e8d6e7e6668579e1299e19f1c024dd8dc16d430e/src/tools_a.s
Function call in C is as such :
Code: [Select]
u16 lz4w_unpack(const u8 *src, u8 *dest); On the same platform, aplib is also another good alternative but it's a fair amount slower.
As for encryption, well it's just easier to do it outside out of the file format because that would require more work (separate the actual image data from the header then compare it to a hash etc...).
Make sure the file format meets your needs only. On the Atari falcon, space was of no concern so i simply made a raw RGB565 format except flipped for Big endian cpus. Of course on little endian machines, this is not a concern and you can go for compression for example.
PC, Mac & Vintage Computers / Custom Bitmap Format
« Last post by rowan_futurerave on November 16, 2018, 08:46:55 am »
Hi all. Am thinking of creating a custom bitmap format due to awkwardness I am experiencing with a lib (glaux.lib) which has been deprecated.

What would anyone else add to a custom bitmap format?

Not RLE. Possibly encryption. What else??


*edit - one idea - strangely ordered scanlines
Yeah, the main file processing program is an ncurses terminal app and looks something like this. Then there's a completely separate web-based admin section for managing screenshots, comments, and miscellaneous things. The most amazingly exciting part of processing pending files is having to wait 15 seconds for the antivirus thing to run first—even if there are 0 files in the pending queue to actually scan. :P

On a more serious note, pending files aren't that bad because in most cases they don't take much longer to approve/reject than it takes me to take a quick look to see if they seem okay. Occasionally things get more complicated like if someone gave the file a name that already exists in the archive. The real pain is moving files. With the “fa” tool, it has to be done one at a time, and if the file has any links it can't be moved at all (unless you manually write down all the links, remove them, move the file, then recreate all the links again, one by one). I eventually got so sick of that that once I learned enough about how the DB backend and fa worked I started writing my own scripts on the server to be able to move groups of files at once, even linked ones.
Yeah, sometime last year, motivation went rock bottom for both of us, that and it's kinda hard to choose the right software for our needs. On that case, we definitely need a restructuration by the start of 2019. Not a hard limit but it would be pretty cool to be done by then, as in moving everything to that new server and it's starting to get pretty expensive. We're open to any suggestion that would be better than anything we said :)

Also, the server in question we want to move to currently hosts 3 Minecraft servers and a Mastodon instance on calc.news (which I encourage you to sign up on cause why not), it's a nice server with 32 GB RAM, enough disk space to breathe and it's only 10€, but it's the kind of company their tech support is pretty much their vice-president and it went down for 3 days cause we had a bug with it, the VM became a zombie and we had to migrate the VM to another host, so yeah. Hope it won't happen again and I do more offsite backups, they said they're gonna upgrade their installation of OpenVZ soon and it's gonna be very welcome. I mean, it's still on Linux 2.6.32 and Debian starts complaining about it.
The problem is that not much work was done after I got PTSD and juju got a job (on top of multiple moves)
I thought you could not switch from SimpleMachines because there was still a lot of work to do ?Between phpbb3 and Discourse though, i much prefer phpbb3. At least you can use it without javascript... Hopefully you end up using that. (or another alternative that's just as good)Good luck
In order to reduce costs, CodeWalrus website will shut down its DigitalOcean webspace on January 1st 2019 and everything located there will move to our second hosting provider, which already hosts both CW and WTFCity's Minecraft servers.

The website will also ditch Simplemachines forum software in the near future in favor of PhpBB3 or Discourse, depending of which is the most up to today's web standards by the time it happens.
New WIP:

The Willing Duke I: Mine By Right 4:36 [SKETCH 01] (2018-11-12)
This one was actually one of the first songs I began writing for the album, and even though it's still not finished, I feel the structure is pretty much nailed down.

Updated WIPs:

Cold Sweat 2:30 [SKETCH 01c] (2018-11-04)
Not much changes to report, other than a change in tempo. Oh and also it's all been written, even though this is stil a preview version of the Sketch. As is Innocence (which has since been renamed to The Innocent Lies), but again, only the preview version of the Sketch is listenable.
Pages: [1] 2 3 ... 10

You can also use the following HTML or bulletin board code to share it on your page or forum signature!

Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games