(Unfortunately, that required patching another function.)
Let's continue this via PM or mail, then.I'm sure I could use your help for a whole bunch of things.
Posted 02 June 2009 - 07:50 AM
Let's continue this via PM or mail, then.I'm sure I could use your help for a whole bunch of things.
Posted 05 June 2009 - 05:19 AM
Yes and it would be very nice, if we don't need to uninstall BGT-Music after the transition anymore.
Greetings Leomar
Posted 05 June 2009 - 07:40 AM
Posted 05 June 2009 - 11:39 AM
Posted 05 June 2009 - 11:46 AM
It is useful if you install mods that "help" your songlist.2da to exceed 100 entires. It does not matter which mod it is. (I'd wonder if Tutu has a solution if you need to patch the BGMain.exe)
I've made an exe patch to increase the songlist limit to 500 entries.
I've updated the file to completely remove the byte restrictions on the songlist number.
(Unfortunately, that required patching another function.)
Edited by Azkyroth, 05 June 2009 - 11:49 AM.
"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard
Posted 05 June 2009 - 12:15 PM
This was a bit unclear on my part:I've updated the file to completely remove the byte restrictions on the songlist number.
(Unfortunately, that required patching another function.)
So does this raise the theoretical limit to 2^15 then? O.o
No.[EDITMOAR]WeiDU has a feature that adds a song in the next available slot, right? Will it need to be modified to work with this patch?
Edited by Taimon, 05 June 2009 - 12:16 PM.
Posted 05 June 2009 - 12:26 PM
Edited by Azkyroth, 05 June 2009 - 02:54 PM.
"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard
Posted 05 June 2009 - 07:12 PM
I consider all my stuff free to be used by anyone.Is it important to you to keep this as a separate mod, or can we go ahead and include this as an installation component?
Without too much other modifications 2^16 would be the current limit. But the hard theoretical limit is 2^32.[EDIT]I understand the TP2 as written provides for only 500 entries. How many can that be increased to, in theory, given the construction of the chunk of data that specifies the song?
Posted 06 June 2009 - 02:18 PM
"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard
Posted 06 June 2009 - 02:34 PM
Adding functionality is something that's very difficult to do with patching, because of the size limitations.
(Basically, you can only change existing instructions, not add new ones. If you find unused parts in the executable you might be able to hack something in, but that's really hard.)
Edited by dabus, 06 June 2009 - 02:36 PM.
Posted 06 June 2009 - 05:21 PM
See here, though I'm skeptical anything can be done with this either quickly or in volume. It will probably require some sort of external routine (like a DLL) which I understand would be quite difficult.Could this technique be adapted to add more animation slots?
Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle
Posted 06 June 2009 - 05:27 PM
--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.
Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)
Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)
Posted 09 August 2009 - 12:01 PM
Posted 09 August 2009 - 01:28 PM
Posted 10 August 2009 - 12:17 AM
Posted 10 August 2009 - 12:45 AM
Posted 17 May 2010 - 01:10 PM
34 Aerie MXAERIE.MUS
35 Anomen MXANOM.MUS
36 Jaheira MXAERIE.MUS
37 Kalah MXKALAH.MUS
38 Khalid MXKHALI.MUS
39 ShadowThief MXTHIEF.MUS
40 Viconia MXVICON.MUS
ACTION_IF (~not_too_many_entries_in_songlist~) AND (~exe_is_the_supported_one~) THEN BEGIN OUTER_SET my_friend_music = ~PlaySong(c-aranfr)~ COPY ~acm_files~ ~override~ ADD_MUSIC END ELSE BEGIN OUTER_SET my_friend_music = ~PlaySong(0) PlaySound("c-aranfr")~ COPY ~set_of_wavc~ ~override~ END COMPILE ~myScript_with_song_variable~ EVALUATE_BUFFER
IF Global("myvar","LOCALS",1) CC(0) !CD_SNV InMyArea(x) etc. THEN RESPONSE #100 %my_friend_music% SetGlobal("myvar","LOCALS",2) SDNS(P1) END
Edited by cmorgan, 17 May 2010 - 01:52 PM.
Posted 17 May 2010 - 11:48 PM
COPY_EXISTING songlist.2da override COUNT_2DA_ROWS 3 count_of_musics BUT_ONLY ACTION_IF count_of_musics < 500 BEGIN ACTION_FOR_EACH file IN c-aranfr.mus c-aranfr.wav BEGIN COPY ~aran/music/%file%~ override END ADD_MUSIC c-aranfr c-aranfr.mus END
Posted 18 May 2010 - 05:38 AM
COPY_EXISTING songlist.2da override COUNT_2DA_ROWS 3 count_of_musics BUT_ONLY ACTION_IF count_of_musics < 500 BEGIN OUTER_SET my_friend_music = ~PlaySong(c-aranfr)~ ACTION_FOR_EACH file IN c-aranfr.mus c-aranfr.wav BEGIN COPY ~aran/music/%file%~ override END ADD_MUSIC c-aranfr c-aranfr.mus ADD_MUSIC c-aranrm c-aranrm.mus END ELSE BEGIN OUTER_SET my_friend_music = ~PlaySong(0) PlaySound("c-aranfr")~ ACTION_FOR_EACH file IN c-aranfr.wav c-aranrom.wav c-aranin BEGIN COPY ~aran/music/%file%~ override END END