Author Topic: MegaStrike v1.1.0: Custom Battles  (Read 2251 times)

doulos05

  • Warrant Officer
  • *
  • Posts: 666
MegaStrike v1.1.0: Custom Battles
« on: 22 July 2023, 22:49:19 »
This release adds a Lobby screen where you can customize the forces going into battle before entering the game. It also adds image support, so all properly configured Meks will have an image displayed for them on the battle map.

See the README for a detailed walk-through of how to play a game.

Here is the release page, see the README for installation instructions: https://github.com/jonathanabennett/megastrike/releases/tag/v1.1.0
I mean, it's not like once you having something in low Earth orbit you can stick a gassy astronaut on the outside after Chili Night and fart it anywhere in the solar system.

BATTLEMASTER

  • Captain
  • *
  • Posts: 2368
  • Hot and Unbothered
Re: MegaStrike v1.1.0: Custom Battles
« Reply #1 on: 24 July 2023, 08:28:21 »
This is pretty neat!  I like where this is going.  It makes me appreciate the simplicity of Alpha Strike even more with how little data is needed to spec a unit for the game.  You can program literally any 'mech into this game as-is.

For those who are curious, here's the unit readme from the project's GitHub page:  https://github.com/jonathanabennett/megastrike/blob/v1.1.0/data/units/README.org

Just design a unit in MegaMekLab, copy the Alpha Strike stats to somewhere, then make a unit file out of them!

Once I get playing with this maybe I'll submit a PR for some Clan 'mech cards  :evil:

For the upcoming map work, have you considered using the existing MegaMek board format and tilesets?
« Last Edit: 24 July 2023, 08:31:25 by BATTLEMASTER »
BATTLEMASTER
Trombone Player, Lego Enthusiast, Engineer
Clan Smoke Jaguar, Delta Galaxy ("The Cloud Rangers"), 4th Jaguar Dragoons
"You better stand back, I'm not sure how loud this thing can get!"
If you like Lego, you'll like my Lego battlemech projects!

BATTLEMASTER

  • Captain
  • *
  • Posts: 2368
  • Hot and Unbothered
Re: MegaStrike v1.1.0: Custom Battles
« Reply #2 on: 24 July 2023, 18:20:01 »
I'm trying to install MegaStrike via the Roswell method.  It looks like Roswell installed itself and its dependencies just fine, but every time I try to run "ros install jonathanabennett/megastrike" (without quotes) I got as far as:

[1/3] System 'megastrike' found.  Loading the system..
;
 compilation unit aborted
;  caught 2 fatal ERROR conditions

And that's it.  Any ideas why this is happening?  I'm running Windows 10.
BATTLEMASTER
Trombone Player, Lego Enthusiast, Engineer
Clan Smoke Jaguar, Delta Galaxy ("The Cloud Rangers"), 4th Jaguar Dragoons
"You better stand back, I'm not sure how loud this thing can get!"
If you like Lego, you'll like my Lego battlemech projects!

doulos05

  • Warrant Officer
  • *
  • Posts: 666
Re: MegaStrike v1.1.0: Custom Battles
« Reply #3 on: 25 July 2023, 19:23:49 »
Ah, I think I may have found the problem, I will have a patch for it by the end of the day (I'm on SE Asian time, so tomorrow morning US time).
I mean, it's not like once you having something in low Earth orbit you can stick a gassy astronaut on the outside after Chili Night and fart it anywhere in the solar system.

doulos05

  • Warrant Officer
  • *
  • Posts: 666
Re: MegaStrike v1.1.0: Custom Battles
« Reply #4 on: 26 July 2023, 07:50:15 »
As promised, I've got a release out. This doesn't just fix that bug, it also adds a working Deployment Phase and extremely primitive round reports! So I'm calling this versions 1.2.0 instead of 1.1.1.

Here's a link to the release on Github, but if you follow the installations steps from before, it should work just fine. Let me know if it oesn't.
I mean, it's not like once you having something in low Earth orbit you can stick a gassy astronaut on the outside after Chili Night and fart it anywhere in the solar system.

BATTLEMASTER

  • Captain
  • *
  • Posts: 2368
  • Hot and Unbothered
Re: MegaStrike v1.1.0: Custom Battles
« Reply #5 on: 26 July 2023, 13:07:54 »
I think one of my problems might be that I don't have a recent version of Roswell?  The last Windows binary file I found was from October 2021.  It gives me errors for installing and compiling SBCL.  When I try to install sbcl-bin, it says that I already have it.  And then when I try to install MegaStrike, I get this:

Code: [Select]
Installing from github jonathanabennett/megastrike
To load "megastrike":
  Load 1 ASDF system:
    megastrike
; Loading "megastrike"
..................................................
...............[1/3] System 'megastrike' found. Loading the system..
;
; compilation unit aborted
;   caught 2 fatal ERROR conditions


What I get when trying to install sbcl-bin:

Code: [Select]
No SBCL version specified. Downloading sbcl-bin_uri.tsv to see the available versions...
[##########################################################################]100%
Installing sbcl-bin/2.3.4...
sbcl-bin/2.3.4 is already installed.


What I get when I try to install sbcl:

Code: [Select]
Checking version to install....
Downloading https://github.com/sbcl/sbcl/releases.atom
[##########################################################################]100%
Download msys2-20180531.tar.xz
Downloading http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz
Unhandled UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                         {10010C01E3}>:
  Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {100339F503}>
 with command "C:\\Games\\roswell\\ros.exe roswell-internal-use download http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz C:/Users/Harold/.roswell/archives/msys2-20180531.tar.xz"
 exited with error code 5

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10010C01E3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {100342A283}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {100342A283}>)
2: (INVOKE-DEBUGGER #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {100342A283}>)
3: (CERROR "IGNORE-ERROR-STATUS" UIOP/RUN-PROGRAM:SUBPROCESS-ERROR :COMMAND #<(SIMPLE-BASE-STRING 201) C:\Games\roswell\ros.exe roswell-internal-use download http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz C:/Users/Harold/.roswell/archives/msys2-20180531.tar.x... {10034297BF}> :CODE 5 :PROCESS #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {100339F503}>)
4: (UIOP/RUN-PROGRAM::%CHECK-RESULT 5 :COMMAND #<(SIMPLE-BASE-STRING 201) C:\Games\roswell\ros.exe roswell-internal-use download http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz C:/Users/Harold/.roswell/archives/msys2-20180531.tar.x... {10034297BF}> :PROCESS #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {100339F503}> :IGNORE-ERROR-STATUS NIL)
5: (UIOP/RUN-PROGRAM::%USE-LAUNCH-PROGRAM #<(SIMPLE-BASE-STRING 201) C:\Games\roswell\ros.exe roswell-internal-use download http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz C:/Users/Harold/.roswell/archives/msys2-20180531.tar.x... {10034297BF}> :OUTPUT :INTERACTIVE :FORCE-SHELL NIL :ERROR-OUTPUT :INTERACTIVE)
6: (ROSWELL:ROSWELL ("roswell-internal-use" "download" "http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz" #P"C:/Users/Harold/.roswell/archives/msys2-20180531.tar.xz") :INTERACTIVE NIL)
7: (ROSWELL.INSTALL.MSYS2+::MSYS2-SETUP (:TARGET "msys2+" :VERSION "20180531" :VERSION-NOT-SPECIFIED 0 :ARGV NIL))
8: (INSTALL-IMPL "msys2+" NIL NIL (#<FUNCTION (LAMBDA (ROSWELL.INSTALL::ARGV) :IN DECIDE-VERSION) {100342753B}> ROSWELL.INSTALL.MSYS2+::MSYS2-SETUP))
9: (INSTALL-IMPL-IF-PROBED "msys2+" NIL #<unavailable argument>)
10: (INSTALL NIL)
11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
12: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
13: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL NIL)
14: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL)
15: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {100219E373}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
16: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {100219E373}> NIL)
17: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {5FF1FB}> #<CONCATENATED-STREAM :STREAMS NIL {100219E373}> NIL #<CONCATENATED-STREAM :STREAMS NIL {100219E373}>)
18: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {100219E373}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
19: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file C:\\Games\\roswell\\lisp\\install.ros" {100219D183}>)
20: (ROSWELL:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "msys2+")
21: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "msys2+") (:QUIT NIL)))
22: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "msys2+") (:QUIT NIL)))) #<NULL-LEXENV>)
23: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "msys2+") (:QUIT NIL)))))
24: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"C:\\\\\\\\Games\\\\\\\\roswell\\\\\\\\lisp\\\\\\\\init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")(:script \"C:\\\\\\\\Games\\\\\\\\roswell\\\\\\\\lisp\\\\\\\\install.ros\"\"msys2+\")(:quit ())))")))
25: (SB-IMPL::TOPLEVEL-INIT)
26: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
27: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
28: (SB-IMPL::%START-LISP)
29: ("foreign function: #x14003E2F5")
30: ("foreign function: #x140006930")

unhandled condition in --disable-debugger mode, quitting
Unhandled UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                         {10010C01E3}>:
  Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {10037EFD33}>
 with command "C:\\Games\\roswell\\ros.exe install msys2+"
 exited with error code 1

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10010C01E3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {10038586B3}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {10038586B3}>)
2: (INVOKE-DEBUGGER #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {10038586B3}>)
3: (CERROR "IGNORE-ERROR-STATUS" UIOP/RUN-PROGRAM:SUBPROCESS-ERROR :COMMAND "C:\\Games\\roswell\\ros.exe install msys2+" :CODE 1 :PROCESS #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {10037EFD33}>)
4: (UIOP/RUN-PROGRAM::%CHECK-RESULT 1 :COMMAND "C:\\Games\\roswell\\ros.exe install msys2+" :PROCESS #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {10037EFD33}> :IGNORE-ERROR-STATUS NIL)
5: (UIOP/RUN-PROGRAM::%USE-LAUNCH-PROGRAM "C:\\Games\\roswell\\ros.exe install msys2+" :OUTPUT :INTERACTIVE :FORCE-SHELL NIL :ERROR-OUTPUT :INTERACTIVE)
6: (ROSWELL:ROSWELL ("install msys2+") :INTERACTIVE NIL)
7: (ROSWELL.INSTALL.SBCL::SBCL-MSYS (:TARGET "sbcl" :VERSION "2.2.9" :VERSION-NOT-SPECIFIED 0 :ARGV NIL))
8: (INSTALL-IMPL "sbcl" NIL NIL (#<FUNCTION (LAMBDA (ROSWELL.INSTALL::ARGV) :IN DECIDE-VERSION) {100342F6FB}> ROSWELL.INSTALL.SBCL::SBCL-ARGV-PARSE ROSWELL.INSTALL.SBCL::SBCL-MSYS ROSWELL.INSTALL.SBCL::SBCL-START START #<FUNCTION (LAMBDA (ROSWELL.INSTALL::ARGV) :IN DECIDE-DOWNLOAD) {100342F71B}> ROSWELL.INSTALL.SBCL::SBCL-EXPAND ROSWELL.INSTALL.SBCL::SBCL-PATCH ROSWELL.INSTALL.SBCL::SBCL-CONFIG ROSWELL.INSTALL.SBCL::SBCL-MAKE ROSWELL.INSTALL.SBCL::SBCL-INSTALL ROSWELL.INSTALL.SBCL::SBCL-INSTALL-WIN32 ...))
9: (INSTALL-IMPL-IF-PROBED "sbcl" NIL #<unavailable argument>)
10: (INSTALL NIL)
11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
12: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
13: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL NIL)
14: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL)
15: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
16: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}> NIL)
17: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {5FF1FB}> #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}> NIL #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}>)
18: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
19: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file C:\\Games\\roswell\\lisp\\install.ros" {10021AD183}>)
20: (ROSWELL:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "sbcl")
21: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "sbcl") (:QUIT NIL)))
22: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "sbcl") (:QUIT NIL)))) #<NULL-LEXENV>)
23: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "sbcl") (:QUIT NIL)))))
24: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"C:\\\\\\\\Games\\\\\\\\roswell\\\\\\\\lisp\\\\\\\\init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")(:script \"C:\\\\\\\\Games\\\\\\\\roswell\\\\\\\\lisp\\\\\\\\install.ros\"\"sbcl\")(:quit ())))")))
25: (SB-IMPL::TOPLEVEL-INIT)
26: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
27: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
28: (SB-IMPL::%START-LISP)
29: ("foreign function: #x14003E2F5")
30: ("foreign function: #x140006930")

unhandled condition in --disable-debugger mode, quitting


I feel like this LISP thing is harder to get working than a JRE.
BATTLEMASTER
Trombone Player, Lego Enthusiast, Engineer
Clan Smoke Jaguar, Delta Galaxy ("The Cloud Rangers"), 4th Jaguar Dragoons
"You better stand back, I'm not sure how loud this thing can get!"
If you like Lego, you'll like my Lego battlemech projects!

Lanceman

  • Catalyst Demo Team
  • Warrant Officer
  • *
  • Posts: 714
  • Blake Be Praised
Re: MegaStrike v1.1.0: Custom Battles
« Reply #6 on: 26 July 2023, 15:43:47 »
I think one of my problems might be that I don't have a recent version of Roswell?  The last Windows binary file I found was from October 2021.  It gives me errors for installing and compiling SBCL.  When I try to install sbcl-bin, it says that I already have it.  And then when I try to install MegaStrike, I get this:

Code: [Select]
Installing from github jonathanabennett/megastrike
To load "megastrike":
  Load 1 ASDF system:
    megastrike
; Loading "megastrike"
..................................................
...............[1/3] System 'megastrike' found. Loading the system..
;
; compilation unit aborted
;   caught 2 fatal ERROR conditions


What I get when trying to install sbcl-bin:

Code: [Select]
No SBCL version specified. Downloading sbcl-bin_uri.tsv to see the available versions...
[##########################################################################]100%
Installing sbcl-bin/2.3.4...
sbcl-bin/2.3.4 is already installed.


What I get when I try to install sbcl:

Code: [Select]
Checking version to install....
Downloading https://github.com/sbcl/sbcl/releases.atom
[##########################################################################]100%
Download msys2-20180531.tar.xz
Downloading http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz
Unhandled UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                         {10010C01E3}>:
  Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {100339F503}>
 with command "C:\\Games\\roswell\\ros.exe roswell-internal-use download http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz C:/Users/Harold/.roswell/archives/msys2-20180531.tar.xz"
 exited with error code 5

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10010C01E3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {100342A283}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {100342A283}>)
2: (INVOKE-DEBUGGER #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {100342A283}>)
3: (CERROR "IGNORE-ERROR-STATUS" UIOP/RUN-PROGRAM:SUBPROCESS-ERROR :COMMAND #<(SIMPLE-BASE-STRING 201) C:\Games\roswell\ros.exe roswell-internal-use download http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz C:/Users/Harold/.roswell/archives/msys2-20180531.tar.x... {10034297BF}> :CODE 5 :PROCESS #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {100339F503}>)
4: (UIOP/RUN-PROGRAM::%CHECK-RESULT 5 :COMMAND #<(SIMPLE-BASE-STRING 201) C:\Games\roswell\ros.exe roswell-internal-use download http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz C:/Users/Harold/.roswell/archives/msys2-20180531.tar.x... {10034297BF}> :PROCESS #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {100339F503}> :IGNORE-ERROR-STATUS NIL)
5: (UIOP/RUN-PROGRAM::%USE-LAUNCH-PROGRAM #<(SIMPLE-BASE-STRING 201) C:\Games\roswell\ros.exe roswell-internal-use download http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz C:/Users/Harold/.roswell/archives/msys2-20180531.tar.x... {10034297BF}> :OUTPUT :INTERACTIVE :FORCE-SHELL NIL :ERROR-OUTPUT :INTERACTIVE)
6: (ROSWELL:ROSWELL ("roswell-internal-use" "download" "http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20180531.tar.xz" #P"C:/Users/Harold/.roswell/archives/msys2-20180531.tar.xz") :INTERACTIVE NIL)
7: (ROSWELL.INSTALL.MSYS2+::MSYS2-SETUP (:TARGET "msys2+" :VERSION "20180531" :VERSION-NOT-SPECIFIED 0 :ARGV NIL))
8: (INSTALL-IMPL "msys2+" NIL NIL (#<FUNCTION (LAMBDA (ROSWELL.INSTALL::ARGV) :IN DECIDE-VERSION) {100342753B}> ROSWELL.INSTALL.MSYS2+::MSYS2-SETUP))
9: (INSTALL-IMPL-IF-PROBED "msys2+" NIL #<unavailable argument>)
10: (INSTALL NIL)
11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
12: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
13: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL NIL)
14: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL)
15: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {100219E373}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
16: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {100219E373}> NIL)
17: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {5FF1FB}> #<CONCATENATED-STREAM :STREAMS NIL {100219E373}> NIL #<CONCATENATED-STREAM :STREAMS NIL {100219E373}>)
18: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {100219E373}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
19: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file C:\\Games\\roswell\\lisp\\install.ros" {100219D183}>)
20: (ROSWELL:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "msys2+")
21: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "msys2+") (:QUIT NIL)))
22: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "msys2+") (:QUIT NIL)))) #<NULL-LEXENV>)
23: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "msys2+") (:QUIT NIL)))))
24: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"C:\\\\\\\\Games\\\\\\\\roswell\\\\\\\\lisp\\\\\\\\init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")(:script \"C:\\\\\\\\Games\\\\\\\\roswell\\\\\\\\lisp\\\\\\\\install.ros\"\"msys2+\")(:quit ())))")))
25: (SB-IMPL::TOPLEVEL-INIT)
26: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
27: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
28: (SB-IMPL::%START-LISP)
29: ("foreign function: #x14003E2F5")
30: ("foreign function: #x140006930")

unhandled condition in --disable-debugger mode, quitting
Unhandled UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                         {10010C01E3}>:
  Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {10037EFD33}>
 with command "C:\\Games\\roswell\\ros.exe install msys2+"
 exited with error code 1

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10010C01E3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {10038586B3}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {10038586B3}>)
2: (INVOKE-DEBUGGER #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {10038586B3}>)
3: (CERROR "IGNORE-ERROR-STATUS" UIOP/RUN-PROGRAM:SUBPROCESS-ERROR :COMMAND "C:\\Games\\roswell\\ros.exe install msys2+" :CODE 1 :PROCESS #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {10037EFD33}>)
4: (UIOP/RUN-PROGRAM::%CHECK-RESULT 1 :COMMAND "C:\\Games\\roswell\\ros.exe install msys2+" :PROCESS #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {10037EFD33}> :IGNORE-ERROR-STATUS NIL)
5: (UIOP/RUN-PROGRAM::%USE-LAUNCH-PROGRAM "C:\\Games\\roswell\\ros.exe install msys2+" :OUTPUT :INTERACTIVE :FORCE-SHELL NIL :ERROR-OUTPUT :INTERACTIVE)
6: (ROSWELL:ROSWELL ("install msys2+") :INTERACTIVE NIL)
7: (ROSWELL.INSTALL.SBCL::SBCL-MSYS (:TARGET "sbcl" :VERSION "2.2.9" :VERSION-NOT-SPECIFIED 0 :ARGV NIL))
8: (INSTALL-IMPL "sbcl" NIL NIL (#<FUNCTION (LAMBDA (ROSWELL.INSTALL::ARGV) :IN DECIDE-VERSION) {100342F6FB}> ROSWELL.INSTALL.SBCL::SBCL-ARGV-PARSE ROSWELL.INSTALL.SBCL::SBCL-MSYS ROSWELL.INSTALL.SBCL::SBCL-START START #<FUNCTION (LAMBDA (ROSWELL.INSTALL::ARGV) :IN DECIDE-DOWNLOAD) {100342F71B}> ROSWELL.INSTALL.SBCL::SBCL-EXPAND ROSWELL.INSTALL.SBCL::SBCL-PATCH ROSWELL.INSTALL.SBCL::SBCL-CONFIG ROSWELL.INSTALL.SBCL::SBCL-MAKE ROSWELL.INSTALL.SBCL::SBCL-INSTALL ROSWELL.INSTALL.SBCL::SBCL-INSTALL-WIN32 ...))
9: (INSTALL-IMPL-IF-PROBED "sbcl" NIL #<unavailable argument>)
10: (INSTALL NIL)
11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (APPLY (QUOTE MAIN) ROSWELL:*ARGV*) #<NULL-LEXENV>)
12: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) #<NULL-LEXENV>)
13: (SB-EXT:EVAL-TLF (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL NIL)
14: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (ROSWELL:QUIT (APPLY (QUOTE MAIN) ROSWELL:*ARGV*)) NIL)
15: (SB-INT:LOAD-AS-SOURCE #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
16: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}> NIL)
17: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {5FF1FB}> #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}> NIL #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}>)
18: (LOAD #<CONCATENATED-STREAM :STREAMS NIL {10021AE373}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
19: ((FLET ROSWELL::BODY :IN ROSWELL:SCRIPT) #<SB-SYS:FD-STREAM for "file C:\\Games\\roswell\\lisp\\install.ros" {10021AD183}>)
20: (ROSWELL:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "sbcl")
21: (ROSWELL:RUN ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "sbcl") (:QUIT NIL)))
22: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "sbcl") (:QUIT NIL)))) #<NULL-LEXENV>)
23: (EVAL (ROSWELL:RUN (QUOTE ((:EVAL "(ros:quicklisp)") (:SCRIPT "C:\\\\Games\\\\roswell\\\\lisp\\\\install.ros" "sbcl") (:QUIT NIL)))))
24: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(progn #-ros.init(cl:load \"C:\\\\\\\\Games\\\\\\\\roswell\\\\\\\\lisp\\\\\\\\init.lisp\"))") (:EVAL . "(ros:run '((:eval\"(ros:quicklisp)\")(:script \"C:\\\\\\\\Games\\\\\\\\roswell\\\\\\\\lisp\\\\\\\\install.ros\"\"sbcl\")(:quit ())))")))
25: (SB-IMPL::TOPLEVEL-INIT)
26: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
27: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
28: (SB-IMPL::%START-LISP)
29: ("foreign function: #x14003E2F5")
30: ("foreign function: #x140006930")

unhandled condition in --disable-debugger mode, quitting


I feel like this LISP thing is harder to get working than a JRE.

This is where I'm at too. Same errors.
"Pure truth cannot be assimilated by the crowd; it must be communicated by contagion" -  Henri-Frédéric Amiel

doulos05

  • Warrant Officer
  • *
  • Posts: 666
Re: MegaStrike v1.1.0: Custom Battles
« Reply #7 on: 26 July 2023, 18:07:49 »
This is where I'm at too. Same errors.

Ok, I've done some digging this morning and I think I can figure out a Github Action that'll give me a tarball with an executable you can just download, untar, and run. It's my understanding (which I'll test today) that the binary inside this tarball should be 100% self-contained, requiring only the external assets like images and mek stat files to run (which I'll have in the tarball), so you should just be able to download, untar, and double-click "megastrike" to run. I'm confirming this now on linux, I'll test it on Mac at some point today, and then I'll test on my wife's computer tonight with Windows.
I mean, it's not like once you having something in low Earth orbit you can stick a gassy astronaut on the outside after Chili Night and fart it anywhere in the solar system.

BATTLEMASTER

  • Captain
  • *
  • Posts: 2368
  • Hot and Unbothered
Re: MegaStrike v1.1.0: Custom Battles
« Reply #8 on: 26 July 2023, 20:56:56 »
I'm confirming this now on linux, I'll test it on Mac at some point today, and then I'll test on my wife's computer tonight with Windows.

Maybe you can convince your wife to get you an old Surface Pro of some flavor for your birthday for your Windows needs  :laugh:
BATTLEMASTER
Trombone Player, Lego Enthusiast, Engineer
Clan Smoke Jaguar, Delta Galaxy ("The Cloud Rangers"), 4th Jaguar Dragoons
"You better stand back, I'm not sure how loud this thing can get!"
If you like Lego, you'll like my Lego battlemech projects!

doulos05

  • Warrant Officer
  • *
  • Posts: 666
Re: MegaStrike v1.1.0: Custom Battles
« Reply #9 on: 27 July 2023, 06:20:22 »
Maybe you can convince your wife to get you an old Surface Pro of some flavor for your birthday for your Windows needs  :laugh:

You know what... I just realized I DO have an old windows machine laying around. Her old netbook. I'll see if I can get it working on that either tonight or tomorrow since my efforts and building via Github have failed (can't even get a Linux build to run on my dev machine).

Can I just check, which installation method for Roswell are you using?
« Last Edit: 27 July 2023, 06:37:44 by doulos05 »
I mean, it's not like once you having something in low Earth orbit you can stick a gassy astronaut on the outside after Chili Night and fart it anywhere in the solar system.

doulos05

  • Warrant Officer
  • *
  • Posts: 666
Re: MegaStrike v1.1.0: Custom Battles
« Reply #10 on: 27 July 2023, 09:13:09 »
Ok, after extensive testing, I can confirm that I no longer remember anything about how Windows works, lol. But, I have learned a lot.

I believe that if someone can work out the correct incantations on the Window command line (using Powershell 4, not Powershell 5+, because Powershell 4 is what the windows system github actions uses is running) to do the following, I can get it to build something:

1) Download this zip file: https://github.com/sbcl/sbcl/suites/14610349674/artifacts/828195592 (preferably into the parent of the pwd).
2) Extract the contents (anywhere other than the pwd while still on the path will do, alternatively you can add wherever you extracted it to the path).
3) Run the installer (.msi file) contained inside that zip file.
4) Download this file: https://beta.quicklisp.org/quicklisp.lisp (preferably into the parent of the pwd).

If someone can work that much out, I feel confident I can get from that step to a working bin file via Github Actions, at which point I'll zip that up and post it here for testing. Assuming it works, I'll have it auto-build a Windows zip file with every release.
I mean, it's not like once you having something in low Earth orbit you can stick a gassy astronaut on the outside after Chili Night and fart it anywhere in the solar system.

Lanceman

  • Catalyst Demo Team
  • Warrant Officer
  • *
  • Posts: 714
  • Blake Be Praised
Re: MegaStrike v1.1.0: Custom Battles
« Reply #11 on: 27 July 2023, 10:27:50 »
You know what... I just realized I DO have an old windows machine laying around. Her old netbook. I'll see if I can get it working on that either tonight or tomorrow since my efforts and building via Github have failed (can't even get a Linux build to run on my dev machine).

Can I just check, which installation method for Roswell are you using?

I have tried both the scoop and the msys2 method per the Roswell github as well as manually installing the last available Windows binary, all end up basically in the same spot.
"Pure truth cannot be assimilated by the crowd; it must be communicated by contagion" -  Henri-Frédéric Amiel

doulos05

  • Warrant Officer
  • *
  • Posts: 666
Re: MegaStrike v1.1.0: Custom Battles
« Reply #12 on: 01 August 2023, 16:49:29 »
Update:

I've done a lot of checking and asking around in the CL communities and it looks like the general consensus on these installation issues is "You're using McCLIM and Roswell? Good luck!" So when I haven't been entertaining family this week, I've been working on a rewrite using their GTK bindings. Nothing actually works yet besides the render, but here's where I'm up to so far.

Work starts again tomorrow, so progress will slow down, but I will keep chipping away at this (mostly because I don't have anybody here to play Alphastrike with and I really REALLY wanna play Alphastrike, lol).
I mean, it's not like once you having something in low Earth orbit you can stick a gassy astronaut on the outside after Chili Night and fart it anywhere in the solar system.

doulos05

  • Warrant Officer
  • *
  • Posts: 666
Re: MegaStrike v1.1.0: Custom Battles
« Reply #13 on: 28 September 2023, 23:57:12 »
This hasn't died, I promise. The rewrite has just been slower than anticipated, in part because of some incomplete GTK bindings. But I have the following to report:

  • I have every unit that megamek generates alpha strike stats for in the game (though aerospace units are hidden right now because they don't actually work yet)
  • I have unit stats and the map displaying and I am starting work on the deployment phase.
  • Assuming that my dispatch function works the way I expect it to, I think a solid workweek of hours dedicated to the project should get it release ready.

As soon as I can, I'll post updates and pictures and I'll start a new thread once I have a release.
« Last Edit: 29 September 2023, 00:07:02 by doulos05 »
I mean, it's not like once you having something in low Earth orbit you can stick a gassy astronaut on the outside after Chili Night and fart it anywhere in the solar system.

BATTLEMASTER

  • Captain
  • *
  • Posts: 2368
  • Hot and Unbothered
Re: MegaStrike v1.1.0: Custom Battles
« Reply #14 on: 29 September 2023, 19:32:58 »
Good to hear!  Will I still need Roswell to run the updated program?
BATTLEMASTER
Trombone Player, Lego Enthusiast, Engineer
Clan Smoke Jaguar, Delta Galaxy ("The Cloud Rangers"), 4th Jaguar Dragoons
"You better stand back, I'm not sure how loud this thing can get!"
If you like Lego, you'll like my Lego battlemech projects!

doulos05

  • Warrant Officer
  • *
  • Posts: 666
Re: MegaStrike v1.1.0: Custom Battles
« Reply #15 on: 30 September 2023, 06:40:04 »
Good to hear!  Will I still need Roswell to run the updated program?

If I understand how this library works, I should be able to bundle it all up into a binary meaning you won't need to install anything other than Megastrike. But I won't know if that works until I try a release.
I mean, it's not like once you having something in low Earth orbit you can stick a gassy astronaut on the outside after Chili Night and fart it anywhere in the solar system.

 

Register