Box86 and Wine on RPi4
-
@mumbojumbo That's very interesting! I tried it, too, but it isn't working for me.
I downloaded Starcraft from battle.net (it's free and has a 32bit binary) transferred the folder to my pi and started it withstarcraft/x86/starcraft.exe -launch
.
I tried that on my windows pc and starcraft can be started that way without battle.net login.So far I had no luck with wine 7.0, wine-staging 7.0 or wine-staging 5.15.
So I assume it must be the version (mine might be 1.18). Could you please post the contents of your
starcraft.sh
file?Oh and also it's normal that you have to try to start wine games more than once. Idk why, but it's a common thing...
-
@ecto the content of the starcraft.sh is:
#!/bin/bash xset -dpms s off s noblank cd "/home/pi/RetroPie/roms/wine/Files/SC/" matchbox-window-manager & WINEDEBUG=-all LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L /opt/retropie/emulators/wine/bin/wine '/home/pi/RetroPie/roms/wine/Files/SC/StarCraft.exe' -fullscreen
And for the failed start I set my Windows Version in winecfg to XP now it starts on first try
-
@mumbojumbo Thanks for the script! I doesn't look much different from my script... maybe I could try the
-fullscreen
switch, but I think it might be my newer version that doesn't start.
I'll try to look for a way to downgrade... -
@ecto I now also tried the newer starcraft but i can't open too. It just crashes back to emulationstation.
i used this sh
#!/bin/bash xset -dpms s off s noblank cd "/home/pi/RetroPie/roms/wine/Files/StarCraft/" matchbox-window-manager & WINEDEBUG=+loaddll BOX86_LOG=1 LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L /opt/retropie/emulators/wine/bin/wine '/home/pi/RetroPie/roms/wine/Files/StarCraft/x86/StarCraft.exe ' -launch -fullscreen
-
@mumbojumbo Thanks for trying! I downgraded to v1.16 and it works out of the box.
-
hmm is there a possibility to pass winEviroment (xp,2000) to wine from sh?
-
I tried wine"7.0.0.0" and mesa-21.3.6. The scripts were able to build by just replacing the version and Space Cadet and Starcraft(v1.16) are still working seems good so far
-
https://github.com/Botspot/pi-apps
On there, there is a script for wine and box86. -
Hey while playing around with Box and Wine i got some questions i am a noob but I hope someone can help. I use the retropie 4.71 image on a pi4.
How can I get information about the driver used from wine/box/xinit or are they all using the same ?In Diablo 2 I can switch between glide, direct3d and ddraw. direct3d doesn't work, ddraw works fine but the aspect ratio doesnt fit in fullscreen tough i set xrandr to 800x600 i get the impression that xrandre ignores ddraw out because it works on glide but on glide there are graphical bugs and its all multicolored lines.....
In Starcraft there is also the problem with the aspect ratio seems to be also ddraw
Is there a possibility to force wine to emulate a screen with a matching ratio like 1600x900 or would this also be ignored by ddraw ?
And for D2 is there a possibility to get the glitvhes out of glide or is this sth the pi4 cant do?
-
@mumbojumbo If you search this thread, there is at least one post by me with a link to a quality of life mod for Diablo 2. You can use this to set up Diablo to use all kinds of resolutions (even widescreen).
The ddraw renderer is the fastest (cnc-ddraw, iirc). I'm using 960x540 and scale that to 1920x1080. This way it still looks like the old Diablo but in widescreen.
To use this renderer you have to copy the ddraw.dll of the cnc-ddraw to the base diablo 2 folder and set
WINEDLLOVERRIDES=ddraw=n,b
in front of your wine command line.There might be further steps, but you can find them in the diablo 2 qol git.
-
-
@ecto puh still trying to get it running... don't know but opening with Plugy leads to crash. When I try in desktop i sometimes get a need CD window... but even with cd mounted it wont do... arg . Its also kind of strange the exe started in windows automatically with pluggy but when i start it on pi it wont use plugy and i get the normal stretched screen.
-
@mumbojumbo You have to use a specific Diablo 2 version (1.13d). After you installed the QoL patch, you have to change the renderer to ddraw.
You have to set your custom resolution in one of the
.ini
files, iirc. Probably inPlugY.ini
, but I'd need to look that up, as I'm away from my Retropie.The game can then be started with the following command:
#!/bin/bash xset -dpms s off s noblank cd "/home/pi/RetroPie/roms/wine/Files/Diablo2/" matchbox-window-manager & WINEDEBUG=-all LD_LIBRARY_PATH="/opt/retropie/supplementary/mesa/lib/" setarch linux32 -L /opt/retropie/emulators/wine/bin/wine Game.exe -direct -txt
I hope this helps a little.
Ah, and one more important thing: When you have PlugY or any other mods enabled in Diablo 2 you should not play on Battle.net, as you might get banned! There is still the option to play on a private server, though. As I'm more of a single-player-guy, that never bothered me..
-
@ecto hmm I was on 1.13c but I also found out that some plugins need dx10 or win7 my wineprefix is running on XP which is yours?
-
@mumbojumbo I'm also using a XP prefix without any winetricks.
I think only the preinstalled glide wrapper of the QoL patch is using dx10. That's why you have to change the renderer to ddraw (or use dxvk, which will not work on our pi4).At first try to get it running with ddraw. If that works you can still change the resolution and everything else.
I remember that it took some time to get everything running, but eventually it will work! Have faith! ;)
-
@ecto is there a glide wrapper using dx9?
For now I got it running with D2SE and test each plugin. I have got the renderer on ddraw. I had a bug with plugy that when opening my character menu the game crashed in the logs there was sth with unimplemented opcode so i disabled the flag "ActiveDisplayBaseStatsValue" in Plugy.ini and now I can open it.-
Plugy works with setting
-
cnc ddraw works too
-
D2Multi Res works too
-
with D2DX it directly crashed
-
with BaseMod it also directly crashed
in D2SE i could check my open gl renderer I dont realy know what to do with this info but it said V3D 4.2
-
-
@mumbojumbo I have D2 also running with Svens Glide Wrapper (Glide -> Open GL). It arguably looks a bit better (pseudo 3d and better lighting/effects) but then again the framerate is only around 20 for me with 960x540.
I have not gotten nGlide (Glide -> DX / Vulkan) wrapper to work. I have one other game that works with the obscure (?) OpenGlide wrapper but other than that, I had no luck with Glide at all so far.
D2DX is for DirectX 11 and will not work without DXVK (and Vulkan for that).
EDIT I think BaseMod is running for me... I really just dropped the whole QoL patch into my D2 folder and edited the settings.
-
@ecto thx alot got it up and running with normal aspect radio and most of the qol mods. I first tried Basemod D2SE modpack it didnt work but after trying again with just the files it worked :). I am using version 1.13c with D2SE around there i had to set in the D2SE_SETUP.ini the flags
#Enable PlugY when ModAllowPlugY=1 EnablePlugY=1 Direct=1 Txt=1
The mods i am using are Plugy (14.03 disable "ActiveDisplayBaseStatsValue" ), cnc-ddraw (WINEDLLOVERRIDES=ddraw=n,b), D2MultiRes113c, BaseMod(1139_1) and BH (1.9.9)
-
I tried setting up all the things without d2se but starting Game.exe never loads Plugy when using Plugy.exe i always get ACESS_VIOLATION c0...05 or it directly quits.. I think i leave it wrapped in D2SE for me.
-
@mumbojumbo Here are some of my .ini files for you to check:
PlugY.ini
;--------------------------------------------------------------------------------------; ; ; ; "PlugY, The Survival Kit" ; ; Configuration file ; ; ; ; by Yohann Nicolas ; ; ; ; version 14.02 ; ; ; ;--------------------------------------------------------------------------------------; ; See PlugY_The_Survival_Kit_-_Readme.txt file for more documentation. ; Voir le fichier PlugY_The_Survival_Kit_-_LisezMoi.txt pour plus d'information. ; Siehe PlugY_The_Survival_Kit_-_Liesmich.txt für weitere Informationen [LAUNCHING] Param= Library=PlugY.dll [GENERAL] ActivePlugin=1 DisableBattleNet=1 ActiveLogFile=0 DllToLoad=Basemod.dll|BH.dll|D2HD.dll DllToLoad2= ActiveCommands=1 ActiveCheckMemory=1 [WINDOWED] ActiveWindowed=0 RemoveBorder=0 WindowOnTop=0 Maximized=0 SetWindowPos=0 X=0 Y=0 Width=0 Height=0 LockMouseOnStartup=0 [LANGUAGE] ;ENG|ESP|DEU|FRA|POR|ITA|JPN|KOR|SIN|CHI|POL|RUS ActiveChangeLanguage=0 SelectedLanguage=ENG [SAVEPATH] ActiveSavePathChange=0 SavePath=Mod PlugY ActiveAutoBackup=1 MaxBackupPerCharacter=20 [MAIN SCREEN] ActiveVersionTextChange=1 VersionText= ColorOfVersionText=0 ActivePrintPlugYVersion=1 ColorOfPlugYVersion=4 [STASH] ActiveBigStash=1 ActiveMultiPageStash=1 NbPagesPerIndex=10 NbPagesPerIndex2=100 MaxPersonnalPages=0 AutoRenameStashPage=0 PersonalNormalPageColor=0 PersonalIndexPageColor=0 PersonalMainIndexPageColor=0 SharedNormalPageColor=4 SharedIndexPageColor=4 SharedMainIndexPageColor=4 ActiveSharedStash=1 ActiveSharedStashInMultiPlayer=0 SeparateHardcoreStash=1 OpenSharedStashOnLoading=0 DisplaySharedSetItemNameInGreen=1 MaxSharedPages=0 ActiveSharedGold=1 [STATS POINTS] ActiveStatsUnassignment=1 KeyUsed=18 ActiveShiftClickLimit=1 LimitValueToShiftClick=10 [SKILLS POINTS] ActiveSkillsUnassignment=1 ActiveSkillsUnassignmentOneForOne=0 [WORLD EVENT] ActiveWorldEvent=0 ShowCounterInAllDifficulty=0 ItemsToSell=The Stone of Jordan MonsterID=333 OwnSOJSoldChargeFor=100 InititalSOJSoldMin=200 InititalSOJSoldMax=3000 TriggerAtEachSOJSoldMin=75 TriggerAtEachSOJSoldMax=125 ActiveAutoSell=1 TimeBeforeAutoSellMin=0 TimeBeforeAutoSellMax=1200 [UBER QUEST] ActiveUberQuest=0 UberMephistoX=25130 UberMephistoY=5143 UberDiabloX=25139 UberDiabloY=5139 UberBaalX=25139 UberBaalY=5135 ActiveUberMinions=1 UberMephistoSpawnPercent=80 UberMephistoSpawnRadius=30 UberBaalSpawnPercent=30 UberBaalSpawnRadius=30 UberDiabloSpawnPercent=30 UberDiabloSpawnRadius=30 ActiveUberDiabloRushTweekAI=1 ActiveUberBaalTeleportTweekAI=1 ActiveUberBaalChillingArmorTweekAI=1 UberBaalChillingArmorTimer=6000 [INTERFACE] ActiveNewStatsInterface=1 SelectMainPageOnOpenning=1 [EXTRA] ActiveLaunchAnyNumberOfLOD=1 AlwaysRegenMapInSP=0 NBPlayersByDefault=1 ActiveDisplayItemLevel=1 AlwaysDisplayLifeAndManaValues=0 EnabledTXTFilesWhenMSExcelOpenIt=1 ActiveDisplayBaseStatsValue=1 ActiveLadderRunewords=1 ActiveCowPortalWhenCowKingWasKilled=1 ActiveDoNotCloseNihlathakPortal=1 MoveCainNearHarrogathWaypoint=1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
D2HD.ini
[Settings] MPQ Name=D2MultiRes.mpq Left Panel Background Color=0xffffffff Left Panel Border Color=0xffffffff Right Panel Border Color=0xffffffff Right Panel Background Color=0xffffffff Enable D2MR Border Panel Style=1 Invert D2MR Bottom Control Panel=1 Enable D2MR Panel Background Ribbon=1 Enable 800x600 Style Control Panel=1 Resolution=4 Custom Width (can't be larger than 1344)=960 Custom Height (can't be larger than 700)=540
Basemod.ini
; ; =============================================================== ; YOU MUST FULLY EXIT THE GAME FOR ANY NEW CHANGES TO TAKE EFFECT ; =============================================================== ; ; ; USAGE of ini values ; ; ; valid enable Enabled=1 ; valid disable Enabled=0 ; ; Commented out strings will always start with ";" and are invalid unless uncommented ; [BaseMod_ini] Enabled=1 Version=1137 ; Version is just for reference - it does nothing [AnimateInventory] Enabled=0 ; Enabled allows Animated Inventory Items [LifeManaAnimate] Enabled=0 Class=0 ManaPurple=0 ; Animates Life/Mana Orb Graphics ; Class=0 disabled - use vanilla dc6 files ; Class=1 Life/Mana - Same Dc6 files for all Classes ; Class=2 Mana - different Dc6 files for all Classes ; Mana Purple gfx display with non animated Orbs on State: Default = 2 STATE_POISON ; ManaPurple=0 to disable this gfx mode [LadderRuneWords] Enabled=1 ; Enables Ladder Only RuneWords in Single Player games [EthSocketFix] Enabled=1 ; Fixes the Ethereal Armor Socketing Defense Bug [AutoPickup] Enabled=1 SoundEn=0 InTown=0 Gold=1 Runes=0 Gems=0 Jewels=0 RinAmu=0 Scrolls=1 Keys=1 ; Enables Automatic Item Pickup when run over - Credits to Whist for original Gold Pickup code ; SoundEn Gold 0 = disable, 1 for item pickup sound, or 2 for gold sound (only for gold atm) ; InTown allows auto pickup items in town ; Gold 0 = disable auto pickup ; Runes 0 = disable auto pickup ; Gems: 1 = pickup all, 2 exclude chipped, 3 exclude chipped an flawed, ; 4 only flawless and perfect, 5 = perfect gems only ; Jewels 1 = enable auto pickup ; RinAmu 1 = enable auto pickup ; Scrolls 1 = auto pickup scrolls until books are full. If no book is found, then skip. ; Keys 1 = auto pickup until key stack is full. If no key stack is found, then skip. [AutoPickup2] Enabled=1 ; This depends on [AutoPickup] Enabled=1 ;InTown ; Set this option in [AutoPickup] ;SoundEn ; Set this option in [AutoPickup] Quivers=0 BeltPickup=1 PotionMatch=2 Slot1Auto=0 Slot2Auto=0 Slot3Auto=0 Slot4Auto=0 ; Enables Automatic Item Pickup when run over ; Quivers=1 to enable filling stacks in weapon slots and/or inventory stack from ground. ; BeltPickup enables auto potion pickup to match the potion type in the same in first row belt slot. ; Manual operation: when there is no potion on the first row to match with it stops pickup. ; PotionMatch compares whats in the first row belt slot to determine the match. ; PotionMatch 0 = lazy match, any of same type | 1 = fuzzy match any+, -1, or same | 2 = strict match ; SlotXAuto *only* chooses what type of potion to pickup *when* the slot is fully empty. ; 0 is manual operation - when the slot is empty, manual load first item, then autopick resumes ; 0 = manual | 1 = hp1 | 2 = hp2 | 3 = hp3 | 4 = hp4 | 5 = hp5 | 6 = any hp | ; 7 = mp1 | 8 = mp2 | 9 = mp3 | 10 = mp4 | 11 = mp5 | 12 = any mp | 13 = rejuv | 14 full rejuv ; 15 = any rejuv ; stamina, thawing, and antidote potions require manual loading of the first slot for autopick ; to fill remaining slots [NoPickup] Enabled=1 ; Enables start game with console option /nopickup [RedPortals] Enabled=1 SkipReq=1 ForceQuestCheck=1 ; Enables/Disables [all of] Pandemonium Portals, & Uber Quests ; Pandemonium Portals only spawn in Hell Act 5 Town ; SkipReq - Uber Tristram Portal skip requirement for all 3 Pandemonium Portals to be open ; before Portal to Uber Tristram will open. ; ForceQuestCheck - Forces Quest and WayPoint checks before Cube Custom Red Portals will ; open to Destination level. Use to prevent skipping quests in Game [UberMinions] Enabled=1 UDMinions=6 UDSpawnRadius=15 UDChanceToSpawn=10 UBMinions=6 UBSpawnRadius=20 UBChanceToSpawn=10 UMMinions=12 UMSpawnRadius=25 UMChanceToSpawn=10 ; Enables Minion Spawning in Uber Tristram (0 | 1) ; UDMinions - Number of minions in spawn radius - range (0 - 25) - 0 disables ; UDSpawnRadius valid range (10 - 50) ; UDChanceToSpawn - rolls a random chance to spawn - valid range (1 - 100) ; UBMinions - Number of minions in spawn radius - range (0 - 25) - 0 disables ; UBSpawnRadius valid range (10 - 50) ; UBChanceToSpawn - rolls a random chance to spawn - valid range (1 - 100) ; UMMinions - Number of minions in spawn radius - range (0 - 25) - 0 disables ; UMSpawnRadius valid range (10 - 50) ; UMChanceToSpawn - rolls a random chance to spawn - valid range (1 - 100) ; The entire feature requires BaseMod [RedPortals] to be enabled to work, due to spaghetti global variables. [ExtraDll1] Enabled=0 LoadDll1="" [ExtraDll2] Enabled=0 LoadDll2="" [ExtraDll3] Enabled=1 LoadDll3="" ; ExtraDll allows you to load other dlls in the order above, up to 31 char in length. ; Example LoadDll1="PlugY.dll" ; Observe case sensitive file names, and place Extra dlls in the same folder as Game.exe. ; If using D2SE, use D2SE_SETUP.ini to load extra dlls instead. ; When D2SE loads the game, this set of options is ignored. [SpawnMissingSU] Enabled=1 ; Enables/Disables spawning of all missing SuperUnique Monsters in the game. ; ; "FlameSpike the Crawler" (Razor Spine) Near the Cathedral Doors in Act1 Inner Cloister ; "Taintbreeder" (Stygian Hag) random location in Act4 Outer Steppes ; "The Tormentor" (Burning Soul) Guarding entrance to the PLains of Despair - Act4 ; "Darkwing" (Venom Lord) random location in the Plains of Despair - Act 4 ; "Riftwraith the Cannibal" (Corpse Spitter) random location in City of the Damned - Act4 ; "Hell's Belle" (Hell Temptress) -- in the Halls of Vaught - Act 5 ; "Blaze Ripper" (Death Brigadier) -- In the Frozen Tundra - Act 5 ; "Magma Torquer" (Demon Sprite) -- Guarding Entrance to the Ancients Way - Act 5 ; "Vinvear Molech" (Vile Witch) -- Guarding Entrance to Arreat Summit - Act 5 ; "Axe Dweller" (Blood Lord) -- Guarding Entrance to Worldstone Keep Level 3 - Act 5 [WorldEvent] Enabled=1 ; 0 to Disable AutoSellSoJ=1 ; 0 to Disable Interval=600 ; Valid Range 3 - 1200 seconds MinItems=100 ; Valid Range 1 - 400 Min # of Items to Trigger World Event MaxItems=100 ; Valid Range 5 - 550 Max # of Items to Trigger World Event EnableAllDiff=1 ; 1 to Enable World Event in all Difficulty TriggerType=2 ; use UniqueName =1, use 3 letter Item Code =2 ItemQuality=7 ; required item quality to sell (1-9 valid range) UniqueName="Nagelring" ; Copy and paste from column 1 in UniqueItems.txt and "USE QUOTES" ItemCode=rin ; valid 3 letter Item Code to sell rin = ring ; # Enabled Enables WorldEvent ; # AutoSellSoJ Automate SOJ's Sold to Vendors, in random amounts ; You must sell at least one specified Item to trigger Autosell. When you do they vanish forever. ; Random Items sold (1-4), every - Interval time period (in seconds) ; Default Interval=20 (20 seconds). ; # MinItems Defines Min amount of Items sold to trigger World Event ; # MaxItems Defines Max amount of Items sold to trigger World Event ; # --> MinItems Cannot be greater than MaxItems <-- ; # EnableAllDiff - Enables World Event in Normal and NM difficulty - Default Hell only ; # TriggerType use 1 or 2 ; # UniqueName - Copy and paste from column 1 in UniqueItems.txt and "USE QUOTES" ; # ItemCode must be valid 3 letter Item Code ; # ItemQuality (Low = 1, Normal = 2, Superior = 3, Magic = 4, Set = 5, Rare = 6, Unique = 7, 8 = Crafted, 9 = Tempered) ; ; Example trigger with Stone of Jordan TriggerType=1 & UniqueName="The Stone of Jordan" ; Example trigger with ANY Unique ring TriggerType=2 & ItemCode=rin & ItemQuality=7 ; Example trigger with Perfect Diamond TriggerType=2 & ItemCode=gpw & ItemQuality=2 ; Example trigger with ANY Rare Amulet TriggerType=2 & ItemCode=amu & ItemQuality=6 ; ; (Annihilus drops only in Hell Difficulty) ; ; Uber Diablo spawns in place of a SuperUnique after 40-70 Items are sold in example above. ; Once Uber Diablo is killed, or a new game is started, the SoJ counter resets to zero. [WEMinions] Enabled=1 UberDExtra_SP=0 UberDExtra_MP=0 Minions=6 SpawnRadius=10 ChanceToSpawn=10 ; Enables World Event Minions and/or Uber Diablo Pack spawning (0 | 1) ; Spawn Uber Diablo Pack in SP. Extra Uber Diablo Units valid range (0 - 4) ; Extra Uber Diablo Pack in MP. Scales based on party size upto 4 extra with 8 players. (0 | 1) ; Number of minions in spawn radius - range (0 - 25) - 0 disables ; SpawnRadius valid range (10 - 50) ; ChanceToSpawn - rolls a random chance to spawn - valid range (1 - 100) ; The entire feature requires BaseMod [WorldEvent] to be enabled to work, due to spaghetti global variables. [IlvlDisplay] Enabled=0 MaxSockEna=1 ItemLevelEna=1 HideUnidentified=1 IlvlAniTorch=0 ; IlvlDisplay - Display Item Level, (and/or) Max Sockets for unsocketed Items ; MaxSockEna - is a bulk switch to enable/disable all display of Max Sockets. ; ItemLevelEna - is a bulk switch to enable/disable all display of Item Level. ; HideUnidentified - bulk switch to hide Ilvl & MaxSock Strings for Unidentified Items. ; IlvlAniTorch - enables Item Level display for these Unique Items. ; It's suggested to enable [StringTable] for customization with UTF8 UNICODE ; strings and colors for different Item Quality. [PlayersX] Enabled=0 PlrsCount=3 ; (1 to 8) or (1 to 127) if Players127 is enabled Notify=1 ; 0 to disable ; This will do "/Players X" command at game startup ; Where X is specified as Players Count ; Notify PlayersX count at Game start in Single Player Games [Language] Enabled=0 Locale=00 ; Default = 00 English ; This might conflict with D2SE if enabled in both ; To use Change Language - You need to install a language pack first. ; ================================================================================== ; ; ; - USE THE NUMERIC LANGUAGE CODE - ; ; ;00 - (English) USA - Default ;01 - (Spanish) ;02 - (German) ;03 - (French) ;04 - (Portuguese) ;05 - (Italian) ;06 - (Japanese) ;07 - (Korean) ;08 - (Sinhalese) ;09 - (Chinese) ;10 - (Polish) ;11 - (Russian) ;12 - (English) NON USA [ExtendLevels] Enabled=0 ; No need to enable this unless your modding and have a need for it ; Extends to 255 levels ; May need to delete existing character map save files charname.ma0, charname.ma1, charname.ma2, ; and charname.ma3 files before enabling this [ExtendObjects] Enabled=0 ; Enables Extended Objects - Credits to Nefarius for these patches ; This allows you to add new Objects starting at ID #586 ; See Folder ExtObjects for examples [ExtendSounds] Enabled=0 MusicLimit=4698 ; Enables adding new music record entries to Sounds.txt ; MusicLimit is the last entry for Music in sounds.txt. Music must be consecutive. ; Be sure to view documentation in the folder ExtendSoundsMusic ; if you want to expand music. [PerfectDrops] Enabled=0 ; 0 to disable DropIdentified=0 ; 1,5,6,7 to enable RareAffix=0 ; 1 to enable MagicAffix=0 ; 1 to enable StaffMods=0 : 1 to enable PerfectItems=1 ; 1 to enable DropRepaired=0 ; 1 to enable RepairNormal=0 ; 1 to enable UniqueNoLimit=1 ; 0 to disable Force2Sockets=1 ; 0 to disable ; DropIdentified - 1 to enable all | 5 = set, rare & uniq | 6 = rare & uniq | 7 = uniq only. ; RareAffix - Force 4 Affix rares on jewels & 6 Affix rares on weapons/armor - rings/amulets ; MagicAffix - Force Magic Items to get both Prefix & Suffix ; StaffMods - Force 9 skill points to class specific items [except low quality] ; PerfectItems - ALL items Drop Perfect [except normal and low quality] ; DropRepaired - ALL Items Drop repaired [except normal and low quality] ; RepairNormal - ALL Normal Items Drop Repaired ; UniqueNoLimit - Bypass Unique Item limit of one drop per game ; Force2Sockets - Normal items > ilvl 25 get 2 sockets as minium instead of 1 when possible. [NilPortalFix] Enabled=1 ; Enables Nilathek Portal Fix so it don't close after quest is completed. [MapAutoRegen] Enabled=0 ; Enabled auto generate new maps in each game for SP mode [Players127] Enabled=0 ; Enable allows upto 127 virtual player count [DynHealthBar] Enabled=0 ; Enables Dynamic Monster Life Bar Colors - A cool invention by Ogodei Life1R=80 Life1G=0 Life1B=0 Life2R=255 Life2G=128 Life2B=0 Life3R=90 Life3G=0 Life3B=90 ; Life1 is RGB decimal values (0-255) for monster life < 33% ; Life2 is RGB decimal values (0-255) for monster where 33% > life < 66% ; Life3 is RGB decimal values (0-255) for monster life > 66% [GoblinPatch] Enabled=0 ; Enables the Patch for Nizari and Jettaman's Treasure Goblin Plugin, ; to read Umon field from levels.txt. ; You have to add the rest of the files yourself [MFLinear] Enabled=1 ; Option for Linear Magic Find Drop Rates ; Improves Unique, Rare, and Magic Item Drops ; Restores the drop rate algorithm used in Diablo II v1.09 [MercMod] FullEquip=0 RogueCrossBow=1 RogueAmaBow=1 ; FullEquip allows Hireling to equip boots, gloves, belt, amulet and one ring. ; Allow Act 1 Rogue Hire to equip Cross Bows ; Allow Act 1 Rogue Hire to equip Amazon Bows [BypassFPS] Enabled=1 ; Adds the option to disable 25 FPS Bypass to make BaseMod compatible ; with SlashDiablo plugin. This also disables the CPU fix. [GambleRefresh] Enabled=1 ItemCount=24 ; Option to adjust item count for Gamble Screen between 1 and 100 items. ; The default is 24 items. Increased item count for multires mods [CharmZone] Enabled=0 CZLeft=5 CZRight=7 CZTop=3 CZBottom=4 ; Enables Dav92's Charm Zone to player inventory ; Inventory values for Charm Zone [GameFVFB] Enabled=0 Version=113c ; Game File Version Fallback - This is ONLY used in situations where Game.exe is ; not the Game parent process. It allows user override of default the game file ; version patching [1.13C] to fallback to a different version. Valid strings are: ; 113c, 113C, 113D, 113d, 114d, 114D - DO NOT use "QUOTES" or SPACES. This ; variable is read before the first patch is applied, long before an MPQ is loaded. [CtrlLClick] Enabled=1 ; Option to Disable Ctrl Left Click Item extended to Inventory, Stash, Cube & Ground Drop ; for compatibility with a Filter plugin. [StringTable] Enabled=1 IlvlMaxSock=1 RenameUbers=1 ; Enable custom strings in BaseMod.tbl. UPDATED to work from index like CustomString1.tbl ; You can use this table to store and display your own strings in the game. ; See \StringLocalization\StringTable.txt for info. First 49 strings reserved for BaseMod use. ; You can disable most reserved strings from showing by blanking them with AFJ tbl Edit. ; IlvlMaxSock - Enable custom strings for [Lowq-Mag], Set, Rare, Unique, crafted and Tempered. ; RenameUbers - Enable custom Strings in BaseMod.tbl for Ubers. [QuestMods] Enabled=1 Respec=0 ; 1 to enable RespecCost=3000 ; 3000 gold * clvl - valid input 500 to 10000 - minium cost 5000 Imbue=1 ; 1 to enable ImbueCost=500 ; 500 gold * clvl - valid input 500 to 10000 - minium cost 5000 Socketing=1 ; 1 to enable SocketCost=20000 ; fixed - valid input 5000 to 500000 - minium cost 5000 Personalize=1 ; 1 to enable InscribeCost=20000 ; fixed - valid input 5000 to 500000 - minium cost 5000 ; Infinite Quest Rewards from Akara, Charsi, Larzuk and Anya ; Vendors charge gold after their quest is completed ; Respec --> Akara Infinite Respec ; Imbue --> Charsi & ATMA Infinite Imbue ; Socketing --> Larzuk Infinite Socketing ; Personalize --> Anya Infinite Personalize
ui.ini
[Settings] Minimized=1 X=154 Y=173 minimizedX=1 minimizedY=17 [BH 1.9.9] Minimized=1 X=328 Y=75 minimizedX=112 minimizedY=475
ddraw.ini
; cnc-ddraw - https://github.com/CnCNet/cnc-ddraw - https://cncnet.org [ddraw] ; ### Optional settings ### ; Use the following settings to adjust the look and feel to your liking ; Stretch to custom resolution, 0=defaults to the size game requests width=0 height=0 ; Override the width/height settings shown above and always stretch to fullscreen ; Note: Can be combined with 'windowed=true' to get windowed-fullscreen aka borderless mode fullscreen=true ; Run in windowed mode rather than going fullscreen windowed=false ; Maintain aspect ratio maintas=true ; Windowboxing / Integer Scaling boxing=false ; Real rendering rate, -1=screen rate, 0 = unlimited, n = cap ; Note: Does not have an impact on the game speed, to limit your game speed use 'maxgameticks=' maxfps=-1 ; Vertical synchronization, enable if you get tearing - (Requires 'renderer=auto/opengl/direct3d9') ; Note: vsync=true can fix tearing but it will cause input lag vsync=false ; Automatic mouse sensitivity scaling ; Note: Only works if stretching is enabled. Sensitivity will be adjusted according to the size of the window adjmouse=false ; Preliminary libretro shader support - (Requires 'renderer=opengl') https://github.com/libretro/glsl-shaders ; 2x scaling example: https://imgur.com/a/kxsM1oY - 4x scaling example: https://imgur.com/a/wjrhpFV shader=Shaders\interpolation\bilinear.glsl ; Window position, -32000=center to screen posX=-32000 posY=-32000 ; Renderer, possible values: auto, opengl, gdi, direct3d9 (auto=try direct3d9/opengl, fallback = gdi) renderer=auto ; Developer mode (don't lock the cursor) devmode=false ; Show window borders in windowed mode border=false ; Save window position/size/state on game exit and restore it automatically on next game start ; Possible values: 0=disabled, 1 = save to global 'ddraw' section, 2 = save to game specific section savesettings=1 ; Should the window be resizable by the user in windowed mode? resizable=true ; Enable linear (D3DTEXF_LINEAR) upscaling filter for the direct3d9 renderer d3d9linear=true ; Enable upscale hack for high resolution patches (Supports C&C1, Red Alert 1 and KKND Xtreme) vhack=false ; cnc-ddraw config program language, possible values: auto, english, chinese, german, spanish, russian, hungarian, french configlang=auto ; Where should screenshots be saved screenshotdir=.\Screenshots\ ; ### Compatibility settings ### ; Use the following settings in case there are any issues with the game ; Hide WM_ACTIVATEAPP and WM_NCACTIVATE messages to prevent problems on alt+tab noactivateapp=false ; Max game ticks per second, possible values: -1=disabled, -2 = refresh rate, 0 = emulate 60hz vblank, 1-1000 = custom game speed ; Note: Can be used to slow down a too fast running game, fix flickering or too fast animations ; Note: Usually one of the following values will work: 60 / 30 / 25 / 20 / 15 (lower value=slower game speed) maxgameticks=0 ; Windows API Hooking, Possible values: 0=disabled, 1 = IAT Hooking, 2 = Microsoft Detours, 3 = IAT+Detours Hooking (All Modules), 4 = IAT Hooking (All Modules) ; Note: Change this value if windowed mode or upscaling isn't working properly ; Note: 'hook=2' will usually work for problematic games, but 'hook=2' should be combined with renderer=gdi hook=4 ; Force minimum FPS, possible values: 0=disabled, -1 = use 'maxfps=' value, -2 = same as -1 but force full redraw, 1-1000 = custom FPS ; Note: Set this to a low value such as 5 or 10 if some parts of the game are not being displayed (e.g. menus or loading screens) minfps=60 ; Disable fullscreen-exclusive mode for the direct3d9/opengl renderers ; Note: Can be used in case some GUI elements like buttons/textboxes/videos/etc.. are invisible nonexclusive=false ; Fixes issues where the pitch of a surface is not a multiple of 4 ; Note: Enable this if some parts of the screen are being displayed diagonally fixpitch=false ; Force CPU0 affinity, avoids crashes/freezing, *might* have a performance impact singlecpu=true ; Available resolutions, possible values: 0=Small list, 1 = Very small list, 2 = Full list ; Note: Set this to 2 if your chosen resolution is not working, set to 1 if the game is crashing resolutions=0 ; Child window handling, possible values: 0=Disabled, 1 = Display top left, 2 = Display top left + repaint, 3 = Hide ; Note: Disables upscaling if a child window was detected fixchilds=2 ; Set the precision for Direct3D9 floating-point calculations to the precision used by the calling thread ; Note: Enable this if there are desyncs in online games fpupreserve=false ; ### Hotkeys ### ; Use the following settings to configure your hotkeys, 0x00=disabled ; Virtual-Key Codes: https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes ; Switch between windowed and fullscreen mode=[Alt] + ??? keytogglefullscreen=0x0D ; Maximize window without frame=[Alt] + ??? keytogglemaximize=0x22 ; Unlock cursor 1=[Ctrl] + ??? keyunlockcursor1=0x09 ; Unlock cursor 2=[Right Alt] + ??? keyunlockcursor2=0xA3 ; Screenshot keyscreenshot=0x2C
-
- copied a blank version of the D2 files on my pi
2 installed Patch 1.13d - copied d2 qol master file in D2 folder
4 used all your ini files
5 Started the Game.exe -txt -direct
When I start it like that it doesn't use Plugy just enters the game in stretched mode
- copied a blank version of the D2 files on my pi
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.