Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kawa

Pages: [1] 2 3 ... 103
2
Kawa, I'm trying to open your Companion fork source in Visual Studio but it's giving me errors saying it can't find any DIALOGs. Any idea what's going on there? I don't have much experience working with MFC program stuff...
I got nothing. I open it in 2015 Community and I can build all three variations, regular mild and kawa, with no issues 🤷‍♀️

3
SCI Syntax Help / Re: Status line vertical size
« on: May 27, 2021, 05:33:20 AM »
I remember fiddling with setport but for some reason I thought some of this stuff was hardcoded or at least predisposed to be set up that way, seeing as all Pictures are a set height.
Depends on the interpreter. SCI0 has no SetPort functionality to change the main port's size, but SCI11 does -- it's why the template game's title screen is the full 320x200. Meanwhile, DrawStatus is always the same size, it and DrawMenuBar use the BARSIZE constant, which is 10. Or rather, they use the menuBar port, which is [0,0, main port width, BARSIZE]. But again, as the SCI11 template shows, you don't need to use DrawStatus to draw the status.

4
AGI Syntax Help / Re: Need help adding text to parser
« on: May 21, 2021, 12:26:56 PM »
@Kawa, btw, in your image the input box has the caption "Enter input" not "ENTER COMMAND". I assume that screen shot is from SCUMMVM then? Because in all the MSDOS versions I have, the caption is "ENTER COMMAND".
You assumed correctly. But in the end it doesn't really matter to the bigger point, does it?

5
AGI Syntax Help / Re: Need help adding text to parser
« on: May 21, 2021, 06:11:51 AM »
Would this solution work with the Hercules Monochrome driver that displays a pop-up input dialogue like SCI does?
You mean this input dialogue box?



Maybe if the game is detecting that it's running on Herc and set the same prompt to "Enter input" instead of ">". If it's the engine itself, you'd be SOL. And looking at LSL1 and ScummVM, it seems you would in fact be just that.

6
SCI Development Tools / Re: Wolfenstein 3D fizzlefade (SCI-related)
« on: May 05, 2021, 02:07:58 PM »
Similar  in technique, at least. You be the judge exactly how similar.

Code: [Select]
word  i, j, x, y, rand = 1234;
rand &= RANDMASK; //#define RANDMASK 0x240
for (j = 0; j < 64; j++)
{
for (i = 0; i < 16; i++)
{
if (rand & 1)
rand = (rand / 2) ^ RANDMASK;
else
rand /= 2;
x = rand % 40;
y = rand / 40;
//reveal or black out rect (x * 8, y * 8, (x * 8) + 8, (y * 8) + 8)
}
}
Code: [Select]
long rndval = 1;
short x, y;
do
{
y =  rndval & 0x000FF; //Y = low 8 bits
x = (rndval & 0x1FF00) >> 8; //X = High 9 bits
unsigned lsb = rndval & 1;
rndval >>= 1;
if (lsb) rndval ^= 0x00012000;
//black out pixel (x, y)
} while (rndval != 1);

7
AGI Development Tools / Re: conWAGI.exe output redirection fails
« on: May 04, 2021, 04:45:48 AM »
We can only hope.

8
AGI Development Tools / Re: conWAGI.exe output redirection fails
« on: May 03, 2021, 01:35:18 PM »

9
SCI Development Tools / Re: SCI Companion Pic Editor saving bug?
« on: April 29, 2021, 03:34:51 AM »
Why redraw it? Just scan through the list of commands and delete the handful of Pen commands with invalid numbers.

10
SCI Development Tools / Re: SCI Companion Pic Editor saving bug?
« on: April 28, 2021, 03:00:20 PM »
Ok, I checked in a fix to the main branch, but I'm not set up to build (or test it, but it should be fine).
On it!


New build with the fix is in the stash.

11
SCI Development Tools / Re: SCI Companion Pic Editor saving bug?
« on: April 28, 2021, 09:45:03 AM »
Well, I'm convinced. And I have no idea.

I'm just going through the list of commands, seeing where it breaks, removing each one that does so...

137x118 pat C (2-78)
103x160 pat C (2-7A)
85x154 pat C (2-79)
122x121 pat C (2-79)
202x208 pat C (2-7E)
...

just seeing where it does something Weird and going back and forth, deleting the next command and exporting...

And there we go. From 121x119 all the way down to 125x44, with a dozen or so little clusters missing.

The next step is to keep hold of the breaking command list, part of which I bothered to transcribe above, and see why those specific commands seem to be mistaken for others, and go from there.

12
SCI Development Tools / Re: SCI Companion Pic Editor saving bug?
« on: April 28, 2021, 04:53:54 AM »
That's a very interesting question. The bug was fixed by Phil in January 2017, far before I started my changes ("Commit ALL the changes!" is from October 2018), and the current version still has the changes from 2017 in it. According to the commit history for PicCommands.cpp, it goes "fix long-standing bug", "commit all the changes", irrelevant formatting jank, gif. Which means if there was a regression, it was in one of two other files which I'll check now.

And I insist I couldn't reproduce it when I tried.


Edit: View.cpp and TestPicDraw were untouched since.

13
SCI Development Tools / Re: Decompilation Archive
« on: April 27, 2021, 12:24:03 PM »
What about the Studio games that used assembly?
You mean with (asm ...) blocks in 'em? I don't see why those would be a problem.

14
SCI Development Tools / Re: SCI Companion Pic Editor saving bug?
« on: April 27, 2021, 07:20:55 AM »
That meshes with my fruitless attempts to reproduce the bug. So any build from 2018 onwards should be good.

15
Just got back from reading about the LB1 randomizer crack.

My blog doesn't even compare.

Pages: [1] 2 3 ... 103

SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.121 seconds with 21 queries.