Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 02:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Redux 5065 How to properly create a .tinymap ?

Discussion on Redux 5065 How to properly create a .tinymap ? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
KingGannon's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 27
Received Thanks: 2
Redux 5065 How to properly create a .tinymap ?

Long story short is the title - How do I properly create a .tinymap?

If you want to hear the whole longer version of the story below:

ERROR: No such map ID as <INSERT MAP ID>
And I'm unable to log in to a map that does not exist.

The reason why a map does not exist is because the .tinymap itself is not pointing to the Map ID. In the past I would copy and paste a tinymap and Hex Edit the ID. This only works for the DMAPs that already have an existing tinymap. What I'm doing is creating a new map that with DMAPs that does not have an existing tinymap so I need to create a new tinymap.

I have followed the instructions from Kishi's TinyMap post.
I assumed that Redux's TinyMap reference and the DLLs built into Redux *should be* correct.
ConquerDirectory is where my Conquer 2.0 client would be located.

I removed my tinymap folder in the source and if everything is correct I should be able to have a bunch of new tinymap files being recreated again.
Unfortunately I only ended up with an empty tinymap folder.

How do I create a .tinymap file properly ?
KingGannon is offline  
Old 08/14/2023, 07:19   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Pretty sure you need to enable some flag during instantiation that makes it load dmaps for the first time. You can probably find it if you just search "TinyMap" in your source code or something.
Spirited is offline  
Old 08/14/2023, 22:39   #3
 
KingGannon's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 27
Received Thanks: 2
I tried looking around but I don't think that is the cause of the issue.
I did find the TinyMap.dll built in Redux have the ConquerDirectory set to C:/Program Files (x86)/Conquer 2.0 .
Which is completely different from the ConquerDirectory I have in Redux so I probably need to get myself a new TinyMap.dll .

When I tried to make that using Kishi's TinyMap source it's missing a public struct portal reference so I don't know what I can do to add the public struct portal ?
KingGannon is offline  
Old 08/15/2023, 01:58   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by KingGannon View Post
I tried looking around but I don't think that is the cause of the issue.
I did find the TinyMap.dll built in Redux have the ConquerDirectory set to C:/Program Files (x86)/Conquer 2.0 .
Which is completely different from the ConquerDirectory I have in Redux so I probably need to get myself a new TinyMap.dll .

When I tried to make that using Kishi's TinyMap source it's missing a public struct portal reference so I don't know what I can do to add the public struct portal ?
Looking into Redux... I see where you set the ConquerDirectory option. I'd expect that would do it as well, but I guess what maps are you trying to add? Is it possible that the map is malformed for that version? There's also a drop-in modification or replacement of it you could try: .
Spirited is offline  
Thanks
1 User
Old 08/15/2023, 02:38   #5
 
KingGannon's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 27
Received Thanks: 2
I will attach a screenshot of the ConquerDirectory I have set.

I'm trying to add the Desert Arena and the Water Arena into the source.

These are the fully custom maps I found released in the link below:


EDIT

I just tried to used both Kishi's TinyMap source and the EnhancedTinyMap to make the TinyMap.dll and both of them still failed.
I attached screenshots showing my errors. All I had done was the edit the TinyMapServer.cs and I changed the ConquerDirectory. I did not edit any other .cs files in the both TinyMap and the EnhancedTinyMap source code.

The only other changes I can think of right now is to add a portal.cs
Attached Images
File Type: png Common Tinymap.png (45.4 KB, 26 views)
File Type: png MapHandler Tinymap.png (51.8 KB, 26 views)
File Type: png Error GameServer Tinymap.png (68.7 KB, 25 views)
File Type: png Error Missing Portal Reference Tinymap.png (39.9 KB, 25 views)
File Type: png Error Properly Working Tinymap.png (29.4 KB, 19 views)
KingGannon is offline  
Old 08/15/2023, 04:56   #6
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by KingGannon View Post
I will attach a screenshot of the ConquerDirectory I have set.

I'm trying to add the Desert Arena and the Water Arena into the source.

These are the fully custom maps I found released in the link below:


EDIT

I just tried to used both Kishi's TinyMap source and the EnhancedTinyMap to make the TinyMap.dll and both of them still failed.
I attached screenshots showing my errors. All I had done was the edit the TinyMapServer.cs and I changed the ConquerDirectory. I did not edit any other .cs files in the both TinyMap and the EnhancedTinyMap source code.

The only other changes I can think of right now is to add a portal.cs
Are the maps compressed in 7z files? Or are they the raw dmap files? If they're the later (which is what patch 5065 works with), then you should have ExtractDMaps set to false. If it still doesn't work, then blame Cookie. Hehe
Spirited is offline  
Old 08/15/2023, 06:41   #7
 
KingGannon's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 27
Received Thanks: 2
I have tried changing ExtractDMaps to False.
There were no changes the tinymap folder still remains empty.

As much as it makes sense to blame Cookie for being the author. I don't believe it's a faulty DMAP that Cookie provided. If it were really Cookie's maps then there would actually be other .TinyMap populating the tinymap folder instead of an empty folder. Only tinymaps that would be missing is are the GameMap IDs using Cookie's DMAPs.

It has to do with what I am doing wrong in the process of creating the TinyMaps with the DMAPs. It's either the TinyMaps.dll or it's the source settings. I probably believe it might be both.

Is there a way to decompile the TinyMaps.dll that Redux has ? It would be so much easier to look at that missing Portal reference.
KingGannon is offline  
Old 08/15/2023, 06:49   #8
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by KingGannon View Post
I have tried changing ExtractDMaps to False.
There were no changes the tinymap folder still remains empty.

As much as it makes sense to blame Cookie for being the author. I don't believe it's a faulty DMAP that Cookie provided. If it were really Cookie's maps then there would actually be other .TinyMap populating the tinymap folder instead of an empty folder. Only tinymaps that would be missing is are the GameMap IDs using Cookie's DMAPs.

It has to do with what I am doing wrong in the process of creating the TinyMaps with the DMAPs. It's either the TinyMaps.dll or it's the source settings. I probably believe it might be both.

Is there a way to decompile the TinyMaps.dll that Redux has ? It would be so much easier to look at that missing Portal reference.
Well, that's why I recommended replacing it with the one I linked you to. That way, you can step through the code and debug it. And yeah, that's really weird that the portal reference is missing. Maybe the project is referencing an older TinyMap project or something. You can also try replacing the dll with the latest if you haven't already.
Spirited is offline  
Old 08/15/2023, 10:18   #9
 
KingGannon's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 27
Received Thanks: 2
To clarify what I was said
I just tried to used both Kishi's TinyMap source and the EnhancedTinyMap to make the TinyMap.dll and both of them still failed.

Both Kishi's TinyMap source and the EnhancedTinyMap you linked me does NOT contain the portal reference. If you do try to make the TinyMap.dll and use it in the Redux source you will get that CS1061 error.
The TinyMap.dll that was built into Redux has a portal reference and I have gone through the trouble of decompiling the .dll and then showing what that source code would look like reverse engineered. I am reluctant to upload that version of the source code since it is not exactly work of my own... And this is already going to involve some degree of plagiarism. I will reconsider if anyone cares about this code enough and doesn't mind me uploading it and I would not be seeing this removed.

Regardless, the real root cause of my problem is not a dll. It is much simpler. I'm missing \ at the end.

Wrong way
E:/LAN MMOs/CO Classic/5065 Redux/Client 5065
Right way
E:\LAN MMOs\CO Classic\5065 Redux\Client 5065\

And in the <Insert client directory>\map\ that empty tinymap folder should be removed. Just in case.

If you ask me even though these fixes seem simple I believe there should be some sort of guide written for properly creating a .tinymap. Unfortuntely every source is different so my limitation for creating .tinymap files is limited to people using Redux for now...
Regardless of experience from first timer to novices or even people who got years of experience should benefit from guides being written (it's not just tinymaps). Starting some where like write some kind of guide of properly creating a .tinymap so that we can port custom created maps (not just from Cookie) or maybe port maps from other games. Overtime, this information can add/update/change as long as there is some activity in using this source in the community.

EDIT
I wanted to thank you to sharing that EnhancedTinyMap if it wasn't for you I wouldn't have made it this far. Nor would I had learned this much details about the TinyMap.dll that was built into Redux.

What do you think about the TinyMap.dll or having a written guide for properly creating a .tinymap ?
KingGannon is offline  
Old 08/15/2023, 18:58   #10
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
I found the source code of TinyMap with the portal references. I'm not sure where I got it from, but I don't think anyone's going to care if I post it here.
Attached Files
File Type: zip TinyMap.zip (545.9 KB, 11 views)
Spirited is offline  
Reply


Similar Threads Similar Threads
[Learning Redux] Video Guides To Using Redux
03/22/2024 - CO2 PServer Guides & Releases - 43 Replies
So I know jumping into a new source can be scary and it's not something everyone wants to do, especially if they have a lot of content running already under something else (looking at you NCOS based servers!). These videos are designed to help people get their feet wet with Redux by providing accurate and easy to follow information on how to accomplish common tasks. DOWNLOAD REDUX/FAQ:...
[Selling] Saints Row 4, Metro Redux, Metro Last Light Redux Keys
12/14/2014 - Steam Trading - 1 Replies
---
[Buying] Metro 2033 Redux, Metro LL Redux, Fallout NV, Fallout 3, S.T.A.L.K.E.R: SoC
12/07/2014 - elite*gold Trading - 4 Replies
Suche diese Spiele für e*g (Steam).



All times are GMT +1. The time now is 02:14.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.