dalerank / Akhenaten

An open source re-implementation of Pharaoh (1999) in the Julius/Augustus engine
GNU Affero General Public License v3.0
166 stars 11 forks source link

Data folder in other places? #126

Open Crescendo-BLYAT opened 10 months ago

Crescendo-BLYAT commented 10 months ago

Can we just place the data anywhere just like Julius?

dalerank commented 10 months ago

Sure, you can place data where you want. Exe also support select data dir on start. But on android you need copy files to special directory

Crescendo-BLYAT commented 9 months ago

sorry, lemme rephrase: can I put the data folder at root of the storage like Julius? Julius will ask which folder I put the C3 installation in upon first start. Maybe it's doable?

dalerank commented 9 months ago

If resources was not found on start, game show special window where you can select where it image

Also if game found steam folder with game, it start from here

All config saved here C:\Users\%user%\AppData\Roaming\ozymandias.cfg

Crescendo-BLYAT commented 9 months ago

Sorry, it's my fault for not being clear. I meant on Android. Can you make it like Julius? So I can just put the files in SD card.

dalerank commented 9 months ago

@Crescendo-BLYAT ok, Im not familar with android, but will try to fix it

Crescendo-BLYAT commented 9 months ago

Check the behaviour of Augustus apk to get what I meant.. šŸ˜Š

dalerank commented 6 months ago

@Crescendo-BLYAT fixed in last android changes, pls test

Crescendo-BLYAT commented 5 months ago

I can select the data folder now. Thanks.

However, the game will ask about it every bootup. Also there's a warning about data folder must be in xxxxx....

And I can't click anything, so it's stuck on starting screen with Cleopatra & [Click to start]...

dalerank commented 5 months ago

What if put data in the app cache folder?

austrasien commented 3 months ago

Hello. Iā€™m encountering the same problem. Iā€™ve got the original files from my Steam library.

Iā€™ve put them in /sdcard0/Android/data/com.github.dalerank.akhenaten.files Note that this folder is a hidden system folder which makes the copy hard to do for simple users.

That said, although the files are in this folder, at starting the, app shows me a Warning telling me Akhenaten needs the originals files. When I press ā€œOkā€, it asks me to select my game folder. Iā€™ve tried selecting another folder on my SD card where the data are copied but when I give him the correct folder, I still get that Warning pop up. The folder is in /sdcard0/Emulators/windows/games/Pharaoh + Cleopatra/

dalerank commented 3 months ago

Thanks, need to look inside this case, will try to fix it

austrasien commented 3 months ago

Fell free to ask for any other informations. Iā€™ve subbed to this issue

austrasien commented 2 months ago

Hello. A small message to say that this ticket should be set to Ā«Ā openĀ Ā». And I reward it with a 8$ PayPal payment lol

Crescendo-BLYAT commented 1 month ago

Bro, check this: https://github.com/bvschaik/julius/blob/master/android/julius/src/main/java/com/github/bvschaik/julius/DirectorySelectionActivity.java

dalerank commented 1 month ago

Can you create PR? Im not a familar with android

Crescendo-BLYAT commented 1 month ago

Can't bro, I also can't do coding. I just know that's the code responsible for data location selection.