FunkyFr3sh Posted May 20, 2015 Author Share Posted May 20, 2015 dune2000.exe and dune2000config.exe were updated in the first post, now with window mode support 2 Quote Link to comment Share on other sites More sharing options...
D2k Sardaukar Posted May 20, 2015 Share Posted May 20, 2015 (edited) dune2000.exe and dune2000config.exe were updated in the first post, now with window mode supportAvira (still) goes crazy on the dune2000config.exe file, is there a way to prevent that? Might scare people away from using the program. Window mode fails for me above the original resolution. What did you change? No clear error message, game just won't start. Working: 640x400, 640x480, 1024x768 Fails: 720x480, 1152x864 Looks like it does not like resolutions that won't fit 32 (with no remainder) in the width. There was a problem with this in the battlefield-view before (got fixed), but not during game starting up, if I remember correctly. Shutting the game with the window-toolbar-thing (which also contains minimize) won't actually stop the game. It's still running in Processes. Edited May 20, 2015 by D2k Sardaukar Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted May 20, 2015 Author Share Posted May 20, 2015 I have Avira too, no false alarm hereWas updating to the latest DxWnd version, the version i used before was 2years old. Will check if it's related to the dxwnd update or the settings Edit:Updated dune2000.exe, all resolutions should be working againScanned the config on virustotal, no false alerts there either: https://www.virustotal.com/en/file/0fef0fe1b4eb0fdae7454f3722e62de1585f4e0326922fa868e859ecae177ab5/analysis/1432160523/ 1 Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted May 21, 2015 Author Share Posted May 21, 2015 dune2000.exe and dune2000config.exe updated:added GDI mode for FullScreen and Window -> Solves the problems with Alt+Tab on windows8 and might solve other drawing related problems Quote Link to comment Share on other sites More sharing options...
Silver83 Posted May 21, 2015 Share Posted May 21, 2015 I tried your latest version and it works pretty well, though Atreides mission one crashes with every resolution bigger than 1024x768. I guess this is because every resolution bigger than 1024x768 is bigger than the first map. IIRC older highres patch versions solves this by adding a surrounding black area to the map. Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted May 22, 2015 Author Share Posted May 22, 2015 Yes it's a known problem and is fixed in the Gruntmods dune 2000 download, the maps in that download are modified (bigger size). I don't have the maps as a separate download atm, but I can get them for you if needed Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted May 22, 2015 Author Share Posted May 22, 2015 Fixed a bug where the game kept running in the background in window mode when the "X" button was clicked to close the windowCommand line parameter "-Window" does now support the new window mode Quote Link to comment Share on other sites More sharing options...
D2k Sardaukar Posted May 22, 2015 Share Posted May 22, 2015 (edited) Yes it's a known problem and is fixed in the Gruntmods dune 2000 download, the maps in that download are modified (bigger size). I don't have the maps as a separate download atm, but I can get them for you if neededI still got some simple Python code that makes the maps bigger (with unreachable terrain based on resolution) and the menu background images bigger (with black around it based on resolution). I could see if I can put it into the Github code, but I never did this because I hoped you could find a way just in the Dune 2000 code to fix the issues. :) Is a cleaner way, in my eyes, than just hundreds of different background images and unnecessary terrain added to maps. Edited May 22, 2015 by D2k Sardaukar Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted May 22, 2015 Author Share Posted May 22, 2015 Fixing up the problem with small maps needs to be done yea, the menu backgrounds are not so important since the mission select, score screen etc are not centered either so I think it's better to keep the menu showing in the top left for now, it would just make it look more broken than now if the half is the centered and the other half not Quote Link to comment Share on other sites More sharing options...
Silver83 Posted May 22, 2015 Share Posted May 22, 2015 I don't have the maps as a separate download atm, but I can get them for you if neededI'd really appreciate that! Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted May 31, 2015 Author Share Posted May 31, 2015 dune2000.exe updated: Added support for infinite spice maps, to enable infinite spice in your map you need to open the map in a hex editor and change byte 7 to 03 Every thick spice will be infinite, thin spice not 1 Quote Link to comment Share on other sites More sharing options...
Klofkac Posted May 31, 2015 Share Posted May 31, 2015 dune2000.exe updated: Added support for infinite spice maps, to enable infinite spice in your map you need to open the map in a hex editor and change byte 7 to 03 Every thick spice will be infinite, thin spice notActually hex-editing is not needed. In map editor, you can place any special value you want (simply specify it in "Special value" field) and then place it somewhere in map. To see where it is placed you need to enable "Show unknown specials" option. Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted May 31, 2015 Author Share Posted May 31, 2015 Ah that is nice, so everyone can just set the special value for the first cell (top left) to 3 then Quote Link to comment Share on other sites More sharing options...
D2k Sardaukar Posted May 31, 2015 Share Posted May 31, 2015 Do you guys mean that the map size is unlimited? So extreme large battlefields are possible? I read it wrong, you mean unlimited spice, not unlimited land, lol. Quote Link to comment Share on other sites More sharing options...
Cm_blast Posted June 1, 2015 Share Posted June 1, 2015 It works! How make it works. Using the editor from the toolkit:special value = 3click on map anywhere to place a "3" on the map.any thick spice in the map now is ilimited. imagen 1 Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted June 1, 2015 Author Share Posted June 1, 2015 nice :D Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted June 4, 2015 Author Share Posted June 4, 2015 dune2000.exe updated: Added support for a new file called "rules.ini", fans of other westwood games might know this file, for those who don't know it -> This files contains almost all game settings in other westwood games and is used by every modder. The dune2000 version doesn't contain many settings yet but I will add more things later, it will take some time to complete it since there are hundreds (thousands?!) of possible settings. This file will replace all .bin files once it is done, tibed will not be needed anymore. Later I will add support for loading these settings from map files too, this way each map can have its own settings which override the global settings found in rules.ini This new feature does not work online yet, but I will add it the next days http://funkyfr3sh.cncnet.org/files/d2k/dune2000.exehttp://funkyfr3sh.cncnet.org/files/d2k/rules.ini I added 2 comments already, feel free to to add comments and post them in here in case the name of the setting might not tell what it is about 4 Quote Link to comment Share on other sites More sharing options...
Feda Posted June 4, 2015 Share Posted June 4, 2015 Wow man this is amazing! Quote Link to comment Share on other sites More sharing options...
Dato Posted June 4, 2015 Share Posted June 4, 2015 now need add them in config or make something like this :D Quote Link to comment Share on other sites More sharing options...
D2k Sardaukar Posted June 4, 2015 Share Posted June 4, 2015 Really awesome!Is there going to be an editor (like from other Westwood games) that can be used to edit the rules.ini file?I mean, editing the .ini is possible, but it's not very transparent/clear with so many settings! One needs at least some tabs, I presume. Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted June 4, 2015 Author Share Posted June 4, 2015 There are indeed a couple of editors for the rules.ini files from the other westwood games, but it was usually the better way to just use notepad (or notepad++). But if someone likes to create a editor for, why not? :D Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted June 4, 2015 Author Share Posted June 4, 2015 dune2000.exe updated: The game supports now loading a separate rules file for each map, the file must have the same name as the map. All settings found in the maps own .ini file will override the global settings found in rules.ini. The [settings] sections allows you force certain game options, this feature can be useful for some maps since you want players to start without units and/or mcv etc. We have created a new mod map with the name "Crate War on Arrakis", in this map you start without mcv and you only get 2 infantry, your mission is to search the map for crates to win the battle. The amount of crates is 5x higher than with normal settings and the map is very small (you will see crates all the time). This map is a multiplayer only map since AI players are not smart enough to search for crates :D Thanks to dato for porting the map over from Red Alert!Download: http://funkyfr3sh.cncnet.org/files/d2k/new-mod-map.zip This is how the new map extension file looks:[basic]Name=Crate Wars On ArrakisAuthor=Dato[settings]Crates=YesWorms=0Credits=1TechLevel=1UnitCount=2StartWithMCV=No[Vars]harvestUnloadDelay=60;harvestBlobValue - The value of each blob of spice (a harvester can carry up to 7)harvestBlobValue=100harvestLoadSpiceDelay=60starportUpdateDelay=1500starportStockIncreaseDelay=1500starportStockIncreaseProb=10starportCostVariationPercent=25starportFrigateDelay=1500refineryExplosionOffsetX=62refineryExplosionOffsetY=-79HarvesterDriveDistance=64RepairDriveDistance=64BuildingRepairValue=12UnitRepairValue=8SinglePlayerDelay=2NumberOfFremen=2SandWormAppetite=3SandWormInitialSleep=50SandWormFedSleep=40SandWormShotSleep=90NumberOfCrates=5CratesPerPlayer=NoDevastatorExplodeDelay=100IgnoreDistance=2CrateCash=2000;ShowWarnings - Debug feature for game crashesShowWarnings=YesDeathHandAccuracy=3 Note: when you create a new map you do NOT need to include all these lines (this is just an example file), only include the lines you like to have changed! This is how a map would look if you only want to change the spice value and force crates to be on:[basic]Name=My new super spice map!Author=YOU[settings]Crates=Yes[Vars]harvestBlobValue=500 CnCNet was updated to use all these features, for games in the CnCNet lobby the file named "rules-spawn.ini" will be used to ensure it won't do any changes to your singleplayer "rules.ini" file 3 Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted June 5, 2015 Author Share Posted June 5, 2015 updated dune2000.exe: text events can now be loaded from .ini files, this way you don't need to modify text.uib anymore for your missions example for atreides mission 1: http://funkyfr3sh.cncnet.org/files/d2k/a1v2.ini 2 Quote Link to comment Share on other sites More sharing options...
GeneralStrife Posted June 5, 2015 Share Posted June 5, 2015 amazing effing stuff.. Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted June 8, 2015 Author Share Posted June 8, 2015 dune2000.exe and rules.ini updated: InfiniteSpice can now be enabled via rules.ini and map .ini files That also means that InfiniteSpice via special value 3 in the map editor doesn't work anymore, please update your maps and remove the special value 3 and use the .ini now instead! All CnCNet multiplayer/skirmish maps were updated automatically 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.