Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ajdc2 opened this issue Sep 14, 2022 · 0 comments
Open

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

ajdc2 opened this issue Sep 14, 2022 · 0 comments

Comments

@ajdc2
Copy link

ajdc2 commented Sep 14, 2022

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant