Giter Club home page Giter Club logo

project-alice's Introduction

Project Alice

Project Alice is a continuation / rewrite of the Open V2 codebase (an open source "retro clone" of Victoria 2).

Join us on discord or visit our documentation pages

How to install and play

  • Download the latest release here
  • Extract the archive and move the executable files and the assets folder into your main Victoria 2 directory. In other words, Alice.exe should end up in the same folder as v2game.exe.
  • IF YOU INSTALLED A PREVIOUS DEMO OR RELEASE: I suggest that you delete it and the old assets folder before copying over the new one, as an extra precaution.
  • Start the game by running launch_alice.exe.
  • Mods may or may not run with more or less problems (see the October update and the compatibility patches channel in the discord for more information about particular mods).
  • Read up the User and multiplayer guide for further information and troubleshooting

Contributing

Updates

About Project Alice (translated)

project-alice's People

Contributors

aintdatcap avatar arkusix avatar breijz avatar brickpi avatar bruno-cabrera98 avatar coderguy57 avatar cybertropic avatar elmatero08 avatar gitcondor avatar ineveraskedforthis avatar ioliano avatar ivysaur-mrquestionmarks avatar jannoonink avatar jbak920 avatar ma44 avatar makkkkus avatar masterchef118 avatar matirg avatar meizhouwan avatar nicholasln avatar nivaturimika avatar nuruvilu avatar optimizedfordensity avatar rarafael avatar schombert avatar stevezxc avatar wonobory avatar wxwisiasdf avatar yrrrmmbl avatar zhuralol avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

project-alice's Issues

Assimilation Rework

Pops assimilate and retain their religion
Religions spread organically (although the ones with pagan modifiers will not)
They may proselytize within their ingroup and animists being first priority
(This will not always be as such)
Religions (Greek Orthodox and Coptic Pope of Alexandria) get money from their believers, which then is done to proselytize (amongst pagans)
The same religion can have different bishops (could be in conflict)
Assimilation can be done to minority cultures, and is done based on who the Capitalists are
If the Capitalists in the province are not accepted, then assimilation will be done towards them
Melting pots can be created, but not of different races (it's rare to see race-mixing, and most race-mixing that did occur happened before 1836, such as between the American Indians and the Spanish, and it's not too much any further)
Immigration does not discard culture, but creates diaspora cultures
Certain diaspora communities will not assimilate (if they are of different religions, so that there is no assimilation of Armenians in Russia, but there continues to be a diaspora)
Diasporas may repatriate
Genocides occur via expulsions
Conversions of certain religions will not occur
Pop growth is uneven, based on pop income and literacy (higher income is more pops because of higher SOL, and lower literacy is more pops)

Reporting some bugs

To help the development, I'm reporting some bugs.

First of all, it appears that AI in the Alice is much more aggressive towards nearby Great Powers than in the basegame (no mods used). Playing as France 2 times I got repeatedly attacked by UK and Prussia for European states or Algiers.

Major bug I discovered is that I was made automatically to support Hungary in the crisis even though I didn't accept their ask.

Then, some interface things:

  1. On Production tab a lot of labourers count are missing

image

  1. On Projects tab buttons with regards to investments are missing

image

  1. The ledger used to show the number of influence point I have against each country, not just stage of the sphering process

image

There also was a moment when crisis icon has no associated text (lang key shown instead), but I forgot to screenshot that.

Request and possible bug: assimilation speed for present core

Bug: Assimilation speed when core is present is reduced by 0.01X but if there is two core for same culture its 0.0001X so speed is reduced twice.
Request:adjustable assimilation speed reduction when that culture's core is present via defines
Allowing culture conversion in overseas via defines

Laucher just black

I run launch_alice.exe, but the ui is just black. The buttons are highlighting correctly and seem to work.

image

Trojan at zip file?

Hey man,

I dont know if this is a false positive, but Windows Defender "detect" a Trojan at the zip file (1.0.9.7z) in the last release file.

Trojan:Win32/Znyonm

Feature request: Setting to disable text/interface antialiasing (FT_LOAD_TARGET_MONO)

In the original Victoria 2, most of the in-game text is generated from image files to which blurring (antialiasing) has been applied. A modder who dislikes blurry text can easily eliminate it by (1) editing the pre-blurred image files in an image editor, or (2) editing the plaintext .fnt files to reference different image files that are not blurred (such as Arial16.tga).

In the current version of Project Alice, all of the in-game text is generated from TrueType font files to which blurring is applied in-game, and there is no way to stop the game from applying the blurring. Accordingly, I would like to request the addition of an option that allows users to stop the game from applying the blurring.

At a glance, it appears that blurring can be removed pretty easily by using "FT_LOAD_TARGET_MONO" rather than "FT_LOAD_TARGET_NORMAL" in src/text/fonts.cpp. But I'm not much of a programmer, so I may be wrong.

AI problem

I dont know why but, when i play for example, prussia and a little bit later, randomly France Declares war on me Cuz of rhineland, i played as ottoman Empire and then austria and egypt declared war on me in 1836-1837 and the Armies are just ridiculous. but the other parts of the mod Still Amazing, good job so Far. but fix that please and add some event pause option, like Hoi4 and vanilla Vic2 and HOW THE FRENCH ARMY OF 90K GUYS ARE DEFEATING AN 123K-130K PRUSSIAN GUYS

trying to compile the code but failed

C:\Users\violi\code\Project-Alice\out\build\x64-debug-windows_deps\catch2-src\single_include\catch2\catch.hpp(2327): error C2220: the following warning is treated as an error
C:\Users\violi\code\Project-Alice\out\build\x64-debug-windows_deps\catch2-src\single_include\catch2\catch.hpp(2327): warning C4388: '!=': signed/unsigned mismatch
C:\Users\violi\code\Project-Alice\out\build\x64-debug-windows_deps\catch2-src\single_include\catch2/catch.hpp(2327): note: the template instantiation context (the oldest one first) is
C:\Users\violi\code\Project-Alice\tests\scenario_building.cpp(304): note: see reference to function template instantiation 'const Catch::BinaryExpr<LhsT,const int &> Catch::ExprLhs::operator !=(const RhsT &)' being compiled
with
[
LhsT=const unsigned __int64 &,
RhsT=int
]
C:\Users\violi\code\Project-Alice\tests\scenario_building.cpp(304): note: see the first reference to 'Catch::ExprLhs<const unsigned __int64 &>::operator !=' in 'C_A_T_C_H_T_E_S_T_55'

I added set(CMAKE_COMPILE_WARNING_AS_ERROR OFF) into tests/CMakeLists.txt but it didn't work. How can I disable the warning as error feature for a dependency library?

Miscalculation in Budget

image

The expenses stated are much too high. projected daily balance doesn't match the balance shown in the preview.
Is also possible that these are real expenses are are not able to be fulfilled.

Overflow warning on compilation

Compiling Alice in the release configuration gives a buffer overflow warning on Linux with GCC 11.4 (ignore the mentions of clang in the log) so I'm not sure if it's a quirk of this build system, but it doesn't seem like anything is adversely affected as far as I can tell. This warning doesn't pop up when compiling under the debug configuration which is why it doesn't appear in the Github workflow log.

[build] In file included from /usr/include/string.h:535,
[build]                  from /usr/include/c++/11/cstring:42,
[build]                  from [...]/Project-Alice/out/build/x64-release-linux-clang/_deps/datacontainer-src/CommonIncludes/unordered_dense.h:78,
[build]                  from [...]/Project-Alice/src/filesystem/simple_fs_types_nix.hpp:3,
[build]                  from [...]/Project-Alice/src/filesystem/simple_fs.hpp:35,
[build]                  from [...]/Project-Alice/out/build/x64-release-linux-clang/CMakeFiles/Alice.dir/cmake_pch.hxx:36,
[build]                  from <command-line>:
[build] In function ‘void* memcpy(void*, const void*, size_t)’,
[build]     inlined from ‘uint8_t* sys::write_save_header(uint8_t*, const sys::save_header&)’ at [...]/Project-Alice/src/gamestate/serialization.cpp:37:8,
[build]     inlined from ‘void sys::write_save_file(sys::state&, bool)’ at [...]/Project-Alice/src/gamestate/serialization.cpp:1007:37:
[build] /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ writing 88 bytes into a region of size 24 overflows the destination [-Wstringop-overflow=]
[build]    29 |   return __builtin___memcpy_chk (__dest, __src, __len,
[build]       |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
[build]    30 |                                  __glibc_objsize0 (__dest));
[build]       |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
[build] In file included from [...]/Project-Alice/src/main.cpp:21:
[build] [...]/Project-Alice/src/gamestate/serialization.cpp: In function ‘void sys::write_save_file(sys::state&, bool)’:
[build] [...]/Project-Alice/src/gamestate/serialization.cpp:1004:54: note: at offset 4 into destination object of size 28 allocated by ‘operator new []’
[build]  1004 |         uint8_t* temp_buffer = new uint8_t[total_size];
[build]       |                                                      ^

Feature Request: Assimilation to minority culture

A major problem with Victoria 2 is its treatment of religion and culture as a geological feature rather than a cultural identity: the formation of Taiping, Mormonism and Baha'i; the creation and redefinition of American identity as race or national allegiance; and the creation of civic nationalism in decolonized states is impossible in it.
Some mods like CWE seemed to have tried to use non-existent mechanics like adding an accepted culture or switching religion to create new culture pops, but they've failed because Vic 2 requires a seed population to assimilate to.

Some folks have suggested allowing pops to assimilate to the primary culture of any tag with cores in the same province, others have suggested granular options in event effects.

Feature Request: Localization, UI work for Localization, Support for multiple Gender forms for text.

Heya,

As someone who localized Diablo and Hellfire in Greek for the Devilution project, I would like to consider at some point doing the same for this beloved game and project. Of course that's not an easy task, since this is a mammoth project in terms of text, But At the very least would like to have a go at the UI and characters.

Let me tell you something about Greek: It is very wordy, and the current UI layouts and elements can't fit the unicode texts for the life of it.

Also, focusing on POPs and characters, Greek has genders for many words (as many other languages do). So the generic way it's done for engilsh would be insufficient for many things here, as descriptors have masculine, feminine, and neutral forms.

I'm just posting here to get the discussion started, along with perhaps some proposals from you guys. I know this ain't happening any time soon. I had a look at your documentation but didn't find any guides or ground work for localizers yet - that's ok since this is too early or I just completely missed it.

So post here, or point me to where this discussion is/will be taking place!

Crash right after "Start game"

Win11
AMD Ryzen 5 7600X
NVidia, driver v.528.24
Vic2 fresh install (steam)
Alice v.1.0.10, files copied to \steamapps\common\Victoria 2\:

assets/
Alice.exe
Alice512.exe
AliceSSE.exe
dbg_alice.exe
launch_alice.exe

launch_alice.exe running successfully
Start game - immediate crash
crash.dmp

Is playing on Linux (Ubuntu/Pop!_OS) possible?

Hi

Is playing on Linux (Ubuntu/Pop!_OS) possible? I see that there is only a pre-compiled package for Windows but I saw in the documentation that it is possible to compile on a Debian-based distro. I just want to check the state of the app before I go off to fight CMake.

Thanks!

Building on Linux

Greetings!

I have tried building the code on Manjaro Linux using gcc 13.2.1. However, when the compilation process gets to main.cpp
it uses all my available RAM until the compilation itself crashes. Upon looking into main.cpp itself, I have noticed that it is
quite massive, and seems to include most(?) cpp files within the project.

I tried breaking it into different files with only some of the includes, but it would either not work due to some definition not
being found, or would also use all available RAM. It seems that the dependencies amongst the files are quite non-trivial.

It'd probably help development and testing if we could break the compilation into smaller parts.

[Solved] How to run Project Alice on Ubuntu/PopOS without building a Linux distribution

Hi,

I managed to get Project Alice to run on PopOS. I did it by using Lutris and this guide. The setup is the same as for Windows, the new thing is how you run it using Lutris. For the Wine version, I used the one that was already pre-installed, so I didn't fiddle with that.

I also managed to load up the mod Divergences of Darkness. I have not yet tried Multiplayer but I will at some point.

I'd be very happy to make this into a formal commit, if there is an interest. I just wanted to get something out the door before I forget to share.

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.