No, the tool uses sorting functions from System.Data.Linq.
3.5 however is a very old .NET version and almost standard for any win XP and newer OS.
none at all is not possible, since i'm not writing my own Forms, buttons, listboxes and other stuff from scratch. That's what .NET is there for, not wasting time on writing your own recurring basis elements and functions. _________________ SHP Artist of Twisted Insurrection: Nod buildings
For whatever reason the CD check removal hack is not already in hacks.ini although you need it for HyperPatch. I've adapted Nyerguds' CD check removal code to ModExe because I think it's easier to have everything in one place. I take no responsibility for the hack itself.
Just as a note, even after applying the hack that removes the requirement for movmd, multimd and mapsmd the game would stop reading all music if I removed multimd.mix. I don't know why it is dependent on that file as it is just a completely empty mix in my mod, but without it the music does not function at all. QUICK_EDIT
Joined: 24 May 2004 Location: Flanders (Be) Posts:300000001
Posted: Mon May 11, 2015 11:31 am Post subject:
Askeladd wrote:
For whatever reason the CD check removal hack is not already in hacks.ini although you need it for HyperPatch. I've adapted Nyerguds' CD check removal code to ModExe because I think it's easier to have everything in one place. I take no responsibility for the hack itself.
I didn't actually make that hack... it was just some NoCD thing I found online. I turned it into a small program of my own because the original did a crc check, and I wanted to use it to run the edited exes used by mods on TFD. I don't think I ever even checked what code it changed in the exe. _________________ QUICK_EDIT
For whatever reason the CD check removal hack is not already in hacks.ini although you need it for HyperPatch. I've adapted Nyerguds' CD check removal code to ModExe because I think it's easier to have everything in one place. I take no responsibility for the hack itself.
I didn't actually make that hack... it was just some NoCD thing I found online. I turned it into a small program of my own because the original did a crc check, and I wanted to use it to run the edited exes used by mods on TFD. I don't think I ever even checked what code it changed in the exe.
Added the hacks necessary to allow FinalSun to read files from subdirs. Mind that it's necessary to put the palettes that FinalSun needs in finalsun.mix and to put finalsun.mix in cache.mix (if you follow the suggested filenames).
I found Firestorm missions apparently crash if EXPAND%02d.MIX is renamed because for some reason, it apparently checks for the existence of Expand01.mix during the mission and the game then immediately crashes if it's not found. By even simply placing a 0KB Expand01.mix in the game's directory, Firestorm missions will then stop crashing.
There already is a hack that prevents this however, called Enable TS/FS selection screen.
FS missions will no longer crash if Expand01.mix is missing when this hack is applied and since it can potentially become a critical issue for modders, it's best to make a mention of this in the hack's description and to maybe also change the name of the hack to "Disable Expand01.mix check" or something like that.
By the way, there's a good number of hacks now already and finding the one you need can take a while. It'd be nice if there was a search function or filter that allows you to just type a word and it'll then list all hacks which have that word in their name or description. _________________ QUICK_EDIT
While it would be great to remove all the stupid limitations that FA has in comparison to FS, it might be better to just wait till RP's new map editor is finish. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Many of the limitations can be edited out from FAdata.ini but yea it still has many quirks.
For example the original map autodetection looks for TREE32-TREE36 as I recall, among other things, and will save as .yrm regardless of my mod being .mpr only, so things like that can be fixed. _________________ http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai QUICK_EDIT
While it would be great to remove all the stupid limitations that FA has in comparison to FS, it might be better to just wait till RP's new map editor is finish.
Once all modifications have been applied, loading is extremely slow...
I am trying to make a no-cd exe's for NP_SE_0022.
So what I do
1st apply Npatch
2nd load exe into ModExe
3rd apply no need to Ra2MD.exe
4th then apply all those no-cd & blow up ones
Then launch game, and it works but very slow load...
Am I doing some thing wrong? or can some one else try and see if its just not possible... I have attached the Npatch version to this post. Or I could upload the exe and if possible see whats wrong...
When creating maps, FinalSun/FA2 limits the width/height to 200. This raises it to 511.
Code:
[MapSize]
Name=Raises the map width, height limit from 200 to 511.
Description=Raises the 200 limit to 511 when creating new maps.
Type=FinalSun
Offset=0xC773F
Original=C8 00
Modified=FF 01
Offset=0xC7749
Original=C8 00
Modified=FF 01
[MapSizeFA2]
Name=Raises the map width, height limit from 200 to 511.
Description=Raises the 200 limit to 511 when creating new maps.
Type=FinalAlert2
Offset=0xD2F4F
Original=C8 00
Modified=FF 01
Offset=0xD2F59
Original=C8 00
Modified=FF 01
Boundary sizes are like 108x404, 124x352, 154x282, 174x250, 250x174, 282x154, 352x124, 404x108, 428x84, 448x64, 458x54 etc. Above that FinalSun/FA2 crashes or starts giving glitches. Watch out the bottom-left corner for glitches. As the restriction is for map creation only, once maps with these sizes are created, those can be edited without this hack. Mods that use full range values of 256 cells might have to raise it to 512.
Noticed that DTA mod already has such a map (Archipelago). QUICK_EDIT
the max a TS/RA2 map supports is X+Y<=512
by allowing X and Y to be 511 in the editor would be wrong imo.
FinalSun and FinalAlert crash as soon as a map has more than ~43800 cells.
The minimap of FinalSun gets corrupt when a map has more than ~43500 cells. _________________ SHP Artist of Twisted Insurrection: Nod buildings
FinalSun/FA2 has set a simple limit of W <= 200 and H <= 200 which doesn't allow creation of map with size like 404x108. Once a blank map is created then the hack can be undone. No need to apply the hack permanently and supply with the mods.
Your computations are correct. W + H <= 512 and W * H should be less than ~43500. With the hack, mappers can try that themselves. Example boundary sizes info etc. is for that. Felt that hack is better than giving blank maps with these custom sizes. QUICK_EDIT
It could be always done by making 200x200 map and editing in text editor in order to push coordinates a bit higher. But this hack surely saves some time and especially if height level is set more than 0, because newly added tiles are always at 0 level.
Quote:
The minimap of FinalSun gets corrupt when a map has more than ~43500 cells
Is that corrupt only in FS preview or does it also save corrupted map? QUICK_EDIT
when i made big maps for DTA, i edited the new clean map with a text editor for the final size and tested the limit until FinaSun crashed. Because opening a map works even if it's above the 200x200 limit, as long as the number of cells is smaller than the above mentioned limits.
Only FinalSun's little preview window is corrupt. I think the preview that is stored inside the map is still correct, though not really sure since neither DTA nor TI use that anymore.
If someone would be able to hack the exe and completely disable the preview window and all of it's code that generates it, i wouldn't be surprised to see FinalSun being able to handle the max supported size of X+Y<=512.
I would love to finally create a super huge 256x256 map, not those medium sized 208x210 maps. _________________ SHP Artist of Twisted Insurrection: Nod buildings
If someone would be able to hack the exe and completely disable the preview window and all of it's code that generates it, i wouldn't be surprised to see FinalSun being able to handle the max supported size of X+Y<=512.
Well, it is kinda sad if the whole reason for crash is only map preview, but also a lucky one, could be easier to disable the map preview instead of debugging some memory overflow.
The full possible dimensions without crash are about minimum necessary proportions for 8 players map, to provide enough space for bases and tactical use of terrain. I am currently working on 190x225 map for 8 players and it is quite challenge to make balanced terrain with such small dimensions. QUICK_EDIT
Well, it is kinda sad if the whole reason for crash is only map preview, but also a lucky one, could be easier to disable the map preview instead of debugging some memory overflow.
I would love to finally create a super huge 256x256 map, not those medium sized 208x210 maps.
I love how you call them "medium" even though the vast majority of maps are well below that size
I would personally refrain from making such extremely large maps, you're poking at the limits of the game, not just the editor. I'm sure the AI pathfinding will begin to suffer, as it did for me in a map that was a "mere" 170x156: The AI could no longer efficiently find and attack the opponents on the other side of the map, instead attacking neutral objects most of the time. Not to mention possible rendering/performance issues. _________________
[AutoTargetNeutral]
Name=Auto-target neutral units
Description=Players will auto-target units of houses that have MultiplayerPassive=yes (such as visceroids)
Type=TS
Offset=0x22D4B2
Original=84 C0 0F 85 06 04 00 00
Modified=90 90 90 90 90 90 90 90
Is there anyway we can apply this to YR? _________________
Sharing small tweak: for micromanaging aircraft teams, I usually create teams with assigned numbers. But team number obstructs view of ammo/passengers pips. This tweak sets x offset from center in pixels.
Code:
[TeamNumberXOffset]
Name=Team number x offset
Description=Adjusts distance of team number from center
Type=TS
Group=Graphics
Offset=0x237D29
Original=04
Modified=??
InputText=Set number of pixels
Is there any way to set X and Y?
e.g. getting the number to the top right corner
Can you move it to the right?
You mention that it's set from the center. Would you need negative values to reach the right side? _________________ SHP Artist of Twisted Insurrection: Nod buildings
Is there any way to set X and Y?
e.g. getting the number to the top right corner
Y axis is probably coded elsewhere, as it slightly changes Y position if unit already has another ammo/passenger/storage pip. Changing one value would probably also affect pip position. But that could be adjusted in SHP itself to get proper position.
Lin Kuei Ominae wrote:
Can you move it to the right?
You mention that it's set from the center. Would you need negative values to reach the right side?
Only to the left, negative value would require more research/skills, but that is beyond my capabilities.
That x value at 0x237D29 can have a signed byte 127 to -128. Can use negative number to push the team number to the right like FF = -1, F4 = -12.
For y when there is pips, the value at 0x237CE4 can be changed (original -5 that is 0xFFFFFFFB). To make it positive, have to change all 4 bytes like 0x00000008.
Initial y value, instruction at 0x237CCC uses an OR operation to set it to -1, so direct hex edit may not be possible but patch can be made. QUICK_EDIT
When moving the group number pip, it's worth keeping in mind it affects buildings too. The group number is offset from the leftmost cell on the building's foundation. _________________
The value at 0x237DE0 is 4 bytes for the Power text where the original value is 0x00000149, those last 3 digits are processed separately. The logic for 3rd last digit checks for 1, 2 or others. The team number uses only a byte to pass 0x49. Even if the 3rd last digit is provided, it will affect both buildings and units in the same manner, so no benefit there.
What I meant was that the code is common for both building and units, so if it is changed for units, it changes for building also. Players may be used to seeing that number on the left corner for buildings. With both the X and Y being available for change, the values could be chosen to look well for both buildings and units. If players don't care much for the number on building, top-right placement for units looks just fine.
Or the patch could be enhanced further by checking whether the current techno is building or not and give 2 different sets of code. Then you can have separate number placement for buildings and units. But that is not for me, will leave it to experts. QUICK_EDIT
[AutoTargetNeutral]
Name=Auto-target neutral units
Description=Players will auto-target units of houses that have MultiplayerPassive=yes (such as visceroids)
Type=TS
Offset=0x22D4B2
Original=84 C0 0F 85 06 04 00 00
Modified=90 90 90 90 90 90 90 90
Mind that this hack hasn't been tested yet, but I will do so later on (unless someone beats me to it).
Edit: I tested it and can confirm that it works.
E1 Elite wrote:
Also wanted to point out that AutoTargetNeutral (TS) can clean up civilians, cars, trains etc. also.
geof101 wrote:
[AutoTargetNeutral]
Is there anyway we can apply this to YR?
Man at some point I really need to try this together with the madness that is Visceroid breeding, mabe the AI wont suffer so much now compared to back when I did the TS tutorial for it: https://ppmforums.com/viewtopic.php?t=12257
Thinking about cyborg and jumpjet die animations, was jumpjet infantry supposed to fall down when destroyed? Has TS engine such logic implemented in the end or at least partialy?
The whole JJ logic is pretty half-finished and messed up. The JJ also has different firing anims for standing on ground and while flying, yet it always uses the FireFly firing anim only (why the shadow vanishes when firing while standing on ground, since flying frames have engine generated shadows and none in the SHP).
In addition it doesn't use the Hover anim when "standing" in midair but uses the ground standing frame instead.
The Cyborg logic also seems to have a missing feature of having a damage spark anim. The Cyborg commando still has it in the SHP, but neither the sequence nor the logic supports it. It might have been part of the unused BerzerkAllowed logic (too bad this is a global key and not a unit specific one). _________________ SHP Artist of Twisted Insurrection: Nod buildings
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum