├── README.md ├── Samples ├── tcptest │ ├── resource.rc │ ├── tcpclient.cpp │ ├── tcpclient.h │ ├── tcpserver.cpp │ ├── tcpserver.h │ ├── tcptest.cbp │ ├── tcptest.depend │ ├── tcptest.layout │ ├── tcptestApp.cpp │ ├── tcptestApp.h │ ├── tcptestMain.cpp │ ├── tcptestMain.h │ └── wxsmith │ │ └── tcptestframe.wxs └── vidplay │ ├── resource.rc │ ├── video.avi │ ├── video.mpg │ ├── vidplay.cbp │ ├── vidplay.depend │ ├── vidplay.layout │ ├── vidplayApp.cpp │ ├── vidplayApp.h │ ├── vidplayMain.cpp │ ├── vidplayMain.h │ └── wxsmith │ └── vidplayframe.wxs ├── SetupCodeBlocks_AllInOne.bat ├── docs ├── idegif.gif ├── real1.jpg ├── real2.jpg ├── sample1.jpg ├── w31.jpg ├── w31vid.jpg ├── w95.jpg └── wizard1.jpg └── installers ├── DEPENDENCIES.txt ├── THIRD_PARTY_FILES.txt ├── _install-bcc55.bat ├── _install-djgpp.bat ├── _install-mingw64.bat ├── _install-openwatcom.bat ├── _install-tdmgcc32.bat ├── _install-wxmsw28bcc.bat ├── _install-wxmsw28tdm32.bat ├── _install-wxmsw305tdm32.bat ├── _install-wxmsw321mingw64.bat ├── default.conf ├── dosbox └── dosbox.conf ├── dosboxw31 ├── INSTALLERS │ ├── CFG │ │ ├── AUTOEXEC.BAT │ │ ├── CONFIG.SYS │ │ ├── WIN32APP.GRP │ │ └── WINDOWS │ │ │ ├── ACCESSOR.GRP │ │ │ ├── CONTROL.INI │ │ │ ├── DOSPRMPT.PIF │ │ │ ├── ENTPACK.INI │ │ │ ├── GAMES.GRP │ │ │ ├── INDEO.INI │ │ │ ├── MAIN.GRP │ │ │ ├── MICROSOF.GRP │ │ │ ├── MSACM.INI │ │ │ ├── NCDINFO.INI │ │ │ ├── NETWORK.GRP │ │ │ ├── PROGMAN.INI │ │ │ ├── PROTOCOL.CLN │ │ │ ├── PROTOCOL.INI │ │ │ ├── REG.DAT │ │ │ ├── SERIALNO.INI │ │ │ ├── SHARES.PWL │ │ │ ├── STARTUP.GRP │ │ │ ├── SYSTEM.CLN │ │ │ ├── SYSTEM.INI │ │ │ ├── SYSTEM │ │ │ └── WIN32S.INI │ │ │ ├── WFWSYS.CFG │ │ │ ├── WIN.CLN │ │ │ ├── WIN.INI │ │ │ ├── WIN311.PWL │ │ │ ├── WINFILE.INI │ │ │ ├── WINGSDK.GRP │ │ │ └── _DEFAULT.PIF │ ├── INST311 │ │ └── _PLACE_WIN311_FILES_HERE_ │ ├── LINKS.txt │ ├── dosbox-x.conf │ ├── mouse │ │ ├── oemsetup.inf │ │ └── source.zip │ ├── msunpak-source.zip │ └── msunpak.exe ├── _WFW311AUTOINSTALLER_.bat └── w31launcher.bat ├── dosboxw95 ├── CONFIG_SCRIPTS │ ├── 1024x768_16bpp_DPI-scaled.bat │ ├── 640x480_16bpp_DPI-scaled.bat │ ├── 800x600_16bpp_DPI-scaled.bat │ ├── _NO-MOUSE-INTEGRATION.bat │ └── _USE-MOUSE-INTEGRATION.bat ├── SHARED_DRIVE │ └── readme.txt ├── SetupW95DosboxX.bat ├── _startinw95.bat ├── dosbox-x.conf ├── guest_tools │ ├── alaunchr │ │ ├── alaunchr.cfg │ │ ├── launchit.cfg │ │ ├── readme.txt │ │ └── src │ │ │ └── alaunchr.cpp │ ├── emptycd.iso │ ├── emptyfdd.IMG │ ├── guest-scripts │ │ ├── 1024_16bpp.bat │ │ ├── 640_16bpp.bat │ │ ├── 800_16bpp.bat │ │ ├── mruclear.bat │ │ ├── nostsnd.bat │ │ ├── prodid0.bat │ │ └── prodtyp9.bat │ └── setmdrv │ │ └── source │ │ ├── ini.h │ │ └── setmdrv.cpp ├── installers │ ├── WIN95 │ │ └── _PLACE_WIN95_FILES_HERE_ │ └── w95-inst-utils-cfgfiles.7z ├── w95launcher.bat └── w95launcher_gdbargs.bat ├── dosboxx ├── dosboxx_install.bat └── installers │ ├── dbxlauncher.bat │ └── dosbox-x.conf ├── patch_wx28_win32s ├── INFO_W32SPATCH.txt ├── include │ └── wx │ │ └── msw │ │ ├── mediactrl.h │ │ └── slider95.h └── src │ ├── common │ └── mediactrlcmn.cpp │ └── msw │ ├── mediactrl_am.cpp │ ├── notebook.cpp │ ├── ole │ └── automtn.cpp │ ├── slider95.cpp │ └── window.cpp ├── patch_wx305_9x ├── MODIFICATIONS_wx3.0.5.txt └── src │ └── msw │ ├── checklst.cpp │ ├── toplevel.cpp │ ├── utils.cpp │ └── window.cpp ├── utils └── CWSDSTUB.EXE_and_exe2coff_goes_here └── wizard ├── config.script ├── console ├── c │ └── main.c ├── cpp │ └── main.cpp ├── logo.png ├── wizard.png └── wizard.script ├── djgpp ├── c │ └── main.c ├── cpp │ └── main.cpp ├── logo.png ├── wizard.png └── wizard.script ├── owcdos ├── c │ └── main.c ├── cpp │ └── main.cpp ├── logo.png ├── wizard.png └── wizard.script └── wxwidgets ├── common ├── app.cpp ├── app.h ├── main.cpp └── main.h ├── logo.png ├── pch └── wx_pch.h ├── rc └── resource.rc ├── wizard.png ├── wizard.script ├── wizard.xrc ├── wxfb ├── dialog │ ├── GUIDialog.cpp │ ├── GUIDialog.h │ └── WxWizDialog.fbp └── frame │ ├── GUIFrame.cpp │ ├── GUIFrame.h │ └── WxWizFrame.fbp └── wxsmith ├── app.cpp ├── main.cpp ├── main.h ├── main_s.cpp ├── main_s.h ├── resource.wxs └── resource_s.wxs /README.md: -------------------------------------------------------------------------------- 1 | # cb-legacy-dev: CodeBlocks for Legacy Software Development 2 | 3 | This is an IDE installer which creates a pre-configured environment that allows rapid GUI application development for Windows 3.11/Win32s (!), Windows 9x or modern targets, even with cross-platform capabilities. 4 | It uses a bunch of configuration files, installation scripts, compilers, frameworks, sample C++ projects and wizard templates. This project heavily relies on CodeBlocks and wxWidgets framework. 5 | 6 | The main idea was to simplify the process of making simple applications for legacy systems as much as possible (you can create and run a test application for Windows 3.11 in less than a minute thanks to built-in configuration wizard). 7 | And thanks to wxWidgets, which miraculously can work with Win32s-extended Windows 3.11 allows to avoid writing platform-specific code for an ancient system. The most recent version that works with Win32s is 2.8.12. 8 | 9 | **Video overview and tutorial: https://youtu.be/d6L272OApVg** 10 | 11 | [](https://youtu.be/d6L272OApVg) 12 | 13 | **Features:** 14 | * Automatic installer (single batch file) 15 | * Pre-configured CodeBlocks IDE 16 | * Windows 3.11 and Windows 95 integrated with IDE (using DOSBox-X): you can build and run the application in Win 3.11/95 with a single mouse click 17 | * Automatic Windows 3.11/95 installation in DOSBox-X: you provide your own genuine installation disks/CD 18 | * Mouse and network integration between Win 3.11/95 guests and host system 19 | * Easy GUI development thanks to wxWidgets and easy-to-use configuration wizards 20 | * wxWidgets modified to work with Win 3.11 targets (version 2.8.12), version 3.0.5 modified to work with Win 95 21 | * Unicode for Win 9x targets thanks to MSLU/Unicows (works with wxWidgets 3.0.5) 22 | * TDM-GCC 4.7.1 for Win9x+ targets, BCC5.5 compiler (needs to be downloaded separately) for Win 3.11/Win32s targets 23 | * MinGW-w64 and wxWidgets 3.2 for modern 64-bit targets 24 | * As a bonus: DJGPP and OpenWatcom compilers for DOS (with DOSBox integration) 25 | 26 | **Prerequisites:** 27 | * Windows for Workgroups 3.11 English version installation disks - for Win 3.11 IDE integration 28 | * Windows 95 OSR2 English installation CD (WIN95 subdirectory) - for Win 95 IDE integration 29 | * free Borland 5.5 C++ compiler - installation script will try to download it automatically 30 | * drivers and updates for Win 3.11/Win 95 - installation script will try to download them automatically 31 | 32 | **Screenshots:** 33 | 34 | ![wxWidgets selection and Win 3.11/95 integration choice](docs/wizard1.jpg) 35 | ![Win 3.11 sample](docs/sample1.jpg) 36 | ![Win 3.11 sample](docs/w31.jpg) 37 | ![Win 3.11 video player](docs/w31vid.jpg) 38 | ![Win 95 sample](docs/w95.jpg) 39 | 40 | **Built apps running on real hardware:** 41 | ![Win 3.11](docs/real1.jpg) 42 | 43 | ![Cross-platform](docs/real2.jpg) 44 | Note: currently non-Windows targets need to be built manually on separate machines 45 | -------------------------------------------------------------------------------- /Samples/tcptest/resource.rc: -------------------------------------------------------------------------------- 1 | aaaa ICON "wx/msw/std.ico" 2 | 3 | #include "wx/msw/wx.rc" 4 | -------------------------------------------------------------------------------- /Samples/tcptest/tcpclient.cpp: -------------------------------------------------------------------------------- 1 | #include "tcpclient.h" 2 | 3 | #define BUF_SIZE 1024 4 | 5 | const long SimpleTCPClient::SOCKET_ID = wxNewId(); 6 | 7 | BEGIN_EVENT_TABLE(SimpleTCPClient, wxEvtHandler) 8 | EVT_SOCKET(SOCKET_ID, SimpleTCPClient::OnSocketEvent) 9 | END_EVENT_TABLE() 10 | 11 | 12 | DEFINE_EVENT_TYPE(EV_CONNECTED); 13 | DEFINE_EVENT_TYPE(EV_CLIENTONDATA); 14 | 15 | SimpleTCPClient::SimpleTCPClient(wxEvtHandler* parent, wxWindowID id) 16 | { 17 | 18 | m_id = id; 19 | m_parent = parent; 20 | logBox = NULL; 21 | Client = NULL; 22 | 23 | } 24 | 25 | SimpleTCPClient::~SimpleTCPClient() 26 | { 27 | 28 | } 29 | 30 | // Read specified number of bytes to specified buffer from socket and return actual number of read bytes 31 | int SimpleTCPClient::Read( void *buffer, unsigned int nbytes ) 32 | { 33 | 34 | int result = 0; 35 | 36 | // Read data 37 | if (Client != NULL) 38 | { 39 | if ( Client->IsConnected() && !disconnected) 40 | { 41 | Client->Read(buffer, nbytes); 42 | result = Client->LastCount(); // Set number of actually read bytes as result 43 | } 44 | } 45 | 46 | return result; 47 | } 48 | 49 | // Peek specified number of bytes to specified buffer from socket and return actual number of peeked bytes 50 | // This doesn't remove the data from socket and it can be read afterwards 51 | int SimpleTCPClient::Peek( void *buffer, unsigned int nbytes ) 52 | { 53 | int result = 0; 54 | // Peek data 55 | if (Client != NULL && !disconnected) 56 | { 57 | if ( Client->IsConnected() ) 58 | { 59 | Client->Peek(buffer, nbytes); 60 | result = Client->LastCount(); // Set number of actually peeked bytes as result 61 | } 62 | } 63 | return result; 64 | } 65 | 66 | 67 | // Read from socket and return a string (this should be mostly used for "human-readable" data) 68 | wxString SimpleTCPClient::ReadStr() 69 | { 70 | wxString readString = ""; 71 | 72 | char buff[BUF_SIZE + 1]; // Buffer with byte for zero termination (end of string) 73 | memset(buff, 0, sizeof(buff)); 74 | 75 | // Read data 76 | if (Client != NULL) Client->Read(&buff, BUF_SIZE); 77 | 78 | readString = buff; 79 | 80 | return readString; 81 | } 82 | 83 | 84 | // Peek data in socket without clearing the data and return a string (this should be mostly used for "human-readable" data) 85 | wxString SimpleTCPClient::PeekStr() 86 | { 87 | wxString readString = ""; 88 | 89 | char buff[BUF_SIZE + 1]; // Buffer with byte for zero termination (end of string) 90 | memset(buff, 0, sizeof(buff)); 91 | 92 | // Read data 93 | if (Client != NULL) Client->Peek(&buff, BUF_SIZE); 94 | 95 | readString = buff; 96 | 97 | return readString; 98 | } 99 | 100 | void SimpleTCPClient::LogClient( wxString logText ) 101 | { 102 | // Append text to provided wxTextCtrl (if exists) 103 | // "(internal)" is added just to make it easier to understand how the application works 104 | // It will show which messages came from the "inside" of tcpclient.cpp file 105 | if (logBox != NULL) logBox->WriteText("(internal) " + logText + "\n"); 106 | } 107 | 108 | void SimpleTCPClient::Connect(wxString hostname, unsigned int port) 109 | { 110 | if (Client == NULL) 111 | { 112 | wxIPV4address ipaddr; 113 | ipaddr.Hostname(hostname); 114 | ipaddr.Service(port); 115 | 116 | LogClient("Opening client"); 117 | Client = new wxSocketClient(); 118 | Client->SetFlags(wxSOCKET_NOWAIT); // wxSOCKET_NONE is default but produced some segfaults on retry 119 | 120 | Client->SetEventHandler(*this, SOCKET_ID); 121 | Client->SetNotify(wxSOCKET_CONNECTION_FLAG | wxSOCKET_INPUT_FLAG | wxSOCKET_LOST_FLAG); 122 | Client->Notify(true); 123 | 124 | Client->Connect(ipaddr, false); 125 | 126 | } 127 | else 128 | { 129 | 130 | if ( Client->IsConnected() ) 131 | { 132 | LogClient( "Already connected" ); 133 | } 134 | else if ( !Client->IsConnected() ) 135 | { 136 | LogClient( "Connection in progress" ); 137 | } 138 | 139 | } 140 | } 141 | 142 | 143 | void SimpleTCPClient::WriteStr( wxString str_in ) 144 | { 145 | if (Client != NULL) // No point in trying if client is not active 146 | { 147 | // Send string to server 148 | if ( Client->IsConnected() ) 149 | { 150 | Client->Write(str_in.c_str(), str_in.Length()); 151 | LogClient("Sent \"" + str_in + "\""); 152 | } 153 | } 154 | } 155 | 156 | void SimpleTCPClient::Write( const void *data, unsigned int dataBytes ) 157 | { 158 | if (Client != NULL) // No point in trying if client is not active 159 | { 160 | // Write data 161 | if ( Client->IsConnected() ) 162 | { 163 | Client->Write(data, dataBytes); 164 | LogClient("Sent binary data"); 165 | } 166 | } 167 | } 168 | 169 | void SimpleTCPClient::WriteWait( const void *data, unsigned int dataBytes ) 170 | { 171 | if (Client != NULL) // No point in trying if client is not active 172 | { 173 | // Write data 174 | if ( Client->IsConnected() ) 175 | { 176 | //wxSocketFlags tempFlags = Client->GetFlags(); 177 | 178 | //Client->SetFlags(wxSOCKET_BLOCK); 179 | 180 | Client->Write(data, dataBytes); 181 | Client->WaitForWrite(0,10); 182 | 183 | //Client->SetFlags(tempFlags); 184 | } 185 | } 186 | } 187 | 188 | 189 | void SimpleTCPClient::OnRecv(wxSocketBase *sock) 190 | { 191 | 192 | LogClient("Incoming data"); 193 | 194 | // Put current socket in event data, so main application will be able to read it 195 | wxCommandEvent myevent(EV_CLIENTONDATA, m_id); 196 | myevent.SetClientData( sock ); 197 | wxPostEvent(m_parent, myevent); 198 | 199 | 200 | //**** Data must be handled in main application. 201 | //**** If main application will only read partial data, 202 | //**** next events will be fired until all data is read. 203 | //**** But if application does not read any data, 204 | //**** data receive event will get stuck until it is manually read 205 | 206 | //if ( sock->IsData() ) OnRecv( sock ); // Keep receiving if more data is available (this is default behavior anyway) 207 | 208 | } 209 | 210 | void SimpleTCPClient::Disconnect() 211 | { 212 | if (Client != NULL) 213 | { 214 | Client->Destroy(); 215 | Client->WaitForLost(0,50); 216 | Client = NULL; 217 | LogClient("Disconnecting from server"); 218 | } 219 | } 220 | 221 | void SimpleTCPClient::OnSocketEvent(wxSocketEvent &event) 222 | { 223 | 224 | LogClient("Socket event"); 225 | 226 | wxSocketBase *sock = event.GetSocket(); 227 | 228 | switch(event.GetSocketEvent()) 229 | { 230 | case wxSOCKET_CONNECTION: 231 | { 232 | LogClient("Successfully connected"); 233 | 234 | 235 | wxCommandEvent myevent(EV_CONNECTED, m_id); 236 | myevent.SetClientData( sock ); 237 | wxPostEvent(m_parent, myevent); 238 | disconnected = false; 239 | 240 | break; 241 | } 242 | 243 | case wxSOCKET_INPUT: 244 | { 245 | // Redirect to OnRecv function 246 | OnRecv(event.GetSocket()); 247 | break; 248 | } 249 | 250 | case wxSOCKET_LOST: 251 | { 252 | LogClient("Disconnected"); 253 | sock->Close(); 254 | sock->Discard(); 255 | sock->Destroy(); 256 | Client->Close(); 257 | Client->Discard(); 258 | Client->Destroy(); 259 | Client = NULL; 260 | disconnected = true; 261 | break; 262 | } 263 | 264 | default: 265 | { 266 | LogClient("Unknown event"); 267 | break; 268 | } 269 | } 270 | 271 | } 272 | -------------------------------------------------------------------------------- /Samples/tcptest/tcpclient.h: -------------------------------------------------------------------------------- 1 | #ifndef TCPCLIENT_H 2 | #define TCPCLIENT_H 3 | 4 | #include "wx/wx.h" 5 | #include "wx/socket.h" 6 | #include "wx/event.h" 7 | #include 8 | 9 | DECLARE_EVENT_TYPE(EV_CONNECTED, wxCommandEvent); 10 | DECLARE_EVENT_TYPE(EV_CLIENTONDATA, wxCommandEvent); 11 | 12 | class SimpleTCPClient : public wxEvtHandler 13 | { 14 | 15 | public: 16 | 17 | 18 | int maxClients; 19 | 20 | SimpleTCPClient(wxEvtHandler* parent, wxWindowID id); // Constructor 21 | virtual ~SimpleTCPClient(); // Destructor 22 | 23 | void Connect( wxString hostname, unsigned int port ); // This will start listening (address is optional, port can be also set with different function) 24 | 25 | void Disconnect(); 26 | 27 | unsigned int Port( unsigned int port = 0 ); // Return current port number (if no arguments) or set new port number (if specified) 28 | 29 | wxTextCtrl *logBox; // Text control to be used as log output (optional) 30 | 31 | 32 | void OnSocketEvent(wxSocketEvent &event); 33 | 34 | void OnRecv(wxSocketBase *sock); 35 | 36 | wxString ReadStr(); 37 | 38 | int Read( void *buffer, unsigned int nbytes ); 39 | 40 | wxString PeekStr(); 41 | 42 | int Peek( void *buffer, unsigned int nbytes ); 43 | 44 | void WriteStr( wxString str_in ); 45 | 46 | // Write data (for example char array) to socket 47 | void Write( const void *data, unsigned int dataBytes ); 48 | 49 | // Write data (for example char array) to socket 50 | void WriteWait( const void *data, unsigned int dataBytes ); 51 | 52 | bool isDisconnected() 53 | { 54 | if (Client) 55 | { 56 | if (Client->IsDisconnected()) return true; 57 | else return false; 58 | } 59 | else return true; 60 | }; 61 | 62 | 63 | private: 64 | 65 | 66 | bool disconnected; 67 | wxEvtHandler * m_parent; // Parent form 68 | wxWindowID m_id; // ID assigned to current instance of server 69 | 70 | wxSocketClient *Client; // Client things will happen here 71 | 72 | void LogClient( wxString logText ); // Log will be printed with this function if required 73 | 74 | 75 | static const long SOCKET_ID; // For event handling 76 | DECLARE_EVENT_TABLE() // For event handling 77 | 78 | }; 79 | 80 | #endif // TCPCLIENT_H 81 | -------------------------------------------------------------------------------- /Samples/tcptest/tcpserver.h: -------------------------------------------------------------------------------- 1 | #ifndef TCPSERVER_H 2 | #define TCPSERVER_H 3 | 4 | #include "wx/wx.h" 5 | #include "wx/socket.h" 6 | #include "wx/event.h" 7 | #include 8 | #include 9 | 10 | 11 | DECLARE_EVENT_TYPE(EV_CLIENTCONNECTED, wxCommandEvent); 12 | DECLARE_EVENT_TYPE(EV_CLIENTDISCONNECTED, wxCommandEvent); 13 | DECLARE_EVENT_TYPE(EV_ONDATA, wxCommandEvent); 14 | DECLARE_EVENT_TYPE(EV_ONERROR, wxCommandEvent); 15 | DECLARE_EVENT_TYPE(EV_ONCLOSE, wxCommandEvent); 16 | 17 | 18 | class SimpleTCPServer : public wxEvtHandler 19 | { 20 | 21 | public: 22 | 23 | 24 | int maxClients; 25 | 26 | int logLevel; 27 | 28 | SimpleTCPServer(wxEvtHandler* parent, wxWindowID id); // Constructor 29 | virtual ~SimpleTCPServer(); // Destructor 30 | 31 | void Open( unsigned int port = NULL ); // This will start listening (address is optional, port can be also set with different function) 32 | 33 | wxSocketBase *currentClient; // Client currently interacting with server (automatically updated when someone connects or send data) 34 | 35 | wxString ReadStr( wxSocketBase* sock = NULL ); // Read from buffer as string, provide socket to read or use default one 36 | 37 | // Write string to socket (provide a socket or use currentClient) 38 | void WriteStr( wxString str_in, wxSocketBase* sock = NULL ); 39 | 40 | // Write string to provided "ip:port" if a matching socket is connected 41 | void WriteStr( wxString str_in, wxString ip_port ); 42 | 43 | // Write data (for example char array) to socket (provide a socket or use currentClient) 44 | void Write( const void *data, unsigned int dataBytes, wxSocketBase* sock = NULL ); 45 | 46 | // Write data (for example char array) to provided "ip:port" if a matching socket is connected 47 | void Write( const void *data, unsigned int dataBytes, wxString ip_port ); 48 | 49 | // Peek buffer as string, provide socket to read or use default one 50 | wxString PeekStr(wxSocketBase* sock = NULL); 51 | 52 | // Peek buffer, provide socket to read or use default one 53 | int Peek( void *buffer, unsigned int nbytes, wxSocketBase* sock = NULL ); 54 | 55 | // Read buffer, provide socket to read or use default one 56 | int Read( void *buffer, unsigned int nbytes, wxSocketBase* sock = NULL ); 57 | 58 | void Close(); // This will stop listening and disconnect everyone 59 | 60 | void DropClient(wxSocketBase *sock); // This will disconnect chosen client 61 | 62 | void DropClient(wxString ip_port); // This will disconnect chosen client 63 | 64 | 65 | unsigned int Port( unsigned int port = 0 ); // Return current port number (if no arguments) or set new port number (if specified) 66 | 67 | 68 | unsigned int clientCount() { return connectedClients; }; // Returns number of connected clients 69 | 70 | // Connected clients will be stored here along with info 71 | // wxSocketBase* is the actual socket, wxString is human-readable representation of address 72 | std::map clientMap; 73 | 74 | wxTextCtrl *logBox; // Text control to be used as log output (optional) 75 | 76 | 77 | 78 | void OnServerEvent(wxSocketEvent &event); 79 | void OnClientEvent(wxSocketEvent &event); 80 | 81 | void OnRecv(wxSocketBase *sock); 82 | void OnConnLost(wxSocketBase *sock); 83 | 84 | bool IsOk() 85 | { 86 | if (Listener) return Listener->IsOk(); 87 | else return false; 88 | } 89 | 90 | 91 | 92 | 93 | private: 94 | 95 | wxEvtHandler * m_parent; // Parent form 96 | wxWindowID m_id; // ID assigned to current instance of server 97 | 98 | wxSocketServer* Listener; // Server things will be handled here 99 | 100 | unsigned int connectedClients; // Client count is stored here 101 | 102 | unsigned int srvPort; 103 | 104 | void LogServer( wxString logText ); // Log will be printed with this function if required 105 | 106 | 107 | static const long SERVER_ID; // For event handling 108 | static const long CLIENT_ID; // For event handling 109 | DECLARE_EVENT_TABLE() // For event handling 110 | 111 | }; 112 | 113 | #endif // TCPSERVER_H 114 | -------------------------------------------------------------------------------- /Samples/tcptest/tcptest.cbp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 148 | 149 | -------------------------------------------------------------------------------- /Samples/tcptest/tcptest.layout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /Samples/tcptest/tcptestApp.cpp: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: tcptestApp.cpp 3 | * Purpose: Code for Application Class 4 | * Author: () 5 | * Created: 2023-11-10 6 | * Copyright: () 7 | * License: 8 | **************************************************************/ 9 | 10 | #include "tcptestApp.h" 11 | 12 | //(*AppHeaders 13 | #include "tcptestMain.h" 14 | #include 15 | //*) 16 | 17 | IMPLEMENT_APP(tcptestApp); 18 | 19 | bool tcptestApp::OnInit() 20 | { 21 | //(*AppInitialize 22 | bool wxsOK = true; 23 | wxInitAllImageHandlers(); 24 | if ( wxsOK ) 25 | { 26 | tcptestFrame* Frame = new tcptestFrame(0); 27 | Frame->Show(); 28 | SetTopWindow(Frame); 29 | } 30 | //*) 31 | return wxsOK; 32 | 33 | } 34 | -------------------------------------------------------------------------------- /Samples/tcptest/tcptestApp.h: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: tcptestApp.h 3 | * Purpose: Defines Application Class 4 | * Author: () 5 | * Created: 2023-11-10 6 | * Copyright: () 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifndef TCPTESTAPP_H 11 | #define TCPTESTAPP_H 12 | 13 | #include 14 | 15 | class tcptestApp : public wxApp 16 | { 17 | public: 18 | virtual bool OnInit(); 19 | }; 20 | 21 | #endif // TCPTESTAPP_H 22 | -------------------------------------------------------------------------------- /Samples/tcptest/tcptestMain.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_878F1DDCB707631B 2 | #define HEADER_878F1DDCB707631B 3 | 4 | /*************************************************************** 5 | * Name: tcptestMain.h 6 | * Purpose: Defines Application Frame 7 | * Author: () 8 | * Created: 2023-11-10 9 | * Copyright: () 10 | * License: 11 | **************************************************************/ 12 | 13 | #ifndef TCPTESTMAIN_H 14 | #define TCPTESTMAIN_H 15 | 16 | //(*Headers(tcptestFrame) 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | //*) 30 | 31 | #include "tcpserver.h" 32 | #include "tcpclient.h" 33 | 34 | class tcptestFrame: public wxFrame 35 | { 36 | public: 37 | 38 | tcptestFrame(wxWindow* parent,wxWindowID id = -1); 39 | virtual ~tcptestFrame(); 40 | 41 | void LogServer(wxString logText); 42 | void LogClient(wxString logText); 43 | void UpdateGUI(); 44 | 45 | 46 | private: 47 | 48 | //(*Handlers(tcptestFrame) 49 | void OnQuit(wxCommandEvent& event); 50 | void OnAbout(wxCommandEvent& event); 51 | void OnBtnOpenSrvClick(wxCommandEvent& event); 52 | void OnBtnSrvSendSelClick(wxCommandEvent& event); 53 | void OnBtnOpenSrvClick1(wxCommandEvent& event); 54 | void OnBtnCloseSrvClick(wxCommandEvent& event); 55 | void OnBtnClientConnClick(wxCommandEvent& event); 56 | void OnBtnClientDisconnClick(wxCommandEvent& event); 57 | void OnBtnClientSendClick(wxCommandEvent& event); 58 | void OnBtnSrvSendAllClick(wxCommandEvent& event); 59 | void OnCheckBinarySrvClick(wxCommandEvent& event); 60 | void OnBtnDropClientClick(wxCommandEvent& event); 61 | void OnCheckBinaryClientClick(wxCommandEvent& event); 62 | //*) 63 | 64 | //(*Identifiers(tcptestFrame) 65 | static const long ID_STATICTEXT3; 66 | static const long ID_STATICTEXT4; 67 | static const long ID_TEXTCTRL2; 68 | static const long ID_BUTTON1; 69 | static const long ID_BUTTON2; 70 | static const long ID_PANEL5; 71 | static const long ID_STATICTEXT1; 72 | static const long ID_LISTBOX1; 73 | static const long ID_BUTTON8; 74 | static const long ID_PANEL6; 75 | static const long ID_STATICTEXT2; 76 | static const long ID_TEXTCTRL1; 77 | static const long ID_PANEL7; 78 | static const long ID_PANEL2; 79 | static const long ID_TEXTCTRL3; 80 | static const long ID_CHECKBOX1; 81 | static const long ID_SPINCTRL1; 82 | static const long ID_PANEL10; 83 | static const long ID_PANEL8; 84 | static const long ID_BUTTON3; 85 | static const long ID_BUTTON4; 86 | static const long ID_PANEL9; 87 | static const long ID_PANEL4; 88 | static const long ID_PANEL3; 89 | static const long ID_STATICTEXT5; 90 | static const long ID_TEXTCTRL7; 91 | static const long ID_STATICTEXT6; 92 | static const long ID_TEXTCTRL4; 93 | static const long ID_BUTTON5; 94 | static const long ID_BUTTON6; 95 | static const long ID_PANEL14; 96 | static const long ID_STATICTEXT8; 97 | static const long ID_TEXTCTRL5; 98 | static const long ID_PANEL16; 99 | static const long ID_PANEL13; 100 | static const long ID_TEXTCTRL6; 101 | static const long ID_CHECKBOX2; 102 | static const long ID_SPINCTRL2; 103 | static const long ID_PANEL19; 104 | static const long ID_PANEL18; 105 | static const long ID_BUTTON7; 106 | static const long ID_PANEL20; 107 | static const long ID_PANEL17; 108 | static const long ID_PANEL12; 109 | static const long ID_NOTEBOOK1; 110 | static const long ID_PANEL1; 111 | static const long idMenuQuit; 112 | static const long idMenuAbout; 113 | static const long ID_STATUSBAR1; 114 | //*) 115 | 116 | //(*Declarations(tcptestFrame) 117 | wxButton* BtnClientConn; 118 | wxButton* BtnClientDisconn; 119 | wxButton* BtnClientSend; 120 | wxButton* BtnCloseSrv; 121 | wxButton* BtnDropClient; 122 | wxButton* BtnOpenSrv; 123 | wxButton* BtnSrvSendAll; 124 | wxButton* BtnSrvSendSel; 125 | wxCheckBox* CheckBinaryClient; 126 | wxCheckBox* CheckBinarySrv; 127 | wxListBox* ListBox1; 128 | wxNotebook* Notebook1; 129 | wxPanel* Panel10; 130 | wxPanel* Panel12; 131 | wxPanel* Panel13; 132 | wxPanel* Panel14; 133 | wxPanel* Panel16; 134 | wxPanel* Panel17; 135 | wxPanel* Panel18; 136 | wxPanel* Panel19; 137 | wxPanel* Panel1; 138 | wxPanel* Panel20; 139 | wxPanel* Panel2; 140 | wxPanel* Panel3; 141 | wxPanel* Panel4; 142 | wxPanel* Panel5; 143 | wxPanel* Panel6; 144 | wxPanel* Panel7; 145 | wxPanel* Panel8; 146 | wxPanel* Panel9; 147 | wxSpinCtrl* SpinCtrlClient1; 148 | wxSpinCtrl* SpinCtrlSrv1; 149 | wxStaticText* LabelCount1; 150 | wxStaticText* StaticText1; 151 | wxStaticText* StaticText2; 152 | wxStaticText* StaticText3; 153 | wxStaticText* StaticText4; 154 | wxStaticText* StaticText5; 155 | wxStaticText* StaticText7; 156 | wxStatusBar* StatusBar1; 157 | wxTextCtrl* LogClient1; 158 | wxTextCtrl* LogSrv1; 159 | wxTextCtrl* PortSrvText1; 160 | wxTextCtrl* TextClientHost1; 161 | wxTextCtrl* TextClientPort1; 162 | wxTextCtrl* TextSendClient1; 163 | wxTextCtrl* TextSendSrv1; 164 | //*) 165 | 166 | SimpleTCPServer *TCPServer1; 167 | static const long ID_TCPSERVER1; 168 | void TCPServer1OnConnected( wxCommandEvent& event ); // When new client is connected 169 | void TCPServer1OnDisconnected( wxCommandEvent& event ); // When a client is disconnected 170 | void TCPServer1OnData( wxCommandEvent& event ); // When new data is available 171 | void TCPServer1OnError( wxCommandEvent& event ); // When an error happens 172 | 173 | SimpleTCPClient *TCPClient1; 174 | static const long ID_TCPCLIENT1; 175 | void TCPClient1OnData( wxCommandEvent& event ); // When new data is available 176 | 177 | 178 | DECLARE_EVENT_TABLE() 179 | }; 180 | 181 | #endif // TCPTESTMAIN_H 182 | #endif // header guard 183 | 184 | -------------------------------------------------------------------------------- /Samples/vidplay/resource.rc: -------------------------------------------------------------------------------- 1 | aaaa ICON "wx/msw/std.ico" 2 | 3 | #include "wx/msw/wx.rc" 4 | -------------------------------------------------------------------------------- /Samples/vidplay/video.avi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/Samples/vidplay/video.avi -------------------------------------------------------------------------------- /Samples/vidplay/video.mpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/Samples/vidplay/video.mpg -------------------------------------------------------------------------------- /Samples/vidplay/vidplay.cbp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 159 | 160 | -------------------------------------------------------------------------------- /Samples/vidplay/vidplay.layout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Samples/vidplay/vidplayApp.cpp: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: vidplayApp.cpp 3 | * Purpose: Code for Application Class 4 | * Author: () 5 | * Created: 2023-11-12 6 | * Copyright: () 7 | * License: 8 | **************************************************************/ 9 | 10 | #include "vidplayApp.h" 11 | 12 | //(*AppHeaders 13 | #include "vidplayMain.h" 14 | #include 15 | //*) 16 | 17 | IMPLEMENT_APP(vidplayApp); 18 | 19 | bool vidplayApp::OnInit() 20 | { 21 | //(*AppInitialize 22 | bool wxsOK = true; 23 | wxInitAllImageHandlers(); 24 | if ( wxsOK ) 25 | { 26 | vidplayFrame* Frame = new vidplayFrame(0); 27 | Frame->Show(); 28 | SetTopWindow(Frame); 29 | } 30 | //*) 31 | return wxsOK; 32 | 33 | } 34 | -------------------------------------------------------------------------------- /Samples/vidplay/vidplayApp.h: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: vidplayApp.h 3 | * Purpose: Defines Application Class 4 | * Author: () 5 | * Created: 2023-11-12 6 | * Copyright: () 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifndef VIDPLAYAPP_H 11 | #define VIDPLAYAPP_H 12 | 13 | #include 14 | 15 | class vidplayApp : public wxApp 16 | { 17 | public: 18 | virtual bool OnInit(); 19 | }; 20 | 21 | #endif // VIDPLAYAPP_H 22 | -------------------------------------------------------------------------------- /Samples/vidplay/vidplayMain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/Samples/vidplay/vidplayMain.cpp -------------------------------------------------------------------------------- /Samples/vidplay/vidplayMain.h: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: vidplayMain.h 3 | * Purpose: Defines Application Frame 4 | * Author: () 5 | * Created: 2023-11-12 6 | * Copyright: () 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifndef VIDPLAYMAIN_H 11 | #define VIDPLAYMAIN_H 12 | 13 | //(*Headers(vidplayFrame) 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | //*) 23 | 24 | #include 25 | 26 | class vidplayFrame: public wxFrame 27 | { 28 | public: 29 | 30 | vidplayFrame(wxWindow* parent,wxWindowID id = -1); 31 | virtual ~vidplayFrame(); 32 | 33 | private: 34 | 35 | //(*Handlers(vidplayFrame) 36 | void OnQuit(wxCommandEvent& event); 37 | void OnAbout(wxCommandEvent& event); 38 | void OnButton1Click(wxCommandEvent& event); 39 | void OnSlider1CmdSliderUpdated(wxScrollEvent& event); 40 | void OnButton2Click(wxCommandEvent& event); 41 | void OnTimer1Trigger(wxTimerEvent& event); 42 | void OnResize(wxSizeEvent& event); 43 | void OnTimer2Trigger(wxTimerEvent& event); 44 | void OnButton3Click(wxCommandEvent& event); 45 | //*) 46 | 47 | //(*Identifiers(vidplayFrame) 48 | static const long ID_PANEL2; 49 | static const long ID_BUTTON1; 50 | static const long ID_STATICTEXT1; 51 | static const long ID_TEXTCTRL1; 52 | static const long ID_BUTTON3; 53 | static const long ID_BUTTON2; 54 | static const long ID_PANEL1; 55 | static const long ID_SLIDER1; 56 | static const long ID_PANEL3; 57 | static const long ID_PANEL4; 58 | static const long ID_TIMER1; 59 | static const long ID_TIMER2; 60 | //*) 61 | 62 | //(*Declarations(vidplayFrame) 63 | wxButton* Button1; 64 | wxButton* Button2; 65 | wxButton* Button3; 66 | wxPanel* Panel1; 67 | wxPanel* Panel2; 68 | wxPanel* Panel3; 69 | wxPanel* Placeholder; 70 | wxSlider* Slider1; 71 | wxStaticText* StaticText1; 72 | wxTextCtrl* TextCtrl1; 73 | wxTimer Timer1; 74 | wxTimer Timer2; 75 | //*) 76 | 77 | 78 | static const long ID_MEDIACTRL1; 79 | wxMediaCtrl* m_mediactrl; 80 | 81 | void OnMediaLoaded(wxMediaEvent& event); 82 | 83 | wxSizer * VideoSizer; 84 | 85 | DECLARE_EVENT_TABLE() 86 | }; 87 | 88 | #endif // VIDPLAYMAIN_H 89 | -------------------------------------------------------------------------------- /Samples/vidplay/wxsmith/vidplayframe.wxs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Video player 5 | #000000 6 | -1,250 7 | // This code will set a smaller font if Win 3.11 is detected: int majorVer; int minorVer; wxGetOsVersion(&majorVer, &minorVer); if (minorVer == 30 || majorVer == 30 || majorVer == 3) { wxFont thisFont(8,wxFONTFAMILY__DEFAULT,wxFONTSTYLE__NORMAL,wxFONTWEIGHT__NORMAL,false,wxEmptyString,wxFONTENCODING__DEFAULT); SetFont(thisFont); } 8 | 0 9 | 10 | 11 | 12 | 13 | 14 | wxVERTICAL 15 | 16 | 17 | 18 | 19 | wxVERTICAL 20 | 21 | wxALL|wxEXPAND 22 | 23 | 24 | 25 | 26 | 10,156 27 | 1 28 | #000000 29 | -1,-1 30 | 31 | wxALL 32 | 33 | 34 | wxALL|wxEXPAND 35 | 1 36 | 37 | 38 | 39 | 40 | wxVERTICAL 41 | 42 | 43 | 406,77 44 | wxSYS_COLOUR_BTNFACE 45 | 46 | 47 | 8,8 48 | 72,32 49 | 50 | 51 | 52 | 53 | 8,48 54 | 184,24 55 | 56 | 57 | 58 | video.avi 59 | 224,8 60 | 173,32 61 | 62 | 63 | 64 | 65 | 160,8 66 | 56,32 67 | 68 | 69 | 70 | 71 | 88,8 72 | 64,32 73 | 74 | 75 | 76 | wxEXPAND|wxFIXED_MINSIZE 77 | 78 | 79 | wxALL|wxEXPAND 80 | 81 | 82 | 83 | 362,24 84 | wxSYS_COLOUR_BTNSHADOW 85 | -1,16d 86 | 87 | wxVERTICAL 88 | 89 | 90 | 200 91 | -1,10d 92 | 93 | 94 | 95 | wxEXPAND 96 | 97 | 98 | 99 | 100 | wxALL|wxEXPAND 101 | 102 | 103 | 104 | wxVERTICAL 105 | 106 | 107 | 362,16 108 | wxSYS_COLOUR_BTNFACE 109 | 110 | wxALL|wxEXPAND 111 | 112 | 113 | wxALL|wxEXPAND 114 | 115 | 116 | wxALL|wxEXPAND 117 | 118 | 119 | 120 | 121 | 66 122 | 123 | 124 | 125 | 1 126 | 127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /SetupCodeBlocks_AllInOne.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | echo CB4LSD+ : CodeBlocks for Legacy Software Development (+ modern) installer bundle 3 | echo This scripts automatically installs CodeBlocks IDE (https://www.codeblocks.org/) and various compilers 4 | echo. 5 | echo This package allows building software for Windows 3.11 (Win32s), ANSI Windows 9x, 6 | echo Windows 9x with Unicode (MSLU/Unicows), modern 64-bit Windows, MS-DOS 7 | echo. 8 | echo This script will download and prepare for use following software: 9 | echo Code::Blocks 64-bit IDE wxWidgets 2.8.12, wxWidgets 3.0.5, wxWidgets 3.2.1 10 | echo Compilers: Borland BCC5.5 (free version), TDM-GCC 32bit, MinGW-W64, DJGPP, OpenWatcom 11 | echo. 12 | echo DOSBox-X will also be installed to allow executing and testing MS-DOS software. 13 | echo Windows 3.11 and Windows 95 will also be installed and configured 14 | echo to allow automatic execution IF YOU PROVIDE YOUR OWN installation files. 15 | echo Only English Windows 95 OSR2 and English WfW 3.11 are supported now. 16 | echo. 17 | echo. 18 | pause 19 | 20 | 21 | SET ZPATH=%~dp0\installers\7-zip 22 | 23 | if not exist "%ZPATH%\7zr.exe" ( 24 | mkdir .\installers\7-zip 25 | echo Downloading 7-zip 26 | powershell wget https://www.7-zip.org/a/7zr.exe -UseBasicParsing -OutFile "%~dp0\installers\7-zip\7zr.exe" 27 | powershell wget https://www.7-zip.org/a/7z2201.exe -UseBasicParsing -OutFile "%~dp0\installers\7-zip\7z2201.exe" 28 | "%~dp0\installers\7-zip\7zr.exe" x "%~dp0\installers\7-zip\7z2201.exe" -o"%~dp0\installers\7-zip" 29 | ) 30 | 31 | if not exist "%ZPATH%\7z.exe" ( 32 | "%~dp0\installers\7-zip\7zr.exe" x "%~dp0\installers\7-zip\7z2201.exe" -o"%~dp0\installers\7-zip" 33 | ) 34 | 35 | 36 | xcopy "%~dp0\installers\_install-*.bat" "%~dp0" 37 | 38 | 39 | 40 | REM CODE::BLOCKS INSTALLATION 41 | REM ========================= 42 | pushd "%~dp0" 43 | if not exist "%~dp0\installers\CB_202*.<7z" ( 44 | mkdir installers 45 | echo Downloading Code::Blocks 2022.06.19 Win 64-bit 46 | powershell Invoke-WebRequest https://master.dl.sourceforge.net/project/codeblocks/Binaries/Nightlies/2022/CB_20220619_rev12839_win64.7z -UserAgent "Wget" -OutFile '%~dp0\installers\CB_20220619_rev12839_win64.7z' 47 | echo Downloading prerequisites 48 | powershell Invoke-WebRequest https://kumisystems.dl.sourceforge.net/project/codeblocks/Binaries/Nightlies/Prerequisites/wxmsw31u_gcc_cb_wx315_2D_gcc810-mingw64.7z -UserAgent "Wget" -OutFile '%~dp0\installers\wxmsw31u_gcc_cb_wx315_2D_gcc810-mingw64.7z' 49 | powershell Invoke-WebRequest https://altushost-swe.dl.sourceforge.net/project/codeblocks/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z -UserAgent "Wget" -OutFile '%~dp0\installers\Mingw64dlls8.1.0.7z' 50 | 51 | ) 52 | 53 | if not exist .\CodeBlocks\ ( 54 | echo. 55 | echo Extracting Code::Blocks 56 | REM powershell "Expand-Archive '%~dp0\installers\codeblocks-20.03-nosetup.zip' '%~dp0\CodeBlocks'" 57 | "%ZPATH%\7z.exe" x "%~dp0\installers\CB_202*" -o"%~dp0\CodeBlocks" 58 | "%ZPATH%\7z.exe" x "%~dp0\installers\wxmsw3*" -o"%~dp0\CodeBlocks" 59 | "%ZPATH%\7z.exe" x "%~dp0\installers\mingw64dlls*" -o"%~dp0\CodeBlocks" 60 | ) 61 | 62 | 63 | REM BCC5.5 INSTALLATION 64 | call _install-bcc55.bat 65 | 66 | REM TDM-GCC 4.7.1 32-bit installation 67 | call _install-tdmgcc32.bat 68 | 69 | REM MinGW-W64 8.1.0 64-bit installation 70 | call _install-mingw64.bat 71 | 72 | REM DJGPP INSTALLATION 73 | call _install-djgpp.bat 74 | 75 | REM OPENWATCOM INSTALLATION 76 | call _install-openwatcom.bat 77 | 78 | REM WXWIDGETS 2.8.12 BUILD 79 | if not exist "%~dp0\installers\wxMSW-2.8.12_prebuild.7z" ( 80 | call _install-wxmsw28bcc.bat 81 | call _install-wxmsw28tdm32.bat 82 | ) 83 | 84 | if exist "%~dp0\installers\wxMSW-2.8.12_prebuild.7z" ( 85 | if not exist "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\bcc_lib\wxmsw28.lib" ( 86 | echo Unpacking pre-built wxWidgets 2.8.12 87 | "%ZPATH%\7z.exe" x "%~dp0\installers\wxMSW-2.8.12_prebuild.7z" -o"%~dp0\CodeBlocks" 88 | ) 89 | ) 90 | REM =============================== 91 | 92 | REM WXWIDGETS 3.0.5 TDM-GCC32 BUILD 93 | if not exist "%~dp0\installers\wxWidgets-3.0.5_prebuild.7z" ( 94 | call _install-wxmsw305tdm32.bat 95 | ) 96 | 97 | if exist "%~dp0\installers\wxWidgets-3.0.5_prebuild.7z" ( 98 | if not exist "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\libwxmsw30u.a" ( 99 | echo Unpacking pre-built wxWidgets 3.0.5 for TDM-GCC 32bit 100 | "%ZPATH%\7z.exe" x "%~dp0\installers\wxWidgets-3.0.5_prebuild.7z" -o"%~dp0\CodeBlocks" 101 | ) 102 | ) 103 | REM =============================== 104 | 105 | REM WXWIDGETS 3.2.1 MINGW-W64 BUILD 106 | if not exist "%~dp0\installers\wxWidgets-3.2.1_mingw64-810_msw64_prebuild.7z" ( 107 | call _install-wxmsw321mingw64.bat 108 | ) 109 | 110 | if exist "%~dp0\installers\wxWidgets-3.2.1_mingw64-810_msw64_prebuild.7z" ( 111 | if not exist "%~dp0\CodeBlocks\wxWidgets-3.2.1\lib\gcc_lib\libwxmsw32u.a" ( 112 | echo Unpacking pre-built wxWidgets 3.2.1 for MinGW-W64 8.1.0 113 | "%ZPATH%\7z.exe" x "%~dp0\installers\wxWidgets-3.2.1_mingw64-810_msw64_prebuild.7z" -o"%~dp0\CodeBlocks" 114 | ) 115 | ) 116 | REM =============================== 117 | 118 | 119 | 120 | 121 | 122 | pushd "%~dp0" 123 | echo Copying project templates 124 | xcopy /E /Y ".\installers\wizard\*.*" "%~dp0\CodeBlocks\share\CodeBlocks\templates\wizard\*.*" 125 | 126 | 127 | echo Copying DOSBOX 128 | xcopy /E /Y ".\installers\dosbox\*.*" "%~dp0\CodeBlocks\dosbox\*.*" 129 | 130 | echo Copying DOSBOX-X 131 | xcopy /E /Y ".\installers\dosboxx\*.*" "%~dp0\CodeBlocks\dosboxx\*.*" 132 | 133 | echo Copying DOSBOXW31 134 | xcopy /E /Y ".\installers\dosboxw31\*.*" "%~dp0\CodeBlocks\dosboxw31\*.*" 135 | 136 | 137 | echo Copying DOSBOXW95 138 | xcopy /E /Y ".\installers\dosboxw95\*.*" "%~dp0\CodeBlocks\dosboxw95\*.*" 139 | 140 | 141 | echo Copying utils 142 | xcopy /E /Y ".\installers\utils\*.*" "%~dp0\CodeBlocks\utils\*.*" 143 | 144 | 145 | echo. 146 | echo Generating run script 147 | 148 | 149 | echo @echo off > runCodeBlocks.bat 150 | echo cd /D ""%%~dp0"" >> runCodeBlocks.bat 151 | echo cd CodeBlocks >> runCodeBlocks.bat 152 | echo cd BCC55 >> runCodeBlocks.bat 153 | echo set PATH=%%PATH%%;%%CD%% >> runCodeBlocks.bat 154 | echo cd.. >> runCodeBlocks.bat 155 | echo cd CodeBlocks >> runCodeBlocks.bat 156 | echo START """" ""CbLauncher.exe"" >> runCodeBlocks.bat 157 | 158 | echo. 159 | echo Copying default config file 160 | mkdir "%~dp0\CodeBlocks\AppData\codeblocks\" 161 | copy "%~dp0\installers\default.conf" "%~dp0\CodeBlocks\AppData\codeblocks\default.conf" 162 | echo. 163 | echo. 164 | echo Updating config file with local paths 165 | pushd "%~dp0" 166 | cd CodeBlocks 167 | cd watcom 168 | set WATCOMPATH=%CD% 169 | pushd "%~dp0" 170 | cd CodeBlocks 171 | cd AppData 172 | cd codeblocks 173 | powershell "((Get-Content -path default.conf -Raw) -replace '\$\(APP-PATH\)\\watcom','%WATCOMPATH%') | Set-Content -Path default.conf" 174 | pushd "%~dp0" 175 | echo. 176 | echo Unpacking samples 177 | "%ZPATH%\7z.exe" x "%~dp0\installers\Samples.zip" -o"%~dp0" 178 | 179 | 180 | pushd "%~dp0" 181 | 182 | del /Q _install-*.bat 183 | 184 | echo. 185 | echo Installing DOSBOX and DOSBOX-X w/ Win3.11, Win95 186 | 187 | pushd "%~dp0\CodeBlocks\dosboxx" 188 | call dosboxx_install.bat 189 | 190 | pushd "%~dp0\CodeBlocks\dosboxw31" 191 | call _WFW311AUTOINSTALLER_.bat 192 | 193 | pushd "%~dp0\CodeBlocks\dosboxw95" 194 | call SetupW95DosboxX.bat 195 | 196 | pushd "%~dp0" 197 | 198 | 199 | echo All done. 200 | echo. 201 | echo Run runCodeBlocks.bat file to start the IDE. 202 | echo. 203 | pause 204 | ren SetupCodeBlocks_AllInOne.bat SetupCodeBlocks_AllInOne.bak 205 | 206 | 207 | -------------------------------------------------------------------------------- /docs/idegif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/docs/idegif.gif -------------------------------------------------------------------------------- /docs/real1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/docs/real1.jpg -------------------------------------------------------------------------------- /docs/real2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/docs/real2.jpg -------------------------------------------------------------------------------- /docs/sample1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/docs/sample1.jpg -------------------------------------------------------------------------------- /docs/w31.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/docs/w31.jpg -------------------------------------------------------------------------------- /docs/w31vid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/docs/w31vid.jpg -------------------------------------------------------------------------------- /docs/w95.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/docs/w95.jpg -------------------------------------------------------------------------------- /docs/wizard1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/docs/wizard1.jpg -------------------------------------------------------------------------------- /installers/DEPENDENCIES.txt: -------------------------------------------------------------------------------- 1 | These files should be included in release version. 2 | 3 | Installation script should be able to download necessary files 4 | and build them even if they are not present, but this process takes quite a bit of time 5 | and there may be some errors at the current stage. 6 | 7 | * 7-zip 8 | 9 | * CodeBlocks: 10 | CB_20220619_rev12839_win64.7z 11 | 12 | * Dosbox-x: 13 | dosbox-x-mingw-win64-20220901233004.zip 14 | 15 | * Compilers: 16 | djgpp-mingw-gcc930-standalone.zip 17 | open-watcom-c-win32-1.9.exe 18 | x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z 19 | tdm-gcc-4.7.1-2.exe 20 | 21 | * Additional files: 22 | libunicows-1.1.1-mingw32.zip 23 | Mingw64dlls8.1.0.7z 24 | wxmsw31u_gcc_cb_wx315_2D_gcc810-mingw64.7z 25 | 26 | * Source code for wxWidgets: 27 | wxMSW-2.8.12.zip 28 | wxWidgets-3.0.5.zip 29 | wxWidgets-3.2.1.7z 30 | 31 | * Pre-built wxWidgets: 32 | wxMSW-2.8.12_BCC55_prebuild.7z 33 | wxMSW-2.8.12_prebuild.7z 34 | wxWidgets-3.0.5_prebuild.7z 35 | wxWidgets-3.2.1_mingw64-810_msw64_prebuild.7z -------------------------------------------------------------------------------- /installers/THIRD_PARTY_FILES.txt: -------------------------------------------------------------------------------- 1 | * WfW 3.11 and Win 95 files: you need to provide those on your own 2 | Installation disks of English Windows for Workgroups 3.11 (images 1-8) 3 | Installation CD of English Windows 95 OSR2 (WIN95 subdirectory) 4 | 5 | These files need to be downloaded by the autoinstaller or manually: 6 | 7 | * Borland BCC5.5 compiler (freecommandLinetools.exe) 8 | SHA256: 433B44741F07F2AD673EB936511D498C5A6B7F260F98C4D9A6DA70C41A56D855 9 | 10 | * Files required for Win 3.11 installation: 11 | 12 | Win32S PW1118.exe 13 | TCP32B tcp32b.exe 14 | Video for Windows wv1160.exe 15 | Windows Media Player MPSetup.exe 16 | WingG 1.0 wing10.exe 17 | S3 driver w3117004.zip 18 | 19 | * Files required for Win 95 installation: 20 | 21 | DirectX 7.0A DX7Aeng.exe 564de93dcc50691480332e2ccb5565908760b295faa70f8c68854f69dad87189 22 | DCOM95 dcom95.exe 6706f79435d75682b0ce69b144108b3c344cae9f7aee7490de47aa20b4f311d3 23 | Year 2000 patch w95y2k.exe d3c063f2b04311ddbffd8461aa47147d6307f26d2163bef2c715cd168657aa3f 24 | Windows Media Player 6.4 mpfull.exe a39b2b9735cedd513fcb78f8634695d35073e9d7e865e536a0da6db38c7225e4 25 | Winsock 2 Update W95WS2setup.exe 48c82825328ef63bce1d471d505f0e243cae94b5b05c66cf2e51b75c6d4d4922 26 | 3Dfx Voodoo Graphics driver vg-w9x-q3.exe afde9cfc18080ba4bd94972b783867a9c713e6df3643fef84db5da19414ceea8 27 | S3 Graphics driver w9521103.zip fb691c872cd7dcc00d7b9445af6d82777586e356e165d5db56f213fa81e96881 -------------------------------------------------------------------------------- /installers/_install-bcc55.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM BCC5.5 INSTALLATION 3 | REM ========================= 4 | 5 | set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ 6 | 7 | pushd "%~dp0" 8 | if not exist "%~dp0\CodeBlocks\" mkdir CodeBlocks 9 | cd CodeBlocks 10 | if not exist "%~dp0\installers\freecommandLinetools.exe" ( 11 | mkdir installers 12 | echo Downloading BCC5.5 compiler from http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe 13 | powershell wget http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe -UseBasicParsing -OutFile "%~dp0\installers\freecommandLinetools.exe" 14 | ) 15 | 16 | 17 | echo Checking SHA256 of freecommandLinetools.exe (433B44741F07F2AD673EB936511D498C5A6B7F260F98C4D9A6DA70C41A56D855 expected) 18 | 19 | powershell "Get-FileHash '%~dp0\installers\freecommandLinetools.exe' -Algorithm SHA256 | %% { if($_.Hash -match '433B44741F07F2AD673EB936511D498C5A6B7F260F98C4D9A6DA70C41A56D855') {Echo 'SHA256 OK'} else{exit 1} }" 20 | 21 | if errorlevel 1 ( 22 | echo. 23 | echo Bad freecommandLinetools.exe checksum 24 | echo Trying to download again from another sourcce 25 | powershell wget http://web.archive.org/web/20220816023824if_/http://altd.embarcadero.com/download/bcppbuilder/freecommandLinetools.exe -UseBasicParsing -OutFile "%~dp0\installers\freecommandLinetools.exe" 26 | ) 27 | 28 | echo Checking SHA256 of freecommandLinetools.exe (433B44741F07F2AD673EB936511D498C5A6B7F260F98C4D9A6DA70C41A56D855 expected) 29 | 30 | powershell "Get-FileHash '%~dp0\installers\freecommandLinetools.exe' -Algorithm SHA256 | %% { if($_.Hash -match '433B44741F07F2AD673EB936511D498C5A6B7F260F98C4D9A6DA70C41A56D855') {Echo 'SHA256 OK'} else{exit 1} }" 31 | 32 | if errorlevel 1 ( 33 | echo. 34 | echo Bad freecommandLinetools.exe checksum 35 | echo Download the file manually and place freecommandLinetools.exe in directory 36 | echo then press any key to continue, or close the console window and exit 37 | echo. 38 | pause 39 | ) 40 | 41 | if not exist "%~dp0\CodeBlocks\BCC55\bin\bcc32.exe" ( 42 | echo Unpacking BCC55 43 | "%ZPATH%\7z.exe" x "%~dp0\installers\freecommandLinetools.exe" -o"%~dp0\CodeBlocks\BCC55" 44 | ) 45 | 46 | echo Updating BCC55 default path 47 | 48 | cd /D "%~dp0" 49 | cd CodeBlocks\share\CodeBlocks\compilers 50 | powershell "((Get-Content -path compiler_bcc.xml -Raw) -replace 'C:\\Borland\\BCC55','\$(APPPATH)\\BCC55') | Set-Content -Path compiler_bcc.xml" 51 | 52 | REM add additional path for resource compiler 53 | powershell "((Get-Content -path compiler_bcc.xml -Raw) -replace ' ','\include') | Set-Content -Path compiler_bcc.xml" 54 | 55 | pushd %~dp0 -------------------------------------------------------------------------------- /installers/_install-djgpp.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM DJGPP INSTALLATION 3 | REM ========================= 4 | 5 | set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ 6 | 7 | pushd "%~dp0" 8 | if not exist "%~dp0\installers\djgpp-mingw-gcc930-standalone.zip" ( 9 | echo Downloading DJGPP 10 | powershell wget https://github.com/andrewwutw/build-djgpp/releases/download/v3.0/djgpp-mingw-gcc930-standalone.zip -UseBasicParsing -OutFile '%~dp0\installers\djgpp-mingw-gcc930-standalone.zip' 11 | ) 12 | 13 | if not exist .\CodeBlocks\djgpp ( 14 | echo. 15 | mkdir "%~dp0\CodeBlocks" 16 | echo Extracting DJGPP 17 | REM powershell "Expand-Archive '%~dp0\installers\djgpp-mingw-gcc930-standalone.zip' '%~dp0\CodeBlocks'" 18 | "%ZPATH%\7z.exe" x "%~dp0\installers\djgpp-mingw-gcc930-standalone.zip" -o"%~dp0\CodeBlocks" 19 | ) 20 | 21 | REM hardcode some defs to fix not working code completion 22 | REM this is probably not a great thing to do, but is important from user experience perspective 23 | cd "%~dp0\CodeBlocks\djgpp\lib\gcc\i586-pc-msdosdjgpp\9.3.0\include\c++\" 24 | 25 | 26 | if exist "cstdio" ( 27 | echo // Prepended hardcoded __STDC_VERSION__ to fix problems with CodeBlocks parser > cstdio.tmp 28 | echo #ifndef __STDC_VERSION__ >> cstdio.tmp 29 | echo #define __STDC_VERSION__ 199901L >> cstdio.tmp 30 | echo #endif >> cstdio.tmp 31 | type cstdio >> cstdio.tmp 32 | del cstdio 33 | ren cstdio.tmp cstdio 34 | ) 35 | pushd "%~dp0" 36 | -------------------------------------------------------------------------------- /installers/_install-mingw64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM MinGW-W64 installation 3 | REM ================================= 4 | 5 | 6 | pushd "%~dp0" 7 | mkdir CodeBlocks 8 | if not exist "%~dp0\installers\x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z" ( 9 | mkdir installers 10 | echo Downloading MinGW-W64 8.1.0 compiler 11 | 12 | powershell Invoke-WebRequest 'https://altushost-swe.dl.sourceforge.net/project/mingw-w64/Toolchains targetting Win64/Personal Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z' -UserAgent "Wget" -OutFile "%~dp0\installers\x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z" 13 | ) 14 | 15 | echo Unpacking MinGW-W64 8.1.0 16 | "%ZPATH%\7z.exe" x "%~dp0\installers\x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z" -o"%~dp0\CodeBlocks" 17 | -------------------------------------------------------------------------------- /installers/_install-openwatcom.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM OPENWATCOM INSTALLATION 3 | REM ========================= 4 | 5 | pushd "%~dp0" 6 | if not exist "%~dp0\installers\open-watcom-c-win32-1.9.exe" ( 7 | echo Downloading OpenWatcom 1.9 8 | powershell wget https://github.com/open-watcom/open-watcom-1.9/releases/download/ow1.9/open-watcom-c-win32-1.9.exe -UseBasicParsing -OutFile '%~dp0\installers\open-watcom-c-win32-1.9.exe' 9 | ) 10 | 11 | if not exist .\CodeBlocks\watcom ( 12 | echo. 13 | echo Extracting OpenWatcom 14 | "%ZPATH%\7z.exe" x "%~dp0\installers\open-watcom-c-win32-1.9.exe" -o"%~dp0\CodeBlocks\watcom" 15 | ) -------------------------------------------------------------------------------- /installers/_install-tdmgcc32.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM TDM-GCC 4.7.1 32-bit installation 3 | REM ================================= 4 | 5 | 6 | pushd "%~dp0" 7 | mkdir CodeBlocks 8 | if not exist "%~dp0\installers\tdm-gcc-4.7.1-2.exe" ( 9 | mkdir installers 10 | echo Downloading TDM-GCC 4.7.1 32-bit compiler 11 | 12 | REM powershell "$client = New-Object System.Net.WebClient; $client.DownloadFile('https://downloads.sourceforge.net/project/tdm-gcc/TDM-GCC Installer/Previous/1.1006.0/tdm-gcc-4.7.1-2.exe','%~dp0\installers\tdm-gcc-4.7.1-2.exe')" 13 | 14 | powershell Invoke-WebRequest 'https://master.dl.sourceforge.net/project/tdm-gcc/TDM-GCC Installer/Previous/1.1006.0/tdm-gcc-4.7.1-2.exe?viasf=1' -UserAgent "Wget" -OutFile '%~dp0\installers\tdm-gcc-4.7.1-2.exe' 15 | 16 | REM powershell "wget 'https://master.dl.sourceforge.net/project/tdm-gcc/TDM-GCC Installer/Previous/1.1006.0/tdm-gcc-4.7.1-2.exe?viasf=1' -UseBasicParsing -OutFile "%~dp0\installers\tdm-gcc-4.7.1-2.exe" 17 | ) 18 | 19 | echo Unpacking TDM-GCC installer 20 | "%ZPATH%\7z.exe" x "%~dp0\installers\tdm-gcc-4.7.1-2.exe" -o"%~dp0\installers\tdm-gcc-4.7.1-2" 21 | 22 | cd "%~dp0\installers\tdm-gcc-4.7.1-2\$PLUGINSDIR" 23 | 24 | "%ZPATH%\7z.exe" x "*.lzma" -o".\tdmgcc32" 25 | "%ZPATH%\7z.exe" x "*.gz" -o".\tdmgcc32" 26 | 27 | cd tdmgcc32 28 | 29 | "%ZPATH%\7z.exe" x "*.tar" -o"%~dp0\CodeBlocks\tdmgcc32" -aos 30 | del /Q *.tar 31 | 32 | pushd "%~dp0" 33 | 34 | cd installers 35 | rmdir /S /Q "tdm-gcc-4.7.1-2" 36 | 37 | pushd "%~dp0" 38 | 39 | if not exist "%~dp0\installers\libunicows-1.1.1-mingw32.zip" ( 40 | echo Downloading libunicows-1.1.1-mingw32.zip 41 | powershell wget https://master.dl.sourceforge.net/project/libunicows/libunicows/1.1.1/libunicows-1.1.1-mingw32.zip?viasf=1 -UseBasicParsing -OutFile '%~dp0\installers\libunicows-1.1.1-mingw32.zip' 42 | ) 43 | 44 | if not exist "%~dp0\installers\libunicows-1.1.1-mingw32\libunicows.a" ( 45 | echo Extracting libunicows-1.1.1-mingw32 46 | "%ZPATH%\7z.exe" x "%~dp0\installers\libunicows-1.1.1-mingw32.zip" -o"%~dp0\installers" 47 | ) 48 | 49 | copy "%~dp0\installers\libunicows-1.1.1-mingw32\libunicows.a" "%~dp0\CodeBlocks\tdmgcc32\lib\libunicows.a" 50 | copy "%~dp0\installers\libunicows-1.1.1-mingw32\liblibunicows.a" "%~dp0\CodeBlocks\tdmgcc32\lib\liblibunicows.a" 51 | 52 | 53 | pushd "%~dp0" 54 | if not exist "%~dp0\installers\unicows.exe" ( 55 | echo Downloading unicows redistributable 56 | powershell wget http://web.archive.org/web/20051029063254if_/http://download.microsoft.com/download/b/7/5/b75eace3-00e2-4aa0-9a6f-0b6882c71642/unicows.exe -UseBasicParsing -OutFile '%~dp0\installers\unicows.exe' 57 | ) 58 | 59 | if not exist "%~dp0\CodeBlocks\redist\unicows\unicows.dll" ( 60 | echo Extracting unicows.dll 61 | mkdir "%~dp0\CodeBlocks\redist\unicows" 62 | "%ZPATH%\7z.exe" x "%~dp0\installers\unicows.exe" -o"%~dp0\CodeBlocks\redist\unicows" 63 | ) 64 | -------------------------------------------------------------------------------- /installers/_install-wxmsw28bcc.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM WXWIDGETS 2.8.12 INSTALLATION 3 | REM ============================= 4 | 5 | pushd "%~dp0" 6 | 7 | if not exist "%~dp0\installers\wxMSW-2.8.12.zip" ( 8 | echo Downloading wxWidgets 2.8.12 9 | powershell wget https://github.com/wxWidgets/wxWidgets/releases/download/v2.8.12/wxMSW-2.8.12.zip -UseBasicParsing -OutFile '%~dp0\installers\wxMSW-2.8.12.zip' 10 | ) 11 | 12 | if not exist "%~dp0\CodeBlocks\wxMSW-2.8.12\" ( 13 | echo. 14 | mkdir "%~dp0\CodeBlocks" 15 | echo Extracting wxWidgets 2.8.12 16 | REM powershell "Expand-Archive '%~dp0\installers\wxMSW-2.8.12.zip' '%~dp0\CodeBlocks'" 17 | "%ZPATH%\7z.exe" x "%~dp0\installers\wxMSW-2.8.12.zip" -o"%~dp0\CodeBlocks" 18 | ) 19 | 20 | echo Applying patches for Win32s/Win3.11 compatibility 21 | xcopy /Y /E "%~dp0\installers\patch_wx28_win32s\*.*" "%~dp0\CodeBlocks\wxMSW-2.8.12" 22 | 23 | SET BUILDTYPE=release 24 | SET UNICODE=0 25 | call :BUILDWX 26 | 27 | SET BUILDTYPE=debug 28 | SET UNICODE=0 29 | call :BUILDWX 30 | 31 | GOTO END 32 | 33 | :BUILDWX 34 | echo. 35 | echo Building wxWidgets 2.8.12 with BCC5.5 compiler 36 | cd /D %~dp0 37 | cd CodeBlocks 38 | cd BCC55 39 | cd Bin 40 | echo Updating environmental variables 41 | set PATH=%WINDIR%;%WINDIR%\System32;%CD% 42 | pushd "%~dp0" 43 | cd CodeBlocks 44 | 45 | echo. 46 | echo wxWidgets 2.8.12 %BUILDTYPE% UNICODE=%UNICODE% WINVER=0x0400 47 | 48 | echo Cleaning up 49 | 50 | cd .\wxMSW-2.8.12\build\msw 51 | make SHELL=CMD.exe -f makefile.bcc -DWINVER=0x0400 SHARED=0 MONOLITHIC=1 UNICODE=%UNICODE% BUILD=%BUILDTYPE% clean 52 | 53 | echo Building 54 | make SHELL=CMD.exe -f makefile.bcc -DWINVER=0x0400 SHARED=0 MONOLITHIC=1 UNICODE=%UNICODE% BUILD=%BUILDTYPE% 55 | 56 | echo Building done 57 | 58 | echo Prepending __WXMSW__ to setup.h to fix not working code completion in wx 2.8.12 59 | pushd "%~dp0" 60 | if "%BUILDTYPE%"=="release" ( 61 | if "%UNICODE%"=="0" cd CodeBlocks\wxMSW-2.8.12\lib\bcc_lib\msw\wx 62 | if "%UNICODE%"=="1" cd CodeBlocks\wxMSW-2.8.12\lib\bcc_lib\mswu\wx 63 | ) 64 | if "%BUILDTYPE%"=="debug" ( 65 | if "%UNICODE%"=="0" cd CodeBlocks\wxMSW-2.8.12\lib\bcc_lib\mswd\wx 66 | if "%UNICODE%"=="1" cd CodeBlocks\wxMSW-2.8.12\lib\bcc_lib\mswud\wx 67 | ) 68 | 69 | if exist "setup.h" ( 70 | echo // Prepended __WXMSW__ to fix problems with CodeBlocks parser > setup0.tmp 71 | echo #ifndef __WXMSW__ >> setup0.tmp 72 | echo #define __WXMSW__ >> setup0.tmp 73 | echo #endif >> setup0.tmp 74 | type setup.h >> setup0.tmp 75 | del setup.h 76 | ren setup0.tmp setup.h 77 | ) 78 | pushd "%~dp0" 79 | goto :eof 80 | 81 | :END -------------------------------------------------------------------------------- /installers/_install-wxmsw28tdm32.bat: -------------------------------------------------------------------------------- 1 | @echo on 2 | REM WXWIDGETS 2.8.12 INSTALLATION 3 | REM ============================= 4 | 5 | set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ 6 | 7 | pushd "%~dp0" 8 | if not exist "%~dp0\installers\wxMSW-2.8.12.zip" ( 9 | echo Downloading wxWidgets 2.8.12 10 | powershell wget https://github.com/wxWidgets/wxWidgets/releases/download/v2.8.12/wxMSW-2.8.12.zip -UseBasicParsing -OutFile '%~dp0\installers\wxMSW-2.8.12.zip' 11 | ) 12 | 13 | if not exist "%~dp0\CodeBlocks\wxMSW-2.8.12\" ( 14 | echo. 15 | mkdir "%~dp0\CodeBlocks" 16 | echo Extracting wxWidgets 2.8.12 17 | REM powershell "Expand-Archive '%~dp0\installers\wxMSW-2.8.12.zip' '%~dp0\CodeBlocks'" 18 | "%ZPATH%\7z.exe" x "%~dp0\installers\wxMSW-2.8.12.zip" -o"%~dp0\CodeBlocks" 19 | ) 20 | 21 | 22 | SET BUILDTYPE=release 23 | SET UNICODE=1 24 | if not exist "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswu\wx\setup.h" ( 25 | mkdir "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswu\wx" 26 | copy "%~dp0\CodeBlocks\wxMSW-2.8.12\include\wx\msw\setup.h" "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswu\wx\setup.h" 27 | ) 28 | call :BUILDWX 29 | 30 | SET BUILDTYPE=debug 31 | SET UNICODE=1 32 | if not exist "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswud\wx\setup.h" ( 33 | mkdir "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswud\wx" 34 | copy "%~dp0\CodeBlocks\wxMSW-2.8.12\include\wx\msw\setup.h" "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswud\wx\setup.h" 35 | ) 36 | call :BUILDWX 37 | 38 | SET BUILDTYPE=release 39 | SET UNICODE=0 40 | if not exist "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\msw\wx\setup.h" ( 41 | mkdir "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\msw\wx" 42 | copy "%~dp0\CodeBlocks\wxMSW-2.8.12\include\wx\msw\setup.h" "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\msw\wx\setup.h" 43 | ) 44 | call :BUILDWX 45 | 46 | SET BUILDTYPE=debug 47 | SET UNICODE=0 48 | if not exist "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswd\wx\setup.h" ( 49 | mkdir "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswd\wx" 50 | copy "%~dp0\CodeBlocks\wxMSW-2.8.12\include\wx\msw\setup.h" "%~dp0\CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswd\wx\setup.h" 51 | ) 52 | call :BUILDWX 53 | 54 | 55 | GOTO END 56 | 57 | :BUILDWX 58 | echo ======================================== 59 | echo ==Building %BUILDTYPE% UNICODE=%UNICODE% 60 | echo ======================================== 61 | pushd "%~dp0" 62 | cd ".\CodeBlocks\tdmgcc32" 63 | SET MINGWPATH=%CD% 64 | pushd "%~dp0" 65 | 66 | cd ".\CodeBlocks\tdmgcc32\bin" 67 | SET PATH=%PATH%;%WINDIR%;%WINDIR%\System32;%CD% 68 | 69 | pushd "%~dp0" 70 | cd ".\CodeBlocks\tdmgcc32\libexec\gcc\mingw32\4.7.1" 71 | SET PATH=%PATH%;%WINDIR%;%WINDIR%\System32;%CD% 72 | 73 | pushd "%~dp0" 74 | 75 | echo Cleaning up 76 | cd ".\CodeBlocks\wxMSW-2.8.12\build\msw" 77 | SET WXBUILDPATH=%CD% 78 | 79 | SET DEBUGFLAG=0 80 | if "%BUILDTYPE%"=="debug" SET DEBUGFLAG=1 81 | 82 | @echo on 83 | "%MINGWPATH%\bin\mingw32-make.exe" SHELL=CMD.exe -f makefile.gcc SHARED=0 DEBUG_FLAG=%DEBUGFLAG% MONOLITHIC=1 MSLU=%UNICODE% UNICODE=%UNICODE% BUILD=%BUILDTYPE% clean CXXFLAGS="-DWINVER=0x0400" 84 | 85 | @echo off 86 | echo Building 87 | "%MINGWPATH%\bin\mingw32-make.exe" SHELL=CMD.exe -f makefile.gcc SHARED=0 DEBUG_FLAG=%DEBUGFLAG% MONOLITHIC=1 MSLU=%UNICODE% UNICODE=%UNICODE% BUILD=%BUILDTYPE% CXXFLAGS="-DWINVER=0x0400" -j4 88 | 89 | @echo off 90 | 91 | echo Building done 92 | 93 | echo Prepending __WXMSW__ to setup.h to fix not working code completion in wxWidgets-2.8.12 94 | pushd "%~dp0" 95 | 96 | if "%BUILDTYPE%"=="release" ( 97 | if "%UNICODE%"=="0" cd CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\msw\wx 98 | if "%UNICODE%"=="1" cd CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswu\wx 99 | ) 100 | if "%BUILDTYPE%"=="debug" ( 101 | if "%UNICODE%"=="0" cd CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswd\wx 102 | if "%UNICODE%"=="1" cd CodeBlocks\wxMSW-2.8.12\lib\gcc_lib\mswud\wx 103 | ) 104 | 105 | if exist "setup.h" ( 106 | echo // Prepended __WXMSW__ to fix problems with CodeBlocks parser > setup0.tmp 107 | echo #ifndef __WXMSW__ >> setup0.tmp 108 | echo #define __WXMSW__ >> setup0.tmp 109 | echo #endif >> setup0.tmp 110 | type setup.h >> setup0.tmp 111 | del setup.h 112 | ren setup0.tmp setup.h 113 | ) 114 | goto :eof 115 | 116 | 117 | :END 118 | 119 | pushd "%~dp0" 120 | -------------------------------------------------------------------------------- /installers/_install-wxmsw305tdm32.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM WXWIDGETS 3.0.5 INSTALLATION 3 | REM ============================= 4 | 5 | set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ 6 | 7 | pushd "%~dp0" 8 | if not exist "%~dp0\installers\wxWidgets-3.0.5.zip" ( 9 | echo Downloading wxWidgets-3.0.5.zip 10 | powershell wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.5/wxWidgets-3.0.5.zip -UseBasicParsing -OutFile '%~dp0\installers\wxWidgets-3.0.5.zip' 11 | ) 12 | 13 | if not exist "%~dp0\CodeBlocks\wxWidgets-3.0.5\" ( 14 | echo. 15 | mkdir "%~dp0\CodeBlocks" 16 | echo Extracting wxWidgets-3.0.5 17 | REM powershell "Expand-Archive '%~dp0\installers\wxWidgets-3.0.5.zip' '%~dp0\CodeBlocks\wxWidgets-3.0.5'" 18 | "%ZPATH%\7z.exe" x "%~dp0\installers\wxWidgets-3.0.5.zip" -o"%~dp0\CodeBlocks\wxWidgets-3.0.5" 19 | ) 20 | 21 | echo Applying patches for Win9x compatibility 22 | xcopy /Y /E "%~dp0\installers\patch_wx305_9x\*.*" "%~dp0\CodeBlocks\wxWidgets-3.0.5" 23 | 24 | 25 | SET BUILDTYPE=release 26 | SET UNICODE=1 27 | if not exist "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswu\wx\setup.h" ( 28 | mkdir "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswu\wx" 29 | copy "%~dp0\CodeBlocks\wxWidgets-3.0.5\include\wx\msw\setup.h" "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswu\wx\setup.h" 30 | ) 31 | call :BUILDWX 32 | 33 | SET BUILDTYPE=debug 34 | SET UNICODE=1 35 | if not exist "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswud\wx\setup.h" ( 36 | mkdir "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswud\wx" 37 | copy "%~dp0\CodeBlocks\wxWidgets-3.0.5\include\wx\msw\setup.h" "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswud\wx\setup.h" 38 | ) 39 | call :BUILDWX 40 | 41 | SET BUILDTYPE=release 42 | SET UNICODE=0 43 | if not exist "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\msw\wx\setup.h" ( 44 | mkdir "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\msw\wx" 45 | copy "%~dp0\CodeBlocks\wxWidgets-3.0.5\include\wx\msw\setup.h" "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\msw\wx\setup.h" 46 | ) 47 | call :BUILDWX 48 | 49 | SET BUILDTYPE=debug 50 | SET UNICODE=0 51 | if not exist "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswd\wx\setup.h" ( 52 | mkdir "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswd\wx" 53 | copy "%~dp0\CodeBlocks\wxWidgets-3.0.5\include\wx\msw\setup.h" "%~dp0\CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswd\wx\setup.h" 54 | ) 55 | call :BUILDWX 56 | 57 | 58 | GOTO END 59 | 60 | :BUILDWX 61 | pushd "%~dp0" 62 | cd ".\CodeBlocks\tdmgcc32" 63 | SET MINGWPATH=%CD% 64 | pushd "%~dp0" 65 | 66 | cd ".\CodeBlocks\tdmgcc32\bin" 67 | SET PATH=%PATH%;%WINDIR%;%WINDIR%\System32;%CD% 68 | 69 | pushd "%~dp0" 70 | cd ".\CodeBlocks\tdmgcc32\libexec\gcc\mingw32\4.7.1" 71 | SET PATH=%PATH%;%WINDIR%;%WINDIR%\System32;%CD% 72 | 73 | pushd "%~dp0" 74 | 75 | echo Cleaning up 76 | cd ".\CodeBlocks\wxWidgets-3.0.5\build\msw" 77 | SET WXBUILDPATH=%CD% 78 | 79 | SET DEBUGFLAG=0 80 | if "%BUILDTYPE%"=="debug" SET DEBUGFLAG=1 81 | 82 | @echo on 83 | "%MINGWPATH%\bin\mingw32-make.exe" SHELL=CMD.exe -f makefile.gcc SHARED=0 DEBUG_FLAG=%DEBUGFLAG% MONOLITHIC=1 MSLU=%UNICODE% UNICODE=%UNICODE% BUILD=%BUILDTYPE% clean CXXFLAGS="-DWINVER=0x0400" 84 | 85 | @echo off 86 | echo Building 87 | "%MINGWPATH%\bin\mingw32-make.exe" SHELL=CMD.exe -f makefile.gcc SHARED=0 DEBUG_FLAG=%DEBUGFLAG% MONOLITHIC=1 MSLU=%UNICODE% UNICODE=%UNICODE% BUILD=%BUILDTYPE% CXXFLAGS="-DWINVER=0x0400" -j4 88 | 89 | @echo off 90 | 91 | echo Building done 92 | 93 | echo Prepending __WXMSW__ to setup.h to fix not working code completion in wxWidgets-3.0.5 94 | pushd "%~dp0" 95 | 96 | if "%BUILDTYPE%"=="release" ( 97 | if "%UNICODE%"=="0" cd CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\msw\wx 98 | if "%UNICODE%"=="1" cd CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswu\wx 99 | ) 100 | if "%BUILDTYPE%"=="debug" ( 101 | if "%UNICODE%"=="0" cd CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswd\wx 102 | if "%UNICODE%"=="1" cd CodeBlocks\wxWidgets-3.0.5\lib\gcc_lib\mswud\wx 103 | ) 104 | 105 | if exist "setup.h" ( 106 | echo // Prepended __WXMSW__ to fix problems with CodeBlocks parser > setup0.tmp 107 | echo #ifndef __WXMSW__ >> setup0.tmp 108 | echo #define __WXMSW__ >> setup0.tmp 109 | echo #endif >> setup0.tmp 110 | type setup.h >> setup0.tmp 111 | del setup.h 112 | ren setup0.tmp setup.h 113 | ) 114 | goto :eof 115 | 116 | 117 | :END 118 | 119 | pushd "%~dp0" -------------------------------------------------------------------------------- /installers/_install-wxmsw321mingw64.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM WXWIDGETS 3.2.1 INSTALLATION 3 | REM ============================= 4 | 5 | pushd "%~dp0" 6 | if not exist "%~dp0\installers\wxWidgets-3.2.1.7z" ( 7 | echo Downloading wxWidgets-3.2.1.7z 8 | powershell wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.1/wxWidgets-3.2.1.7z -UseBasicParsing -OutFile '%~dp0\installers\wxWidgets-3.2.1.7z' 9 | ) 10 | 11 | if not exist "%~dp0\CodeBlocks\wxWidgets-3.2.1\" ( 12 | echo. 13 | mkdir "%~dp0\CodeBlocks" 14 | echo Extracting wxWidgets-3.2.1 15 | "%ZPATH%\7z.exe" x "%~dp0\installers\wxWidgets-3.2.1.7z" -o"%~dp0\CodeBlocks\wxWidgets-3.2.1" 16 | ) 17 | 18 | 19 | SET BUILDTYPE=release 20 | SET UNICODE=1 21 | call :BUILDWX 22 | 23 | SET BUILDTYPE=debug 24 | SET UNICODE=1 25 | call :BUILDWX 26 | 27 | GOTO END 28 | 29 | :BUILDWX 30 | pushd "%~dp0" 31 | cd ".\CodeBlocks\mingw64" 32 | SET MINGWPATH=%CD% 33 | pushd "%~dp0" 34 | 35 | cd ".\CodeBlocks\mingw64\bin" 36 | SET PATH = %WINDIR%;%WINDIR%\System32;%CD% 37 | 38 | pushd "%~dp0" 39 | cd ".\CodeBlocks\mingw64\libexec\gcc\x86_64-w64-mingw32\8.1.0" 40 | SET PATH = %WINDIR%;%WINDIR%\System32;%CD% 41 | 42 | pushd "%~dp0" 43 | 44 | echo Cleaning up 45 | cd ".\CodeBlocks\wxWidgets-3.2.1\build\msw" 46 | SET WXBUILDPATH=%CD% 47 | 48 | SET DEBUGFLAG=0 49 | if "%BUILDTYPE%"=="debug" SET DEBUGFLAG=1 50 | 51 | @echo on 52 | mingw32-make SHELL=CMD.exe -f makefile.gcc SHARED=0 DEBUG_FLAG=%DEBUGFLAG% MONOLITHIC=1 UNICODE=%UNICODE% BUILD=%BUILDTYPE% CXXFLAGS="-march=x86-64" LDFLAGS="-m64" clean 53 | 54 | @echo off 55 | echo Building 56 | mingw32-make SHELL=CMD.exe -f makefile.gcc SHARED=0 DEBUG_FLAG=%DEBUGFLAG% MONOLITHIC=1 UNICODE=%UNICODE% BUILD=%BUILDTYPE% CXXFLAGS="-march=x86-64" LDFLAGS="-m64" 57 | 58 | @echo off 59 | 60 | echo Building done 61 | 62 | echo Prepending __WXMSW__ to setup.h because it might make code completion work better 63 | pushd "%~dp0" 64 | 65 | if "%BUILDTYPE%"=="release" ( 66 | if "%UNICODE%"=="0" cd CodeBlocks\wxWidgets-3.2.1\lib\gcc_lib\msw\wx 67 | if "%UNICODE%"=="1" cd CodeBlocks\wxWidgets-3.2.1\lib\gcc_lib\mswu\wx 68 | ) 69 | if "%BUILDTYPE%"=="debug" ( 70 | if "%UNICODE%"=="0" cd CodeBlocks\wxWidgets-3.2.1\lib\gcc_lib\mswd\wx 71 | if "%UNICODE%"=="1" cd CodeBlocks\wxWidgets-3.2.1\lib\gcc_lib\mswud\wx 72 | ) 73 | 74 | if exist "setup.h" ( 75 | echo // Prepended __WXMSW__ to fix problems with CodeBlocks parser > setup0.tmp 76 | echo #ifndef __WXMSW__ >> setup0.tmp 77 | echo #define __WXMSW__ >> setup0.tmp 78 | echo #endif >> setup0.tmp 79 | type setup.h >> setup0.tmp 80 | del setup.h 81 | ren setup0.tmp setup.h 82 | ) 83 | goto :eof 84 | 85 | 86 | :END 87 | 88 | pushd "%~dp0" -------------------------------------------------------------------------------- /installers/dosbox/dosbox.conf: -------------------------------------------------------------------------------- 1 | [sdl] 2 | windowresolution=1080x600 3 | output=opengl 4 | [cpu] 5 | core=dynamic 6 | [render] 7 | scaler=normal2x forced -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/AUTOEXEC.BAT: -------------------------------------------------------------------------------- 1 | C:\WINDOWS\SMARTDRV.EXE 2 | C:\WINDOWS\net start 3 | PATH C:\WINDOWS; 4 | SET TEMP=C:\WINDOWS\TEMP 5 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/CONFIG.SYS: -------------------------------------------------------------------------------- 1 | FILES=30 2 | BUFFERS=30 3 | LASTDRIVE=Z 4 | DEVICE=C:\WINDOWS\HIMEM.SYS 5 | DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER 6 | DEVICE=C:\WINDOWS\IFSHLP.SYS 7 | STACKS=9,256 8 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WIN32APP.GRP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WIN32APP.GRP -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/ACCESSOR.GRP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/ACCESSOR.GRP -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/CONTROL.INI: -------------------------------------------------------------------------------- 1 | [current] 2 | color schemes=Dark Blue 3 | 4 | [color schemes] 5 | Arizona=804000,FFFFFF,FFFFFF,0,FFFFFF,0,808040,C0C0C0,FFFFFF,4080FF,C0C0C0,0,C0C0C0,C0C0C0,808080,0,808080,808000,FFFFFF,0,FFFFFF 6 | Black Leather Jacket=0,C0C0C0,FFFFFF,0,C0C0C0,0,800040,808080,FFFFFF,808080,808080,0,10E0E0E0,C0C0C0,808080,0,808080,0,FFFFFF,0,FFFFFF 7 | Bordeaux=400080,C0C0C0,FFFFFF,0,FFFFFF,0,800080,C0C0C0,FFFFFF,FF0080,C0C0C0,0,C0C0C0,C0C0C0,808080,0,808080,800080,FFFFFF,0,FFFFFF 8 | Cinnamon=404080,C0C0C0,FFFFFF,0,FFFFFF,0,80,C0C0C0,FFFFFF,80,C0C0C0,0,C0C0C0,C0C0C0,808080,0,808080,80,FFFFFF,0,FFFFFF 9 | Designer=7C7C3F,C0C0C0,FFFFFF,0,FFFFFF,0,808000,C0C0C0,FFFFFF,C0C0C0,C0C0C0,0,C0C0C0,C0C0C0,808080,0,C0C0C0,808000,0,0,FFFFFF 10 | Emerald City=404000,C0C0C0,FFFFFF,0,C0C0C0,0,408000,808040,FFFFFF,408000,808040,0,C0C0C0,C0C0C0,808080,0,808080,8000,FFFFFF,0,FFFFFF 11 | Fluorescent=0,FFFFFF,FFFFFF,0,FF00,0,FF00FF,C0C0C0,0,FF80,C0C0C0,0,C0C0C0,C0C0C0,808080,0,808080,0,FFFFFF,0,FFFFFF 12 | Hotdog Stand=FFFF,FFFF,FF,FFFFFF,FFFFFF,0,0,FF,FFFFFF,FF,FF,0,C0C0C0,C0C0C0,808080,0,808080,0,FFFFFF,FFFFFF,FFFFFF 13 | LCD Default Screen Settings=808080,C0C0C0,C0C0C0,0,C0C0C0,0,800000,C0C0C0,FFFFFF,800000,C0C0C0,0,C0C0C0,C0C0C0,7F8080,0,808080,800000,FFFFFF,0,FFFFFF 14 | LCD Reversed - Dark=0,80,80,FFFFFF,8080,0,8080,800000,0,8080,800000,0,8080,C0C0C0,7F8080,0,C0C0C0,800000,FFFFFF,828282,FFFFFF 15 | LCD Reversed - Light=800000,FFFFFF,FFFFFF,0,FFFFFF,0,808040,FFFFFF,0,C0C0C0,C0C0C0,800000,C0C0C0,C0C0C0,7F8080,0,808040,800000,FFFFFF,0,FFFFFF 16 | Mahogany=404040,C0C0C0,FFFFFF,0,FFFFFF,0,40,C0C0C0,FFFFFF,C0C0C0,C0C0C0,0,C0C0C0,C0C0C0,808080,0,C0C0C0,80,FFFFFF,0,FFFFFF 17 | Monochrome=C0C0C0,FFFFFF,FFFFFF,0,FFFFFF,0,0,C0C0C0,FFFFFF,C0C0C0,C0C0C0,0,808080,C0C0C0,808080,0,808080,0,FFFFFF,0,FFFFFF 18 | Ocean=808000,408000,FFFFFF,0,FFFFFF,0,804000,C0C0C0,FFFFFF,C0C0C0,C0C0C0,0,C0C0C0,C0C0C0,808080,0,0,808000,0,0,FFFFFF 19 | Pastel=C0FF82,80FFFF,FFFFFF,0,FFFFFF,0,FFFF80,FFFFFF,0,C080FF,FFFFFF,808080,C0C0C0,C0C0C0,808080,0,C0C0C0,FFFF00,0,0,FFFFFF 20 | Patchwork=9544BB,C1FBFA,FFFFFF,0,FFFFFF,0,FFFF80,FFFFFF,0,64B14E,FFFFFF,0,C0C0C0,C0C0C0,808080,0,808080,FFFF00,0,0,FFFFFF 21 | Plasma Power Saver=0,FF0000,0,FFFFFF,FF00FF,0,800000,C0C0C0,0,80,FFFFFF,C0C0C0,FF0000,C0C0C0,808080,0,C0C0C0,FFFFFF,0,0,FFFFFF 22 | Rugby=C0C0C0,80FFFF,FFFFFF,0,FFFFFF,0,800000,FFFFFF,FFFFFF,80,FFFFFF,0,C0C0C0,C0C0C0,808080,0,808080,800000,FFFFFF,0,FFFFFF 23 | The Blues=804000,C0C0C0,FFFFFF,0,FFFFFF,0,800000,C0C0C0,FFFFFF,C0C0C0,C0C0C0,0,C0C0C0,C0C0C0,808080,0,C0C0C0,800000,FFFFFF,0,FFFFFF 24 | Tweed=6A619E,C0C0C0,FFFFFF,0,FFFFFF,0,408080,C0C0C0,FFFFFF,404080,C0C0C0,0,10E0E0E0,C0C0C0,808080,0,C0C0C0,8080,0,0,FFFFFF 25 | Valentine=C080FF,FFFFFF,FFFFFF,0,FFFFFF,0,8000FF,400080,FFFFFF,C080FF,C080FF,0,C0C0C0,C0C0C0,808080,0,808080,FF00FF,0,FFFFFF,FFFFFF 26 | Wingtips=408080,C0C0C0,FFFFFF,0,FFFFFF,0,808080,FFFFFF,FFFFFF,4080,FFFFFF,0,808080,C0C0C0,808080,0,C0C0C0,808080,FFFFFF,0,FFFFFF 27 | Dark Blue=800000,FFFFFF,FFFFFF,0,FFFFFF,0,800000,FFFFFF,FFFFFF,C0C0C0,C0C0C0,0,C0C0C0,C0C0C0,808080,0,C0C0C0,800000,FFFFFF,0,FFFFFF 28 | 29 | [Custom Colors] 30 | ColorA=FFFFFF 31 | ColorB=FFFFFF 32 | ColorC=FFFFFF 33 | ColorD=FFFFFF 34 | ColorE=FFFFFF 35 | ColorF=FFFFFF 36 | ColorG=FFFFFF 37 | ColorH=FFFFFF 38 | ColorI=FFFFFF 39 | ColorJ=FFFFFF 40 | ColorK=FFFFFF 41 | ColorL=FFFFFF 42 | ColorM=FFFFFF 43 | ColorN=FFFFFF 44 | ColorO=FFFFFF 45 | ColorP=FFFFFF 46 | 47 | [Patterns] 48 | (None)=(None) 49 | Boxes=127 65 65 65 65 65 127 0 50 | Paisley=2 7 7 2 32 80 80 32 51 | Weave=136 84 34 69 136 21 34 81 52 | Waffle=0 0 0 0 128 128 128 240 53 | Tulip=0 0 84 124 124 56 146 124 54 | Spinner=20 12 200 121 158 19 48 40 55 | Scottie=64 192 200 120 120 72 0 0 56 | Critters=0 80 114 32 0 5 39 2 57 | 50% Gray=170 85 170 85 170 85 170 85 58 | Quilt=130 68 40 17 40 68 130 1 59 | Diamonds=32 80 136 80 32 0 0 0 60 | Thatches=248 116 34 71 143 23 34 113 61 | Pattern=224 128 142 136 234 10 14 0 62 | 63 | [MMCPL] 64 | NumApps=16 65 | X=22 66 | Y=22 67 | W=430 68 | H=240 69 | 70 | [drivers.desc] 71 | msacm.drv=Microsoft Sound Mapper V2.00 72 | msadpcm.acm=Microsoft ADPCM Codec V2.00 73 | imaadpcm.acm=Microsoft IMA ADPCM Codec V2.00 74 | mciwave.drv=[MCI] Sound 75 | mciseq.drv=[MCI] MIDI Sequencer 76 | mciavi.drv=[MCI] Microsoft Video for Windows 77 | UDH.DLL=Universal Draw Handler 78 | timer.drv=Timer 79 | midimap.drv=MIDI Mapper 80 | iccvid.drv=SuperMatch Cinepak Codec 81 | msvidc.drv=Microsoft Video 1 Compressor 82 | ir32.dll=Intel Indeo(TM) Video R3.2 83 | MSRLE.drv=Microsoft RLE Compressor 84 | ir21_r.dll=Intel Indeo(TM) Video R2.1/Raw 85 | sndblst2.drv=Creative Labs Sound Blaster 1.5 86 | msadlib.drv=Ad Lib 87 | 88 | [Userinstallable.drivers] 89 | Wave=sndblst2.drv 90 | MIDI1=msadlib.drv 91 | 92 | [related.desc] 93 | Wave=msadlib.drv, 94 | MIDI1= 95 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/DOSPRMPT.PIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/DOSPRMPT.PIF -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/ENTPACK.INI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/ENTPACK.INI -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/GAMES.GRP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/GAMES.GRP -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/INDEO.INI: -------------------------------------------------------------------------------- 1 | [dcisvga.dll] 2 | chipset=S3 3 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/MAIN.GRP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/MAIN.GRP -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/MICROSOF.GRP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/MICROSOF.GRP -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/MSACM.INI: -------------------------------------------------------------------------------- 1 | [Priority] 2 | Priority1=1, MS-ADPCM, Microsoft ADPCM CODEC 3 | Priority2=1, Microsoft IMA ADPCM, Microsoft IMA ADPCM CODEC 4 | Priority3=1, MS-PCM, Microsoft PCM Converter 5 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/NCDINFO.INI: -------------------------------------------------------------------------------- 1 | [NCD] 2 | NETCARD1=214,-1,0x300,32,0xffff,-1,0xffff,-1,-1,0,-1,0xffffffff,-1,0xd9b5 3 | 4 | [LastDetectedFromSetup] 5 | NETCARD1=214,-1,0x300,32,0xffff,-1,0xffff,-1,-1,0,-1,0xffffffff,-1,0xd9b5 6 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/NETWORK.GRP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/NETWORK.GRP -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/PROGMAN.INI: -------------------------------------------------------------------------------- 1 | [Settings] 2 | display.drv=s3trio.drv 3 | Order= 8 1 4 5 6 7 3 2 4 | Window=68 48 580 384 1 5 | 6 | [Groups] 7 | Group1=C:\WINDOWS\MICROSOF.GRP 8 | Group2=C:\WINDOWS\MAIN.GRP 9 | Group3=C:\WINDOWS\ACCESSOR.GRP 10 | Group4=C:\WINDOWS\NETWORK.GRP 11 | Group5=C:\WINDOWS\GAMES.GRP 12 | Group6=C:\WINDOWS\STARTUP.GRP 13 | Group7=C:\WINDOWS\WINGSDK.GRP 14 | Group8=C:\WIN32APP.GRP 15 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/PROTOCOL.CLN: -------------------------------------------------------------------------------- 1 | [network.setup] 2 | version=0x3110 3 | netcard=ms$ne2clone,1,MS$NE2CLONE,3 4 | transport=ms$nwlinknb,NWLINK 5 | transport=ms$ndishlp,MS$NDISHLP 6 | transport=ms$netbeui,NETBEUI 7 | transport=tcpip-32r,MSTCP32 8 | lana0=ms$ne2clone,1,tcpip-32r 9 | lana1=ms$ne2clone,1,ms$nwlinknb 10 | lana2=ms$ne2clone,1,ms$ndishlp 11 | lana3=ms$ne2clone,1,ms$netbeui 12 | 13 | 14 | [protman] 15 | DriverName=PROTMAN$ 16 | PRIORITY=MS$NDISHLP 17 | 18 | [MS$NE2CLONE] 19 | DriverName=MS2000$ 20 | INTERRUPT=10 21 | IOBASE=0x300 22 | 23 | [NE2000] 24 | Adapters=MS$NE2CLONE 25 | 26 | [NWLINK] 27 | 28 | BINDINGS=MS$NE2CLONE 29 | [MS$NDISHLP] 30 | DriverName=ndishlp$ 31 | BINDINGS=MS$NE2CLONE 32 | 33 | [NETBEUI] 34 | DriverName=netbeui$ 35 | SESSIONS=10 36 | NCBS=12 37 | BINDINGS=MS$NE2CLONE 38 | LANABASE=2 39 | 40 | [MSTCP32] 41 | BINDINGS=MS$NE2CLONE 42 | LANABASE=0 43 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/PROTOCOL.INI: -------------------------------------------------------------------------------- 1 | [network.setup] 2 | version=0x3110 3 | netcard=ms$ne2clone,1,MS$NE2CLONE,3 4 | transport=ms$nwlinknb,NWLINK 5 | transport=ms$ndishlp,MS$NDISHLP 6 | transport=ms$netbeui,NETBEUI 7 | transport=tcpip-32r,MSTCP32 8 | lana0=ms$ne2clone,1,tcpip-32r 9 | lana1=ms$ne2clone,1,ms$nwlinknb 10 | lana2=ms$ne2clone,1,ms$ndishlp 11 | lana3=ms$ne2clone,1,ms$netbeui 12 | 13 | 14 | [protman] 15 | DriverName=PROTMAN$ 16 | PRIORITY=MS$NDISHLP 17 | 18 | [MS$NE2CLONE] 19 | DriverName=MS2000$ 20 | INTERRUPT=10 21 | IOBASE=0x300 22 | 23 | [NE2000] 24 | Adapters=MS$NE2CLONE 25 | 26 | [NWLINK] 27 | 28 | BINDINGS=MS$NE2CLONE 29 | [MS$NDISHLP] 30 | DriverName=ndishlp$ 31 | BINDINGS=MS$NE2CLONE 32 | 33 | [NETBEUI] 34 | DriverName=netbeui$ 35 | SESSIONS=10 36 | NCBS=12 37 | BINDINGS=MS$NE2CLONE 38 | LANABASE=2 39 | 40 | [MSTCP32] 41 | BINDINGS=MS$NE2CLONE 42 | LANABASE=0 43 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/REG.DAT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/REG.DAT -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/SERIALNO.INI: -------------------------------------------------------------------------------- 1 | [Microsoft Products] 2 | mswindows=Microsoft Windows for Workgrou 3 | 4 | [mswindows] 5 | username=WIN311 6 | company= 7 | serialno= 8 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/SHARES.PWL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/SHARES.PWL -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/STARTUP.GRP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/STARTUP.GRP -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/SYSTEM.CLN: -------------------------------------------------------------------------------- 1 | [boot] 2 | oemfonts.fon=vgaoem.fon 3 | fixedfon.fon=vgafix.fon 4 | fonts.fon=vgasys.fon 5 | display.drv=s3trio.drv 6 | shell=progman.exe 7 | network.drv=wfwnet.drv 8 | mouse.drv=dboxmpi.drv 9 | language.dll= 10 | sound.drv=mmsound.drv 11 | comm.drv=comm.drv 12 | keyboard.drv=keyboard.drv 13 | system.drv=system.drv 14 | 386grabber=vga_eng.3gr 15 | drivers=mmsystem.dll 16 | 17 | [keyboard] 18 | subtype= 19 | type=4 20 | keyboard.dll= 21 | oemansi.bin= 22 | 23 | [boot.description] 24 | keyboard.typ=Enhanced 101 or 102 key US and Non US keyboards 25 | mouse.drv=DOSBox-X Mouse Pointer Integration 26 | language.dll=English (American) 27 | system.drv=MS-DOS System 28 | codepage=852 29 | woafont.fon= 30 | aspect=100,96,96 31 | display.drv=S3 Trio64V 1.70.04 640x480 256 32 | network.drv=Microsoft Windows Network (version 3.11) 33 | secondnet.drv=No Additional Network Installed 34 | 35 | [386Enh] 36 | device=*vpd 37 | mouse=*vmd 38 | ebios=*ebios 39 | woafont= 40 | display=vdds3764.386 41 | EGA80WOA.FON=EGA80WOA.FON 42 | EGA40WOA.FON=EGA40WOA.FON 43 | CGA80WOA.FON=CGA80WOA.FON 44 | CGA40WOA.FON=CGA40WOA.FON 45 | keyboard=*vkd 46 | network=*vnetbios,*vwc,vnetsup.386,vredir.386,vserver.386 47 | netheapsize=20 48 | device=*vcd 49 | device=*vpicd 50 | device=*vtd 51 | device=*reboot 52 | device=*vdmad 53 | device=*vsd 54 | device=*v86mmgr 55 | device=*pageswap 56 | device=*dosmgr 57 | device=*vmpoll 58 | device=*wshell 59 | device=*PAGEFILE 60 | device=*BLOCKDEV 61 | device=*vfd 62 | device=*parity 63 | device=*biosxlat 64 | device=*vmcpd 65 | device=*combuff 66 | device=*cdpscsi 67 | device=vtdapi.386 68 | device=vpmtd.386 69 | device=vcomm.386 70 | device=serial.386 71 | device=lpt.386 72 | device=ifsmgr.386 73 | device=vcache.386 74 | device=vshare.386 75 | local=CON 76 | FileSysChange=off 77 | COM3Irq=4 78 | COM3Base=03E8 79 | COM4Irq=3 80 | COM4Base=02E8 81 | PagingFile=C:\WINDOWS\WIN386.SWP 82 | MaxPagingFileSize=61440 83 | netmisc=ndis.386,ndis2sup.386,wsock.386,wstcp.386 84 | netcard=ne2000.386 85 | transport=nwlink.386,nwnblink.386,netbeui.386,vip.386,vdhcp.386,vtdi.386,vtcp.386,vnbt.386 86 | InDOSPolling=FALSE 87 | 88 | [NonWindowsApp] 89 | localtsrs=dosedit,ced 90 | 91 | [vcache] 92 | minfilecache=512 93 | 94 | [mci] 95 | WaveAudio=mciwave.drv 96 | Sequencer=mciseq.drv 97 | CDAudio=mcicda.drv 98 | 99 | [drivers] 100 | DCI=RFMDCI 101 | VIDS.DRAW=UDH.DLL 102 | timer=timer.drv 103 | midimapper=midimap.drv 104 | 105 | [DDEShares] 106 | CHAT$=winchat,chat,,31,,0,,0,0,0 107 | SCHAT$=winchat,chat,,31,,0,,0,0,0 108 | CLPBK$=clipsrv,system,,31,,0,,0,0,0 109 | HEARTS$=mshearts,hearts,,15,,0,,0,0,0 110 | 111 | [Network] 112 | winnet=wfwnet/00025100 113 | multinet=nonet 114 | FileSharing=Yes 115 | PrintSharing=Yes 116 | LogonDisconnected=yes 117 | EnableSharing=Yes 118 | UserName=WIN311 119 | Workgroup=WORKGROUP 120 | ComputerName=WIN311 121 | Comment=WIN311 122 | 123 | 124 | 125 | [Debug] 126 | OutputTo=NUL 127 | 128 | [DISPLAY] 129 | dpi=96 130 | color-format=8 131 | screen-size=640 132 | fastmmio=on 133 | textrmw=0 134 | scache=on 135 | ellipse-support=on 136 | polygon-support=on 137 | dac-type=nbt 138 | 139 | [network drivers] 140 | netcard=ne2000.dos 141 | transport=ndishlp.sys,*netbeui 142 | devdir=C:\WINDOWS 143 | LoadRMDrivers=No 144 | 145 | [NWNBLINK] 146 | LANABASE=1 147 | 148 | [ms$ne2clone0] 149 | DefaultGateway=10.0.2.2 150 | IPMask=255.255.255.0 151 | IPAddress=10.0.2.15 152 | Description=NE2000 Compatible 153 | Binding=ms$ne2clone 154 | 155 | [MSTCP] 156 | EnableRouting=0 157 | Interfaces=ms$ne2clone0 158 | deadgwdetect=1 159 | pmtudiscovery=1 160 | 161 | [DNS] 162 | DNSServers=10.0.2.3 163 | HostName=WIN311 164 | DomainName= 165 | DNSDomains= 166 | 167 | [NBT] 168 | LANABASE=0 169 | EnableProxy=0 170 | EnableDNS=0 171 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/SYSTEM.INI: -------------------------------------------------------------------------------- 1 | [boot] 2 | oemfonts.fon=vgaoem.fon 3 | fixedfon.fon=vgafix.fon 4 | fonts.fon=vgasys.fon 5 | display.drv=s3trio.drv 6 | shell=progman.exe 7 | network.drv=wfwnet.drv 8 | mouse.drv=dboxmpi.drv 9 | language.dll= 10 | sound.drv=mmsound.drv 11 | comm.drv=comm.drv 12 | keyboard.drv=keyboard.drv 13 | system.drv=system.drv 14 | 386grabber=vga_eng.3gr 15 | drivers=mmsystem.dll winmm16.dll 16 | SCRNSAVE.EXE=(None) 17 | 18 | [keyboard] 19 | subtype= 20 | type=4 21 | keyboard.dll= 22 | oemansi.bin= 23 | 24 | [boot.description] 25 | keyboard.typ=Enhanced 101 or 102 key US and Non US keyboards 26 | mouse.drv=DOSBox-X Mouse Pointer Integration 27 | language.dll=English (American) 28 | system.drv=MS-DOS System 29 | codepage=852 30 | woafont.fon= 31 | aspect=100,96,96 32 | display.drv=S3 Trio64V 1.70.04 640x480 256 33 | network.drv=Microsoft Windows Network (version 3.11) 34 | secondnet.drv=No Additional Network Installed 35 | 36 | [386Enh] 37 | device=C:\WINDOWS\SYSTEM\WIN32S\W32S.386 38 | device=dva.386 39 | device=*vpd 40 | mouse=*vmd 41 | ebios=*ebios 42 | woafont= 43 | display=vdds3764.386 44 | EGA80WOA.FON=EGA80WOA.FON 45 | EGA40WOA.FON=EGA40WOA.FON 46 | CGA80WOA.FON=CGA80WOA.FON 47 | CGA40WOA.FON=CGA40WOA.FON 48 | keyboard=*vkd 49 | network=*vnetbios,*vwc,vnetsup.386,vredir.386,vserver.386 50 | netheapsize=20 51 | device=*vcd 52 | device=*vpicd 53 | device=*vtd 54 | device=*reboot 55 | device=*vdmad 56 | device=*vsd 57 | device=*v86mmgr 58 | device=*pageswap 59 | device=*dosmgr 60 | device=*vmpoll 61 | device=*wshell 62 | device=*PAGEFILE 63 | device=*BLOCKDEV 64 | device=*vfd 65 | device=*parity 66 | device=*biosxlat 67 | device=*vmcpd 68 | device=*combuff 69 | device=*cdpscsi 70 | device=vtdapi.386 71 | device=vpmtd.386 72 | device=vcomm.386 73 | device=serial.386 74 | device=lpt.386 75 | device=ifsmgr.386 76 | device=vcache.386 77 | device=vshare.386 78 | local=CON 79 | FileSysChange=off 80 | COM3Irq=4 81 | COM3Base=03E8 82 | COM4Irq=3 83 | COM4Base=02E8 84 | PagingFile=C:\WINDOWS\WIN386.SWP 85 | MaxPagingFileSize=61440 86 | netmisc=ndis.386,ndis2sup.386,wsock.386,wstcp.386 87 | netcard=ne2000.386 88 | transport=nwlink.386,nwnblink.386,netbeui.386,vip.386,vdhcp.386,vtdi.386,vtcp.386,vnbt.386 89 | InDOSPolling=FALSE 90 | 91 | device=vsbd.386 92 | device=vadlibd.386 93 | [NonWindowsApp] 94 | localtsrs=dosedit,ced 95 | 96 | [vcache] 97 | minfilecache=512 98 | 99 | [mci] 100 | WaveAudio=mciwave.drv 101 | Sequencer=mciseq.drv 102 | CDAudio=mcicda.drv 103 | AVIVideo=mciavi.drv 104 | 105 | [drivers] 106 | DCI=RFMDCI 107 | VIDS.DRAW=UDH.DLL 108 | timer=timer.drv 109 | midimapper=midimap.drv 110 | VIDC.CVID=iccvid.drv 111 | VIDC.MSVC=msvidc.drv 112 | VIDC.IV32=ir32.dll 113 | VIDC.IV31=IR32.dll 114 | VIDC.MRLE=MSRLE.drv 115 | VIDC.RT21=ir21_r.dll 116 | VIDC.YVU9=ir21_r.dll 117 | WaveMapper=msacm.drv 118 | MSACM.msadpcm=msadpcm.acm 119 | MSACM.imaadpcm=imaadpcm.acm 120 | Wave=sndblst2.drv 121 | MIDI=sndblst2.drv 122 | MIDI1=msadlib.drv 123 | 124 | [DDEShares] 125 | CHAT$=winchat,chat,,31,,0,,0,0,0 126 | SCHAT$=winchat,chat,,31,,0,,0,0,0 127 | CLPBK$=clipsrv,system,,31,,0,,0,0,0 128 | HEARTS$=mshearts,hearts,,15,,0,,0,0,0 129 | 130 | [Network] 131 | winnet=wfwnet/00025100 132 | multinet=nonet 133 | FileSharing=Yes 134 | PrintSharing=Yes 135 | LogonDisconnected=yes 136 | EnableSharing=Yes 137 | UserName=WIN311 138 | Workgroup=WORKGROUP 139 | ComputerName=WIN311 140 | Comment=WIN311 141 | logonvalidated=no 142 | 143 | 144 | 145 | [Debug] 146 | OutputTo=NUL 147 | 148 | [DISPLAY] 149 | dpi=96 150 | color-format=8 151 | screen-size=640 152 | fastmmio=on 153 | textrmw=0 154 | scache=on 155 | ellipse-support=on 156 | polygon-support=on 157 | dac-type=nbt 158 | 159 | [network drivers] 160 | netcard=ne2000.dos 161 | transport=ndishlp.sys,*netbeui 162 | devdir=C:\WINDOWS 163 | LoadRMDrivers=No 164 | 165 | [NWNBLINK] 166 | LANABASE=1 167 | 168 | [ms$ne2clone0] 169 | DefaultGateway=10.0.2.2 170 | IPMask=255.255.255.0 171 | IPAddress=10.0.2.15 172 | Description=NE2000 Compatible 173 | Binding=ms$ne2clone 174 | 175 | [MSTCP] 176 | EnableRouting=0 177 | Interfaces=ms$ne2clone0 178 | deadgwdetect=1 179 | pmtudiscovery=1 180 | 181 | [DNS] 182 | DNSServers=10.0.2.3 183 | HostName=WIN311 184 | DomainName= 185 | DNSDomains= 186 | 187 | [NBT] 188 | LANABASE=0 189 | EnableProxy=0 190 | EnableDNS=0 191 | 192 | [Password Lists] 193 | *Shares=C:\WINDOWS\Share000.PWL 194 | WIN311=C:\WINDOWS\WIN311.PWL 195 | 196 | [sndblst.drv] 197 | port=220 198 | int=7 199 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/SYSTEM/WIN32S.INI: -------------------------------------------------------------------------------- 1 | [Win32s] 2 | Setup=1 3 | Version=1.30.172.0 4 | 5 | [OLE] 6 | Setup=1 7 | Version=2.3.130.168 8 | 9 | [Nls] 10 | AnsiCP=1252 11 | 12 | [Freecell] 13 | Setup=1 14 | Version=1.30.172.0 15 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/WFWSYS.CFG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/WFWSYS.CFG -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/WIN.CLN: -------------------------------------------------------------------------------- 1 | [windows] 2 | spooler=yes 3 | load= 4 | run= 5 | Beep=yes 6 | NullPort=None 7 | device= 8 | BorderWidth=3 9 | CursorBlinkRate=530 10 | DoubleClickSpeed=452 11 | Programs=com exe bat pif 12 | Documents= 13 | DeviceNotSelectedTimeout=15 14 | TransmissionRetryTimeout=45 15 | KeyboardDelay=2 16 | KeyboardSpeed=31 17 | ScreenSaveActive=0 18 | ScreenSaveTimeOut=120 19 | 20 | [Desktop] 21 | Pattern=(None) 22 | TileWallPaper=0 23 | GridGranularity=0 24 | 25 | [Extensions] 26 | crd=cardfile.exe ^.crd 27 | trm=terminal.exe ^.trm 28 | txt=notepad.exe ^.txt 29 | ini=notepad.exe ^.ini 30 | pcx=pbrush.exe ^.pcx 31 | bmp=pbrush.exe ^.bmp 32 | wri=write.exe ^.wri 33 | rec=recorder.exe ^.rec 34 | hlp=winhelp.exe ^.hlp 35 | mmf=msmail.exe /f ^.mmf 36 | 37 | [intl] 38 | sLanguage=enu 39 | sCountry=United States 40 | iCountry=1 41 | iDate=0 42 | iTime=0 43 | iTLZero=0 44 | iCurrency=0 45 | iCurrDigits=2 46 | iNegCurr=0 47 | iLzero=1 48 | iDigits=2 49 | iMeasure=1 50 | s1159=AM 51 | s2359=PM 52 | sCurrency=$ 53 | sThousand=, 54 | sDecimal=. 55 | sDate=/ 56 | sTime=: 57 | sList=, 58 | sShortDate=M/d/yy 59 | sLongDate=dddd, MMMM dd, yyyy 60 | 61 | [ports] 62 | ; A line with [filename].PRN followed by an equal sign causes 63 | ; [filename] to appear in the Control Panel's Printer Configuration dialog 64 | ; box. A printer connected to [filename] directs its output into this file. 65 | ; The file must be on one of your local drives; you cannot print to a network 66 | ; file. 67 | LPT1:= 68 | LPT2:= 69 | LPT3:= 70 | COM1:=9600,n,8,1,x 71 | COM2:=9600,n,8,1,x 72 | COM3:=9600,n,8,1,x 73 | COM4:=9600,n,8,1,x 74 | EPT:= 75 | FILE:= 76 | LPT1.DOS= 77 | LPT2.DOS= 78 | 79 | [FontSubstitutes] 80 | Helv=MS Sans Serif 81 | Tms Rmn=MS Serif 82 | Times=Times New Roman 83 | Helvetica=Arial 84 | 85 | [TrueType] 86 | 87 | [Sounds] 88 | SystemDefault=ding.wav, Default Beep 89 | SystemExclamation=ding.wav, Exclamation 90 | SystemStart=chimes.wav, Windows Start 91 | SystemExit=chimes.wav, Windows Exit 92 | SystemHand=ding.wav, Critical Stop 93 | SystemQuestion=ding.wav, Question 94 | SystemAsterisk=ding.wav, Asterisk 95 | RingIn=ringin.wav, Incoming Call 96 | RingOut=ringout.wav, Outgoing Call 97 | 98 | [mci extensions] 99 | wav=waveaudio 100 | mid=sequencer 101 | rmi=sequencer 102 | 103 | [Compatibility] 104 | NOTSHELL=0x0001 105 | WPWINFIL=0x0006 106 | CCMAIL=0x0008 107 | AMIPRO=0x0010 108 | REM=0x8022 109 | PIXIE=0x0040 110 | CP=0x0040 111 | JW=0x42080 112 | TME=0x0100 113 | VB=0x0200 114 | WIN2WRS=0x1210 115 | PACKRAT=0x0800 116 | VISION=0x0040 117 | MCOURIER=0x0800 118 | _BNOTES=0x24000 119 | MILESV3=0x1000 120 | PM4=0x2000 121 | DESIGNER=0x2000 122 | PLANNER=0x2000 123 | DRAW=0x2000 124 | WINSIM=0x2000 125 | CHARISMA=0x2000 126 | PR2=0x2000 127 | PLUS=0x1000 128 | ED=0x00010000 129 | APORIA=0x0100 130 | EXCEL=0x1000 131 | GUIDE=0x1000 132 | NETSET2=0x0100 133 | W4GL=0x4000 134 | W4GLR=0x4000 135 | TURBOTAX=0x00080000 136 | 137 | [winsetup] 138 | source_disk_path=C:\INST311 139 | 140 | [fonts] 141 | Arial (TrueType)=ARIAL.FOT 142 | Arial Bold (TrueType)=ARIALBD.FOT 143 | Arial Bold Italic (TrueType)=ARIALBI.FOT 144 | Arial Italic (TrueType)=ARIALI.FOT 145 | Courier New (TrueType)=COUR.FOT 146 | Courier New Bold (TrueType)=COURBD.FOT 147 | Courier New Bold Italic (TrueType)=COURBI.FOT 148 | Courier New Italic (TrueType)=COURI.FOT 149 | Times New Roman (TrueType)=TIMES.FOT 150 | Times New Roman Bold (TrueType)=TIMESBD.FOT 151 | Times New Roman Bold Italic (TrueType)=TIMESBI.FOT 152 | Times New Roman Italic (TrueType)=TIMESI.FOT 153 | WingDings (TrueType)=WINGDING.FOT 154 | MS Sans Serif 8,10,12,14,18,24 (VGA res)=SSERIFE.FON 155 | Courier 10,12,15 (VGA res)=COURE.FON 156 | MS Serif 8,10,12,14,18,24 (VGA res)=SERIFE.FON 157 | Symbol 8,10,12,14,18,24 (VGA res)=SYMBOLE.FON 158 | Roman (Plotter)=ROMAN.FON 159 | Script (Plotter)=SCRIPT.FON 160 | Modern (Plotter)=MODERN.FON 161 | Small Fonts (VGA res)=SMALLE.FON 162 | Symbol (TrueType)=SYMBOL.FOT 163 | 164 | [embedding] 165 | SoundRec=Sound,Sound,SoundRec.exe,picture 166 | Package=Package,Package,packager.exe,picture 167 | PBrush=Paintbrush Picture,Paintbrush Picture,pbrush.exe,picture 168 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/WIN.INI: -------------------------------------------------------------------------------- 1 | [windows] 2 | spooler=yes 3 | load= 4 | run= 5 | Beep=yes 6 | NullPort=None 7 | device= 8 | BorderWidth=3 9 | CursorBlinkRate=530 10 | DoubleClickSpeed=452 11 | Programs=com exe bat pif 12 | Documents= 13 | DeviceNotSelectedTimeout=15 14 | TransmissionRetryTimeout=45 15 | KeyboardDelay=2 16 | KeyboardSpeed=31 17 | ScreenSaveActive=0 18 | ScreenSaveTimeOut=120 19 | CoolSwitch=1 20 | 21 | [Desktop] 22 | Pattern=136 84 34 69 136 21 34 81 23 | TileWallPaper=0 24 | GridGranularity=0 25 | IconSpacing=75 26 | WallPaper=(None) 27 | 28 | [Extensions] 29 | crd=cardfile.exe ^.crd 30 | trm=terminal.exe ^.trm 31 | txt=notepad.exe ^.txt 32 | ini=notepad.exe ^.ini 33 | pcx=pbrush.exe ^.pcx 34 | bmp=pbrush.exe ^.bmp 35 | wri=write.exe ^.wri 36 | rec=recorder.exe ^.rec 37 | hlp=winhelp.exe ^.hlp 38 | mmf=msmail.exe /f ^.mmf 39 | 40 | [intl] 41 | sLanguage=enu 42 | sCountry=United States 43 | iCountry=1 44 | iDate=0 45 | iTime=0 46 | iTLZero=0 47 | iCurrency=0 48 | iCurrDigits=2 49 | iNegCurr=0 50 | iLzero=1 51 | iDigits=2 52 | iMeasure=1 53 | s1159=AM 54 | s2359=PM 55 | sCurrency=$ 56 | sThousand=, 57 | sDecimal=. 58 | sDate=/ 59 | sTime=: 60 | sList=, 61 | sShortDate=M/d/yy 62 | sLongDate=dddd, MMMM dd, yyyy 63 | 64 | [ports] 65 | ; A line with [filename].PRN followed by an equal sign causes 66 | ; [filename] to appear in the Control Panel's Printer Configuration dialog 67 | ; box. A printer connected to [filename] directs its output into this file. 68 | ; The file must be on one of your local drives; you cannot print to a network 69 | ; file. 70 | LPT1:= 71 | LPT2:= 72 | LPT3:= 73 | COM1:=9600,n,8,1,x 74 | COM2:=9600,n,8,1,x 75 | COM3:=9600,n,8,1,x 76 | COM4:=9600,n,8,1,x 77 | EPT:= 78 | FILE:= 79 | LPT1.DOS= 80 | LPT2.DOS= 81 | 82 | [FontSubstitutes] 83 | Helv=MS Sans Serif 84 | Tms Rmn=MS Serif 85 | Times=Times New Roman 86 | Helvetica=Arial 87 | 88 | [TrueType] 89 | 90 | [mci extensions] 91 | wav=waveaudio 92 | mid=sequencer 93 | rmi=sequencer 94 | avi=AVIVideo 95 | 96 | [Compatibility] 97 | NOTSHELL=0x0001 98 | WPWINFIL=0x0006 99 | CCMAIL=0x0008 100 | AMIPRO=0x0010 101 | REM=0x8022 102 | PIXIE=0x0040 103 | CP=0x0040 104 | JW=0x42080 105 | TME=0x0100 106 | VB=0x0200 107 | WIN2WRS=0x1210 108 | PACKRAT=0x0800 109 | VISION=0x0040 110 | MCOURIER=0x0800 111 | _BNOTES=0x24000 112 | MILESV3=0x1000 113 | PM4=0x2000 114 | DESIGNER=0x2000 115 | PLANNER=0x2000 116 | DRAW=0x2000 117 | WINSIM=0x2000 118 | CHARISMA=0x2000 119 | PR2=0x2000 120 | PLUS=0x1000 121 | ED=0x00010000 122 | APORIA=0x0100 123 | EXCEL=0x1000 124 | GUIDE=0x1000 125 | NETSET2=0x0100 126 | W4GL=0x4000 127 | W4GLR=0x4000 128 | TURBOTAX=0x00080000 129 | 130 | [winsetup] 131 | source_disk_path=C:\INST311 132 | 133 | [fonts] 134 | Arial (TrueType)=ARIAL.FOT 135 | Arial Bold (TrueType)=ARIALBD.FOT 136 | Arial Bold Italic (TrueType)=ARIALBI.FOT 137 | Arial Italic (TrueType)=ARIALI.FOT 138 | Courier New (TrueType)=COUR.FOT 139 | Courier New Bold (TrueType)=COURBD.FOT 140 | Courier New Bold Italic (TrueType)=COURBI.FOT 141 | Courier New Italic (TrueType)=COURI.FOT 142 | Times New Roman (TrueType)=TIMES.FOT 143 | Times New Roman Bold (TrueType)=TIMESBD.FOT 144 | Times New Roman Bold Italic (TrueType)=TIMESBI.FOT 145 | Times New Roman Italic (TrueType)=TIMESI.FOT 146 | WingDings (TrueType)=WINGDING.FOT 147 | MS Sans Serif 8,10,12,14,18,24 (VGA res)=SSERIFE.FON 148 | Courier 10,12,15 (VGA res)=COURE.FON 149 | MS Serif 8,10,12,14,18,24 (VGA res)=SERIFE.FON 150 | Symbol 8,10,12,14,18,24 (VGA res)=SYMBOLE.FON 151 | Roman (Plotter)=ROMAN.FON 152 | Script (Plotter)=SCRIPT.FON 153 | Modern (Plotter)=MODERN.FON 154 | Small Fonts (VGA res)=SMALLE.FON 155 | Symbol (TrueType)=SYMBOL.FOT 156 | 157 | [embedding] 158 | SoundRec=Sound,Sound,SoundRec.exe,picture 159 | Package=Package,Package,packager.exe,picture 160 | PBrush=Paintbrush Picture,Paintbrush Picture,pbrush.exe,picture 161 | MPlayer=Media Clip,Media Clip,mplayer.exe,picture 162 | 163 | [colors] 164 | Background=0 0 128 165 | AppWorkspace=255 255 255 166 | Window=255 255 255 167 | WindowText=0 0 0 168 | Menu=255 255 255 169 | MenuText=0 0 0 170 | ActiveTitle=0 0 128 171 | InactiveTitle=255 255 255 172 | TitleText=255 255 255 173 | ActiveBorder=192 192 192 174 | InactiveBorder=192 192 192 175 | WindowFrame=0 0 0 176 | Scrollbar=192 192 192 177 | ButtonFace=192 192 192 178 | ButtonShadow=128 128 128 179 | ButtonText=0 0 0 180 | GrayText=192 192 192 181 | Hilight=0 0 128 182 | HilightText=255 255 255 183 | InactiveTitleText=0 0 0 184 | ButtonHilight=255 255 255 185 | 186 | [drawdib] 187 | s3trio.drv 640x480x8(5)=1,0,0,0 188 | 189 | [sounds] 190 | SystemAsterisk=ding.wav,Asterisk 191 | SystemHand=ding.wav,Critical Stop 192 | SystemDefault=ding.wav,Default Beep 193 | SystemExclamation=ding.wav,Exclamation 194 | RingIn=ringin.wav,Incoming Call 195 | RingOut=ringout.wav,Outgoing Call 196 | SystemQuestion=ding.wav,Question 197 | SystemExit=,Windows Exit 198 | SystemStart=,Windows Start 199 | 200 | [WinG] 201 | s3trio.drv640x480x8(0,12)v1.70.4.0-2336-1.0.0.37=ECHGECHGECHGECHGDDFFDDFFDDFFDDFFZZZZZZZZZZZZZZZZDDFGDGFGDDFFDDFG1F 202 | 203 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/WIN311.PWL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/WIN311.PWL -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/WINFILE.INI: -------------------------------------------------------------------------------- 1 | [Settings] 2 | Window=0,0,640,480, , ,1 3 | dir1=0,0,522,249,-1,-1,1,0,201,1905,174,C:\*.* 4 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/WINGSDK.GRP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/WINGSDK.GRP -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/CFG/WINDOWS/_DEFAULT.PIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/CFG/WINDOWS/_DEFAULT.PIF -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/INST311/_PLACE_WIN311_FILES_HERE_: -------------------------------------------------------------------------------- 1 | "" 2 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/LINKS.txt: -------------------------------------------------------------------------------- 1 | S3: 2 | http://web.archive.org/web/20070404005124/http://drivers.s3graphics.com/en/download/drivers/legacy/Trio64V_765/w3117004.zip 3 | http://web.archive.org/web/19980623182122/http://www.s3.com/bbs/764drv/w3117004.zip 4 | 5 | PW1118.exe (Win32s): 6 | https://web.archive.org/web/20220831184504/http://ftpmirror.your.org/pub/misc/ftp.microsoft.com/Softlib/MSLFILES/PW1118.EXE 7 | http://web.mit.edu/cascon/microsoft/pw1118.exe 8 | http://web.archive.org/web/20010430062244if_/http://web.mit.edu:80/cascon/microsoft/pw1118.exe 9 | 10 | TCP32b: 11 | http://web.archive.org/web/20010526175751/http://mssjus.www.conxion.com/download/wfw311/update/3.11b/wfw/en-us/tcp32b.exe 12 | http://web.archive.org/web/20061212121000/http://download.microsoft.com/download/wfw311/update/3.11b/wfw/en-us/tcp32b.exe 13 | 14 | WV1160 (Video for Windows) 15 | http://web.archive.org/web/20021016075846/http://www.ic.sunysb.edu/pub/wv1160.exe 16 | http://ftp.lanet.lv/ftp/windows/www/netscape3.0/wv1160.exe 17 | *BROKEN* web.archive.org/web/20150714132235/http://web1.toshiba.ca/support/isg/drivers/archives/files_Archive/win3x/wv1160.exe 18 | 19 | WING10 20 | http://web.archive.org/web/20040604045533/http://download.microsoft.com/download/platformsdk/wing/1/win98/en-us/wing10.exe 21 | http://ftpmirror.your.org/pub/misc/ftp.microsoft.com/Softlib/MSLFILES/WING10.EXE 22 | http://web.archive.org/web/20220831185005/http://ftpmirror.your.org/pub/misc/ftp.microsoft.com/Softlib/MSLFILES/WING10.EXE 23 | 24 | WMP 25 | http://web.archive.org/web/20011206032410/http://msdl.microsoft.com/msdownload/mplayer/3.0/b1/en/MPSetup.exe -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/mouse/oemsetup.inf: -------------------------------------------------------------------------------- 1 | [data] 2 | Version = "3.1" 3 | 4 | [disks] 5 | 1 =. ,"DOSBox-X Guest Additions for Windows 3.1 Disk",disk1 6 | 7 | [pointing.device] 8 | ;profile = mouse driver, description, vmd, dos mouse driver base name 9 | ; 10 | dboxmpi = 1:dboxmpi.drv, "DOSBox-X Mouse Pointer Integration", x:*vmd,dboxmpi 11 | 12 | -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/mouse/source.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/mouse/source.zip -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/msunpak-source.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/msunpak-source.zip -------------------------------------------------------------------------------- /installers/dosboxw31/INSTALLERS/msunpak.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw31/INSTALLERS/msunpak.exe -------------------------------------------------------------------------------- /installers/dosboxw31/w31launcher.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | if exist "%~1" ( 4 | echo Startup directory: %~dp1 5 | echo Executable name: %~nx1 6 | 7 | echo Executing in DOSBox-X Win3.11... 8 | cd "%~dp0" 9 | dosbox-x.exe -c "MOUNT D: '%~dp1' " -c "C:\WINDOWS\WIN.COM D:\%~nx1 " -c "exit " 10 | REM timeout /t 5 11 | REM del /Q "%~dp1\launchit.cfg" 12 | ) 13 | 14 | if not exist "%~1" ( 15 | echo This scripts will run given executable in Windows 3.11 inside DOSBox-X. 16 | echo. 17 | echo Usage: 18 | echo w31launcher.bat "PathToExecutable.exe" 19 | echo. 20 | ) 21 | -------------------------------------------------------------------------------- /installers/dosboxw95/CONFIG_SCRIPTS/1024x768_16bpp_DPI-scaled.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | pushd "%~dp0" 3 | cd .. 4 | 5 | echo Checking DPI and setting correct scaling for 1024x768 6 | echo. 7 | echo System DPI: 8 | powershell "$dpi = try { (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop' -Name 'LogPixels') } catch { try { powershell (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop\WindowMetrics' -Name 'AppliedDPI') } catch { 96 } }; echo $dpi " 9 | echo. 10 | 11 | set "tempfile=tmpresfil.tmp" 12 | >"%tempfile%" powershell "$dpi = try { (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop' -Name 'LogPixels') } catch { try { powershell (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop\WindowMetrics' -Name 'AppliedDPI') } catch { 96 } }; if ($dpi -In -999..113) { echo 1024x768 } ; if ($dpi -In 114..134) { echo 1280x960 } ; if ($dpi -In 135..164) { echo 1536x1152 } ; if ($dpi -In 165..182) { echo 1792x1344 } ; if ($dpi -In 183..999) { echo 2048x1536 } " 13 | 14 | set /p RESOLUTIONSTRING=<"%tempfile%" 15 | del /q "%tempfile%" 16 | 17 | echo Scaling 1024x768 to: 18 | echo %RESOLUTIONSTRING% 19 | 20 | powershell "Get-Content 'dosbox-x.conf' | Foreach-Object {$_ -replace '^windowresolution.+$','windowresolution = %RESOLUTIONSTRING%'} | Set-Content 'dosbox-x.new'" 21 | 22 | if exist "dosbox-x.new" ( 23 | del /Q dosbox-x.conf.bak 24 | rename dosbox-x.conf dosbox-x.conf.bak 25 | rename dosbox-x.new dosbox-x.conf 26 | ) 27 | 28 | REM del /Q ".\guest_tools\runonce\runonce.bat" 29 | echo. >> ".\guest_tools\runonce\runonce.bat" 30 | type ".\guest_tools\guest-scripts\1024_16bpp.bat" >> ".\guest_tools\runonce\runonce.bat" -------------------------------------------------------------------------------- /installers/dosboxw95/CONFIG_SCRIPTS/640x480_16bpp_DPI-scaled.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | pushd "%~dp0" 3 | cd .. 4 | 5 | echo Checking DPI and setting correct scaling for 640x480 6 | echo. 7 | echo System DPI: 8 | powershell "$dpi = try { (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop' -Name 'LogPixels') } catch { try { powershell (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop\WindowMetrics' -Name 'AppliedDPI') } catch { 96 } }; echo $dpi " 9 | echo. 10 | 11 | set "tempfile=tmpresfil.tmp" 12 | >"%tempfile%" powershell "$dpi = try { (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop' -Name 'LogPixels') } catch { try { powershell (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop\WindowMetrics' -Name 'AppliedDPI') } catch { 96 } } ; if ($dpi -In -999..113) { echo 640x480 } ; if ($dpi -In 114..134) { echo 800x600 } ; if ($dpi -In 135..164) { echo 960x720 } ; if ($dpi -In 165..182) { echo 1120x840 } ; if ($dpi -In 183..999) { echo 1280x960 } " 13 | 14 | set /p RESOLUTIONSTRING=<"%tempfile%" 15 | del /q "%tempfile%" 16 | 17 | echo Scaling 640x480 to: 18 | echo %RESOLUTIONSTRING% 19 | 20 | powershell "Get-Content 'dosbox-x.conf' | Foreach-Object {$_ -replace '^windowresolution.+$','windowresolution = %RESOLUTIONSTRING%'} | Set-Content 'dosbox-x.new'" 21 | 22 | if exist "dosbox-x.new" ( 23 | del /Q dosbox-x.conf.bak 24 | rename dosbox-x.conf dosbox-x.conf.bak 25 | rename dosbox-x.new dosbox-x.conf 26 | ) 27 | 28 | REM del /Q ".\guest_tools\runonce\runonce.bat" 29 | echo. >> ".\guest_tools\runonce\runonce.bat" 30 | type ".\guest_tools\guest-scripts\640_16bpp.bat" >> ".\guest_tools\runonce\runonce.bat" -------------------------------------------------------------------------------- /installers/dosboxw95/CONFIG_SCRIPTS/800x600_16bpp_DPI-scaled.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | pushd "%~dp0" 3 | cd .. 4 | 5 | echo Checking DPI and setting correct scaling for 800x600 6 | echo. 7 | echo System DPI: 8 | powershell "$dpi = try { (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop' -Name 'LogPixels') } catch { try { powershell (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop\WindowMetrics' -Name 'AppliedDPI') } catch { 96 } }; echo $dpi " 9 | 10 | IF ERRORLEVEL 1 powershell "$dpi = 96 ; $echo scaling not detected, setting default $dpi DPI " 11 | echo. 12 | 13 | set "tempfile=tmpresfil.tmp" 14 | >"%tempfile%" powershell "$dpi = try { (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop' -Name 'LogPixels') } catch { try { powershell (Get-ItemPropertyValue -Path 'HKCU:\Control Panel\Desktop\WindowMetrics' -Name 'AppliedDPI') } catch { 96 } } ; if ($dpi -In -999..113) { echo 800x600 } ; if ($dpi -In 114..134) { echo 1000x750 } ; if ($dpi -In 135..164) { echo 1200x900 } ; if ($dpi -In 165..182) { echo 1400x1050 } ; if ($dpi -In 183..999) { echo 1600x1200 } " 15 | 16 | set /p RESOLUTIONSTRING=<"%tempfile%" 17 | del /q "%tempfile%" 18 | 19 | echo Scaling 800x600 to: 20 | echo %RESOLUTIONSTRING% 21 | 22 | powershell "Get-Content 'dosbox-x.conf' | Foreach-Object {$_ -replace '^windowresolution.+$','windowresolution = %RESOLUTIONSTRING%'} | Set-Content 'dosbox-x.new'" 23 | 24 | if exist "dosbox-x.new" ( 25 | del /Q dosbox-x.conf.bak 26 | rename dosbox-x.conf dosbox-x.conf.bak 27 | rename dosbox-x.new dosbox-x.conf 28 | ) 29 | 30 | REM del /Q ".\guest_tools\runonce\runonce.bat" 31 | echo. >> ".\guest_tools\runonce\runonce.bat" 32 | type ".\guest_tools\guest-scripts\800_16bpp.bat" >> ".\guest_tools\runonce\runonce.bat" -------------------------------------------------------------------------------- /installers/dosboxw95/CONFIG_SCRIPTS/_NO-MOUSE-INTEGRATION.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | pushd "%~dp0" 3 | cd .. 4 | 5 | echo Disabling mouse integration 6 | 7 | powershell "Get-Content 'dosbox-x.conf' | Foreach-Object {$_ -replace '^integration device.+$','integration device = false'} | Set-Content 'dosbox-x.new'" 8 | 9 | if exist "dosbox-x.new" ( 10 | del /Q dosbox-x.conf.bak 11 | rename dosbox-x.conf dosbox-x.conf.bak 12 | rename dosbox-x.new dosbox-x.conf 13 | ) 14 | 15 | 16 | REM del /Q ".\guest_tools\runonce\runonce.bat" 17 | echo @echo off >> ".\guest_tools\runonce\runonce.bat" 18 | echo O:\setmdrv.exe ps2 >> ".\guest_tools\runonce\runonce.bat" 19 | 20 | if not exist ".\guest_tools\runonce\setmdrv.exe" ( 21 | copy ".\guest_tools\setmdrv\setmdrv.exe" ".\guest_tools\runonce\setmdrv.exe" 22 | ) -------------------------------------------------------------------------------- /installers/dosboxw95/CONFIG_SCRIPTS/_USE-MOUSE-INTEGRATION.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | pushd "%~dp0" 3 | cd .. 4 | 5 | echo Disabling mouse integration 6 | 7 | powershell "Get-Content 'dosbox-x.conf' | Foreach-Object {$_ -replace '^integration device.+$','integration device = true'} | Set-Content 'dosbox-x.new'" 8 | 9 | if exist "dosbox-x.new" ( 10 | del /Q dosbox-x.conf.bak 11 | rename dosbox-x.conf dosbox-x.conf.bak 12 | rename dosbox-x.new dosbox-x.conf 13 | ) 14 | 15 | 16 | REM del /Q ".\guest_tools\runonce\runonce.bat" 17 | echo @echo off >> ".\guest_tools\runonce\runonce.bat" 18 | echo O:\setmdrv.exe dbox >> ".\guest_tools\runonce\runonce.bat" 19 | 20 | if not exist ".\guest_tools\runonce\setmdrv.exe" ( 21 | copy ".\guest_tools\setmdrv\setmdrv.exe" ".\guest_tools\runonce\setmdrv.exe" 22 | ) -------------------------------------------------------------------------------- /installers/dosboxw95/SHARED_DRIVE/readme.txt: -------------------------------------------------------------------------------- 1 | You can place here any files from the host operating system that need to be shared with Windows 95 emulated machine. 2 | NOTE: emulated guest machine can read these files and can write to this directory while running, but the changes will NOT be written to this directory after the machine is powered off. -------------------------------------------------------------------------------- /installers/dosboxw95/_startinw95.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | if exist "%~1" ( 4 | echo Startup directory: %~dp1 5 | echo Executable name: %~nx1 6 | echo Adding launchit.cfg to startup directory... 7 | echo %~nx1 > "%~dp1\launchit.cfg" 8 | 9 | if not [%2]==[] ( 10 | if "%2"=="NOSHUTDOWN" echo Adding NOSHUTDOWN flag 11 | if "%2"=="NOSHUTDOWN" echo NOSHUTDOWN >> "%~dp1\launchit.cfg" 12 | ) 13 | 14 | echo Executing in DOSBox-X Win95... 15 | cd "%~dp0" 16 | start dosbox-x.exe -c "MOUNT D: '%~dp1' -ide 2s " -c "BOOT C: " 17 | REM timeout /t 5 18 | REM del /Q "%~dp1\launchit.cfg" 19 | ) 20 | 21 | if not exist "%~1" ( 22 | echo This scripts will run given executable in Windows 95 inside DOSBox-X. 23 | echo. 24 | echo Usage: 25 | echo _startinwin95.bat "PathToExecutable.exe" 26 | echo. 27 | echo Note: a file "launchit.cfg" will be created in executable directory at launch time, it can be safely removed at any time. 28 | echo Emulated machine also needs to have "alaucnhr.exe" installed in autostart directory. 29 | ) 30 | -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/alaunchr/alaunchr.cfg: -------------------------------------------------------------------------------- 1 | D: 2 | launchit.cfg 3 | SHUTDOWN -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/alaunchr/launchit.cfg: -------------------------------------------------------------------------------- 1 | exampleapp.exe -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/alaunchr/readme.txt: -------------------------------------------------------------------------------- 1 | This application can be placed in Startup directory inside virtual/emulated machine. 2 | It will check if a file launchit.cfg (or other pre-configured name) is located in D: (or other drive) and if yes, then it will launch an application specified in launchit.cfg file. It can also turn the computer off after execution is completed. 3 | 4 | Create config file for auto-launcher. 5 | Place it next to launcher executable or in %WINDIR%\alaunchr.cfg 6 | 7 | Example contents: 8 | 9 | D: 10 | launchit.cfg 11 | SHUTDOWN\ 12 | 13 | D: is working directory 14 | launchit.cfg is the name of file containing name of executable to launch (both located in working directory) 15 | SHUTDOWN (optional) means the computer will turn off automatically after launched app is closed (only for Win 9x). -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/emptycd.iso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw95/guest_tools/emptycd.iso -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/emptyfdd.IMG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw95/guest_tools/emptyfdd.IMG -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/guest-scripts/1024_16bpp.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | mkdir C:\WINDOWS\TEMP 3 | echo REGEDIT4 > C:\WINDOWS\TEMP\set1024.reg 4 | echo. >> C:\WINDOWS\TEMP\set1024.reg 5 | echo [HKEY_LOCAL_MACHINE\Config\0001\Display\Settings\] >> C:\WINDOWS\TEMP\set1024.reg 6 | echo "fonts.fon"="vgasys.fon" >> C:\WINDOWS\TEMP\set1024.reg 7 | echo "fixedfon.fon"="vgafix.fon" >> C:\WINDOWS\TEMP\set1024.reg 8 | echo "oemfonts.fon"="vgaoem.fon" >> C:\WINDOWS\TEMP\set1024.reg 9 | echo "DPILogicalX"="96" >> C:\WINDOWS\TEMP\set1024.reg 10 | echo "DPILogicalY"="96" >> C:\WINDOWS\TEMP\set1024.reg 11 | echo "DPIPhysicalX"="96" >> C:\WINDOWS\TEMP\set1024.reg 12 | echo "DPIPhysicalY"="96" >> C:\WINDOWS\TEMP\set1024.reg 13 | echo "BitsPerPixel"="16" >> C:\WINDOWS\TEMP\set1024.reg 14 | echo "Resolution"="1024,768" >> C:\WINDOWS\TEMP\set1024.reg 15 | echo "DisplayFlags"="0" >> C:\WINDOWS\TEMP\set1024.reg 16 | 17 | C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\set1024.reg 18 | del C:\WINDOWS\TEMP\set1024.reg -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/guest-scripts/640_16bpp.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | mkdir C:\WINDOWS\TEMP 3 | echo REGEDIT4 > C:\WINDOWS\TEMP\set640.reg 4 | echo. >> C:\WINDOWS\TEMP\set640.reg 5 | echo [HKEY_LOCAL_MACHINE\Config\0001\Display\Settings\] >> C:\WINDOWS\TEMP\set640.reg 6 | echo "fonts.fon"="vgasys.fon" >> C:\WINDOWS\TEMP\set640.reg 7 | echo "fixedfon.fon"="vgafix.fon" >> C:\WINDOWS\TEMP\set640.reg 8 | echo "oemfonts.fon"="vgaoem.fon" >> C:\WINDOWS\TEMP\set640.reg 9 | echo "DPILogicalX"="96" >> C:\WINDOWS\TEMP\set640.reg 10 | echo "DPILogicalY"="96" >> C:\WINDOWS\TEMP\set640.reg 11 | echo "DPIPhysicalX"="96" >> C:\WINDOWS\TEMP\set640.reg 12 | echo "DPIPhysicalY"="96" >> C:\WINDOWS\TEMP\set640.reg 13 | echo "BitsPerPixel"="16" >> C:\WINDOWS\TEMP\set640.reg 14 | echo "Resolution"="640,480" >> C:\WINDOWS\TEMP\set640.reg 15 | echo "DisplayFlags"="0" >> C:\WINDOWS\TEMP\set640.reg 16 | 17 | C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\set640.reg 18 | del C:\WINDOWS\TEMP\set640.reg -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/guest-scripts/800_16bpp.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | mkdir C:\WINDOWS\TEMP 3 | echo REGEDIT4 > C:\WINDOWS\TEMP\set800.reg 4 | echo. >> C:\WINDOWS\TEMP\set800.reg 5 | echo [HKEY_LOCAL_MACHINE\Config\0001\Display\Settings\] >> C:\WINDOWS\TEMP\set800.reg 6 | echo "fonts.fon"="vgasys.fon" >> C:\WINDOWS\TEMP\set800.reg 7 | echo "fixedfon.fon"="vgafix.fon" >> C:\WINDOWS\TEMP\set800.reg 8 | echo "oemfonts.fon"="vgaoem.fon" >> C:\WINDOWS\TEMP\set800.reg 9 | echo "DPILogicalX"="96" >> C:\WINDOWS\TEMP\set800.reg 10 | echo "DPILogicalY"="96" >> C:\WINDOWS\TEMP\set800.reg 11 | echo "DPIPhysicalX"="96" >> C:\WINDOWS\TEMP\set800.reg 12 | echo "DPIPhysicalY"="96" >> C:\WINDOWS\TEMP\set800.reg 13 | echo "BitsPerPixel"="16" >> C:\WINDOWS\TEMP\set800.reg 14 | echo "Resolution"="800,600" >> C:\WINDOWS\TEMP\set800.reg 15 | echo "DisplayFlags"="0" >> C:\WINDOWS\TEMP\set800.reg 16 | 17 | C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\set800.reg 18 | del C:\WINDOWS\TEMP\set800.reg -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/guest-scripts/mruclear.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | mkdir C:\WINDOWS\TEMP 3 | echo REGEDIT4 > C:\WINDOWS\TEMP\mruclear.reg 4 | echo. >> C:\WINDOWS\TEMP\mruclear.reg 5 | echo [HKEY_CURRENT_USER\InstallLocationsMRU] >> C:\WINDOWS\TEMP\mruclear.reg 6 | echo "a"="C:\\WIN95" >> C:\WINDOWS\TEMP\mruclear.reg 7 | echo "MRUList"="abc" >> C:\WINDOWS\TEMP\mruclear.reg 8 | echo "b"="C:\\DRIVERS" >> C:\WINDOWS\TEMP\mruclear.reg 9 | echo "c"="A:\\" >> C:\WINDOWS\TEMP\mruclear.reg 10 | 11 | C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\mruclear.reg 12 | del C:\WINDOWS\TEMP\mruclear.reg -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/guest-scripts/nostsnd.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | mkdir C:\WINDOWS\TEMP 3 | echo REGEDIT4 > C:\WINDOWS\TEMP\nostsnd.reg 4 | echo. >> C:\WINDOWS\TEMP\nostsnd.reg 5 | echo [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemStart\.Current] >> C:\WINDOWS\TEMP\nostsnd.reg 6 | echo @="" >> C:\WINDOWS\TEMP\nostsnd.reg 7 | 8 | C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\nostsnd.reg 9 | 10 | echo REGEDIT4 > C:\WINDOWS\TEMP\nostsnd.reg 11 | echo. >> C:\WINDOWS\TEMP\nostsnd.reg 12 | echo [HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExit\.Current] >> C:\WINDOWS\TEMP\nostsnd.reg 13 | echo @="" >> C:\WINDOWS\TEMP\nostsnd.reg 14 | 15 | C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\nostsnd.reg 16 | 17 | del C:\WINDOWS\TEMP\nostsnd.reg -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/guest-scripts/prodid0.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | mkdir C:\WINDOWS\TEMP 3 | echo REGEDIT4 > C:\WINDOWS\TEMP\prodid.reg 4 | echo. >> C:\WINDOWS\TEMP\prodid.reg 5 | echo [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion] >> C:\WINDOWS\TEMP\prodid.reg 6 | echo "ProductId"=- >> C:\WINDOWS\TEMP\prodid.reg 7 | 8 | C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\prodid.reg 9 | del C:\WINDOWS\TEMP\prodid.reg -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/guest-scripts/prodtyp9.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | mkdir C:\WINDOWS\TEMP 3 | echo REGEDIT4 > C:\WINDOWS\TEMP\prodtyp.reg 4 | echo. >> C:\WINDOWS\TEMP\prodtyp.reg 5 | echo [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion] >> C:\WINDOWS\TEMP\prodtyp.reg 6 | echo "ProductType"="9" >> C:\WINDOWS\TEMP\prodtyp.reg 7 | 8 | C:\WINDOWS\REGEDIT.EXE /L:C:\WINDOWS\SYSTEM.DAT /R:C:\WINDOWS\USER.DAT C:\WINDOWS\TEMP\prodtyp.reg 9 | del C:\WINDOWS\TEMP\prodtyp.reg -------------------------------------------------------------------------------- /installers/dosboxw95/guest_tools/setmdrv/source/setmdrv.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | #include "ini.h" 7 | 8 | std::string iniPath = "C:\\WINDOWS\\SYSTEM.ini"; 9 | bool quiet = true; 10 | 11 | int main(int argc, char **argv) 12 | { 13 | 14 | if (argc <= 1) 15 | { 16 | std::cerr << "Usage: dbox/ps2 [filename=C:\\WINDOWS\\SYSTEM.ini] " << std::endl; 17 | return 1; 18 | } 19 | if (argc >= 2) 20 | { 21 | 22 | if (argc == 3) iniPath = argv[2]; 23 | std::string arg = argv[1]; 24 | 25 | // Read from INI file 26 | mINI::INIFile file(iniPath); 27 | mINI::INIStructure ini; 28 | file.read(ini); 29 | 30 | // Check values 31 | std::string value = ini.get("boot").get("mouse.drv"); 32 | if (!quiet) std::cout << std::string("Current [boot]mouse.drv = ") + value << std::endl; 33 | 34 | value = ini.get("boot.description").get("mouse"); 35 | if (!quiet) std::cout << std::string("Current [boot.description]mouse.drv = ") + value << std::endl; 36 | 37 | value = ini.get("386Enh").get("mouse"); 38 | if (!quiet) std::cout << std::string("Current [386Enh]mouse = ") + value << std::endl; 39 | 40 | 41 | if ( std::string(arg).find(std::string("dbox")) != std::string::npos ) 42 | { 43 | // Update values 44 | ini["boot"]["mouse.drv"] = "dboxmpi.drv"; 45 | ini["boot.description"]["mouse.drv"] = "DOSBox-X Mouse Pointer Integration"; 46 | ini["386Enh"]["mouse"] = ""; 47 | 48 | if (!quiet) 49 | { 50 | std::cout << std::endl; 51 | std::cout << "New [boot]mouse.drv = dboxmpi.drv" << std::endl; 52 | std::cout << "New [boot.description]mouse.drv = DOSBox-X Mouse Pointer Integration" << std::endl; 53 | std::cout << "New [386Enh]mouse = " << std::endl; 54 | } 55 | 56 | file.write(ini); 57 | } 58 | 59 | if ( std::string(arg).find(std::string("ps2")) != std::string::npos ) 60 | { 61 | // Update values 62 | ini["boot"]["mouse.drv"] = "mouse.drv"; 63 | ini["boot.description"]["mouse.drv"] = "Standard mouse"; 64 | ini["386Enh"]["mouse"] = "*vmouse, msmouse.vxd"; 65 | 66 | if (!quiet) 67 | { 68 | std::cout << std::endl; 69 | std::cout << "New [boot]mouse.drv = mouse.drv" << std::endl; 70 | std::cout << "New [boot.description]mouse.drv = Standard mouse" << std::endl; 71 | std::cout << "New [386Enh]mouse = *vmouse, msmouse.vxd" << std::endl; 72 | } 73 | 74 | file.write(ini); 75 | } 76 | 77 | } 78 | 79 | 80 | } 81 | -------------------------------------------------------------------------------- /installers/dosboxw95/installers/WIN95/_PLACE_WIN95_FILES_HERE_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw95/installers/WIN95/_PLACE_WIN95_FILES_HERE_ -------------------------------------------------------------------------------- /installers/dosboxw95/installers/w95-inst-utils-cfgfiles.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/dosboxw95/installers/w95-inst-utils-cfgfiles.7z -------------------------------------------------------------------------------- /installers/dosboxw95/w95launcher.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | if exist "%~1" ( 4 | echo Startup directory: %~dp1 5 | echo Executable name: %~nx1 6 | echo Adding launchit.cfg to startup directory... 7 | echo %~nx1 > "%~dp1\launchit.cfg" 8 | 9 | if not [%2]==[] ( 10 | if "%2"=="NOSHUTDOWN" echo Adding NOSHUTDOWN flag 11 | if "%2"=="NOSHUTDOWN" echo NOSHUTDOWN >> "%~dp1\launchit.cfg" 12 | ) 13 | 14 | echo Executing in DOSBox-X Win95... 15 | cd "%~dp0" 16 | dosbox-x.exe -c "MOUNT D: '%~dp1' -ide 2s " -c "BOOT C: " 17 | REM timeout /t 5 18 | REM del /Q "%~dp1\launchit.cfg" 19 | ) 20 | 21 | if not exist "%~1" ( 22 | echo This scripts will run given executable in Windows 95 inside DOSBox-X. 23 | echo. 24 | echo Usage: 25 | echo _startinwin95.bat "PathToExecutable.exe" 26 | echo. 27 | echo Note: a file "launchit.cfg" will be created in executable directory at launch time, it can be safely removed at any time. 28 | echo Emulated machine also needs to have "alaucnhr.exe" installed in autostart directory. 29 | ) 30 | -------------------------------------------------------------------------------- /installers/dosboxw95/w95launcher_gdbargs.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | REM this allows to use this launcher in place of GDB debugger (just to launch DOSBox-X instead of GDB) 4 | 5 | if not [%3]==[] ( 6 | if "%3"=="-args" GOTO EXECUTE 7 | GOTO END 8 | ) 9 | 10 | :EXECUTE 11 | 12 | if exist "%~4" ( 13 | echo Startup directory: %~dp4 14 | echo Executable name: %~nx4 15 | echo Adding launchit.cfg to startup directory... 16 | echo %~nx4 > "%~dp4\launchit.cfg" 17 | 18 | if not [%5]==[] ( 19 | if "%5"=="NOSHUTDOWN" echo Adding NOSHUTDOWN flag 20 | if "%5"=="NOSHUTDOWN" echo NOSHUTDOWN >> "%~dp4\launchit.cfg" 21 | ) 22 | 23 | echo Executing in DOSBox-X Win95... 24 | cd "%~dp0" 25 | dosbox-x.exe -c "MOUNT D: '%~dp4' -ide 2s " -c "BOOT C: " 26 | REM timeout /t 5 27 | REM del /Q "%~dp1\launchit.cfg" 28 | ) 29 | 30 | if not exist "%~1" ( 31 | echo This scripts will run given executable in Windows 95 inside DOSBox-X. 32 | echo. 33 | echo Usage: 34 | echo _startinwin95.bat "PathToExecutable.exe" 35 | echo. 36 | echo Note: a file "launchit.cfg" will be created in executable directory at launch time, it can be safely removed at any time. 37 | echo Emulated machine also needs to have "alaucnhr.exe" installed in autostart directory. 38 | ) 39 | 40 | :END -------------------------------------------------------------------------------- /installers/dosboxx/dosboxx_install.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | pushd "%~dp0" 3 | 4 | 5 | pushd "%~dp0" 6 | cd .. 7 | cd .. 8 | cd installers 9 | SET DBOXIN=%CD% 10 | cd 7-zip 11 | SET ZPATH=%CD% 12 | pushd "%~dp0" 13 | 14 | if not exist "%~dp0\dosbox-x.exe" ( 15 | 16 | 17 | if not exist "%DBOXIN%\dosbox-x-mingw*.= 0x0500) // Disable in builds for old Win9x versions 18 | // checkmarks should not be mirrored in RTL layout 19 | DWORD oldLayout = impl->GetLayoutDirection() == wxLayout_RightToLeft ? LAYOUT_RTL : 0; 20 | if ( oldLayout & LAYOUT_RTL ) 21 | ::SetLayout(hdc, oldLayout | LAYOUT_BITMAPORIENTATIONPRESERVED); 22 | wxDrawStateBitmap(hdc, hBmpCheck, x, y, uState); 23 | if ( oldLayout & LAYOUT_RTL ) 24 | ::SetLayout(hdc, oldLayout); 25 | #endif 26 | ******************************************************* 27 | 28 | 29 | ***** Modified .\src\msw\utils.cpp (after line 1170): ***** 30 | ***** added (WINVER >= 0x0500) check for OSVERSIONINFOEX wxGetWindowsVersionInfo() 31 | ***** code to be used only for newer Windows versions builds 32 | ***** For 9x versions used code from 3.0.0 ***** https://github.com/wxWidgets/wxWidgets/blob/v3.0.0/src/msw/utils.cpp 33 | ******************************************************* 34 | 35 | 36 | ***** Modified .\src\msw\toplevel.cpp (line 1545): ***** 37 | #if (WINVER >= 0x0500) // Disable message in builds for old Win9x versions (doesn't fix it but hides the error...) 38 | wxASSERT_MSG( m_menuDepth > 0, wxS("No open menus?") ); 39 | #endif 40 | ******************************************************* 41 | -------------------------------------------------------------------------------- /installers/utils/CWSDSTUB.EXE_and_exe2coff_goes_here: -------------------------------------------------------------------------------- 1 | " " 2 | -------------------------------------------------------------------------------- /installers/wizard/config.script: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3 3 | * http://www.gnu.org/licenses/gpl-3.0.html 4 | * 5 | * $Revision: 10722 $ 6 | * $Id: config.script 10722 2016-01-28 14:39:15Z mortenmacfly $ 7 | * $HeadURL: http://svn.code.sf.net/p/codeblocks/code/branches/release-20.xx/src/plugins/scriptedwizard/resources/config.script $ 8 | */ 9 | 10 | // 11 | // Main wizards configuration script. 12 | // Here, we register all the available wizards. 13 | // 14 | 15 | function RegisterWizards() 16 | { 17 | // 18 | // project wizards 19 | // 20 | RegisterWizard(wizProject, _T("empty"), _T("Empty project"), _T("Console")); 21 | 22 | RegisterWizard(wizProject, _T("wxwidgets"), _T("wxWidgets project"), _T("GUI")); 23 | 24 | RegisterWizard(wizProject, _T("djgpp"), _T("DJGPP DOS application (386+)"), _T("Console")); 25 | 26 | RegisterWizard(wizProject, _T("owcdos"), _T("OpenWatcom DOS (16-bit) application"), _T("Console")); 27 | 28 | RegisterWizard(wizProject, _T("console"), _T("Console application"), _T("Console")); 29 | 30 | RegisterWizard(wizProject, _T("staticlib"), _T("Static library"), _T("Console")); 31 | 32 | if (PLATFORM == PLATFORM_MSW) 33 | { 34 | RegisterWizard(wizProject, _T("win32gui"), _T("Win32 GUI project"), _T("GUI")); 35 | RegisterWizard(wizProject, _T("dll"), _T("Dynamic Link Library"), _T("Console")); 36 | RegisterWizard(wizProject, _T("sys"), _T("Kernel Mode Driver"), _T("Native")); 37 | } 38 | 39 | 40 | /* 41 | RegisterWizard(wizProject, _T("fortran/app"), _T("Fortran application"), _T("Fortran")); 42 | RegisterWizard(wizProject, _T("fortran/lib"), _T("Fortran library"), _T("Fortran")); 43 | RegisterWizard(wizProject, _T("fortran/dll"), _T("Fortran DLL"), _T("Fortran")); 44 | 45 | 46 | RegisterWizard(wizProject, _T("d"), _T("D application"), _T("D language")); 47 | if (PLATFORM == PLATFORM_MSW) 48 | { 49 | RegisterWizard(wizProject, _T("directx"), _T("Direct/X project"), _T("2D/3D Graphics")); 50 | 51 | } 52 | RegisterWizard(wizProject, _T("fltk"), _T("FLTK project"), _T("GUI")); 53 | RegisterWizard(wizProject, _T("glfw"), _T("GLFW project"), _T("2D/3D Graphics")); 54 | RegisterWizard(wizProject, _T("glut"), _T("GLUT project"), _T("2D/3D Graphics")); 55 | RegisterWizard(wizProject, _T("gtk"), _T("GTK+ project"), _T("GUI")); 56 | RegisterWizard(wizProject, _T("irrlicht"), _T("Irrlicht project"), _T("2D/3D Graphics")); 57 | RegisterWizard(wizProject, _T("java"), _T("Java application"), _T("Java")); 58 | RegisterWizard(wizProject, _T("lf"), _T("Lightfeather project"), _T("2D/3D Graphics")); 59 | RegisterWizard(wizProject, _T("matlab_csf"), _T("Matlab project"), _T("Console")); 60 | RegisterWizard(wizProject, _T("opencv"), _T("OpenCV project"), _T("Console")); 61 | RegisterWizard(wizProject, _T("opengl"), _T("OpenGL project"), _T("2D/3D Graphics")); 62 | RegisterWizard(wizProject, _T("ogre"), _T("Ogre project"), _T("2D/3D Graphics")); 63 | RegisterWizard(wizProject, _T("plugins"), _T("Code::Blocks plugin"), _T("Code::Blocks")); 64 | RegisterWizard(wizProject, _T("qt4"), _T("QT4 project"), _T("GUI")); 65 | RegisterWizard(wizProject, _T("qt4dll"), _T("QT4 (shared) project"), _T("GUI")); 66 | RegisterWizard(wizProject, _T("qt5"), _T("QT5 project"), _T("GUI")); 67 | RegisterWizard(wizProject, _T("sdl"), _T("SDL project"), _T("2D/3D Graphics")); 68 | RegisterWizard(wizProject, _T("sdl2"), _T("SDL2 project"), _T("2D/3D Graphics")); 69 | RegisterWizard(wizProject, _T("sfml"), _T("SFML project"), _T("2D/3D Graphics")); 70 | if (PLATFORM == PLATFORM_MSW) 71 | RegisterWizard(wizProject, _T("smartwin"), _T("SmartWin project"), _T("GUI")); 72 | 73 | if (PLATFORM == PLATFORM_MSW) 74 | RegisterWizard(wizProject, _T("stlport"), _T("STL port application"), _T("Console")); 75 | RegisterWizard(wizProject, _T("sharedlib"), _T("Shared library"), _T("Console")); 76 | */ 77 | 78 | 79 | // 80 | // build target wizards 81 | // 82 | RegisterWizard(wizTarget, _T("wxwidgets"), _T("wxWidgets"), _T("GUI")); 83 | RegisterWizard(wizTarget, _T("djgpp"), _T("DJGPP DOS application (386+)"), _T("Console")); 84 | RegisterWizard(wizTarget, _T("owcdos"), _T("OpenWatcom DOS (16-bit) application"), _T("Console")); 85 | RegisterWizard(wizTarget, _T("console"), _T("Console"), _T("Console")); 86 | 87 | RegisterWizard(wizTarget, _T("staticlib"), _T("Static library"), _T("Console")); 88 | if (PLATFORM == PLATFORM_MSW) 89 | RegisterWizard(wizTarget, _T("dll"), _T("Dynamic Link Library"), _T("Console")); 90 | 91 | /* 92 | RegisterWizard(wizProject, _T("arduino"), _T("Arduino Project"), _T("Embedded Systems")); 93 | RegisterWizard(wizProject, _T("arm"), _T("ARM Project"), _T("Embedded Systems")); 94 | RegisterWizard(wizProject, _T("avr"), _T("AVR Project"), _T("Embedded Systems")); 95 | RegisterWizard(wizProject, _T("msp430"), _T("MSP430 Project"), _T("Embedded Systems")); 96 | RegisterWizard(wizProject, _T("tricore"), _T("TriCore Project"), _T("Embedded Systems")); 97 | RegisterWizard(wizProject, _T("ppc"), _T("PowerPC Project"), _T("Embedded Systems")); 98 | RegisterWizard(wizProject, _T("mcs51"), _T("MCS51 Project"), _T("Embedded Systems")); 99 | */ 100 | 101 | // 102 | // file wizards 103 | // 104 | RegisterWizard(wizFiles, _T("empty_file"), _T("Empty file"), _T("C/C++")); 105 | RegisterWizard(wizFiles, _T("c_file"), _T("C/C++ source"), _T("C/C++")); 106 | //RegisterWizard(wizFiles, _T("d_source"), _T("D source"), _T("D language")); 107 | RegisterWizard(wizFiles, _T("h_file"), _T("C/C++ header"), _T("C/C++")); 108 | //RegisterWizard(wizFiles, _T("fortran/file"), _T("Fortran source"), _T("Fortran")); 109 | //RegisterWizard(wizFiles, _T("java/file"), _T("Java source"), _T("Java")); 110 | } 111 | 112 | function RegisterWizard(type, folder, title, category) 113 | { 114 | // syntax: 115 | // AddWizard(type, title, category, script, template_png, wizard_png, xrc) 116 | 117 | Wizard.AddWizard(type, 118 | title, 119 | category, 120 | folder + _T("/wizard.script"), 121 | folder + _T("/logo.png"), 122 | folder + _T("/wizard.png"), 123 | folder + _T("/wizard.xrc")); 124 | } 125 | -------------------------------------------------------------------------------- /installers/wizard/console/c/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | printf("Hello world!\n"); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /installers/wizard/console/cpp/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int main() 6 | { 7 | cout << "Hello world!" << endl; 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /installers/wizard/console/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/wizard/console/logo.png -------------------------------------------------------------------------------- /installers/wizard/console/wizard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/wizard/console/wizard.png -------------------------------------------------------------------------------- /installers/wizard/djgpp/c/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | printf("Hello world!\n"); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /installers/wizard/djgpp/cpp/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int main() 6 | { 7 | cout << "Hello world!" << endl; 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /installers/wizard/djgpp/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/wizard/djgpp/logo.png -------------------------------------------------------------------------------- /installers/wizard/djgpp/wizard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/wizard/djgpp/wizard.png -------------------------------------------------------------------------------- /installers/wizard/owcdos/c/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | printf("Hello world!\n"); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /installers/wizard/owcdos/cpp/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int main() 6 | { 7 | cout << "Hello world!" << endl; 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /installers/wizard/owcdos/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/wizard/owcdos/logo.png -------------------------------------------------------------------------------- /installers/wizard/owcdos/wizard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/wizard/owcdos/wizard.png -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/common/app.cpp: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: [FILENAME_PREFIX]App.cpp 3 | * Purpose: Code for Application Class 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifdef WX_PRECOMP 11 | #include "wx_pch.h" 12 | #endif 13 | 14 | #ifdef __BORLANDC__ 15 | #pragma hdrstop 16 | #endif //__BORLANDC__ 17 | 18 | #include "[FILENAME_PREFIX]App.h" 19 | #include "[FILENAME_PREFIX]Main.h" 20 | 21 | IMPLEMENT_APP([CLASS_PREFIX]App); 22 | 23 | bool [CLASS_PREFIX]App::OnInit() 24 | { 25 | [IF WXFRAME][CLASS_PREFIX]Frame* frame = new [CLASS_PREFIX]Frame(0L[IF NONE], _("wxWidgets Application Template")[ENDIF NONE]); 26 | [IF WINDOWS]frame->SetIcon(wxICON(aaaa)); // To Set App Icon[ENDIF WINDOWS] 27 | frame->Show();[ENDIF WXFRAME] 28 | [IF WXDIALOG][CLASS_PREFIX]Dialog* dlg = new [CLASS_PREFIX]Dialog(0L[IF NONE], _("wxWidgets Application Template")[ENDIF NONE]); 29 | [IF WINDOWS]dlg->SetIcon(wxICON(aaaa)); // To Set App Icon[ENDIF WINDOWS] 30 | dlg->Show();[ENDIF WXDIALOG] 31 | return true; 32 | } 33 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/common/app.h: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: [FILENAME_PREFIX]App.h 3 | * Purpose: Defines Application Class 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifndef [PROJECT_HDR]APP_H 11 | #define [PROJECT_HDR]APP_H 12 | 13 | #include 14 | 15 | class [CLASS_PREFIX]App : public wxApp 16 | { 17 | public: 18 | virtual bool OnInit(); 19 | }; 20 | 21 | #endif // [PROJECT_HDR]APP_H 22 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/common/main.cpp: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: [FILENAME_PREFIX]Main.cpp 3 | * Purpose: Code for Application Frame 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifdef WX_PRECOMP 11 | #include "wx_pch.h" 12 | #endif 13 | 14 | #ifdef __BORLANDC__ 15 | #pragma hdrstop 16 | #endif //__BORLANDC__ 17 | 18 | #include "[FILENAME_PREFIX]Main.h" 19 | 20 | //helper functions 21 | enum wxbuildinfoformat { 22 | short_f, long_f }; 23 | 24 | wxString wxbuildinfo(wxbuildinfoformat format) 25 | { 26 | wxString wxbuild(wxVERSION_STRING); 27 | 28 | if (format == long_f ) 29 | { 30 | #if defined(__WXMSW__) 31 | wxbuild << _T("-Windows"); 32 | #elif defined(__WXMAC__) 33 | wxbuild << _T("-Mac"); 34 | #elif defined(__UNIX__) 35 | wxbuild << _T("-Linux"); 36 | #endif 37 | 38 | #if wxUSE_UNICODE 39 | wxbuild << _T("-Unicode build"); 40 | #else 41 | wxbuild << _T("-ANSI build"); 42 | #endif // wxUSE_UNICODE 43 | } 44 | 45 | return wxbuild; 46 | } 47 | 48 | [IF WXFRAME][IF NONE]BEGIN_EVENT_TABLE([CLASS_PREFIX]Frame, wxFrame) 49 | EVT_CLOSE([CLASS_PREFIX]Frame::OnClose) 50 | EVT_MENU(idMenuQuit, [CLASS_PREFIX]Frame::OnQuit) 51 | EVT_MENU(idMenuAbout, [CLASS_PREFIX]Frame::OnAbout) 52 | END_EVENT_TABLE() 53 | 54 | [CLASS_PREFIX]Frame::[CLASS_PREFIX]Frame(wxFrame *frame, const wxString& title) 55 | : wxFrame(frame, -1, title) 56 | { 57 | #if wxUSE_MENUS 58 | // create a menu bar 59 | wxMenuBar* mbar = new wxMenuBar(); 60 | wxMenu* fileMenu = new wxMenu(_T("")); 61 | fileMenu->Append(idMenuQuit, _("&Quit\tAlt-F4"), _("Quit the application")); 62 | mbar->Append(fileMenu, _("&File")); 63 | 64 | wxMenu* helpMenu = new wxMenu(_T("")); 65 | helpMenu->Append(idMenuAbout, _("&About\tF1"), _("Show info about this application")); 66 | mbar->Append(helpMenu, _("&Help")); 67 | 68 | SetMenuBar(mbar); 69 | #endif // wxUSE_MENUS 70 | 71 | #if wxUSE_STATUSBAR 72 | // create a status bar with some information about the used wxWidgets version 73 | CreateStatusBar(2); 74 | SetStatusText(_("Hello Code::Blocks user!"),0); 75 | SetStatusText(wxbuildinfo(short_f), 1); 76 | #endif // wxUSE_STATUSBAR 77 | 78 | }[ENDIF NONE] 79 | [IF WXFB][CLASS_PREFIX]Frame::[CLASS_PREFIX]Frame(wxFrame *frame) 80 | : GUIFrame(frame) 81 | { 82 | #if wxUSE_STATUSBAR 83 | statusBar->SetStatusText(_("Hello Code::Blocks user!"), 0); 84 | statusBar->SetStatusText(wxbuildinfo(short_f), 1); 85 | #endif 86 | }[ENDIF WXFB] 87 | 88 | [CLASS_PREFIX]Frame::~[CLASS_PREFIX]Frame() 89 | { 90 | } 91 | 92 | void [CLASS_PREFIX]Frame::OnClose(wxCloseEvent &event) 93 | { 94 | Destroy(); 95 | } 96 | 97 | void [CLASS_PREFIX]Frame::OnQuit(wxCommandEvent &event) 98 | { 99 | Destroy(); 100 | } 101 | 102 | void [CLASS_PREFIX]Frame::OnAbout(wxCommandEvent &event) 103 | { 104 | wxString msg = wxbuildinfo(long_f); 105 | wxMessageBox(msg, _("Welcome to...")); 106 | }[ENDIF WXFRAME] 107 | [IF WXDIALOG][IF NONE]BEGIN_EVENT_TABLE([CLASS_PREFIX]Dialog, wxDialog) 108 | EVT_CLOSE([CLASS_PREFIX]Dialog::OnClose) 109 | EVT_BUTTON(idBtnQuit, [CLASS_PREFIX]Dialog::OnQuit) 110 | EVT_BUTTON(idBtnAbout, [CLASS_PREFIX]Dialog::OnAbout) 111 | END_EVENT_TABLE() 112 | 113 | [CLASS_PREFIX]Dialog::[CLASS_PREFIX]Dialog(wxDialog *dlg, const wxString &title) 114 | : wxDialog(dlg, -1, title) 115 | { 116 | this->SetSizeHints(wxDefaultSize, wxDefaultSize); 117 | wxBoxSizer* bSizer1; 118 | bSizer1 = new wxBoxSizer(wxHORIZONTAL); 119 | m_staticText1 = new wxStaticText(this, wxID_ANY, wxT("Welcome To\nwxWidgets"), wxDefaultPosition, wxDefaultSize, 0); 120 | m_staticText1->SetFont(wxFont(20, 74, 90, 90, false, wxT("Arial"))); 121 | bSizer1->Add(m_staticText1, 0, wxALL|wxEXPAND, 5); 122 | wxBoxSizer* bSizer2; 123 | bSizer2 = new wxBoxSizer(wxVERTICAL); 124 | BtnAbout = new wxButton(this, idBtnAbout, wxT("&About"), wxDefaultPosition, wxDefaultSize, 0); 125 | bSizer2->Add(BtnAbout, 0, wxALL, 5); 126 | m_staticline1 = new wxStaticLine(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL); 127 | bSizer2->Add(m_staticline1, 0, wxALL|wxEXPAND, 5); 128 | BtnQuit = new wxButton(this, idBtnQuit, wxT("&Quit"), wxDefaultPosition, wxDefaultSize, 0); 129 | bSizer2->Add(BtnQuit, 0, wxALL, 5); 130 | bSizer1->Add(bSizer2, 1, wxEXPAND, 5); 131 | this->SetSizer(bSizer1); 132 | this->Layout(); 133 | bSizer1->Fit(this); 134 | }[ENDIF NONE] 135 | [IF WXFB][CLASS_PREFIX]Dialog::[CLASS_PREFIX]Dialog(wxDialog *dlg) 136 | : GUIDialog(dlg) 137 | { 138 | }[ENDIF WXFB] 139 | 140 | [CLASS_PREFIX]Dialog::~[CLASS_PREFIX]Dialog() 141 | { 142 | } 143 | 144 | void [CLASS_PREFIX]Dialog::OnClose(wxCloseEvent &event) 145 | { 146 | Destroy(); 147 | } 148 | 149 | void [CLASS_PREFIX]Dialog::OnQuit(wxCommandEvent &event) 150 | { 151 | Destroy(); 152 | } 153 | 154 | void [CLASS_PREFIX]Dialog::OnAbout(wxCommandEvent &event) 155 | { 156 | wxString msg = wxbuildinfo(long_f); 157 | wxMessageBox(msg, _("Welcome to...")); 158 | }[ENDIF WXDIALOG] 159 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/common/main.h: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: [FILENAME_PREFIX]Main.h 3 | * Purpose: Defines Application Frame 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifndef [PROJECT_HDR]MAIN_H 11 | #define [PROJECT_HDR]MAIN_H 12 | 13 | [IF NONE]#ifndef WX_PRECOMP 14 | #include 15 | #endif[ENDIF NONE] 16 | 17 | #include "[FILENAME_PREFIX]App.h" 18 | 19 | [IF WXFRAME][IF NONE]class [CLASS_PREFIX]Frame: public wxFrame 20 | { 21 | public: 22 | [CLASS_PREFIX]Frame(wxFrame *frame, const wxString& title); 23 | ~[CLASS_PREFIX]Frame(); 24 | private: 25 | enum 26 | { 27 | idMenuQuit = 1000, 28 | idMenuAbout 29 | }; 30 | void OnClose(wxCloseEvent& event); 31 | void OnQuit(wxCommandEvent& event); 32 | void OnAbout(wxCommandEvent& event); 33 | DECLARE_EVENT_TABLE() 34 | };[ENDIF NONE] 35 | [IF WXFB]#include "GUIFrame.h" 36 | 37 | class [CLASS_PREFIX]Frame: public GUIFrame 38 | { 39 | public: 40 | [CLASS_PREFIX]Frame(wxFrame *frame); 41 | ~[CLASS_PREFIX]Frame(); 42 | private: 43 | virtual void OnClose(wxCloseEvent& event); 44 | virtual void OnQuit(wxCommandEvent& event); 45 | virtual void OnAbout(wxCommandEvent& event); 46 | };[ENDIF WXFB][ENDIF WXFRAME] 47 | [IF WXDIALOG][IF NONE]#include 48 | #include 49 | class [CLASS_PREFIX]Dialog: public wxDialog 50 | { 51 | public: 52 | [CLASS_PREFIX]Dialog(wxDialog *dlg, const wxString& title); 53 | ~[CLASS_PREFIX]Dialog(); 54 | 55 | protected: 56 | enum 57 | { 58 | idBtnQuit = 1000, 59 | idBtnAbout 60 | }; 61 | wxStaticText* m_staticText1; 62 | wxButton* BtnAbout; 63 | wxStaticLine* m_staticline1; 64 | wxButton* BtnQuit; 65 | 66 | private: 67 | void OnClose(wxCloseEvent& event); 68 | void OnQuit(wxCommandEvent& event); 69 | void OnAbout(wxCommandEvent& event); 70 | DECLARE_EVENT_TABLE() 71 | };[ENDIF NONE] 72 | [IF WXFB]#include "GUIDialog.h" 73 | 74 | class [CLASS_PREFIX]Dialog: public GUIDialog 75 | { 76 | public: 77 | [CLASS_PREFIX]Dialog(wxDialog *dlg); 78 | ~[CLASS_PREFIX]Dialog(); 79 | private: 80 | virtual void OnClose(wxCloseEvent& event); 81 | virtual void OnQuit(wxCommandEvent& event); 82 | virtual void OnAbout(wxCommandEvent& event); 83 | };[ENDIF WXFB][ENDIF WXDIALOG] 84 | #endif // [PROJECT_HDR]MAIN_H 85 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/wizard/wxwidgets/logo.png -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/pch/wx_pch.h: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: wx_pch.h 3 | * Purpose: Header to create Pre-Compiled Header (PCH) 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifndef WX_PCH_H_INCLUDED 11 | #define WX_PCH_H_INCLUDED 12 | 13 | // basic wxWidgets headers 14 | #include 15 | 16 | #ifdef __BORLANDC__ 17 | #pragma hdrstop 18 | #endif 19 | 20 | #ifndef WX_PRECOMP 21 | #include 22 | #endif 23 | 24 | #ifdef WX_PRECOMP 25 | // put here all your rarely-changing header files 26 | #endif // WX_PRECOMP 27 | 28 | #endif // WX_PCH_H_INCLUDED 29 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/rc/resource.rc: -------------------------------------------------------------------------------- 1 | aaaa ICON "wx/msw/std.ico" 2 | 3 | #include "wx/msw/wx.rc" 4 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wizard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adbrt/cb-legacy-dev/565ec6b1812b3af9e4dcaa0c1e6393d0a217e071/installers/wizard/wxwidgets/wizard.png -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxfb/dialog/GUIDialog.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////// 2 | // C++ code generated with wxFormBuilder (version Feb 17 2007) 3 | // http://www.wxformbuilder.org/ 4 | // 5 | // PLEASE DO "NOT" EDIT THIS FILE! 6 | /////////////////////////////////////////////////////////////////////////// 7 | 8 | #include "wx/wxprec.h" 9 | 10 | #ifdef __BORLANDC__ 11 | #pragma hdrstop 12 | #endif //__BORLANDC__ 13 | 14 | #ifndef WX_PRECOMP 15 | #include 16 | #endif //WX_PRECOMP 17 | 18 | #include "GUIDialog.h" 19 | 20 | /////////////////////////////////////////////////////////////////////////// 21 | BEGIN_EVENT_TABLE( GUIDialog, wxDialog ) 22 | EVT_CLOSE( GUIDialog::_wxFB_OnClose ) 23 | EVT_BUTTON( idBtnAbout, GUIDialog::_wxFB_OnAbout ) 24 | EVT_BUTTON( idBtnQuit, GUIDialog::_wxFB_OnQuit ) 25 | END_EVENT_TABLE() 26 | 27 | GUIDialog::GUIDialog( wxWindow* parent, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style ) 28 | { 29 | this->SetSizeHints( wxDefaultSize, wxDefaultSize ); 30 | 31 | wxBoxSizer* bSizer1; 32 | bSizer1 = new wxBoxSizer( wxHORIZONTAL ); 33 | 34 | m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("Welcome To\nwxWidgets"), wxDefaultPosition, wxDefaultSize, 0 ); 35 | m_staticText1->SetFont( wxFont( 20, 74, 90, 90, false, wxT("Arial") ) ); 36 | 37 | bSizer1->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 ); 38 | 39 | wxBoxSizer* bSizer2; 40 | bSizer2 = new wxBoxSizer( wxVERTICAL ); 41 | 42 | BtnAbout = new wxButton( this, idBtnAbout, wxT("&About"), wxDefaultPosition, wxDefaultSize, 0 ); 43 | bSizer2->Add( BtnAbout, 0, wxALL, 5 ); 44 | 45 | m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); 46 | bSizer2->Add( m_staticline1, 0, wxALL|wxEXPAND, 5 ); 47 | 48 | BtnQuit = new wxButton( this, idBtnQuit, wxT("&Quit"), wxDefaultPosition, wxDefaultSize, 0 ); 49 | bSizer2->Add( BtnQuit, 0, wxALL, 5 ); 50 | 51 | bSizer1->Add( bSizer2, 1, wxEXPAND, 5 ); 52 | 53 | this->SetSizer( bSizer1 ); 54 | this->Layout(); 55 | bSizer1->Fit( this ); 56 | } 57 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxfb/dialog/GUIDialog.h: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////// 2 | // C++ code generated with wxFormBuilder (version Feb 17 2007) 3 | // http://www.wxformbuilder.org/ 4 | // 5 | // PLEASE DO "NOT" EDIT THIS FILE! 6 | /////////////////////////////////////////////////////////////////////////// 7 | 8 | #ifndef __GUIDialog__ 9 | #define __GUIDialog__ 10 | 11 | // Define WX_GCH in order to support precompiled headers with GCC compiler. 12 | // You have to create the header "wx_pch.h" and include all files needed 13 | // for compile your gui inside it. 14 | // Then, compile it and place the file "wx_pch.h.gch" into the same 15 | // directory that "wx_pch.h". 16 | #ifdef WX_GCH 17 | #include 18 | #else 19 | #include 20 | #endif 21 | 22 | #include 23 | #include 24 | 25 | /////////////////////////////////////////////////////////////////////////// 26 | 27 | /////////////////////////////////////////////////////////////////////////////// 28 | /// Class GUIDialog 29 | /////////////////////////////////////////////////////////////////////////////// 30 | class GUIDialog : public wxDialog 31 | { 32 | DECLARE_EVENT_TABLE() 33 | private: 34 | 35 | // Private event handlers 36 | void _wxFB_OnClose( wxCloseEvent& event ){ OnClose( event ); } 37 | void _wxFB_OnAbout( wxCommandEvent& event ){ OnAbout( event ); } 38 | void _wxFB_OnQuit( wxCommandEvent& event ){ OnQuit( event ); } 39 | 40 | 41 | protected: 42 | enum 43 | { 44 | idBtnAbout = 1000, 45 | idBtnQuit, 46 | }; 47 | 48 | wxStaticText* m_staticText1; 49 | wxButton* BtnAbout; 50 | wxStaticLine* m_staticline1; 51 | wxButton* BtnQuit; 52 | 53 | // Virtual event handlers, overide them in your derived class 54 | virtual void OnClose( wxCloseEvent& event ){ event.Skip(); } 55 | virtual void OnAbout( wxCommandEvent& event ){ event.Skip(); } 56 | virtual void OnQuit( wxCommandEvent& event ){ event.Skip(); } 57 | 58 | 59 | public: 60 | GUIDialog( wxWindow* parent, int id = wxID_ANY, wxString title = wxT("wxWidgets Application Template"), wxPoint pos = wxDefaultPosition, wxSize size = wxDefaultSize, int style = wxDEFAULT_DIALOG_STYLE ); 61 | 62 | }; 63 | 64 | #endif //__GUIDialog__ 65 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxfb/dialog/WxWizDialog.fbp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | C++ 7 | UTF-8 8 | GUIDialog 9 | 1000 10 | 11 | 0 12 | MyProject 13 | . 14 | wx/wxprec.h 15 | 1 16 | 1 17 | 0 18 | 19 | 20 | 21 | 1 22 | 23 | 24 | 25 | 0 26 | wxID_ANY 27 | 28 | 29 | GUIDialog 30 | 31 | 32 | wxDEFAULT_DIALOG_STYLE 33 | 34 | wxWidgets Application Template 35 | 36 | 37 | 38 | OnClose 39 | 40 | 41 | 42 | bSizer1 43 | wxHORIZONTAL 44 | 45 | 5 46 | wxALL|wxEXPAND 47 | 0 48 | 49 | 50 | 1 51 | 52 | Arial,90,90,20 53 | 0 54 | wxID_ANY 55 | Welcome To wxWidgets 56 | 57 | 58 | m_staticText1 59 | protected 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 5 71 | wxEXPAND 72 | 1 73 | 74 | 75 | bSizer2 76 | wxVERTICAL 77 | 78 | 5 79 | wxALL 80 | 0 81 | 82 | 83 | 1 84 | 85 | 86 | 0 87 | idBtnAbout 88 | &About 89 | 90 | 91 | BtnAbout 92 | protected 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | OnAbout 101 | 102 | 103 | 104 | 5 105 | wxALL|wxEXPAND 106 | 0 107 | 108 | 109 | 1 110 | 111 | 112 | 0 113 | wxID_ANY 114 | 115 | 116 | m_staticline1 117 | protected 118 | 119 | 120 | wxLI_HORIZONTAL 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 5 129 | wxALL 130 | 0 131 | 132 | 133 | 1 134 | 135 | 136 | 0 137 | idBtnQuit 138 | &Quit 139 | 140 | 141 | BtnQuit 142 | protected 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | OnQuit 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxfb/frame/GUIFrame.cpp: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////// 2 | // C++ code generated with wxFormBuilder (version Feb 17 2007) 3 | // http://www.wxformbuilder.org/ 4 | // 5 | // PLEASE DO "NOT" EDIT THIS FILE! 6 | /////////////////////////////////////////////////////////////////////////// 7 | 8 | #include "wx/wxprec.h" 9 | 10 | #ifdef __BORLANDC__ 11 | #pragma hdrstop 12 | #endif //__BORLANDC__ 13 | 14 | #ifndef WX_PRECOMP 15 | #include 16 | #endif //WX_PRECOMP 17 | 18 | #include "GUIFrame.h" 19 | 20 | /////////////////////////////////////////////////////////////////////////// 21 | BEGIN_EVENT_TABLE( GUIFrame, wxFrame ) 22 | EVT_CLOSE( GUIFrame::_wxFB_OnClose ) 23 | EVT_MENU( idMenuQuit, GUIFrame::_wxFB_OnQuit ) 24 | EVT_MENU( idMenuAbout, GUIFrame::_wxFB_OnAbout ) 25 | END_EVENT_TABLE() 26 | 27 | GUIFrame::GUIFrame( wxWindow* parent, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxFrame( parent, id, title, pos, size, style ) 28 | { 29 | this->SetSizeHints( wxDefaultSize, wxDefaultSize ); 30 | 31 | mbar = new wxMenuBar( 0 ); 32 | wxMenu* fileMenu; 33 | fileMenu = new wxMenu(); 34 | wxMenuItem* menuFileQuit = new wxMenuItem( fileMenu, idMenuQuit, wxString( wxT("&Quit") ) + wxT('\t') + wxT("Alt+F4"), wxT("Quit the application"), wxITEM_NORMAL ); 35 | fileMenu->Append( menuFileQuit ); 36 | mbar->Append( fileMenu, wxT("&File") ); 37 | wxMenu* helpMenu; 38 | helpMenu = new wxMenu(); 39 | wxMenuItem* menuHelpAbout = new wxMenuItem( helpMenu, idMenuAbout, wxString( wxT("&About") ) + wxT('\t') + wxT("F1"), wxT("Show info about this application"), wxITEM_NORMAL ); 40 | helpMenu->Append( menuHelpAbout ); 41 | mbar->Append( helpMenu, wxT("&Help") ); 42 | this->SetMenuBar( mbar ); 43 | 44 | statusBar = this->CreateStatusBar( 2, wxST_SIZEGRIP, wxID_ANY ); 45 | } 46 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxfb/frame/GUIFrame.h: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////// 2 | // C++ code generated with wxFormBuilder (version Feb 17 2007) 3 | // http://www.wxformbuilder.org/ 4 | // 5 | // PLEASE DO "NOT" EDIT THIS FILE! 6 | /////////////////////////////////////////////////////////////////////////// 7 | 8 | #ifndef __GUIFrame__ 9 | #define __GUIFrame__ 10 | 11 | // Define WX_GCH in order to support precompiled headers with GCC compiler. 12 | // You have to create the header "wx_pch.h" and include all files needed 13 | // for compile your gui inside it. 14 | // Then, compile it and place the file "wx_pch.h.gch" into the same 15 | // directory that "wx_pch.h". 16 | #ifdef WX_GCH 17 | #include 18 | #else 19 | #include 20 | #endif 21 | 22 | #include 23 | 24 | /////////////////////////////////////////////////////////////////////////// 25 | 26 | #define idMenuQuit 1000 27 | #define idMenuAbout 1001 28 | 29 | /////////////////////////////////////////////////////////////////////////////// 30 | /// Class GUIFrame 31 | /////////////////////////////////////////////////////////////////////////////// 32 | class GUIFrame : public wxFrame 33 | { 34 | DECLARE_EVENT_TABLE() 35 | private: 36 | 37 | // Private event handlers 38 | void _wxFB_OnClose( wxCloseEvent& event ){ OnClose( event ); } 39 | void _wxFB_OnQuit( wxCommandEvent& event ){ OnQuit( event ); } 40 | void _wxFB_OnAbout( wxCommandEvent& event ){ OnAbout( event ); } 41 | 42 | 43 | protected: 44 | wxMenuBar* mbar; 45 | wxStatusBar* statusBar; 46 | 47 | // Virtual event handlers, overide them in your derived class 48 | virtual void OnClose( wxCloseEvent& event ){ event.Skip(); } 49 | virtual void OnQuit( wxCommandEvent& event ){ event.Skip(); } 50 | virtual void OnAbout( wxCommandEvent& event ){ event.Skip(); } 51 | 52 | 53 | public: 54 | GUIFrame( wxWindow* parent, int id = wxID_ANY, wxString title = wxT("wxWidgets Application Template"), wxPoint pos = wxDefaultPosition, wxSize size = wxSize( 481,466 ), int style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); 55 | 56 | }; 57 | 58 | #endif //__GUIFrame__ 59 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxfb/frame/WxWizFrame.fbp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | C++ 7 | UTF-8 8 | GUIFrame 9 | 1000 10 | 11 | 0 12 | MyProject 13 | . 14 | wx/wxprec.h 15 | 1 16 | 0 17 | 0 18 | 19 | 20 | 21 | 1 22 | 23 | 24 | 25 | 0 26 | wxID_ANY 27 | 28 | 29 | GUIFrame 30 | 31 | 481,466 32 | wxDEFAULT_FRAME_STYLE 33 | 34 | wxWidgets Application Template 35 | 36 | 37 | wxTAB_TRAVERSAL 38 | 1 39 | OnClose 40 | 41 | 42 | 43 | 1 44 | 45 | 46 | 0 47 | wxID_ANY 48 | 49 | 50 | 51 | mbar 52 | protected 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | &File 62 | fileMenu 63 | 64 | 65 | 0 66 | 1 67 | Quit the application 68 | idMenuQuit 69 | wxITEM_NORMAL 70 | &Quit 71 | menuFileQuit 72 | Alt+F4 73 | 74 | OnQuit 75 | 76 | 77 | 78 | &Help 79 | helpMenu 80 | 81 | 82 | 0 83 | 1 84 | Show info about this application 85 | idMenuAbout 86 | wxITEM_NORMAL 87 | &About 88 | menuHelpAbout 89 | F1 90 | 91 | OnAbout 92 | 93 | 94 | 95 | 96 | 97 | 1 98 | 99 | 2 100 | 101 | 0 102 | wxID_ANY 103 | 104 | 105 | statusBar 106 | protected 107 | 108 | 109 | wxST_SIZEGRIP 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxsmith/app.cpp: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: [FILENAME_PREFIX]App.cpp 3 | * Purpose: Code for Application Class 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | [PCH_INCLUDE]#include "[FILENAME_PREFIX]App.h" 11 | 12 | //(*AppHeaders 13 | //*) 14 | 15 | IMPLEMENT_APP([CLASS_PREFIX]App); 16 | 17 | bool [CLASS_PREFIX]App::OnInit() 18 | { 19 | //(*AppInitialize 20 | //*) 21 | return wxsOK; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxsmith/main.cpp: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: [FILENAME_PREFIX]Main.cpp 3 | * Purpose: Code for Application Frame 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | [PCH_INCLUDE]#include "[FILENAME_PREFIX]Main.h" 11 | #include 12 | 13 | //(*InternalHeaders([CLASS_PREFIX][IF WXFRAME]Frame[ENDIF WXFRAME][IF WXDIALOG]Dialog[ENDIF WXDIALOG]) 14 | //*) 15 | 16 | //helper functions 17 | enum wxbuildinfoformat { 18 | short_f, long_f }; 19 | 20 | wxString wxbuildinfo(wxbuildinfoformat format) 21 | { 22 | wxString wxbuild(wxVERSION_STRING); 23 | 24 | if (format == long_f ) 25 | { 26 | #if defined(__WXMSW__) 27 | wxbuild << _T("-Windows"); 28 | #elif defined(__UNIX__) 29 | wxbuild << _T("-Linux"); 30 | #endif 31 | 32 | #if wxUSE_UNICODE 33 | wxbuild << _T("-Unicode build"); 34 | #else 35 | wxbuild << _T("-ANSI build"); 36 | #endif // wxUSE_UNICODE 37 | } 38 | 39 | return wxbuild; 40 | } 41 | 42 | [IF WXFRAME]//(*IdInit([CLASS_PREFIX]Frame) 43 | //*) 44 | 45 | BEGIN_EVENT_TABLE([CLASS_PREFIX]Frame,wxFrame) 46 | //(*EventTable([CLASS_PREFIX]Frame) 47 | //*) 48 | END_EVENT_TABLE() 49 | 50 | [CLASS_PREFIX]Frame::[CLASS_PREFIX]Frame(wxWindow* parent,wxWindowID id) 51 | { 52 | //(*Initialize([CLASS_PREFIX]Frame) 53 | //*) 54 | } 55 | 56 | [CLASS_PREFIX]Frame::~[CLASS_PREFIX]Frame() 57 | { 58 | //(*Destroy([CLASS_PREFIX]Frame) 59 | //*) 60 | } 61 | 62 | void [CLASS_PREFIX]Frame::OnQuit(wxCommandEvent& event) 63 | { 64 | Close(); 65 | } 66 | 67 | void [CLASS_PREFIX]Frame::OnAbout(wxCommandEvent& event) 68 | { 69 | wxString msg = wxbuildinfo(long_f); 70 | wxMessageBox(msg, _("Welcome to...")); 71 | }[ENDIF WXFRAME][IF WXDIALOG]//(*IdInit([CLASS_PREFIX]Dialog) 72 | //*) 73 | 74 | BEGIN_EVENT_TABLE([CLASS_PREFIX]Dialog,wxDialog) 75 | //(*EventTable([CLASS_PREFIX]Dialog) 76 | //*) 77 | END_EVENT_TABLE() 78 | 79 | [CLASS_PREFIX]Dialog::[CLASS_PREFIX]Dialog(wxWindow* parent,wxWindowID id) 80 | { 81 | //(*Initialize([CLASS_PREFIX]Dialog) 82 | //*) 83 | } 84 | 85 | [CLASS_PREFIX]Dialog::~[CLASS_PREFIX]Dialog() 86 | { 87 | //(*Destroy([CLASS_PREFIX]Dialog) 88 | //*) 89 | } 90 | 91 | void [CLASS_PREFIX]Dialog::OnQuit(wxCommandEvent& event) 92 | { 93 | Close(); 94 | } 95 | 96 | void [CLASS_PREFIX]Dialog::OnAbout(wxCommandEvent& event) 97 | { 98 | wxString msg = wxbuildinfo(long_f); 99 | wxMessageBox(msg, _("Welcome to...")); 100 | }[ENDIF WXDIALOG] 101 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxsmith/main.h: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: [FILENAME_PREFIX]Main.h 3 | * Purpose: Defines Application Frame 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifndef [PROJECT_HDR]MAIN_H 11 | #define [PROJECT_HDR]MAIN_H 12 | 13 | [IF WXFRAME]//(*Headers([CLASS_PREFIX]Frame) 14 | //*) 15 | 16 | class [CLASS_PREFIX]Frame: public wxFrame 17 | { 18 | public: 19 | 20 | [CLASS_PREFIX]Frame(wxWindow* parent,wxWindowID id = -1); 21 | virtual ~[CLASS_PREFIX]Frame(); 22 | 23 | private: 24 | 25 | //(*Handlers([CLASS_PREFIX]Frame) 26 | void OnQuit(wxCommandEvent& event); 27 | void OnAbout(wxCommandEvent& event); 28 | //*) 29 | 30 | //(*Identifiers([CLASS_PREFIX]Frame) 31 | //*) 32 | 33 | //(*Declarations([CLASS_PREFIX]Frame) 34 | //*) 35 | 36 | DECLARE_EVENT_TABLE() 37 | };[ENDIF WXFRAME][IF WXDIALOG]//(*Headers([CLASS_PREFIX]Dialog) 38 | //*) 39 | 40 | class [CLASS_PREFIX]Dialog: public wxDialog 41 | { 42 | public: 43 | 44 | [CLASS_PREFIX]Dialog(wxWindow* parent,wxWindowID id = -1); 45 | virtual ~[CLASS_PREFIX]Dialog(); 46 | 47 | private: 48 | 49 | //(*Handlers([CLASS_PREFIX]Dialog) 50 | void OnQuit(wxCommandEvent& event); 51 | void OnAbout(wxCommandEvent& event); 52 | //*) 53 | 54 | //(*Identifiers([CLASS_PREFIX]Dialog) 55 | 56 | //*) 57 | 58 | //(*Declarations([CLASS_PREFIX]Dialog) 59 | 60 | //*) 61 | 62 | DECLARE_EVENT_TABLE() 63 | };[ENDIF WXDIALOG] 64 | 65 | #endif // [PROJECT_HDR]MAIN_H 66 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxsmith/main_s.cpp: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: [FILENAME_PREFIX]Main.cpp 3 | * Purpose: Code for Application Frame 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | [PCH_INCLUDE]#include "[FILENAME_PREFIX]Main.h" 11 | #include 12 | 13 | //(*InternalHeaders([CLASS_PREFIX][IF WXFRAME]Frame[ENDIF WXFRAME][IF WXDIALOG]Dialog[ENDIF WXDIALOG]) 14 | //*) 15 | 16 | //helper functions 17 | enum wxbuildinfoformat { 18 | short_f, long_f }; 19 | 20 | wxString wxbuildinfo(wxbuildinfoformat format) 21 | { 22 | wxString wxbuild(wxVERSION_STRING); 23 | 24 | if (format == long_f ) 25 | { 26 | #if defined(__WXMSW__) 27 | wxbuild << _T("-Windows"); 28 | #elif defined(__UNIX__) 29 | wxbuild << _T("-Linux"); 30 | #endif 31 | 32 | #if wxUSE_UNICODE 33 | wxbuild << _T("-Unicode build"); 34 | #else 35 | wxbuild << _T("-ANSI build"); 36 | #endif // wxUSE_UNICODE 37 | } 38 | 39 | return wxbuild; 40 | } 41 | 42 | [IF WXFRAME]//(*IdInit([CLASS_PREFIX]Frame) 43 | //*) 44 | 45 | BEGIN_EVENT_TABLE([CLASS_PREFIX]Frame,wxFrame) 46 | //(*EventTable([CLASS_PREFIX]Frame) 47 | //*) 48 | END_EVENT_TABLE() 49 | 50 | [CLASS_PREFIX]Frame::[CLASS_PREFIX]Frame(wxWindow* parent,wxWindowID id) 51 | { 52 | //(*Initialize([CLASS_PREFIX]Frame) 53 | //*) 54 | } 55 | 56 | [CLASS_PREFIX]Frame::~[CLASS_PREFIX]Frame() 57 | { 58 | //(*Destroy([CLASS_PREFIX]Frame) 59 | //*) 60 | } 61 | 62 | void [CLASS_PREFIX]Frame::OnQuit(wxCommandEvent& event) 63 | { 64 | Close(); 65 | } 66 | 67 | void [CLASS_PREFIX]Frame::OnAbout(wxCommandEvent& event) 68 | { 69 | wxString msg = wxbuildinfo(long_f); 70 | wxMessageBox(msg, _("Welcome to...")); 71 | } 72 | 73 | void [CLASS_PREFIX]Frame::OnButton1Click(wxCommandEvent& event) 74 | { 75 | // Show message box with contents of TextCtrl1 76 | wxMessageBox(TextCtrl1->GetValue()); 77 | } 78 | [ENDIF WXFRAME][IF WXDIALOG]//(*IdInit([CLASS_PREFIX]Dialog) 79 | //*) 80 | 81 | BEGIN_EVENT_TABLE([CLASS_PREFIX]Dialog,wxDialog) 82 | //(*EventTable([CLASS_PREFIX]Dialog) 83 | //*) 84 | END_EVENT_TABLE() 85 | 86 | [CLASS_PREFIX]Dialog::[CLASS_PREFIX]Dialog(wxWindow* parent,wxWindowID id) 87 | { 88 | //(*Initialize([CLASS_PREFIX]Dialog) 89 | //*) 90 | } 91 | 92 | [CLASS_PREFIX]Dialog::~[CLASS_PREFIX]Dialog() 93 | { 94 | //(*Destroy([CLASS_PREFIX]Dialog) 95 | //*) 96 | } 97 | 98 | void [CLASS_PREFIX]Dialog::OnQuit(wxCommandEvent& event) 99 | { 100 | Close(); 101 | } 102 | 103 | void [CLASS_PREFIX]Dialog::OnAbout(wxCommandEvent& event) 104 | { 105 | wxString msg = wxbuildinfo(long_f); 106 | wxMessageBox(msg, _("Welcome to...")); 107 | }[ENDIF WXDIALOG] 108 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxsmith/main_s.h: -------------------------------------------------------------------------------- 1 | /*************************************************************** 2 | * Name: [FILENAME_PREFIX]Main.h 3 | * Purpose: Defines Application Frame 4 | * Author: [AUTHOR_NAME] ([AUTHOR_EMAIL]) 5 | * Created: [NOW] 6 | * Copyright: [AUTHOR_NAME] ([AUTHOR_WWW]) 7 | * License: 8 | **************************************************************/ 9 | 10 | #ifndef [PROJECT_HDR]MAIN_H 11 | #define [PROJECT_HDR]MAIN_H 12 | 13 | [IF WXFRAME]//(*Headers([CLASS_PREFIX]Frame) 14 | //*) 15 | 16 | class [CLASS_PREFIX]Frame: public wxFrame 17 | { 18 | public: 19 | 20 | [CLASS_PREFIX]Frame(wxWindow* parent,wxWindowID id = -1); 21 | virtual ~[CLASS_PREFIX]Frame(); 22 | 23 | private: 24 | 25 | //(*Handlers([CLASS_PREFIX]Frame) 26 | void OnQuit(wxCommandEvent& event); 27 | void OnAbout(wxCommandEvent& event); 28 | void OnButton1Click(wxCommandEvent& event); 29 | //*) 30 | 31 | //(*Identifiers([CLASS_PREFIX]Frame) 32 | //*) 33 | 34 | //(*Declarations([CLASS_PREFIX]Frame) 35 | //*) 36 | 37 | DECLARE_EVENT_TABLE() 38 | };[ENDIF WXFRAME][IF WXDIALOG]//(*Headers([CLASS_PREFIX]Dialog) 39 | //*) 40 | 41 | class [CLASS_PREFIX]Dialog: public wxDialog 42 | { 43 | public: 44 | 45 | [CLASS_PREFIX]Dialog(wxWindow* parent,wxWindowID id = -1); 46 | virtual ~[CLASS_PREFIX]Dialog(); 47 | 48 | private: 49 | 50 | //(*Handlers([CLASS_PREFIX]Dialog) 51 | void OnQuit(wxCommandEvent& event); 52 | void OnAbout(wxCommandEvent& event); 53 | //*) 54 | 55 | //(*Identifiers([CLASS_PREFIX]Dialog) 56 | 57 | //*) 58 | 59 | //(*Declarations([CLASS_PREFIX]Dialog) 60 | 61 | //*) 62 | 63 | DECLARE_EVENT_TABLE() 64 | };[ENDIF WXDIALOG] 65 | 66 | #endif // [PROJECT_HDR]MAIN_H 67 | -------------------------------------------------------------------------------- /installers/wizard/wxwidgets/wxsmith/resource.wxs: -------------------------------------------------------------------------------- 1 | 2 | 3 | [IF WXDIALOG] 4 | wxWidgets app 5 | 6 | 7 | 8 | 9 | 10 | 20 11 | wxSYS_DEFAULT_GUI_FONT 12 | 13 | 14 | wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL 15 | 10 16 | 17 | 18 | 19 | 20 | wxVERTICAL 21 | 22 | 23 | 24 | 25 | 26 | wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL 27 | 4 28 | 29 | 30 | 31 | 32 | 10,-1 33 | 34 | wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL 35 | 4 36 | 37 | 38 | 39 | 40 | 41 | 42 | wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL 43 | 4 44 | 45 | 46 | 47 | wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL 48 | 4 49 | 50 | 51 | [ENDIF WXDIALOG][IF WXFRAME] 52 | 53 | 54 | 55 | 56 | 57 | Alt-F4 58 | Quit the application 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | F1 67 | Show info about this application 68 | 69 | 70 | 71 | 72 | 73 | 1 74 | -1 75 | wxSB_NORMAL 76 | 77 | [ENDIF WXFRAME] 78 | 79 | --------------------------------------------------------------------------------