Doom Addon ZIP Integration (DAZI) for RetroPie
-
DAZI v2022.07 Released.
M0D Loader Menu can now Read/Display [.TXT] [.txt] Files.
[DAZI-template.sh] now Dynamically Updates M0D#'s based on AddOn Directory content.
AddOn Directory Clean Up MOVED from [dazi-template.sh] to [runcommand-onend].
Added Config [runcommand-onstart/runcommand-onend] 0ptions to Script Menu.
Changed [runcommand] Settings to be Triggered by [doom] P0RT Instead of [lzdoom] Emulator.
Added [lzdoom-dazi+] for Loading M0Ds from BOTH AddOn Locations.
Added Select Alternate M0D Directory for Current Session Feature.
Added Configurable [alternateM0Ddir=] to 0verride DEFAULT M0D Directory (0ptional+Manual).
Documentation Updates and Cleaning.
-
That updates sounds great man, THANK YOU !!!!! I'll update the script tonight !!!!!!!
-
@RapidEdwin08 hey man I am checking the update, and I only have a couple of doubts:
-Where inside the Doom Loader menu can I read certain TXT files? my update menu looks like this:
-When you said "[DAZI-template.sh] now Dynamically Updates M0D#'s based on AddOn Directory content", do you mean that now I don't need to list in incremenal order the mods I want to apply or something?And again, thank you.
-
@NIGHTKILLER05 said in Doom Addon ZIP Integration (DAZI) for RetroPie:
@RapidEdwin08 hey man I am checking the update, and I only have a couple of doubts:
-Where inside the Doom Loader menu can I read certain TXT files? my update menu looks like this:
In the LOAD [M0D] Menus, it will now READ TXT files instead of LOAD them.
-When you said "[DAZI-template.sh] now Dynamically Updates M0D#'s based on AddOn Directory content", do you mean that now I don't need to list in incremenal order the mods I want to apply or something?
And again, thank you.
The [DAZI-template.sh] will count Files in the AddOn DIR before assigning them #s.
So if you have [x3 M0Ds] already loaded in the AddOn DIR before you Launch [DAZI-template.sh], it will start the count with [3] and Load doomM0D1 as [04_M0D1.wad] and doomM0D2 as [05_M0D2.pk3] ect, the same behavior as the M0D Loader Menu basically.
[ZIPs] still maintain their 0riginal file names when getting extracted. -
-
@NIGHTKILLER05 said in Doom Addon ZIP Integration (DAZI) for RetroPie:
y the way, there are certain maps that replaces doom episodes, one good example is the mapset "Back to Basics" which replaces the second eposide of Ultimate Doom, ¿Would It be possible to add an option or file to choose the starting map? (like the "-map mapname" cli command, but with a feature built in DAZI.
Been testing [lzdoom-dazi+warp] in the emulators.cfg for D00M.
Seems to work OK so far.Still needs some tweaking for easily selecting Level #s from the Menu, and still need to add to the templates...
Will probably add the Difficulty Level too since that 0ption is skipped during warp.If you want to Manually test the warp, Copy/Paste your 0wn [lzdoom-dazi+] entry and add the warp settings to
/opt/retropie/configs/ports/doom/emulators.cfg.eg. Back2Basics: warp to E2M1 lzdoom entry from a pi3:
lzdoom-dazi+warp = "DOOMWADDIR=/home/pi/RetroPie/roms/ports/doom /opt/retropie/ports/lzdoom/lzdoom -iwad %ROM% +fullscreen 1 -config /home/pi/RetroPie/roms/ports/doom/lzdoom.ini +vid_renderer 0 +'snd_mididevice -2' -file /dev/shm/addon/* -file /home/pi/RetroPie/roms/ports/doom/addon/* -warp 2 1 -skill 3"
Just rename to [lzdoom-dazi+warp] and ADD -warp 2 1 -skill 3" to the very END of the Entry.
-
DAZI v2022.08 Released
Added [lzdoom-dazi+warp] Emulator for Level Warping.
Added WARP and DIFFICULTY Settings to M0D Loader Menu and [DAZI-template.sh].
Added [ABORT] to M0D Loader Menu to REFRESH the [runcommand] when Needed.
(-ADDON) [-Templates.sh] and [SymbolicLinks] have been REPLACED with (-WARP).
Added more Commonly known [doom.wads] to [DAZI-Templates.sh] and [SymbolicLinks].
Documentation Updates for WARP and DIFFICULTY Settings.NOTE: When [lzdoom-dazi-warp+] is set as the Default Emulator, the [runncommand] pulls the lzdoom-dazi+warp string from [emulators.cfg] before the [runcommand-onstart] runs DAZI M0D Loader Menu.
The 0nly way to UPDATE WARP Settings @ or AFTER the [runncommand] is to Toggle the chosen Emulator (lzdoom-dazi+warp -> lzdoom -> lzdoom-dazi+warp).
The ABORT 0ption was added for this Reason. -
@RapidEdwin08 Thank you man, I will Try it !
-
Any issues or feedback?
Support for lr-prboom and prboom+ may be coming in the next release.
Been playing around with using DAZI to load M0Ds for both and it works pretty well.For lr-prboom I can add an lrPRBOOM Flag setting to the Template.
When enabled it will make symbolic links to the [doomWAD] and the [prboom.wad] in the addonDIR.
This leaves it up to you to get the [prboom.cfg] file in the addonDIR.
You will have to make a custom prboom.cfg for each M0D.
For entering the M0D files in the prboom.cfg, keep in mind DAZI will # them accordingly if NOT ZIPPED. (01_doomM0D1, 02_doomM0D2).
You NEED TO ZIP the custom [prboom.cfg] since this is the only way for DAZI to maintain the 0riginal file name.
Or just ZIP the all the M0D files + [prboom.cfg] together if so inclined.lr-prboom Gamesaves will have to be MOVED back and forth from addonDIR to ...ports/doom/.
Only issue I found is you risk losing the current gamesave when NOT properly exiting the game.
This is because the runcommand-onend is not executed, thus neither is the move gamesaves back command.
You must EXIT lr-prboom to SAVE your [prbmsav?.dsg] gamesaves.Warp settings for lr-prboom = ??? Is this handled by the cfg file? Any input welcomed...
For prboom+ we can specify the doom-all directory as the addonDIR in the template.sh:
addonDIR=/opt/retropie/configs/ports/prboom-plus/autoload/doom-all
I will also need to add it the doom-all DIR to the runcommand-onend Cleanup...Warp also works with prboom+ via an Extra Entry just like LZDoom.
Only variation I noticed is an extra ;popd" at the end of the prboom+ command.
Luckily, putting ;popd" at the end of lzdoom command does not affect anything.
So I can easily modify the stream-edit action for both lzdoom/prboom+ warp settings, with the ;popd" included no problem.
So if you see an unnecessary ;popd" at the end of the lzdoom-dazi+warp entry in the next release, just know it's lazy coding, and it does no harm. -
@RapidEdwin08 Hey, thanks for the update, personally, I use only lzdoom, but lr-prboom and prboob should be good source ports.
By the way, the addition to be able to read .txt files is great, but I need to have each .txt file of each map/mappack uncompressed, and that is a mess, may I ask for a way in which I can keep the .txt files inside the .zip file along the map, and when I load that zip file, DAZI could ignore the .txt file in the load order, and alternatively, DAZI will offer the possibility to show/read that .txt file on screen?
-
@RapidEdwin08 Also, ¿could you please add support for decompress .7z files? .7z files have better compression ratio than a .zip file (I have ~1500 .zip files/mapsets (thanks to you) and that number is rising everyday! )
-
@NIGHTKILLER05 7z extraction is a great idea.
Will look into adding it.For TXT files that get extracted from ZIPs I think I can move them to a hidden folder in the addonDIR like [addon/.TxTs].
A hidden folder should be ignored in loading of LZDoom.
I can then add the option to read TXT files in there to the Remove menu since that's where they'll be after extraction. -
@RapidEdwin08 Thank you for listen my ideas man, your script is getting better and bettter with each update you release!!!!
-
Almost finished with the updates... New release coming soon.
Anyone know how to warp from Launch in lr-prboom?
Warp settings for lr-prboom = ??? Is this handled by the cfg file? Any input welcomed...
-
@RapidEdwin08 I have no idea man, but ¿who uses Prboom?? jejejej, I'm kidding
-
@NIGHTKILLER05 I dunno, there are some 0ld rPi 1's, Zero's and maybe even GPi's that would benefit from a [lr-prboom] ROM Set.
Besides, D00M Can and Should Run on Anything and Everything...DAZI v2022.09 Released
DAZI can now Auto-Generate [prboom.cfg] Files based on the addonDIR Content, 0r if you include your own, Append to it...Changes:
Added Support for 7z Files (installing p7zip-full).
Added Support for [lr-prboom] and [prboom-plus] to [dazi-mod-loader] and [DAZI-template.sh].
Added Documentation Updates for [prboom.cfg] and DEHACKED [DEH/BEX] Files.
[DAZI-template.sh] Updated to Automatically Create [doom-warp.wad] IF WARP Settings are Defined.
[SymbolicLinks] Menu has been REPLACED with [EmulatorSettings] Menu.
Updated Generate [DAZI-Templates] Menu and Added VIEW and DELETE 0ptions.
[dazi-mod-loader] Gets Installed to Runcommand Launch Menu User Menu in Addition to @runcommand_onstart.
Added [runcommand_onlaunch] Actions to Manage [lr-prboom] Configs and Gamesaves.
Updated [runcommand_onend] Actions to Manage [lr-prboom] Configs and Gamesaves.
Added [prboom.cfg] Menu for Generating Files based on [addonDIR] Content.
MOVED the [ABORT] Menu and INCLUDED Cleaning 0ptions.
Added a HIDDEN Folder [addonDIR/.0ther] for Viewing Extracted [TXT] Files and Cacheing [prboom.cfg].
REPLACED [M0D-LIST] with [M0D-COUNT] in the [dazi-mod-loader] to prevent Character 0verload issue:
(Loading too Many M0Ds can prevent the [dazi-mod-loader] from populating)
Use the [REMOVE] Menu to VIEW the Full List of M0Ds Loaded in the [addonDIR].
This is a BIG Update with a lot of changes.
So if you find any Issues feel free to Report them here...
And again, Thanks all for the Feedback and Ideas. -
@RapidEdwin08 You made my day man, THANK YOU !!!!!!, by the way, how can I update?
-
@NIGHTKILLER05 Install and Remove are provided in the lzdoom-dazi.sh script.
Can be ran manually from any directory.
If you have it in the retropimenu, simply replace that as well. -
@NIGHTKILLER05 said in Doom Addon ZIP Integration (DAZI) for RetroPie:
@RapidEdwin08 Also, (I have ~1500 .zip files/mapsets (thanks to you) and that number is rising everyday! )
Do you also have 1500 dazi-template.sh scripts to match?
If so that's a lot of scripts to manually update...I wrote a primitive script.sh to update my measley x700 DAZI-template.sh scripts to the latest v2022.09.
If it's something you guys are interested in, I can clean it up a bit, put a BIG BETA on it, and upload it to git.
Maybe even add it to DAZI later... -
@RapidEdwin08 said in Doom Addon ZIP Integration (DAZI) for RetroPie:
Do you also have 1500 dazi-template.sh scripts to match?
Oh, no, I only load, for example, Doom II, then (thanks to your script) I can load 1 of the more than 1500 PWADs of my collection, and mix it with some mods in a very comfortable and flexible way, you're a genius man.
The only thing that I am not tried yet is the "warp" thing, because 1) sounds complicated, hehehe, and 2)I read a little bit about it and the only thing that I understood is that I need to make 1 file to launch each game that doesn't start at the first level, am I right?
Again, thank you man, what a such great idea you had developing this script.
-
-
Warp is only complicated if you are modifying @runncommand.
-
you do not need a template.sh to warp
Easiest thing to do is modify Warp settings Before the runcommand, eg. From the retropiemenu.
Select Episode
Select Map
Select Skill
Apply
Exit (or Abort, the more you use it you'll see why).
Then load a Rom (with lzdoom-dazi+warp). -
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.