Giter Club home page Giter Club logo

hammerfest's People

Contributors

pperidont avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hammerfest's Issues

No audio?

I ran compile.bat and I'm using the Windows "Flash Player projector content debugger" (downloaded here). The game seems to work fine in general except for the audio. Songs and sound effects don't play. What could be?

No application for loader.swf

I just got this error while trying to complie for Windows

This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed, create an association in the Default Apps Settings page

Am I doing something wrong ?

Compilation error on Linux

I'm trying to build the game using the following commands :

swfmake -f loader.xml
swfmake -f swfmake.xml 

Both those commands fail, with errors related to the zlib compression.
Here are more detailed information I got while using the verbose option of the compiler:

> swfmake -v -f swfmake.xml 2>&1 | tail
Typing entity.Item.init
Typing entity.bad.Walker.onHitWall
Typing mode.Editor.onPanDown
Typing entity.bad.Walker.onNext
Typing entity.item.SpecialItem.new
Typing mode.Editor.onPanUp
Time spent : 0.231916
Reading swf file swf/_code.swf
Reading swf file swf/_gfx.swf
Error : zlib_inflat
> swfmake -v -f loader.xml 2>&1 | tail
Typing Loader.musicLoadDone
Typing Loader.gameLoadDone
Typing Loader.loadMusic
Typing Loader.initLoader
Time spent : 0.006399
Reading swf file swf/_loader.swf
Reading swf file swf/_loadercode.swf
merging
Saving swf/loader.swf
Error : zlib_deflate_end

In both those examples the zlib functions are returning -1 but there ain't an error message to explain what's going on.

A workaround I found is to completely disable compression (by editing the makefiles and the swf files included in swfmake.xml) but I don't think it's a solution we should rely on.

Distribution: Debian 10/ArchLinux
Zlib version: 1.2.11

Can't compile with compile.bat (likely path issues)

Computer noob here. I am using parallels desktop to run the .exe files on an M1 MBP.

I am trying to compile the game using the code provided in here (hammerfest-master.zip) as well as the code for mtypes (mtypes-master.zip). I extracted both zip files and put their contents into a single folder.

Running the file compile.bat does not do anything, so I tried to take a closer look.

compile.bat creates swf files using swfmake.exe, and swfmake.exe uses mtype.exe. However it seems that the paths are not correctly specified as the exe files can't find eachother.

Running .\compile.bat directly in terminal returns :

CMD.EXE a été démarré avec le chemin d’accès comme répertoire en
cours. Les chemins d’accès UNC ne sont pas prise en charge. Utilisation
du répertoire Windows par défaut.
Compiling: loader.xml...
'swfmake' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

(= 'swfmake' is not recognized as internal or external command, executable program or command file)

I am still able to manually launch swfmake.exe by typing the following into terminal : .\swfmake -f loader.xml to get :

CMD.EXE a été démarré avec le chemin d’accès comme répertoire en
cours. Les chemins d’accès UNC ne sont pas prise en charge. Utilisation
du répertoire Windows par défaut.
'mtypes' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

(= 'mtypes' is not recognized as internal or external command, executable program or command file)

This seems to confirm that the problem is due to path issues. What do I need to edit to fix this ?

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.