motion-twin / hammerfest Goto Github PK
View Code? Open in Web Editor NEWHammerfest web game sources
License: Other
Hammerfest web game sources
License: Other
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?
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 ?
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
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 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.