9sam1 Posted October 13, 2008 Author Share Posted October 13, 2008 Is there a converter to convert older games to 2.7? If not, when might that be coming? Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted October 13, 2008 Share Posted October 13, 2008 @9sam1:> Is there a converter to convert older games to 2.7? If not, when might that be coming?Im thinking of building a universal mapmaker/converter. so if I get to it… Link to comment Share on other sites More sharing options...
AdrianC Posted October 13, 2008 Share Posted October 13, 2008 Not sure if there is one, but.I've started working today on scripting a map converter. Its a fairly complicated script, but many people need it…. Hell I will need it soonMaybe I'll charge something for it, lolLike 1 custom sprite for this scriptProbably not Link to comment Share on other sites More sharing options...
The Oracle Posted October 13, 2008 Share Posted October 13, 2008 if you did no one would "buy" it. lol Link to comment Share on other sites More sharing options...
AdrianC Posted October 13, 2008 Share Posted October 13, 2008 Lol, are you sure? I think people would give up a custom sprite for the ability to upgrade to 2.8 (or 3.0) Link to comment Share on other sites More sharing options...
DrNova Posted October 13, 2008 Share Posted October 13, 2008 you cant "script" a map converter Link to comment Share on other sites More sharing options...
AdrianC Posted October 13, 2008 Share Posted October 13, 2008 Umm.. I think I can.Its not exacly map converter.More like, take all the map data from this server, save it in a few .inisAnd than load those inis in another server, and recreate those maps.I've started working on it already, and its going well. Link to comment Share on other sites More sharing options...
Fred Posted October 13, 2008 Share Posted October 13, 2008 Nice idea. Link to comment Share on other sites More sharing options...
AdrianC Posted October 14, 2008 Share Posted October 14, 2008 Ok, so now using my converter, you can basically copy everything visible on a map.It won't copy any atributes, yet.It won't connect maps together, yet.Only problem is… its really slow. Like 2 min/mapAlthough, I'm using an old computer right now, 1.2 ghz single core and 1.5 gb ram Link to comment Share on other sites More sharing options...
The Oracle Posted October 14, 2008 Share Posted October 14, 2008 @AdrianC:> Ok, so now using my converter, you can basically copy everything visible on a map.> > It won't copy any atributes, yet.> > It won't connect maps together, yet.> > Only problem is… its really slow. Like 2 min/map> > Although, I'm using an old computer right now, 1.2 ghz single core and 1.5 gb ramwow… 2 minutes a map. that's... slow Link to comment Share on other sites More sharing options...
AdrianC Posted October 14, 2008 Share Posted October 14, 2008 Yeah, I know. There isn't really a way to make it faster, using only scripting. Hold on, I'll even time it now. brb Link to comment Share on other sites More sharing options...
AdrianC Posted October 14, 2008 Share Posted October 14, 2008 So I timed it… and its not very good.It took 19 seconds to store all the data needed from the original map (for 1 map)It took 5 minutes to recreate that map, howeverThis script works in 9 stages. Ground, Mask1, Animation1, Mask2... and so onYou could take out the animation ones, so it would take about 2-3 min per map.Ok, you know what, I'll time it again on a better computer. BrbEDIT EDIT EDITAlright, so I just tested it on a 2.4 GHz quad core with 3 gb ram1 min 40 seconds to recreate the map.Again, if you take out the animations, it would only take about half that, so, its about 50 seconds per map.If anybody wants to beta test it, just leave a message. Link to comment Share on other sites More sharing options...
tiggilyboo Posted October 14, 2008 Share Posted October 14, 2008 @Simius:> Im thinking of building a universal mapmaker/converter. so if I get to it…I could help you out on that if you'd like. I have a start off… Though it is pretty bugged XD Link to comment Share on other sites More sharing options...
dg1423 Posted October 14, 2008 Share Posted October 14, 2008 lol, I already have one ready. I just need new Types for 2.8 Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted October 14, 2008 Share Posted October 14, 2008 @dg1423:> lol, I already have one ready. I just need new Types for 2.8(btw 2.8 = 3.0) I posted them. Ill fix it right now with the needed modifications.```Type NewMapFogRec  color(1 To 4) As Long     'Fog shading  Speed As Single        'Fog movement speed  Visible As Byte        'Fog visibilityEnd TypeType NewMapBackdropRec  Picture As String * 20     'backdrop file  color(1 To 4) As Long     'backdrop shading  Visible As Byte        'backdrop visibilityEnd TypeType NewMapTileRec  color(1 To 4) As Long     'tile shading  Sheetnum As Byte        'tile sheetnumber  XSource As Byte        'tile x location on the sheet  YSource As Byte        'tile y location on the sheet  Attribute As Byte       'tile attribute  Data(1 To 3) As String * 20  'tile data, 20 character strings  Visible As Byte        'visibility, flips for animationsEnd TypeType NewMapLayerRec  Tile() As NewMapTileRec    'Tiles in the layer  Backdrop As NewMapBackdropRec 'Backdrop for the layer (ground only, or shading)  Visible As Byte        'VisibilityEnd TypeType NewMapRec  Header(1 To 16) As Byte    '128-bit, used for ByteScripts  Layers() As NewMapLayerRec   'Layers in the Map  Fog As NewMapFogRec      'Fog status in the map  Name As String * 20      'Map's name  Morality As Byte        'Determines rules for map  Up As Long           'Map above this map  Down As Long          'Map below this map  Left As Long          'Map left this map  Right As Long         'Map right this map  NPC(1 To 14) As Long      'NPCs on this map  music As String        'Music on this map  BootMap As Long        'Map loaded if the player dies  BootX As Byte         'X position of the player when he/she dies  BootY As Byte         'Y position of the player when he/she dies  Indoors As Byte        'Is the map indoors?  Weather As Integer       'Weather on the mapEnd Type``` Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted October 14, 2008 Share Posted October 14, 2008 bumpadded new type database. see previous post. Link to comment Share on other sites More sharing options...
AdrianC Posted October 14, 2008 Share Posted October 14, 2008 I've posted my map copying script here:http://www.touchofdeathforums.com/smf/index.php/topic,32620.0.htmlSlow, but if you have no other option, its good enough.It does not connect maps together. It does not place tile attributes.I might add those later on, but not right now. Link to comment Share on other sites More sharing options...
DrNova Posted October 14, 2008 Share Posted October 14, 2008 The problem with attributes, is the changes per version.Attribute 5 might be something else in a later version then the old one, which would cause problems.Would need a lengthy checking procedure to identify types, ect, probably slow ot down further Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted October 14, 2008 Share Posted October 14, 2008 @DrNova:> The problem with attributes, is the changes per version.> Attribute 5 might be something else in a later version then the old one, which would cause problems.> > Would need a lengthy checking procedure to identify types, ect, probably slow ot down furtherits also not compatible with 3.0\. Layers 2-8 (max 256) do not specifically exist in 3.0 and do not have the same properties. Link to comment Share on other sites More sharing options...
DrNova Posted October 14, 2008 Share Posted October 14, 2008 Well if it gets it up to 2.7, your guys's updater can do the rest, unless your updater can span old versions (assuming one is released) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now