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.


Topics - MusicallyInspired

Pages: [1] 2 3 ... 7
1
Everything-Else / Deluxe Paint Amiga Source Released on GitHub
« on: July 12, 2019, 02:36:04 AM »
This might be of mild interest to some people.

https://github.com/DutchmanDavid/DeluxePaint

2
I decided on a whim to revisit KQ2SCI0 and wanted to convert the whole thing to Sierra Script. It all compiles fine and works but on one screen in-game in particular that has a certain Locale set, when I exit it into a room that doesn't have a Locale the game crashes upon entering the new room saying "bad opcode $4e." If I comment out setLocales in the previous room the crash goes away. The only thing different about this room compared to others is that it changes rooms based on the ego being inRect. Other inRect codes work fine elsewhere in the game, including ones that change rooms. So I'm guessing something in the Locales code is broken in the conversion to Sierra Script in certain cases maybe when disposing or something? But only sometimes? Because there's another room with "forestLocale" and an inRect code to change rooms and the code is virtually identical.

Sierra debug Send Stack readout displays:
Code: [Select]
(??? doit:)
(??? doit:)
(regions eachElementDo:)
(Game doit:)
(KQ2 doit:)
(KQ2 play:)

The Locale is set in its script with the "(public)" code block as "forestLocale 0", which is also what the Locale instance is called.

3
SCI Syntax Help / [SOLVED] Yo-yoing between two rooms
« on: May 15, 2019, 07:49:35 PM »
What the heck is going on? There's nothing wrong (at first glance) with my room code as it's exactly the same as another game's rooms I have, but what's happening is I walk to the edge of the room and change to the next room, but then immediately I switch back to the last room, and then immediately switch back to the second room again, and back and forth forever. I even changed the gEgo's X position to be 310 instead of the standard 319. And then to 300. And then to 200. But it seems like the gEgo posn code is being ignored. I threw in a DebugPrint to confirm that the ego's X position was what I set it to and it is being set. It's just being ignored. Any ideas?

EDIT: I decided to repeat the DebugPrint command further down after the previous room number states with the rest of the inits and it does seem to be resetting the Ego's position to 316 and not 200. Why is this happening?

Code: [Select]
(switch gPreviousRoomNumber
(west
(gRoom style: dpOPEN_SCROLL_LEFT)
(gEgo posn: 10 (gEgo y?) loop: 0)
)
(east
;(gRoom style: dpOPEN_SCROLL_RIGHT)
(gEgo posn: 200 (gEgo y?) loop: 1)
(DebugPrint {X = %d} (gEgo x?)) ;Says gEgo x is 200, good.
)
(else
(self style: (| dpOPEN_PIXELATION dpANIMATION_BLACKOUT))
; Set up ego view and loop (direction)
;(SetUpEgo -1 0)
(gEgo
setScale: Scaler 100 55 75 40 ; theFrontSize theBackSize theFrontY theBackY
posn: 167 63
loop: 2
get: 0
)
(Portcullis
posn: 160 7
setStep: 2 3
ignoreControl: ctlWHITE
setScript: gateScript
)
(gateScript changeState: 1)
)
)
(super init:)
(gEgo init:)
(Portcullis init:)
(DebugPrint {X = %d} (gEgo x?)) ;Says gEgo x is 316????
)

4
I may look into this myself (though I think I'm out of my depth), but what are the chances of getting a Sound format converter between SCI0-SCI10 to SCI11? Or even SCI32? I'm checking the documentation on Sound formats from the SCI wiki and ScummVM's SCI wiki.

If not, how about the ability to export a Sound to MIDI? SCI Viewer exports to MIDI but only with one of the selected sound device's flagged channels. Combining them all in something like Anvil Studio or Cakewalk is possible but it is a lot of work.

I can't remember if I asked for something like this before or not but I feel like I have so apologies if so.

5
SCI Syntax Help / [SOLVED] Sound Cues Not Cuing
« on: May 04, 2019, 04:35:39 PM »
I've got this block of code in my changeState method.

Code: [Select]
(if (== (gMusic1 prevSignal?) 20)
(sparkle setCycle: EndLoop self)
else
(-- state)
(= cycles 1)
)

It's supposed to trigger the animation loop from "sparkle" once after it reads the "20" cue from the current sound being played. After that it continues through the changeState states. But it's not happening. Am I doing this right? I'm translating code from an earlier game that I had to start over from scratch with. Using the same code but it's not working like it does in the older version of the game. What am I overlooking?

EDIT: I looked at the sources for both KQ5 and SCI Quest on handling sound cues and tried to copy something:

Code: [Select]
(1
(FadeCode init: 100 1 self)
(if (and
(< (gMusic1 prevSignal?) 20)
(!= (gMusic1 prevSignal?) -1)
)
(-- state)
)
(= cycles 1)
)
(2
(sparkle setCycle: EndLoop self)
)

But that doesn't work either. What happens is after the sound is done playing THEN the animation triggers. I don't get what's happening. I obviously don't understand properly how triggers are supposed to work.

6
SCI Syntax Help / A Talker for Ego/Print & "modeless" questions
« on: April 28, 2019, 04:06:33 PM »
Okaaaaaayyy! So this is a headache. I want a talking dialogue portrait for my Ego but it doesn't look like Template game is set up for it. I'm trying to create its instance in Main.sc. Is that the right way to go about it seeing as it needs to be available from everywhere? Or should I make it its own Script? What I was attempting to do besides just having a general Ego Talker is to have it also appear and animate when the player opens the Quit dialog and saying a line, which I'm sure is a can of worms unto itself because it needs to stay on the screen to press the Yes or No buttons.

7
SCI Syntax Help / Where is the inventory window drawn?
« on: April 28, 2019, 12:28:07 AM »
I want to move the inventory item list sub-window (insetwindow?) to the top of the inventory GUI window and move the control buttons to the bottom instead. Trying to find where this is laid out. I'm worried this happens in the ScrollableInventory script which is largely unintelligible at the moment and has a lot of disassembly code.

8
I started a SCI1.1 project I had made from scratch again to get all the latest fixes in the template game (this project is quite old) and I'm trying to customize the control panel window but the entire script seems to still be in Studio Script syntax. Which means I can't make any changes. Is there a way to convert a single script to a different syntax rather than the whole game through Game Properties? Because the game is already in Sierra Script and in order to force it to convert all I'd have to convert everything to Studio Script and then back again and I'm not too keen on that.

9
SCI Syntax Help / [SOLVED] Walking/Cycle speed?
« on: April 27, 2019, 01:18:50 PM »
Where is this set for Ego in SCI1.1? I cannot find it. I'm so rusty. Right now my Ego is moving too fast for his walking animation which is giving the effect of his feet sliding on the ground like he's walking on a conveyor belt horizontally. Diagonally it's like he's slipping on ice and not getting anywhere. Vertically his speed is fine. Where can I fine tune this? Just from the raw template game in Sierra Script.

So rusty.

10
Everything-Else / Infocom Source Code Released (in ZIL language)
« on: April 16, 2019, 09:46:23 PM »
Gumby, this might interest you?

Quote
"So, Infocom source code is now uploaded to Github. Most people don't speak or want to speak the language it's written in, ZIL (Zork Implementation Language). You can browse through it and kind of suss out what's being done when and the choices made over the course of time."

https://twitter.com/textfiles/status/1118005126457888768?fbclid=IwAR2-v8OKd6ZjD_0BO9ioeoshyTREVLvEZlZ2t8cAE7M8Y4uKwdGCfHZ4xKA

https://github.com/historicalsource/?fbclid=IwAR2Er5a-dvDEWL4ccFIJ_5YUKUN3EoIFy6_2Tnh4c2_R4a4XcSmT3aFKWPc

11
SCI Development Tools / SCI10 EGA Pics
« on: February 05, 2019, 12:31:03 AM »
Do we have the ability to generate bitmap 16-colour PICTURE resources for SCI10 EGA games? (SQ1Remake, SQ5, KQ5, LSL1Remake, LSL5, PQ3, Longbow, MUFT, etc)? I'm thinking no. I know that VIEW resources in SCI10 EGA games are just SCI0 VIEW resources. I feel like SCI10 PICTUREs are SCI0 as well in some way but bitmap instead of vector because neither SCI0 nor SCI10 VGA games are compatible with them.

I'm throwing around the idea of improving the look of Sierra's EGA versions the Companion's SCI0 PIC generator and I'm curious.

12
Mage's Initiation, a game in development for about a decade and which I scored over 2 hours of music for, is finally released! You can pick it up at Steam, GOG and Humble for 10% off!


13
SCI Development Tools / Command line batch processing
« on: January 09, 2019, 04:54:00 PM »
Is this possible at present? I don't remember if custom command line tools were developed or not. Specifically, I would like to extract and convert every PICTURE resource (or any graphic resource I suppose, but mainly PICTUREs) from a game as PNG files. Can we have this added at least as a right-click menu option when selecting multiple PICTURE resources in SCI Companion? We can mass extract/export as patch files, but we can't mass convert.

14
SCI Development Tools / Reasons to develop 640x480 SCI tools
« on: January 09, 2019, 01:59:29 PM »
Made with ESRGAN AI neural net upscaling using a Manga109 dataset-trained model.

This is truly black magic:




(2048x1460!!)

Tons more I generated

Original thread I found this thing in with tons more screenshot examples from other games including Monkey Island, Grim Fandango, and texture mods from 3D games as well.

It runs on Python. See these links for instructions on how to set it up. It helps to have a high-end GPU:

15
Everything-Else / I'd just like to take a moment...
« on: December 28, 2018, 02:55:47 PM »
...and say that I still really appreciate that this community and this website is still here. After it went down a while back I feared it was lost forever. But we got it back and it's still kicking, as are all of you. It's just awesome. Thanks for being here. And Merry Christmas/Happy Holidays/Happy New Year.

Pages: [1] 2 3 ... 7

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

Page created in 0.125 seconds with 19 queries.