Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

HI, I seem to have found the source code of the earth-shattering 2.0

Newbie Spellweaver
Joined
Mar 29, 2013
Messages
72
Reaction score
0
Cabal reference
cabal.project fields | cabal project flags | package.cabal fields
cabal.project fields
- Specifying the local packages
packages Project packages.
optional-packages Optional project packages.
extra-packages Adds external pacakges as local
- Global configuration options
verbose Build verbosity level.
jobs Number of builds running in parallel.
keep-going Try to continue building on failure.
- Solver configuration options
constraints Extra dependencies constraints.
preferences Prefered dependency versions.
allow-newer Lift dependencies upper bound constaints.
allow-older (since version: 2.0) Lift dependency lower bound constaints.
index-state (since version: 2.0) Use source package index state as it existed at a previous time.
- Package configuration options
flags Enable or disable package flags.
with-compiler Path to compiler executable.
with-hc-pkg Specifies package tool.
optimization Build with optimization.
configure-options Options to pass to configure script.
compiler Compiler to build with.
tests Build tests.
benchmarks Build benchmarks.
extra-prog-path (since version: 1.18) Add directories to program search path.
run-tests Run package test suite upon installation.
- Object code options
debug-info (since version: 1.22) Build with debug info enabled.
split-sections (since version: 2.1) Use GHC's split sections feature.
split-objs Use GHC's split objects feature.
executable-stripping Strip installed programs.
library-stripping (since version: 1.19) Strip installed libraries.
- Executable options
program-prefix Prepend prefix to program names.
program-suffix Append refix to program names.
- Dynamic linking options
shared Build shared library.
executable-dynamic Link executables dynamically.
library-for-ghci Build libraries suitable for use with GHCi.
relocatable (since version: 1.21) Build relocatable package.
- Static linking options
static Build static library.
- Foreign function interface options
extra-include-dirs Adds C header search path.
extra-lib-dirs Adds library search directory.
extra-framework-dirs Adds framework search directory (OS X only).
- Profiling options
profiling (since version: 1.21) Enable profiling builds.
profiling-detail (since version: 1.23) Profiling detail level.
library-profiling-detail (since version: 1.23) Libraries profiling detail level.
library-vanilla Build libraries without profiling.
library-profiling (since version: 1.21) Build libraries with profiling enabled.
executable-profiling (since version: 1.21) Build executables with profiling enabled.
- Coverage options
coverage (since version: 1.21) Build with coverage enabled.
library-coverage (deprecated)
- Haddock options
documentation Enable building of documentation.
doc-index-file Path to haddock templates.
haddock-hoogle Generate Hoogle file.
haddock-html Build HTML documentation.
haddock-html-location Haddock HTML templates location.
haddock-executables Generate documentation for executables.
haddock-tests Generate documentation for tests.
haddock-benchmarks Generate documentation for benchmarks.
haddock-all Generate documentation for everything
haddock-internal Generate documentation for internal modules
haddock-css Location of Haddoc CSS file.
haddock-hyperlink-source Generate hyperlinked source code for documentation
haddock-hscolour-css Location of CSS file for HsColour
haddock-contents-location URL for contents page.
haddock-keep-temp-files Keep temporary Haddock files.
- Advanced global configuration options
write-ghc-environment-files Whether a ``.ghc.enviroment`` should be created after a successful build.
http-transport Transport to use with http(s) requests.
ignore-expiry Ignore Hackage expiration dates.
remote-repo-cache Location of packages cache.
logs-dir Directory to store build logs.
build-summary Build summaries location.
local-repo (deprecated)
world-file (deprecated)
- Advanced solver options
solver Which solver to use.
max-backjumps Maximum number of solver backjumps.
reorder-goals Allow solver to reorder goals.
count-conflicts Solver prefers versions with less conflicts.
strong-flags Do not defer flag choices when solving.
allow-boot-library-installs Allow cabal to install or upgrade any package.
cabal-lib-version Version of Cabal library used to build package.

cabal project flags
- Global configuration options
--verbose Build verbosity level.
--jobs Number of builds running in parallel.
--keep-going Try to continue building on failure.
- Solver configuration options
--constraint Extra dependencies constraints.
--preference Prefered dependency versions.
--allow-newer Lift dependencies upper bound constaints.
--allow-older (since version: 2.0) Lift dependency lower bound constaints.
- Package configuration options
--flags Enable or disable package flags.
--with-compiler Path to compiler executable.
--with-hc-pkg Specifies package tool.
--enable-optimization Build with optimization.
--disable-optimization Build with optimization.
--configure-option Options to pass to configure script.
--compiler Compiler to build with.
--disable-tests Build tests.
--enable-tests Build tests.
--disable-benchmarks Build benchmarks.
--enable-benchmarks Build benchmarks.
--extra-prog-path (since version: 1.18) Add directories to program search path.
--run-tests Run package test suite upon installation.
- Object code options
--disable-debug-info (since version: 1.22) Build with debug info enabled.
--enable-debug-info (since version: 1.22) Build with debug info enabled.
--enable-split-sections (since version: 2.1) Use GHC's split sections feature.
--disable-split-sections (since version: 2.1) Use GHC's split sections feature.
--disable-split-objs Use GHC's split objects feature.
--enable-split-objs Use GHC's split objects feature.
--disable-executable-stripping Strip installed programs.
--enable-executable-stripping Strip installed programs.
--enable-library-stripping (since version: 1.19) Strip installed libraries.
--disable-library-stripping (since version: 1.19) Strip installed libraries.
- Executable options
--program-prefix Prepend prefix to program names.
--program-suffix Append refix to program names.
- Dynamic linking options
--enable-shared Build shared library.
--disable-shared Build shared library.
--disable-executable-dynamic Link executables dynamically.
--enable-executable-dynamic Link executables dynamically.
--enable-library-for-ghci Build libraries suitable for use with GHCi.
--disable-library-for-ghci Build libraries suitable for use with GHCi.
--relocatable (since version: 1.21) Build relocatable package.
- Static linking options
--disable-static Build static library.
--enable-static Build static library.
- Foreign function interface options
--extra-include-dirs Adds C header search path.
--extra-lib-dirs Adds library search directory.
--extra-framework-dirs Adds framework search directory (OS X only).
- Profiling options
--disable-profiling (since version: 1.21) Enable profiling builds.
--enable-profiling (since version: 1.21) Enable profiling builds.
--profiling-detail (since version: 1.23) Profiling detail level.
--library-profiling-detail (since version: 1.23) Libraries profiling detail level.
--enable-library-vanilla Build libraries without profiling.
--disable-library-vanilla Build libraries without profiling.
--disable-library-profiling (since version: 1.21) Build libraries with profiling enabled.
--enable-library-profiling (since version: 1.21) Build libraries with profiling enabled.
--enable-executable-profiling (since version: 1.21) Build executables with profiling enabled.
--disable-executable-profiling (since version: 1.21) Build executables with profiling enabled.
- Coverage options
--disable-coverage (since version: 1.21) Build with coverage enabled.
--enable-coverage (since version: 1.21) Build with coverage enabled.
--disable-library-coverage (deprecated)
--enable-library-coverage (deprecated)
- Haddock options
--disable-documentation Enable building of documentation.
--enable-documentation Enable building of documentation.
--doc-index-file Path to haddock templates.
- Advanced global configuration options
--write-ghc-enviroment-files Whether a ``.ghc.enviroment`` should be created after a successful build.
--http-transport Transport to use with http(s) requests.
--ignore-expiry Ignore Hackage expiration dates.
--remote-repo-cache Location of packages cache.
--logs-dir Directory to store build logs.
--build-summary Build summaries location.
--local-repo (deprecated)
--world-file (deprecated)
- Advanced solver options
--solver Which solver to use.
--max-backjumps Maximum number of solver backjumps.
--no-reorder-goals Allow solver to reorder goals.
--reorder-goals Allow solver to reorder goals.
--no-count-conflicts Solver prefers versions with less conflicts.
--count-conflicts Solver prefers versions with less conflicts.
--strong-flags Do not defer flag choices when solving.
--no-strong-flags Do not defer flag choices when solving.
--allow-boot-library-installs Allow cabal to install or upgrade any package.
--no-allow-boot-library-installs Allow cabal to install or upgrade any package.
--cabal-lib-version Version of Cabal library used to build package.

package.cabal fields
- Package properties
name
version
cabal-version
build-type
license
license-file
license-files
copyright
author
maintainer
stability
homepage
bug-reports
package-url
synopsis
description
category
tested-with
data-files
data-dir
extra-source-files
extra-doc-files
extra-tmp-files
- Library
library Library build information.
exposed-modules
virtual-modules (since version: 2.2)
exposed
reexported-modules (since version: 1.22)
signatures (since version: 2.0)
- Executables
executable Executable build info section.
main-is
scope (since version: 2.0)
- Test suites
test-suite Test suite build information.
type
main-is Module containing tests main function.
test-module
- Benchmarks
benchmark (since version: 1.9.2) Benchmark build information.
type
main-is
- Foreign libraries
foreign-library (since version: 2.0) Foriegn library build information.
type
options
mod-def-file
lib-version-info
lib-version-linux
- Build information
build-depends
other-modules
hs-source-dirs
default-extensions
other-extensions
extensions (deprecated)
build-tool-depends (since version: 2.0)
build-tools (deprecated)
buildable
ghc-options
ghc-prof-options
ghc-shared-options
includes
install-includes
include-dirs
c-sources
cxx-sources (since version: 2.2)
asm-sources
cmm-sources
js-sources
extra-libraries
extra-ghci-libraries
extra-bundled-libraries
extra-lib-dirs
cc-options
cpp-options
cxx-options (since version: 2.2)
ld-options
pkgconfig-depends
frameworks
extra-frameworks-dirs
mixins (since version: 2.0)
- Configuration Flags
flag Flag declaration.
description
default
manual
- Common stanzas
common (since version: 2.2) Common build info section
- Source Repositories
source-repository (since version: 1.6)
type
location
module
branch
tag
subdir
- Custom setup scripts
custom-setup (since version: 1.24) Custom Setup.hs build information.
setup-depends (since version: 1.24)
- Autogenerated modules
autogen-modules (since version: 2.0)

2. Configuration and Installing Packages
2.1. Configuration
2.1.1. Overview
2.1.2. Repository specification
2.1.2.1. Using secure repositories
2.1.2.2. Legacy repositories
2.1.2.3. Secure local repositories
2.2. Building and installing packages
2.2.1. Building and installing a system package
2.2.2. Building and installing a user package
2.2.3. Installing packages from Hackage
2.2.4. Developing with sandboxes
2.2.4.1. Sandboxes: basic usage
2.2.4.2. Sandboxes: advanced usage
2.2.5. Creating a binary package
2.2.6. setup configure
2.2.6.1. Programs used for building
2.2.6.2. Installation paths
2.2.6.2.1. Path variables in the simple build system
2.2.6.2.2. Paths in the simple build system
2.2.6.2.3. Prefix-independence
2.2.6.3. Controlling Flag Assignments
2.2.6.4. Building Test Suites
2.2.6.5. Miscellaneous options
2.2.7. setup build
2.2.8. setup haddock
2.2.9. setup hscolour
2.2.10. setup install
2.2.11. setup copy
2.2.12. setup register
2.2.13. setup unregister
2.2.14. setup clean
2.2.15. setup test
2.2.16. setup sdist

I am looking for a place to upload and send the download address.

download link


1. In order not to let people destroy the game, 2 does not want people to take the code to sell, and delete some of the code, 3 I add the password to the source code, 4. Please have someone to have time to send the mailbox I will Decompress the password for the developer. 5. Please help me think of a way, I think this game can get better and better, don't want to be destroyed, but don't want the game to become a plug-in heavenly mailbox: xyqhao@gmail.com Please don't send a spam mailbox, everyone sends the first I will always ask you a few questions. If you answer the correct question, I will give you the password and give you all the code I deleted. Have any questions, please discuss together
 
Last edited:
Junior Spellweaver
Joined
Jan 24, 2013
Messages
183
Reaction score
80


Mhm good stuff :)

Cabal is the standard package system for Haskell software. It helps people to configure, build and install Haskell software and to distribute it easily to other users and developers.

There is a command line tool called cabal for working with Cabal packages. It helps with installing existing packages and also helps people developing their own packages. It can be used to work with local packages or to install packages from online package archives, including automatically installing dependencies. By default it is configured to use Hackage which is Haskell’s central package archive that contains thousands of libraries and applications in the Cabal package format.
 
Upvote 0
Back
Top