Scummvm with Pismo Zip Mounting, no unzip

Here you can post your ideas, scripts, dats, images, mods, themes, etc...
marlborojacl
Posts: 24
Joined: 28 Jan 2009, 20:42

Scummvm with Pismo Zip Mounting, no unzip

Unread post by marlborojacl » 07 Feb 2009, 23:48

I use this script for scummvm, with the freeware Pismo File Mount Audit Package (i put no links without further authorization, but is easily googlable), as it does not need resource unzipping. Hope it helps, feel free to ask if you find useful, it is based on previous scummvm scripts (it's my first strike so be patient)
Spoiler: show

Code: Select all

; Platform      : ScummVM
; Script for      : ScummVM 0.12.0
; Script version   : v1.0.0.6
; Last changed      : 2009.02.03
;
; Authors: S. Ebeltjes (aka Phoenix), DerMicha75, Gruby, E.Canepa
;
; NOTES:
; - This script only works for ZIPPED (ZIP) ScummVM games.
; - The files have to be direct inside the zip, no subdirs allowed.
; - zip names has to be equal to scummvm game id by now
;
;
; ==============================================================================
; You need to implent this block in every script, this changes the workfolder to
; the folder where this script is executed, and loads the 'eccScriptSystem' script.
FileChangeDir(@ScriptDir)
#include "..\eccScriptSystem.au3"
; ==============================================================================

; ------------------------------------------------------------------------------
; BEGIN OF SCRIPT
; ------------------------------------------------------------------------------

; Set some variables to make life easier ;)
;
$MountFolder = Chr(34) & $eccFileRomPath & $eccFileRomFile & Chr(34)
$PackedRomFile = Chr(34) & $eccFileRomPath & $eccFileRomFile & Chr(34)

; Extract the packed files to a temp folder.
;
TrayTip("ECC ScummVM", "Mounting game...please wait...", 10, 1)
ShellExecuteWait("pfm", " mount " & $PackedRomFile, "", "", @SW_HIDE)

; Run the emulator.
;
TrayTip("ECC ScummVM", "Starting ScummVM...", 5, 1)
ShellExecuteWait($eccEmuEmulatorPath & $eccEmuEmulatorFile, "-p " & $MountFolder & " " & $eccFileRomNamePlain, "", "")

;unmount resource
WinWaitClose($eccEmuEmulatorPath & $eccEmuEmulatorFile)
ShellExecute("pfm", " unmount " & $PackedRomFile, "", "", @SW_HIDE)
; ------------------------------------------------------------------------------
; END OF SCRIPT
; ------------------------------------------------------------------------------
Exit

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9059
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Scummvm with Pismo Zip Mounting, no unzip

Unread post by Phoenix » 08 Feb 2009, 00:24

Hmmm maybe we can ask if this can be included as 3rdparty tool in ECC, sounds nice not to unpack ZIP everytime :yes_head:

Anyway it seems freeware, and a link won't hurt :P : http://www.pismotechnic.com/download/
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Gruby
ECC Support
Posts: 185
Joined: 14 Jan 2007, 08:38
Location: Hungary
Contact:

Re: Scummvm with Pismo Zip Mounting, no unzip

Unread post by Gruby » 08 Feb 2009, 05:58

Nice,
But.. the romof is still not working.
Example:
The Secret of Monkey Island CD-German version
The Game file is - monkey-de.zip and the game file is requires a resource file, name - mi1a.zip

The datfile example:

Code: Select all

game (
	name monkey-de
	description "Secret of Monkey Island, The (CD-DOS-German)"
	year 1990
	manufacturer "Lucasfilm"
	sourcefile scumm
	romof mi1a
	rom ( name ............
Microkey and HomeLab TOSEC Datter & Redump.org Dumper.
Since I'm no native speaker my English is unfortunately far from perfect, so please excuse any bad grammar and spelling.

marlborojacl
Posts: 24
Joined: 28 Jan 2009, 20:42

Re: Scummvm with Pismo Zip Mounting, no unzip

Unread post by marlborojacl » 08 Feb 2009, 10:37

well, it's not supposed to work with multiple files, as I don't have romsets but only the original budget cd. Anyway, i'll look into this issue as soon as possible

User avatar
Gruby
ECC Support
Posts: 185
Joined: 14 Jan 2007, 08:38
Location: Hungary
Contact:

Re: Scummvm with Pismo Zip Mounting, no unzip

Unread post by Gruby » 11 Feb 2009, 07:34

marlborojacl wrote:well, it's not supposed to work with multiple files, as I don't have romsets but only the original budget cd. Anyway, i'll look into this issue as soon as possible
Compress this files in your CD in zip format :
- MONKEY.000
- MONKEY.001

Rename the zip file (Language - filename):
English - monkey
German - monkey-de
Spanish - monkey-es
French - monkey-fr
Italian - monkey-it

The game use CD audio tracks for music.
To use this music in ScummVM, they need to be ripped from the CD and stored in ogg, mp3 or fla format.
Encode the 24 audio tracks to files, name the files track1.ogg track2.ogg (or mp3, fla) etc...
Compress the files in zip format, and rename the file as mi1a.zip.

Copy this two files in svm rom folder and you have the The Secret of Monkey Island CD version.
Microkey and HomeLab TOSEC Datter & Redump.org Dumper.
Since I'm no native speaker my English is unfortunately far from perfect, so please excuse any bad grammar and spelling.

MrX_Cuci
Posts: 97
Joined: 09 Jul 2008, 01:10
Location: The Netherlands

Re: Scummvm with Pismo Zip Mounting, no unzip

Unread post by MrX_Cuci » 11 Feb 2009, 12:41

Seems like a good tool, might actually fix my daemon tools none mountable problems :) and the unpack multiple files within a zip file

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest