Duke4.net Forums: New mapping tool for cstats - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

New mapping tool for cstats  "View and calculate cstat/flags values"

User is online   Stumpy 

#1

I spent the weekend writing a new Windows application to facilitate working with cstat/flags values in conjunction with Mapster32. It allows you to view and calculate various flags values for sprite, wall and ceiling/floor cstats. Download the zip file here
2

User is offline   blizzart 

#2

View PostStumpy, on 16 December 2024 - 07:59 PM, said:

I spent the weekend writing a new Windows application to facilitate working with cstat/flags values in conjunction with Mapster32. It allows you to view and calculate various flags values for sprite, wall and ceiling/floor cstats. Download the zip file here



Hmm, I got a virus warning from Avast.
Is there a reason why this file is 138 MB big?
0

User is online   Stumpy 

#3

View Postblizzart, on 17 December 2024 - 08:50 AM, said:

Hmm, I got a virus warning from Avast.
Is there a reason why this file is 138 MB big?



No virus, you can upload it to some site for virus scan if you like. AFA the size it is a monolithic file which has all the needed components (dll etc) rolled into one... I guess Visual Studio 2022 WinForms applications are just big when published that way :rolleyes:
0

User is online   Stumpy 

#4

I just uploaded CStat Calculator.exe to VirusTotal and it is clean according to their analysis
0

User is online   Stumpy 

#5

View PostStumpy, on 16 December 2024 - 07:59 PM, said:

I spent the weekend writing a new Windows application to facilitate working with cstat/flags values in conjunction with Mapster32. It allows you to view and calculate various flags values for sprite, wall and ceiling/floor cstats. Download the zip file here


Newest version here
0

#6

This should be implemented within GUI or using a script inside a map editor itself. I think it doesn't make sense to have a standalone app for that specific function.
0

User is online   Stumpy 

#7

View PostJan Satcitananda, on 18 December 2024 - 04:21 AM, said:

This should be implemented within GUI or using a script inside a map editor itself. I think it doesn't make sense to have a standalone app for that specific function.



That would be a great idea, but I have no idea how such a thing would be accomplished. This effort was just me playing around with an idea and I thought it might be interesting or useful to other mappers.

AFA the executable size it seems that if you use Publish as single fie option in Visual Studio, it will include all the .NET Framework components needed, thereby vastly increasing the exe size. On the other hand it won't prompt the user to install the .NET runtimes so its a tradeoff. I may look at adding a framework dependent version soon, which would of course require the user to install the needed .NET framework themselves.
0

User is online   Stumpy 

#8

View PostJan Satcitananda, on 18 December 2024 - 04:21 AM, said:

This should be implemented within GUI or using a script inside a map editor itself. I think it doesn't make sense to have a standalone app for that specific function.



That would be a great idea, but I have no idea how such a thing would be accomplished. This effort was just me playing around with an idea and I thought it might be interesting or useful to other mappers.

AFA the executable size it seems that if you use Publish as single fie option in Visual Studio, it will include all the .NET Framework components needed, thereby vastly increasing the exe size. On the other hand it won't prompt the user to install the .NET runtimes so its a tradeoff. I may look at adding a framework dependent version soon, which would of course require the user to install the needed .NET framework themselves.
0

User is online   Stumpy 

#9

Sorry for the double post, there was a system glitch and it seemed the first post actually didn't post :unsure:

Anyway I have rebuilt the application as framework-dependent now resulting in a MUCH smaller exe file, which you may download here

This version will prompt to install the necessary .NET Desktop Runtime if you don't already have it installed.

I do appreciate all comments and suggestions, thanks!
0

#10

View PostStumpy, on 18 December 2024 - 08:45 AM, said:

That would be a great idea, but I have no idea how such a thing would be accomplished. This effort was just me playing around with an idea and I thought it might be interesting or useful to other mappers.

AFA the executable size it seems that if you use Publish as single fie option in Visual Studio, it will include all the .NET Framework components needed, thereby vastly increasing the exe size. On the other hand it won't prompt the user to install the .NET runtimes so its a tradeoff. I may look at adding a framework dependent version soon, which would of course require the user to install the needed .NET framework themselves.


I see you're doing what's within your expertise. I kinda was in your position back in 2004, when I wasn't satisfied with the original Build editor, but was eager to have a better one and just decided to write my own map editor from scratch that would feature convenient checkboxes for each cstat flag (among other things).

But now we also have lots of new features in Mapster32, and everybody has the access to source code of both the game and the editor. If you take your time, you could possibly create a fork of it and experiment with an alternative GUI for Mapster32. If it goes well, it could become part of the project and you'd be honored for that contribution, because I didn't find time and will to dig into that myself. But please do not use resource hungry frameworks, keep it lean and agile. And do not expect that to be an easy task (certainly not for a single weekend :P ).
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options