GithubHelp home page GithubHelp logo

davidkinder / windows-glk Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 3.0 6.31 MB

Windows implementation of Andrew Plotkin's Glk specification.

License: MIT License

C 14.38% C++ 80.98% HTML 4.53% Batchfile 0.11%

windows-glk's People

Contributors

davidkinder avatar emacsuser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

windows-glk's Issues

Speech and sound improvements

Suggestions from Nikita Tseykovets:

  • Add a key press to skip the current sentence, and another key to repeat the last sentence. This needs rules to define what constitutes a sentence, but that should be possible.

  • Add hotkeys to turn sound on and off, and to control the sound volume, without affecting speech.

Selecting text without scrollback?

Would you be willing to make it so that text can be selected and copied without having to use the scrollback window? It's rather cumbersome having to always switch windows if you want to copy text to the clipboard.

1.51 incompatible menu resources?

When building WinArun (the Alan IF interpreter using WindowsGLK) with 1.5.0 the menues look like this:
image

Building against 1.5.1 I get:
image

Not so nice ;-) (The left one triggers the scrollback and the right one the option dialogue.)

I could not find any changes that would require changes to the "client" resource files. The Test example seems to be doing the same thing as I am.

Any ideas?

There should be no sound notification when a MOD is stopped prematurely

This is a nitpick, but according to the Glk spec, sound notification events should only fire when a sound reaches its end, and not when it is stopped or interrupted.

It seems that when you begin playing a MOD sound in Windows Glulxe, any MOD already playing on another channel will be stopped (because the Modplug library only supports playing one MOD at a time, I suppose). This will issue a sound notification.

If I'm reading 8.3: Playing Sounds correctly, the play functions are supposed to return 0 (error) and refuse to play the new MOD in this situation, and not generate any sound notification.

This behavior can be tested with the TEST MOD command in my Glulx sound test.

Missing function giblorb_unload_chunk

The function giblorb_unload_chunk appears to be missing from the DLL (I'm using the 1.51 binary download provided here). The function does exist in gi_blorb.c.

This is on MinGW, if it matters. I can build against Windows Glk just fine, in general, but when I use giblorb_unload_chunk, I get a link error. I suspect it's just missing from Glk.def but I don't have Visual Studio so I can't test adding it and rebuilding.

Windows Glulxe and Windows Git close after showing the bibliographical information of A·L·I·E·N

Hello,
I cannot play a Spanish Game called A·L·I·E·N. After opening it and showing the bibliographical information, both Windows Git and Windows Glulxe close without showing any error on screen. I also tried opening the game with the command line but it didn't work properly, and no error was shown in console either. According to a forum post, the game worked in some older glulxe version. Gargoile works fine, but there reviewing text is more difficult.

The game is available here, and here is its source code, if it can help.

I can try to debug what's happening if you provide me with some instructions.

Thanks!

Add Russian translation

Add Russian translation, based on translated .rc file from Nikita Tseykovets:
Glk_rc.txt

From Nikita:

Slowdown caused by mlang.dll!CMLFLink2::GetFontCodePages

Tested under both Glulxe and Git, both using Glk.dll with file version 0.7.5.50, and tested under multiple stories (first noticed with The Wizard Sniffer but reverified with Counterfeit Monkey), there's a noticable delay when issuing a command to the story (e.g. more than half a second under Wizard Sniffer). Running an ETW trace to locate the issue indicates massive CPU usage on the function CMLFLink2::GetFontCodePages (from mlang.dll) and its callees. This appears in the root element for the process's main thread under WPA, so I'm not 100% sure if it's from Glk or other common code between Glulxe and Git; regardless, neither of those processes should be dealing with the system's font interfaces directly, so I'm inclined to believe it's a Glk issue.

EDIT: I just tested Wizard Sniffer under Gargoyle Git; the issue does not arise there, which makes me pretty certain it's in Glk.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.