VOGONS


First post, by sideburns

User metadata
Rank Newbie
Rank
Newbie

There's a config file for the editor, but if I try to run it it just says that dosbox_editor2.config is an invalid command. I looked at the config file in a text editor, but after a little setup, it directly runs editor2.exe. Does anybody know how to fix this?

Reply 1 of 8, by zirkoni

User metadata
Rank Member
Rank
Member

Is it the GOG.com version or something? Why are you trying to run a config file? I don't quite understand what you're doing.

Anyway, just run the "editor2.exe" in DOSBox. If it is the GOG.com version, they probably have a DOSBox shortcut for running it. Or is that exactly what is not working?

https://youtube.com/@zirkoni42

Reply 2 of 8, by sideburns

User metadata
Rank Newbie
Rank
Newbie

The config files appear to be the equivalent of .bat files or Linux shell scripts, doing whatever setting up is needed by DOSBOX then running the program. That's how heroes 2 is run, and the one for the editor seems to be the same. I've tried to have bash run the editor in DOSBOX but it crashes.

Reply 3 of 8, by sideburns

User metadata
Rank Newbie
Rank
Newbie

If it will help, here's the .conf file I'm trying to use:

[IPX]
Enable=0
Connection=0
ipx=false

[autoexec]
# Lines in this section will be run at startup.

@ECHO OFF
cls
mount C ".."
imgmount d "..\homm2.inst" -t iso -fs iso
c:
cls
EDITOR2.EXE
exit

Reply 4 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

something like dosbox.exe -conf dosboxhomm2.conf -conf dosboxhomm2_editor.conf ?
although it depends in which directory you are when you execute this, as the paths for mount and imgmount are relative to your current directory
so maybe something like
cd DOSBox
dosbox.exe -conf ..\dosboxhomm2.conf -conf ..\dosboxhomm2_editor.conf

Just play a bit with that

Water flows down the stream
How to ask questions the smart way!

Reply 5 of 8, by sideburns

User metadata
Rank Newbie
Rank
Newbie

What I've been doing is use my file manager to navigate to the directory with the .conf file , right-click on it and select execute with dosbox, which is the normal way to start programs from the GUI that don't have launchers.

Reply 6 of 8, by sideburns

User metadata
Rank Newbie
Rank
Newbie

I finally made the time to experiment here. I tried to use my File Manager to right-click on EDITOR2.EXE and specified Open with DOSBOX. This works, but it opens up in a small window that I can't maximize or enlarge. I tried adding fullscreen=yes to the appropriate .config, in the autoexe section, but that just crashes the program. I remember having the editor for the original HOMM, and it worked OK although that was before I migrated to Linux.any ideas about getting it into full screen mode as that's much easier to use.

Reply 7 of 8, by pete8475

User metadata
Rank Oldbie
Rank
Oldbie

Isn't the editor a windows program?

I haven't used it in ages and I can't remember for sure one way or the other.

Reply 8 of 8, by sideburns

User metadata
Rank Newbie
Rank
Newbie

No. It hangs almost instantly if I try to run it under Wine.