December 21, 2024, 05:37:18 PM
Homepage
Home
Help
Search
Login
Register
Wiki
Imprint
Warhammer Dark Omen Forum
|
Modifications
|
Tools
Mod Selector
Username
1 Hour
1 Day
1 Week
1 Month
Forever
Password
Pages:
1
[
2
]
3
4
...
6
Go Down
Print
Author
Topic: Mod Selector (Read 89397 times)
0 Members and 1 Guest are viewing this topic.
Ghabry
Developer
Offline
Posts: 1020
Re: Mod Selector
«
Reply #15 on:
May 16, 2012, 09:31:15 PM »
Quote from: cuthalion on May 15, 2012, 01:18:32 PM
But now there is a problem with the fact that Fair Omen uses modified EngRel.exe, and it's not directly compatible with Ghabry's Mod Selector. There are a few ways out, the easiest of them - if you ask Ghabry or me to make EngRel.exe that's compatible with both Mod Selector and Fair Omen. I can try to make such file tomorrow.
Prices are in EngRel ^^
Logged
Ghabry
Developer
Offline
Posts: 1020
Re: Mod Selector
«
Reply #16 on:
May 19, 2012, 01:30:52 AM »
New Version released
Adds support for
modded EngRel
(place it at [your moddir]\PRG\EngRel.exe). My quick tests showed that this works, but please check by yourself. The modded EngRel must be an English one, otherwise this will crash. ^^
Only the data segment (0xBD000 to 0xFF3FF) is applied, other parts of the file are ignored (this prevents overwriting of executable code from EngRel with possibly malicious/untrusted code, only the Mod Selector is trusted enough to overwrite code segments
).
The modified EngRel will not be applied when its started from GameRanger. I don't see this as an issue yet, but will be fixed later.
Other changes: If one of the *.aud or *.are files is missing in 2parm it will use the original files (arm-files are still always redirected to the mod dir).
«
Last Edit: May 19, 2012, 01:45:18 AM by Ghabry
»
Logged
hari8
Big'un
Offline
Posts: 229
Re: Mod Selector
«
Reply #17 on:
May 19, 2012, 12:18:44 PM »
Quote from: Ghabry on May 19, 2012, 01:30:52 AM
The modded EngRel must be an English one, otherwise this will crash. ^^
Every modder uses the English one, so no problem ^.^
Logged
cuthalion
Campaign Creator
Offline
Posts: 385
Re: Mod Selector
«
Reply #18 on:
May 19, 2012, 07:03:02 PM »
Will it correctly pick up my modified engrel? ATM I only have engrel with included dll file in the dwarf campaign. Or shall I use the same tool. To exclude the DLL?
Logged
Ghabry
Developer
Offline
Posts: 1020
Re: Mod Selector
«
Reply #19 on:
May 19, 2012, 07:27:19 PM »
The modified EngRel works.
I actually made the tests using your EngRel.
Just tested it with the Fair Omen EngRel: Works, magic item prices are changed.
Logged
kilowic
Mummy
Offline
Posts: 119
Iron Fist
Re: Mod Selector
«
Reply #20 on:
May 20, 2012, 08:43:58 AM »
My prices didn't change :/ I put it in mods/fair omen/prg and nothing :/
Logged
My GameRanger info:
ID: 1713251
kilowic
I PLAY FAIR OMEN MOD
Ghabry
Developer
Offline
Posts: 1020
Re: Mod Selector
«
Reply #21 on:
May 20, 2012, 12:21:16 PM »
Have you renamed the file to EngRel.exe?
Logged
kilowic
Mummy
Offline
Posts: 119
Iron Fist
Re: Mod Selector
«
Reply #22 on:
May 20, 2012, 01:01:21 PM »
Yes
Logged
My GameRanger info:
ID: 1713251
kilowic
I PLAY FAIR OMEN MOD
Ghabry
Developer
Offline
Posts: 1020
Re: Mod Selector
«
Reply #23 on:
May 20, 2012, 09:05:22 PM »
Program updated, please redownload
This fixes a
critical
bug: DeleteFile was not redirected, this caused deletion of original savegames and armies instead of the ones of the mod.
@kilowic
Create a file called trace.txt in the folder where EngRel.exe is. Execute EngRel and load Fair Omen. Then close EngRel and paste the content of trace.txt somewhere (or try to resolve it yourself by reading the debug output), e.g. on pastebin.com.
Logged
cuthalion
Campaign Creator
Offline
Posts: 385
Re: Mod Selector
«
Reply #24 on:
May 21, 2012, 11:18:59 AM »
At the moment, Mods that don't have subdirectory ./gamedata/2parm/ (even though there are no modified files from there) block EngRel.exe start.
Test Case:
1. start Engrel
2. load any mod that doesn't have 2parm
3. quit and restart engrel.
4. it tries to load last selected mod and 'error occured, please reinstall DO' message appears.
Logged
cuthalion
Campaign Creator
Offline
Posts: 385
Re: Mod Selector
«
Reply #25 on:
May 21, 2012, 11:29:56 AM »
Also, it doesn't pick up my Chaos Dwarf Engrel at the moment. Either I do something wrong or it doesn't work.
What I did was
-reinstall DO clean
-create mods and all the rest
-place modded engrel into ./mods/chaos dwarves/prg/EngRel.exe
-start EngRel.exe taken from this Mod Selector
-select chaos dwarves as a Mod
-start new campaign: armies, ctl scripts are taken from my mod, but unit names on the battle field are not modified. Original names go instead.
here's my trace:
Logged
Ghabry
Developer
Offline
Posts: 1020
Re: Mod Selector
«
Reply #26 on:
May 21, 2012, 01:05:18 PM »
The problem is
Quote
[10:22:30] CreateFile: D:\do\PRG\EngRel.exe
[10:22:30] Redirected to: D:\do\Mods\Chaos Dwarves\PRG\EngRel.exe
Because EngRel exists in the Mod path too it gets redirected. As a temporary fix: Rename PRG in "do" to something else. The original game uses PRG_ENG as the folder name, so this problem doesnt happen there ^^.
My DLL uses the normal C file api and this calls CreateFile indirectly. I could provide a quick fix but this can cause problems later. So I will rewrite the whole DLL instead to call the original CreateFile directly instead.
And do you have the latest version?
Quote
[10:22:30] Redirected to: D:\do\Mods\Chaos Dwarves\GameData\2parm
I made more then one update yesterday (redownload). The first FindFirstFile call to 2parm should not be redirected. Reason: DO makes an initial check at startup if all folders exists. If the folder is missing in the current mod dir you get a "There is an error with the installation" error.
Update
Download link was wrong, if you downloaded it before 14:00 GMT+1: Redownload!
Logged
Ghabry
Developer
Offline
Posts: 1020
Re: Mod Selector
«
Reply #27 on:
June 01, 2012, 01:02:55 PM »
Rob suggested, that I can use
PhysFS
to handle the redirecte file input/output. For now the link must be enough, I will tell you the advantages when the new version is ready (not in the next days ^^).
For now the implementation (calling PhysFS functions for any file input/output in the Dark Omen directory) is good enough to allow starting of dark omen. Folder enumeration (to get savegames and army files) is missing, but this generated this nice error I have never seen before:
multierror.png
(163.43 KB. 640x480 - viewed 1481 times.)
But I guess you can also get this by deleting Battles.Eng...
«
Last Edit: June 01, 2012, 01:11:15 PM by Ghabry
»
Logged
Debeul
Giant Spider
Offline
Posts: 13
Re: Mod Selector
«
Reply #28 on:
July 14, 2012, 10:34:49 AM »
Is it possible to upload the sample files again?
thx
Logged
Ghabry
Developer
Offline
Posts: 1020
Re: Mod Selector
«
Reply #29 on:
July 14, 2012, 01:13:40 PM »
The downloads can be found in our download section:
Mod Selector
and
Mod Selector Sample Files
«
Last Edit: July 15, 2012, 12:23:44 AM by Ghabry
»
Logged
Pages:
1
[
2
]
3
4
...
6
Go Up
Print
Jump to:
Please select a destination:
-----------------------------
Warhammer Dark Omen Community
-----------------------------
=> News
=> Tavern
===> Introduction
=> Website Related
-----------------------------
Warhammer Dark Omen
-----------------------------
=> Singleplayer
=> Multiplayer
===> Rules and Standards
===> Tournaments
===> Armybuilds
=====> Empire Armybuilds
=====> Greenskin Armybuilds
=====> Undead Armybuilds
===> Tactics
=====> Empire Tactics
=====> Greenskins Tactics
=====> Undeads Tactics
===> Dark Omen Expanded
===> Black Prophecy (Dark Omen Mod)
=> Help Section
=> Tactical wargaming and other Warhammer games
-----------------------------
Multiplayer Campaign
-----------------------------
=> Dark Omen Conquest
-----------------------------
The Remake Project
-----------------------------
=> OMG WARTBED
=> Bright Portents
=> General Suggestions
-----------------------------
Modifications
-----------------------------
=> 3D Scenery Models
=> Maps
=> 2D Sprites
=> Troops
=> Tools
=> Campaigns
Loading...