Search found 10 matches

by Risca
Wed Jan 10, 2018 8:17 pm
Forum: The Junkyard
Topic: Legend Entertainment's Games
Replies: 39
Views: 45909

Okay, so I solved some indexing bugs in my code and I was wrong when I said that smaller images only use index 17 for green; that was a conversion error in my code because I was doing image conversions and alpha blending. I rewrote the code to do the image overlay manually and it turned out to be mu...
by Risca
Sat Nov 11, 2017 1:12 am
Forum: The Junkyard
Topic: Legend Entertainment's Games
Replies: 39
Views: 45909

Okay, I updated my resource manage to visually show me the palette of the "big" images. I also fixed a bug where the transparency of overlayed images where not working properly. From what I can see, it seems quite common for the palette at index 17-80 to be all green and not used. It's only the smal...
by Risca
Wed Nov 08, 2017 8:24 pm
Forum: OpenPandora Port
Topic: How to compile for OpenPandora
Replies: 1
Views: 11642

Doing the CXXFLAGS trick got rid of the warning spam from the old CodeSourcery 2011.09 toolchain. I'm surprised by the difference in size between toolchains: CodeSourcery 2011.09 - 44 MB (34 MB stripped) CodeSourcery 2013.11 - 38 MB (29 MB stripped) CodeSourcery 2013.11 (C++11 enabled) - 38 MB (29 M...
by Risca
Wed Nov 08, 2017 5:34 pm
Forum: OpenPandora Port
Topic: How to compile for OpenPandora
Replies: 1
Views: 11642

How to compile for OpenPandora

Hi, I've been experimenting with cross-compiling ScummVM for my OpenPandora. I got it working, but it was not as straightforward as I'd hoped. Here is a small summary how. 1. Install a cross-compiler. I used the install script from here and updated it to download CodeSourcery 2013.11 (gcc-4.8.1): ht...
by Risca
Sun Nov 05, 2017 11:15 pm
Forum: The Junkyard
Topic: Legend Entertainment's Games
Replies: 39
Views: 45909

I've come back to this issue tonight to dig for some more information, but I can't wrap my head around it. I added extra log outputs to dosbox-0.74 so that it would print out the palette when it's changed: --- dosbox-0.74/src/gui/render.cpp.old 2017-11-05 23:23:45.508654441 +0100 +++ dosbox-0.74/src...
by Risca
Tue Jun 06, 2017 9:42 pm
Forum: The Junkyard
Topic: Legend Entertainment's Games
Replies: 39
Views: 45909

Okay, I've done some more experiments but I'm still not getting the images right. Here's what I tried: Take a big image Overlay a suitable smaller image Cycle through all images with a palette and see if the colors match So far I've not managed to create a perfect overlaid image. Could the sub palet...
by Risca
Mon May 29, 2017 10:19 pm
Forum: The Junkyard
Topic: Legend Entertainment's Games
Replies: 39
Views: 45909

I did some more experimenting today with overlayed images. Here's what I did: Load a big image and its palette Load a smaller image and use the palette from the big image. The smaller image has the offset into the larger image as 2x2 bytes before the actual image. Set the alpha channel for each gree...
by Risca
Sun May 28, 2017 11:34 am
Forum: The Junkyard
Topic: Legend Entertainment's Games
Replies: 39
Views: 45909

There is still some more work to be done on the still images. All larger images come with a 3*256 byte palette prepended, but the smaller images do not. I've sometimes been successful in using the first palette before the image and sometimes the palette of the next big image. The 4 byte header on so...
by Risca
Sun May 28, 2017 2:03 am
Forum: The Junkyard
Topic: Legend Entertainment's Games
Replies: 39
Views: 45909

My work on Death Gate started at a LAN party [1] about 5 years ago when I wanted to learn more about reverse engineering. Since then, I've come back to this LAN party annually to continue the work. Unfortunately, this years' LAN party is nearing its end and my allotted time for Death Gate work will ...
by Risca
Sat May 27, 2017 11:04 pm
Forum: The Junkyard
Topic: Legend Entertainment's Games
Replies: 39
Views: 45909

Y0! I've been working on reverse engineering the Death Gate game about once a year for the past 5 years and now it's time to make some findings public. My notes: https://gist.github.com/Risca/e83f7e7b2e6da9c65f5768b58dd6ca92 I've also made a program that lets you explore the Death Gate media: Still ...