Jump to content

TXG Sync

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by TXG Sync

  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.
  16. Sure, it's a one-trick pony, but WHAT A TRICK! I wanna go try it now. However, I saw a little room for improvement. Compare the two builds: nearly identical capabilities, but these tweaks give you improved defense, resistance, and status at the cost of very slightly higher end drain with improved end generation to compensate. I personally wouldn't quite slot this way because I rarely find endurance a problem due to Transference, but Whirlwind is an end hog for sure! I find Pine's lack of the new knockback set... disturbing. Empty slots bug me, but we all know what they are... Hero Plan by Mids' Hero Designer 1.962 http://www.cohplanner.com/ Click this DataLink to open the build! Level 50 Magic Controller Primary Power Set: Fire Control Secondary Power Set: Kinetics Power Pool: Leadership Power Pool: Fighting Ancillary Pool: Primal Forces Mastery Hero Profile: Level 1: Char (A) Unbreakable Constraint - Chance for Smashing Damage (3) Unbreakable Constraint - Accuracy/Recharge (3) Unbreakable Constraint - Accuracy/Hold/Recharge (5) Unbreakable Constraint - Hold/Recharge (5) Unbreakable Constraint - Hold Level 1: Transfusion (A) Touch of the Nictus - Accuracy/Endurance/Heal/HitPoints/Regeneration (7) Touch of the Nictus - Accuracy/Healing (7) Touch of the Nictus - Heal/HitPoints/Regeneration/Recharge (9) Touch of the Nictus - Healing (9) Touch of the Nictus - Chance for Negative Energy Damage (11) Touch of the Nictus - Accuracy/Endurance/Recharge Level 2: Fire Cages (A) Gravitational Anchor - Chance for Hold (11) Gravitational Anchor - Immobilize (13) Gravitational Anchor - Immobilize/Recharge (13) Gravitational Anchor - Accuracy/Immobilize/Recharge (15) Gravitational Anchor - Accuracy/Recharge Level 4: Hasten (A) Recharge Reduction IO (19) Recharge Reduction IO Level 6: Maneuvers (A) Luck of the Gambler - Recharge Speed (21) Luck of the Gambler - Defense/Endurance (21) Luck of the Gambler - Defense (23) Luck of the Gambler - Defense/Recharge (23) Luck of the Gambler - Endurance/Recharge Level 8: Hot Feet (A) Armageddon - Chance for Fire Damage (25) Armageddon - Damage (25) Armageddon - Damage/Endurance (27) Armageddon - Damage/Recharge (27) Armageddon - Accuracy/Damage/Recharge (29) Armageddon - Accuracy/Recharge Level 10: Siphon Speed (A) Accuracy IO (29) Recharge Reduction IO (31) Recharge Reduction IO Level 12: Super Speed (A) Celerity - +Stealth Level 14: Whirlwind (A) Force Feedback - Chance for +Recharge (31) Empty (31) Endurance Reduction IO (33) Endurance Reduction IO Level 16: Increase Density (A) Impervium Armor - Psionic Resistance Level 18: Kick (A) Empty Level 20: Speed Boost (A) Blessing of the Zephyr - Knockback Reduction (4 points) Level 22: Tactics (A) Adjusted Targeting - To Hit Buff/Endurance (33) Adjusted Targeting - Endurance/Recharge (33) Adjusted Targeting - To Hit Buff/Endurance/Recharge (34) Adjusted Targeting - To Hit Buff/Recharge (34) Adjusted Targeting - To Hit Buff Level 24: Combat Jumping (A) Luck of the Gambler - Recharge Speed (34) Shield Wall - +Res (Teleportation), +5% Res (All) (36) Kismet - Accuracy +6% (36) Reactive Defenses - Scaling Resist Damage Level 26: Bonfire (A) Overwhelming Force - Damage/Chance for Knockdown/Knockback to Knockdown (36) Ragnarok - Damage (37) Ragnarok - Damage/Recharge (37) Ragnarok - Accuracy/Damage/Recharge (37) Ragnarok - Accuracy/Recharge (39) Ragnarok - Damage/Endurance Level 28: Inertial Reduction (A) Winter's Gift - Run Speed, Jump, Flight Speed, Range/Endurance Level 30: Tough (A) Steadfast Protection - Resistance/+Def 3% (39) Steadfast Protection - Resistance/Endurance (39) Steadfast Protection - Knockback Protection Level 32: Fire Imps (A) Soulbound Allegiance - Chance for Build Up (40) Soulbound Allegiance - Damage (40) Sovereign Right - Resistance Bonus (40) Sovereign Right - Accuracy/Damage (42) Expedient Reinforcement - Resist Bonus Aura for Pets (42) Expedient Reinforcement - Accuracy/Damage Level 35: Transference (A) Efficacy Adaptor - EndMod/Accuracy/Recharge (42) Efficacy Adaptor - Accuracy/Recharge (43) Efficacy Adaptor - EndMod/Accuracy (43) Efficacy Adaptor - EndMod (43) Efficacy Adaptor - EndMod/Endurance (45) Efficacy Adaptor - EndMod/Recharge Level 38: Fulcrum Shift (A) Accuracy IO (45) Recharge Reduction IO (45) Recharge Reduction IO Level 41: Conserve Power (A) Recharge Reduction IO (46) Recharge Reduction IO (46) Recharge Reduction IO Level 44: Temp Invulnerability (A) Unbreakable Guard - Resistance/Endurance (46) Unbreakable Guard - +Max HP (48) Unbreakable Guard - Resistance (48) Unbreakable Guard - RechargeTime/Resistance Level 47: Weave (A) Luck of the Gambler - Defense (48) Luck of the Gambler - Recharge Speed (50) Luck of the Gambler - Defense/Endurance (50) Luck of the Gambler - Defense/Endurance/Recharge Level 49: Power Boost (A) Recharge Reduction IO (50) Recharge Reduction IO Level 1: Brawl (A) Empty Level 1: Containment Level 1: Prestige Power Dash (A) Empty Level 1: Prestige Power Slide (A) Empty Level 1: Prestige Power Quick (A) Empty Level 1: Prestige Power Rush (A) Empty Level 1: Prestige Power Surge (A) Empty Level 1: Sprint (A) Empty Level 2: Rest (A) Empty Level 2: Swift (A) Run Speed IO Level 2: Health (A) Miracle - +Recovery (15) Numina's Convalesence - +Regeneration/+Recovery (17) Preventive Medicine - Chance for +Absorb Level 2: Hurdle (A) Jumping IO Level 2: Stamina (A) Performance Shifter - EndMod (17) Performance Shifter - Chance for +End (19) Endurance Modification IO Level 4: Ninja Run ------------ ------------ Set Bonus Totals: 4.5% DamageBuff(Smashing) 4.5% DamageBuff(Lethal) 4.5% DamageBuff(Fire) 4.5% DamageBuff(Cold) 4.5% DamageBuff(Energy) 4.5% DamageBuff(Negative) 4.5% DamageBuff(Toxic) 4.5% DamageBuff(Psionic) 6.13% Defense(Melee) 4.56% Defense(Smashing) 4.56% Defense(Lethal) 3% Defense(Fire) 3% Defense(Cold) 3% Defense(Energy) 3% Defense(Negative) 3% Defense(Psionic) 3% Defense(Ranged) 3% Defense(AoE) 2.25% Max End 96% Enhancement(Accuracy) 2.5% Enhancement(Max EnduranceDiscount) 72.5% Enhancement(RechargeTime) 5% Enhancement(Heal) 7.5% SpeedFlying GrantPower Preventive Medicine (10% chance, if Scourge) 145 HP (14.25%) HitPoints 7.5% JumpHeight 7.5% SpeedJumping Knockback (Mag -8) Knockup (Mag -8) MezResist(Confused) 75% MezResist(Held) 75% MezResist(Immobilized) 75% MezResist(Sleep) 75% MezResist(Stunned) 75% MezResist(Terrorized) 75% 19% (0.32 End/sec) Recovery 54% (2.29 HP/sec) Regeneration 28.75% Resistance(Smashing) 28.75% Resistance(Lethal) 49% Resistance(Fire) 49% Resistance(Cold) 36.25% Resistance(Energy) 36.25% Resistance(Negative) 31% Resistance(Toxic) 37% Resistance(Psionic) 0% Resistance(Smashing) 0% Resistance(Lethal) 0% Resistance(Fire) 0% Resistance(Cold) 0% Resistance(Energy) 0% Resistance(Negative) 0% Resistance(Toxic) 0% Resistance(Psionic) 7.5% SpeedRunning
  17. It's neither a stupid nor tedious question. Seeing that so many asked in so many threads, I sat down and figured out how to do it. Contrary to previous assertions, Pine's runs fine on macOS. Takes about five minutes with "brew". See my guide here: https://forums.homecomingservers.com/index.php/topic,4818.0.html Quoting myself for the lazy:
  18. CURRENT STATUS: Codeweavers just released a brand-new Wine interpreter that deals better with 32-bit executables on November 22, 2019. I'm going to experiment with it over the Thanksgiving holiday to see if I can fix the broken macOS Catalina status. FORMER STATUS: Broken on macOS Catalina because the .Net 4.0 and 4.7 installers are both PE32 executables. I have not yet figured out a workaround. Only works (more or less) on Mojave. YMMV. You should be running the most recent Island Rum regardless, which shares a dependency upon Brew. 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 Lots of to-do here. What started as instructions to write your own shell script is morphing into an actual installer...
  19. It was a little irritating to me that I couldn't work with Pine's Hero Designer on Mac, so I sat down & figured it out tonight. Here are step-by-step instructions for getting Pine's Hero Designer working on macOS Mojave: [*]Install Homebrew. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" [*]Install wine & winetricks. brew install wine winetricks [*]Set up Wine. You might want to add these commands to your .bashrc, .shrc, or .zshrc file in your ${HOME} directory so you don't have to set it every time. export WINEARCH="win32" export WINEPREFIX="${HOME}/.wine32" [*]Set up .Net 4.0. Follow the prompts, it's just the normal Windows installer in which you have to accept the license agreement. winetricks dotnet40 [*]Assuming you've already downloaded Pine's Hero Designer, extract it into the equivalent of c:\Program Files. cd ${WINEPREFIX}/drive_c/Program\ Files unzip ~/Downloads/Hero\ Designer.zip [*]Run Pine's Hero Designer. wine ${WINEPREFIX}/drive_c/Program\ Files/Pine\'s\ Hero\ Designer/Hero\ Designer.exe [*]Turn off "pop-ups", otherwise it gets pretty slow. But it works! EDIT: Moved to https://forums.homecomingservers.com/index.php/topic,4818.0.html
×
×
  • Create New...