Tool(s) to modify SCUMM V3 background images
Moderators: ScummVM Team, AGI moderators
-
- Posts: 6
- Joined: Sat Feb 08, 2020 7:38 pm
Tool(s) to modify SCUMM V3 background images
I am desperately trying to find a way to modify background images from SCUMM V3 games (Indy3 and Zak FM-Towns)
The tools I could find only work with V1, V2, V5 and V6 games but not V3...
Does anyone know a tool or method to decode/encode images from SCUMM V3?
The tools I could find only work with V1, V2, V5 and V6 games but not V3...
Does anyone know a tool or method to decode/encode images from SCUMM V3?
- Praetorian
- ScummVM Developer
- Posts: 883
- Joined: Tue May 08, 2007 8:54 am
- Location: Greece
- Contact:
Re: Tool(s) to modify SCUMM V3 background images
Was Indy 3 VGA version SCUMM V3? Or Loom's EGA version?SarutobiSasuke wrote: ↑Tue Feb 18, 2020 5:35 pm I am desperately trying to find a way to modify background images from SCUMM V3 games (Indy3 and Zak FM-Towns)
The tools I could find only work with V1, V2, V5 and V6 games but not V3...
Does anyone know a tool or method to decode/encode images from SCUMM V3?
I remember that I wrote a simple C program some twenty years ago for translating some images in Greek for Loom (EGA) and I think I used an existing tool for the same task for Indy 3 VGA.
My program (for Loom's images) is not on any of the backups that I currently have, but maybe I can find it at my home's archives (when I visit around Easter)
-
- Posts: 6
- Joined: Sat Feb 08, 2020 7:38 pm
Re: Tool(s) to modify SCUMM V3 background images
Thanks for the reply Praetorian!
Yes, Indy 3 VGA is SCUMM V3. Loom EGA should be V3 as well according to the ScummVM Wiki https://wiki.scummvm.org/index.php?title=SCUMM/Versions.
It's sad that a lot of knowledge about SCUMM hacking has been lost over the years. Especially about older SCUMM games.
I've contacted quite a few people in the last few weeks. Most of them didn't answer but the few that did said the same thing as you. They developed something but they can't find it anymore...
I keep my fingers crossed that you can dig something out from your home's archives
Yes, Indy 3 VGA is SCUMM V3. Loom EGA should be V3 as well according to the ScummVM Wiki https://wiki.scummvm.org/index.php?title=SCUMM/Versions.
It's sad that a lot of knowledge about SCUMM hacking has been lost over the years. Especially about older SCUMM games.
I've contacted quite a few people in the last few weeks. Most of them didn't answer but the few that did said the same thing as you. They developed something but they can't find it anymore...
I keep my fingers crossed that you can dig something out from your home's archives
Re: Tool(s) to modify SCUMM V3 background images
Hi SarutobiSasuke,SarutobiSasuke wrote: ↑Fri Feb 21, 2020 10:43 pm Thanks for the reply Praetorian!
Yes, Indy 3 VGA is SCUMM V3. Loom EGA should be V3 as well according to the ScummVM Wiki https://wiki.scummvm.org/index.php?title=SCUMM/Versions.
It's sad that a lot of knowledge about SCUMM hacking has been lost over the years. Especially about older SCUMM games.
I've contacted quite a few people in the last few weeks. Most of them didn't answer but the few that did said the same thing as you. They developed something but they can't find it anymore...
I keep my fingers crossed that you can dig something out from your home's archives
You have find the tool for modify the graphics in Loom V3?
I have found in internet the russian group have modifiy Loom EGA.. but not respond
-
- Posts: 6
- Joined: Sat Feb 08, 2020 7:38 pm
- Praetorian
- ScummVM Developer
- Posts: 883
- Joined: Tue May 08, 2007 8:54 am
- Location: Greece
- Contact:
Re: Tool(s) to modify SCUMM V3 background images
Hey there, I managed to find the tool I'd written all those years ago. It's not as mature or user-friendly as I would expect today, but it does the job, if assisted by a bunch of other tools. I've just tested it on Windows 10 x64.
I've also written a PDF with instructions on how to use it.
I've uploaded the tool(LMRP.exe), a required dll (alleg42.dll), the instructions pdf, the scummrp (v0.2 by Thomas Combeleran) and LucasRipper tool (beta 4 by Tobias Fleischer) in a 7z archive here:
https://drive.google.com/file/d/1E5Q4Tp ... sp=sharing
Let me know if this helps.
-
- Posts: 6
- Joined: Sat Feb 08, 2020 7:38 pm
Re: Tool(s) to modify SCUMM V3 background images
Wow, that's amazing Praetorian! Thanks a lot mate. Will give it a try as soon as possible. Hopefully I'll find some time this weekend.
Re: Tool(s) to modify SCUMM V3 background images
Many many many thanks!!!!!!!!!!!!!Praetorian wrote: ↑Fri Oct 02, 2020 9:30 pmHey there, I managed to find the tool I'd written all those years ago. It's not as mature or user-friendly as I would expect today, but it does the job, if assisted by a bunch of other tools. I've just tested it on Windows 10 x64.
I've also written a PDF with instructions on how to use it.
I've uploaded the tool(LMRP.exe), a required dll (alleg42.dll), the instructions pdf, the scummrp (v0.2 by Thomas Combeleran) and LucasRipper tool (beta 4 by Tobias Fleischer) in a 7z archive here:
https://drive.google.com/file/d/1E5Q4Tp ... sp=sharing
Let me know if this helps.
The step by step instructions will be very useful to me!
- Praetorian
- ScummVM Developer
- Posts: 883
- Joined: Tue May 08, 2007 8:54 am
- Location: Greece
- Contact:
Re: Tool(s) to modify SCUMM V3 background images
I just realized that step 6 in the instructions pdf is redundant (I forgot to delete it while editing the document). I will delete it in a next revision. It's harmless if you run that command there, anyway.
Step 8 is where you compile everything back to the game's resource files.
Step 8 is where you compile everything back to the game's resource files.
Re: Tool(s) to modify SCUMM V3 background images
ThanksPraetorian wrote: ↑Sat Oct 03, 2020 6:57 am I just realized that step 6 in the instructions pdf is redundant (I forgot to delete it while editing the document). I will delete it in a next revision. It's harmless if you run that command there, anyway.
Step 8 is where you compile everything back to the game's resource files.
Re: Tool(s) to modify SCUMM V3 background images
Perfect ... the tool work very nice....Praetorian wrote: ↑Sat Oct 03, 2020 6:57 am I just realized that step 6 in the instructions pdf is redundant (I forgot to delete it while editing the document). I will delete it in a next revision. It's harmless if you run that command there, anyway.
Step 8 is where you compile everything back to the game's resource files.
Many thanks anymore!!!!!
https://youtu.be/zkT02gi5EQw
-
- Posts: 6
- Joined: Sat Feb 08, 2020 7:38 pm
Re: Tool(s) to modify SCUMM V3 background images
No luck with Indy3 VGA unfortunately.
Although Loom EGA and Indy3 VGA should both be Scumm v3 games they differ in file structure and file naming scheme.
Also your tool seems to only work with EGA color palette.
Although Loom EGA and Indy3 VGA should both be Scumm v3 games they differ in file structure and file naming scheme.
Also your tool seems to only work with EGA color palette.
- Praetorian
- ScummVM Developer
- Posts: 883
- Joined: Tue May 08, 2007 8:54 am
- Location: Greece
- Contact:
Re: Tool(s) to modify SCUMM V3 background images
Yes, it was very much made specifically for Loom EGA translation. Which is why I did not work on it further once its purpose was done.SarutobiSasuke wrote: ↑Sat Oct 03, 2020 2:13 pm No luck with Indy3 VGA unfortunately.
Although Loom EGA and Indy3 VGA should both be Scumm v3 games they differ in file structure and file naming scheme.
Also your tool seems to only work with EGA color palette.
But the thing is, I did translate Indiana Jones 3 at the time as well, without using my LMRP tool. In fact I bundled the Greek translation for Loom and Indy3 in the same unified patch installer. So, then, what did I use for Indy3 VGA and FMTowns version?
I will keep digging, but this must mean that some pre-existing tools worked for Indy3.
I'm glad it was helpful. Cheers!SimonPPC wrote: ↑Sat Oct 03, 2020 12:26 pm
Perfect ... the tool work very nice....
Many thanks anymore!!!!!
https://youtu.be/zkT02gi5EQw
- Praetorian
- ScummVM Developer
- Posts: 883
- Joined: Tue May 08, 2007 8:54 am
- Location: Greece
- Contact:
Re: Tool(s) to modify SCUMM V3 background images
Quoting you again because a bit more search on Google and my old files yielded results.SarutobiSasuke wrote: ↑Sat Oct 03, 2020 2:13 pm No luck with Indy3 VGA unfortunately.
Although Loom EGA and Indy3 VGA should both be Scumm v3 games they differ in file structure and file naming scheme.
Also your tool seems to only work with EGA color palette.
There was another command line tool, prior to my LMRP, that was called... BMRP! It didn't support LOOM EGA, which is why I had to write mine, but it *should* work for Indy3 VGA and FMTowns (Indy 3 and LOOM).
I actually wrote my own LMRP tool to have a similar interface with BMRP. However, BMRP does way more stuff than my puny LMRP . In addition to importing an image back to the game's assets, it also handles the exporting to bitmap (which is required at an earlier step, and for Loom EGA I had to use LucasRipper for that). And it handles "objects" too, not just "rooms".
Credits for the tool (I have the 1.2a version):
Code: Select all
Ver. 1.2a
Programmed by Pavel A. Rumyantsev
usage:
-d:path - decode BM chunk to BMP
-c:path - encode BMP to BM chunk
path - path to the folder with source files
- Export:
Code: Select all
.\BMRP.EXE -d:dumpingtmp\DISK_0002\LE\LF_0023\RO
- Edit the BM.bmp in place (no need to name it otherwise).
- Import back (after changing the BM.bmp):
Code: Select all
.\BMRP.EXE -c:dumpingtmp\DISK_0002\LE\LF_0023\RO
For objects you use an additional "-o:NNN" switch, where NNN is a number (the object id, which you can see in the file names inside a "RO" (room) folder, ie. OC_0401)
- Export:
Code: Select all
.\BMRP.EXE -d:dumpingtmp\DISK_0002\LE\LF_0023\RO -o:943
- Import:
Code: Select all
.\BMRP.EXE -c:dumpingtmp\DISK_0002\LE\LF_0023\RO -o:943
Hence:
- Use scummrp.exe tool (bundled in my upload for LMRP) to do the mass extracting and importing of game's assets in the "dumpingtmp" folder.
ie. - Extract from game folder to a dumpingtmp subfolder:
Code: Select all
.\scummrp.exe -gp monkey . -od .\dumpingtmp
- Do your edits using BMRP extraction of the specific rooms/objects you want, image editing of the BM.bmp files, and BMRP import back to game's assets.
- Finally, import from dumpingtmp subfolder back to the game folder (after having done your changes with BMRP):
Code: Select all
.\scummrp.exe -gp monkey . -id .\dumpingtmp
https://drive.google.com/file/d/1vkSGUY ... sp=sharing
-
- Posts: 6
- Joined: Sat Feb 08, 2020 7:38 pm
Re: Tool(s) to modify SCUMM V3 background images
You are simply amazing Praetorian!Praetorian wrote: ↑Sat Oct 03, 2020 3:56 pm Quoting you again because a bit more search on Google and my old files yielded results.
I searched so long and talked to so many people... and finally someone could help me.
Thank you so much for investing your valuable time in searching through your old stuff.
I'm very thankful for your help!
I already did some tests and successfully modified an Indy3 VGA background image. Very happy right now...
Do you know what games are supported by BMRP? Couldn't find any info about the tool.