Giter Club home page Giter Club logo

polyworks's Introduction

OpenSoldat PolyWorks

Map editor for the game OpenSoldat

Screenshot of the Polyworks GUI

Requirements

  • Visual Basic 6 SP6
  • NSIS (optional - for generating the Installer)
  • rcedit or Resource Hacker (optional - for replacing the old icon)

Notes

When VB6 is installed, it may have issues finding referenced controls, such as "MBMouse.ocx". You have to add them manually out of the /installer folder.

If you want to contribute while using Visual Studio 2015 update 1+, you may need this addon: https://visualstudiogallery.msdn.microsoft.com/00cc8ff8-beb3-4f08-8aa6-59eefba3bb40 (You will still need VB6 for compilation)

Folders

.
├─ doc        # build/development instructions
├─ src        # source code and project files
├─ installer  # installer files and data, config, manual (also build output dir)
├─ LICENSE
└─ README.md

License

MIT

Note:

PolyWorks v1.4.0.17 with source code was originally released by Anna Zajaczkowski as:
"Feel free to do whatever you want with it."
It was subsequently relicensed under the MIT License by the PolyWorks contributors.

polyworks's People

Contributors

exhunter avatar shoozza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

polyworks's Issues

Fix other skinning issues

Elements in need of fixing:

main window:

  • Position label color

properties window:

polygon and scenery properties:

  • opacity input background color
  • bounciness input background color

Light properties

  • range input background color

preferences window:

  • other section background color
  • other section user 4 verts for scenery text cut off
  • other section user 4 verts for scenery label color

Leftover config files from previous install cause crash

C:\Users<YOUR_USER_NAME_HERE>\AppData\Local\VirtualStore\Program Files (x86)\Soldat PolyWorks

This folder will contain an old version of the polyworks.ini files even after uninstall.

Due to changes in the ini (default skin is now called default instead of gfx) the application will crash with following error.
image

Workaround delete this folder:
C:\Users<YOUR_USER_NAME_HERE>\AppData\Local\VirtualStore\Program Files (x86)\Soldat PolyWorks

Suggested fix:
Additional checks for ini settings should auto heal the ini file.

Workspace issues

  1. When opening PW for the first time after instalment, the workspace is in the middle of the screen instead of being nicely in the edges of PW's frame. See picture: http://i.imgur.com/3wyEyCz.png
  2. To get your workspace nicely along the edges you can do Window --> Workspace --> Reset Window Locations. This creates no error messages. However, if you are in restored window (as opposed to maximized) while doing this it's another story. Your window frames will change, workspace will move the the edges of that frame, and there will be an error message. See picture: http://i.imgur.com/sPJVcZB.png Notice that the - □ x symbols are almost above your screens edge. Now, if you were to close and reopen PW, the - □ x symbols will be completely gone above your screens edge and you will have no other option than to reinstall PW. See picture: http://i.imgur.com/NgoY6LG.png
  3. Maximizing/Restoring PW create an error message: http://i.imgur.com/CbIEwOK.png The maximizing/restoring will still have effect though. *This issue is not directly related to the two issues above

Replace all mentions of soldat with opensoldat after rebranding

The free and open source version of soldat is now called opensoldat to distance itself from the commercial version of soldat which was acquired recently and seems to become proprietary with a new rewrite.

In order to make sure people can differentiate between the commercial and the floss version a renaming was necessary.

All mentions of soldat in the application should therefore mention opensoldat instead.

Errors when loading map with broken waypoints

There are 2 issues:

  1. loading map with waypoints on
    • after loading there is an error message
    • after the first error message try to zoom then to get the second error message
  2. loading map with waypoints off
    • after loading enable waypoint display there to get the error message

ctf_Wonderland.zip

NSIS script is broken

the NSIS script is broken so I cant install Polyworks

log:
MakeNSIS v3.05 - Copyright 1999-2019 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Processing config: C:\Program Files (x86)\NSIS\nsisconf.nsh
Processing default plugins: "C:\Program Files (x86)\NSIS\Plugins\x86-ansi*.dll"

  • Banner::destroy
  • Banner::getWindow
  • Banner::show
  • BgImage::AddImage
  • BgImage::AddText
  • BgImage::Clear
  • BgImage::Destroy
  • BgImage::Redraw
  • BgImage::SetBg
  • BgImage::SetReturn
  • BgImage::Sound
  • Dialer::AttemptConnect
  • Dialer::AutodialHangup
  • Dialer::AutodialOnline
  • Dialer::AutodialUnattended
  • Dialer::GetConnectedState
  • InstallOptions::dialog
  • InstallOptions::initDialog
  • InstallOptions::show
  • LangDLL::LangDialog
  • Math::Script
  • StartMenu::Init
  • StartMenu::Select
  • StartMenu::Show
  • System::Alloc
  • System::Call
  • System::Copy
  • System::Free
  • System::Get
  • System::Int64Op
  • System::Store
  • System::StrAlloc
  • TypeLib::GetLibVersion
  • TypeLib::Register
  • TypeLib::UnRegister
  • UserInfo::GetAccountType
  • UserInfo::GetName
  • UserInfo::GetOriginalAccountType
  • VPatch::GetFileCRC32
  • VPatch::GetFileMD5
  • VPatch::vpatchfile
  • advsplash::show
  • nsDialogs::Create
  • nsDialogs::CreateControl
  • nsDialogs::CreateItem
  • nsDialogs::CreateTimer
  • nsDialogs::GetUserData
  • nsDialogs::KillTimer
  • nsDialogs::OnBack
  • nsDialogs::OnChange
  • nsDialogs::OnClick
  • nsDialogs::OnNotify
  • nsDialogs::SelectFileDialog
  • nsDialogs::SelectFolderDialog
  • nsDialogs::SetRTL
  • nsDialogs::SetUserData
  • nsDialogs::Show
  • nsExec::Exec
  • nsExec::ExecToLog
  • nsExec::ExecToStack
  • nsisdl::download
  • nsisdl::download_quiet
  • splash::show

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "C:\Users\kruse\Downloads\polyworks-develop\pwinstall"

Processing script file: "C:\Users\kruse\Downloads\polyworks-develop\pwinstall\pw.nsi" (ACP)
!define: "PRODUCT_NAME"="Soldat PolyWorks"
!define: "PRODUCT_VERSION"="1.5.0.13"
!define: "PRODUCT_PUBLISHER"="Copyright Anna Zajaczkowski"
!define: "PRODUCT_WEB_SITE"="http://forums.soldat.pl"
!define: "PRODUCT_DIR_REGKEY"="Software\Microsoft\Windows\CurrentVersion\App Paths\Soldat PolyWorks.exe"
!define: "PRODUCT_UNINST_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\Soldat PolyWorks"
!define: "PRODUCT_UNINST_ROOT_KEY"="HKLM"
!include: "C:\Program Files (x86)\NSIS\Include\MUI.nsh" (ACP)
!include: "C:\Program Files (x86)\NSIS\Contrib\Modern UI\System.nsh" (ACP)
NSIS Modern User Interface version 1.81 - Copyright 2002-2019 Joost Verburg (C:\Program Files (x86)\NSIS\Contrib\Modern UI\System.nsh:13)
!include: closed: "C:\Program Files (x86)\NSIS\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Include\MUI.nsh"
!define: "MUI_ABORTWARNING"=""
!define: "MUI_ICON"="PW.ico"
!define: "MUI_UNICON"="PW.ico"
!insertmacro: MUI_PAGE_WELCOME
!insertmacro: end of MUI_PAGE_WELCOME
!insertmacro: MUI_PAGE_LICENSE
!insertmacro: end of MUI_PAGE_LICENSE
!insertmacro: MUI_PAGE_DIRECTORY
!insertmacro: end of MUI_PAGE_DIRECTORY
!insertmacro: MUI_PAGE_INSTFILES
!insertmacro: end of MUI_PAGE_INSTFILES
!insertmacro: MUI_PAGE_FINISH
!insertmacro: end of MUI_PAGE_FINISH
!insertmacro: MUI_UNPAGE_INSTFILES
!insertmacro: end of MUI_UNPAGE_INSTFILES
!insertmacro: MUI_LANGUAGE
!insertmacro: end of MUI_LANGUAGE
!define: "SHCNE_ASSOCCHANGED"="0x8000000"
!define: "SHCNF_IDLIST"="0"
Name: "Soldat PolyWorks 1.5.0.13"
OutFile: "PWSetup.exe"
InstallDir: "$PROGRAMFILES\Soldat PolyWorks"
InstallRegKey: "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\Soldat PolyWorks.exe"
ShowInstDetails: show
ShowUnInstDetails: show
Section: "MainSection" ->(SEC01)
SetOutPath: "$INSTDIR"
SetOverwrite: ifnewer
File: "Soldat PolyWorks.exe" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "C:\Users\kruse\Downloads\polyworks-develop\pwinstall\pw.nsi" on line 55 -- aborting creation process

Please help!!

Support for 4K HD textures

If anyone knows, what exactly needs to be done here, please comment. Otherwise I will try to figure it out by myself.

Actual Size center at cursor position

Short version:
View --> Actual Size will center you at cursor position instead of using the same center point as Reset View

Long version:
If you press (View --> Reset View) you end up looking nicely in the center of your working area.
This is great, but...
If you press (View --> Actual Size) you end up looking at the center of where your mouse cursor was, witch would be where the ''Actual Size'' button was at the time you pressed it.
Instead PW should use the same center position as Reset View does. Alternatively PW should center whatever is currently selected.

See image: http://i.imgur.com/QsQVgsO.png

Scenery preview doesn't update

The scenery preview on your cursor does not update unless you move your cursor around. It's rather annoying when browsing through your list of scenery to find the one you're looking for. I just notice that you can use the preview in the ''scenery'' window, this one updates fine. However the mouse cursor is the way most people would see the preview. See picture: http://i.imgur.com/ynvGTjv.png

PW can't find Soldat directory

After installing PW you need to manually set the directory of Soldat in settings, otherwise you get an error message. This error message is not very explaining and I can imagine the frustration of someone who wants to try PW for the first time.

Error: http://i.imgur.com/EwdUTRD.png
Settings: http://i.imgur.com/rDvhnLY.png

I can understand if PW can't find the directory when it's installed somewhere else, but if it is installed in Soldat directory it should be able to find it. And the error message needs to be more explaining in cases where PW is installed elsewhere.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.