Jump to content

TXG Sync

Members
  • Posts

    19
  • Joined

  • Last visited

Reputation

5 Neutral

About TXG Sync

  • Birthday 01/01/1004

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @WanderingAries Fair observation on the title. Crossover just released a new Wine update today that addresses some 32-bit compatibility challenges on macOS Catalina. I'll adjust the title and -- assuming the new Wine release works as I assume it does -- an updated howto some time next week. @arcaneholocaust: Thanks for the feedback. The next logical step would be for me to bundle the Wine bottle with the Homecoming Hero Designer app so that it's easier to install than a bunch of commands in Terminal. I need to figure out where to store & allow downloads of the release that doesn't cost me much money. "Wine bottles" are kind of notoriously large. I have next week off, so I should have a little time to help out again & figure that part out.
  2. Basically, at this point I have no option for running Homecoming Hero Designer on 64-bit macOS Catalina. The old 32-bit installer above works fine assuming you already have Brew installed, but you might need to run the script contained in the "installer" by hand from Terminal rather than just double-clicking due to security constraints. Yeah, not simple. I started hacking on a "native" version for macOS that just uses the Homecoming Hero Designer databases (basically just text files with xml data), but I've never been a User Interface person. That said, I'm still plugging away at it on weekends here & there; maybe one day I'll have something reasonable to share once I get beyond the "learning how to lay out interface elements in SwiftUI" phase.
  3. Issues trying to get HHD running on macOS Catalina persist. Basic issue: the .Net 4.0 installer is a PE32 executable: $ file dotnet40.exe dotnet40.exe: PE32 executable (GUI) Intel 80386, for MS Windows And Catalina disallows any execution of 32-bit code. So even the installer itself for Microsoft's .Net has a 32-bit dependency. I think my workaround might need to be a VM that's running an older version of macOS -- even Mojave is OK -- to create the installed WINEPREFIX for Homecoming hero Designer, and have a gigantic download. Other paths I've played with: trying to build it in Mono, trying to build on Windows in pure 64-bit mode, using only the .Net 2.0 installer in 64-bit, and more. So far no joy for me. Whenever I reach a point in software development that I'm resorting to such hackish workarounds, I usually need to stop & rethink my approach. I recently got hacking around importing the data from HHD's source code into a little SwiftUI app. I can't do much more than display drop-downs of powersets right now, but maybe the right approach here is to leverage the hard work of the HHD team but with a native UI of some sort. Not sure I'm up to that task, but I'll keep fiddling with it. SwiftUI is the bomb. Makes it really intuitive even for an old UNIX graybeard like myself to build elegant, beautiful, and functional user interfaces on iOS.
  4. No idea. The "installer" is just a directory that contains a single file, named "Hero Designer Mac Installer". Here's the actual contents. You can run it by hand from Terminal. In fact, various reports in this thread suggest if you don't already have "homebrew" installed, running it by hand works better. #!/usr/bin/env zsh # We're just gonna install brew for users... if [ -f /usr/local/bin/brew ]; then echo "Homebrew found, proceeding..." else echo "Homebrew not found. Installing..." /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" exit 1 fi # Install Wine & Winetricks... brew install winetricks wine # We're pretending to be Win2k, 32-bit edition. export WINEARCH=win32 export WINEPREFIX=${HOME}/.wine32 # Turn off most of the fixme: debug messages... export WINEDEBUG=-all export DOWNLOADLOC=${HOME}/Downloads/ export DOWNLOADURL="https://github.com/ImaginaryDevelopment/imaginary-hero-designer/releases/download/2.6.0.1/HeroDesigner_Release_Net20_2.6.0.1_2019.07.21.00.zip" echo "If the download fails, please grab PHDInstaller.exe to ${DOWNLOADLOC} from" echo "https://forums.homecomingservers.com/index.php/topic,5099.0.html" curl -L -o ${DOWNLOADLOC}PHDInstaller.zip $DOWNLOADURL echo "If you've already installed PHD, you might get an error from mkdir. This is normal." mkdir -p $WINEPREFIX echo "Installing .Net20 and .Net40..." winetricks -q dotnet20 dotnet40 echo "Now running Pine's installer..." mkdir -p ${WINEPREFIX}/drive_c/Program\ Files/Hero\ Designer cd ${WINEPREFIX}/drive_c/Program\ Files/Hero\ Designer/ unzip -o ${DOWNLOADLOC}/PHDInstaller.zip echo "Creating the app link..." APPNAME="Homecoming Hero Designer" DIR="${HOME}/Desktop/${APPNAME}.app" mkdir -p "${DIR}" export HHDLINK="${DIR}/${APPNAME}" echo "#!/usr/bin/env bash export WINEPREFIX=${HOME}/.wine32 export WINEDEBUG=-all export WINEARCH=win32 /usr/local/bin/wine ${WINEPREFIX}/drive_c/Program\ Files/Hero\ Designer/Hero\ Designer.exe" > $HHDLINK chmod +x "${DIR}/${APPNAME}" echo "${HOME}/Desktop/$APPNAME.app" echo "Now running Pine's Hero Designer..." wine ${WINEPREFIX}/drive_c/Program\ Files/Hero\ Designer/Hero\ Designer.exe
  5. Progress so far this week: Got Homecoming Hero Designer to build/run with 64-bit Mono, but WinForms lacks proper 64-bit support so it segfaults on startup. 32-bit Mono gets a little bit further, but still segfaults due to native Windows libraries that don't work on Mac. Going to try some experiments using Cocoa 64-bit experimental libraries and hack on the source a bit, but if I can't get a native port I'm just gonna revise the directions to continue to require Wine.
  6. EDIT: I don't recommend 2.6.0.2 in 64-bit WINEPREFIX on MacOS at this time. Use 2.6.0.1 in a 32-bit WINEPREFIX. 2.6.0.2 on macOS, trying to load any character files you've created results in "Unable to read data - Bad Format. (Exception from HRESULT: 0x8007000B)". Similarly, trying to save data under dotnet472 in 64-bit mode in Wine also fails. So HHD "runs" but doesn't do anything useful yet in 64-bit mode. Gotta figure this out 😄 Quick-and-dirty update with the new version. Download the Hero Designer Rel2 version... Install Wine & winetricks (I use Homebrew, but this can be lots of things) Run Terminal. cd to /some/directory/containing/HHD2.6.0.2/extracted export WINEPREFIX=~/.wine64 export WINEARCH=win64 winetricks -q remove_mono winxp win2k dotnet472 ./Hero\ Designer.exe Gonna see about bundling this up tomorrow in another installer, this time one that avoids the necessity of Homebrew which seemed to be causing the double-install issues you saw. Tech note: the key to getting it running on 64-bit macOS compatible with Catalina seems to be removing Mono, doing a switch of the OS from winxp to win2k, and installing dotnet472 in "quiet" mode (no GUI, no dialogs) rather than via the normal installer.
  7. I will try again with a clean Mac VM this week. Got off sick time and came back from vacation, so I will have some time to try to improve the installer to not need to be run twice, and to use the latest version.
  8. Sorry guys. No progress likely on this unless someone else picks it this week, because, well: https://www.cnn.com/2019/07/28/us/gilroy-garlic-festival-shooting/index.html Yes. My kids and I were right there working the festival. Yes, at least one friend of my high-school-age kids got shot but is expected to recover. No, none of us are injured but there were like ten thousand people there when the shooting started. Mass shootings suck ass. Hope to revisit when I have my head on straight.
  9. Yeah, the simplest-possible Mac app is a folder that contains an executable by the same name as the folder. You get into some plist complexity when packaging something more complicated, and clearly I need to make this Mac wrapper for Pine's much more robust! Working the Gilroy Garlic Festival this weekend, though, so that limits the time I had to play...
  10. Yeah looks like if you don’t have Brew installed already this doesn’t work. Gonna get my Mac VM running tomorrow to take another stab at a fresh installer. Sorry about that.
  11. Yeah, the Net20_2 works like a charm! Thanks! Attached is an installer. Pretty rough second draft, but it's all I have time for today... Download the attached "Hero Designer Mac Installer.zip", then extract and run it. If you're running a recent Mac release, you'll get an error that this is from an "unidentified developer". Open "System Preferences, Security & Privacy, General". You'll see in the "Allow apps downloaded from" section, "Hero Designer Mac Installer was blocked from opening because it is not from an identified developer". If you trust me, click "Open Anyway". If you don't trust me, just unzip the file yourself and run the shell script inside of it after carefully reading it to make sure I'm not doing anything stupid or malicious. Wait a while. You won't see anything happening (unless you're one of the careful people who opened the .app in Terminal and watched the output), then eventually Homecoming Hero Designer will open, and you'll have a "Homecoming Hero Designer" icon on your desktop that you can double-click, drag to Applications, or whatever you want. Hero Designer Mac Installer.zip What this does under the hood: 1. Installs Homebrew, if you don't have it already. 2. Installs Wine and Winetricks to /Users/your_name_here/.wine32 3. Downloads the .Net 2.0 version of Homecoming Hero Designer and extracts it to "/Users/your_name_here/.wine32/drive_c/Program Files/Hero Designer". 4. Writes a .app directory to your Desktop and places a shell script inside of it to launch Homecoming Hero Designer. To-do: Platypus. Git. "Real" installer with logs & everything. Self-contained bottle instead of ${HOME}/.wine32.
  12. The new version of "Homecoming Hero Designer" is kind of painful to install on Wine with the new .Net 4.7.2 requirement. I'm working through bottling it now. Hope to have something to share within a few hours.
  13. That's a great idea. Getting Pine's running on macOS is fairly trivial. It's just a .Net 2.0 app, which is very well-supported by Wine. Who would need to talk to who to make that happen? :P
  14. Awesome, Pine's now includes Sudden Acceleration! I've updated the macOS install & run scripts as below. I probably ought to turn this into a macOS installer like the Island Rum guys did. Copy/paste the below script somewhere handy, like ${HOME}/install_pines.sh, then run "sh ./install_pines.sh". #!/usr/bin/env zsh if [ -f /usr/local/bin/brew ]; then echo "Homebrew found, proceeding..." else echo "Homebrew not found. Please install homebrew & wine:" echo '/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"' echo 'brew install winetricks wine' exit 1 fi # We're pretending to be Win2k, 32-bit edition. export WINEARCH=win32 export WINEPREFIX=${HOME}/.wine32 # Turn off most of the fixme: debug messages... export WINEDEBUG=-all export DOWNLOADLOC=${HOME}/Downloads/ export DOWNLOADURL="https://uc7310449f3ebe2c8098a0a97105.dl.dropboxusercontent.com/cd/0/get/AjPo9UP2imBMcDmUsGQJV7kIZWNx4s011TWjdRxZ4u-YOJN_Mxt1U6zYS4nJNY47rW_TuldSmbMcOAHOb3s5yTmVb7vjCPLG5-UO9kL8ua6kRw/file?_download_id=0563891896500318120972107888994635916355951090329494503191636168&_notify_domain=www.dropbox.com&dl=1" echo "If the download fails, please grab PHDInstaller.exe to ${DOWNLOADLOC} from" echo "https://forums.homecomingservers.com/index.php/topic,5099.0.html" curl -o ${DOWNLOADLOC}PHDInstaller.zip $DOWNLOADURL echo "If you've already installed PHD, you might get an error from mkdir. This is normal." mkdir -p $WINEPREFIX echo "Installing .Net20 and .Net40..." winetricks -q dotnet20 dotnet40 echo "Now running Pine's installer..." unzip ${DOWNLOADLOC}/PHDInstaller.zip mv PHDInstaller.exe ${DOWNLOADLOC} wine ${HOME}/Downloads/PHDInstaller.exe -q #echo "Now running Pine's Hero Designer..." #wine ${WINEPREFIX}/drive_c/users/mbarnson/Application\ Data/Pine\'s\ Hero\ Designer/Hero\ Designer.exe After you've installed it, if you want to run it again, this little script does the trick: #!/usr/bin/env zsh export WINEARCH=win32 export WINEPREFIX=~/.wine32 export WINEDEBUG=-all wine ${WINEPREFIX}/drive_c/users/${USER}/Application\ Data/Pine\'s\ Hero\ Designer/Hero\ Designer.exe
  15. Gotcha. Fair changes. I was trying to keep the theme you'd established while improving defense & resistance, so if those weren't intentional it's a good move.
×
×
  • Create New...