Julius (Caesar III) port for Switch

NOTE: There are now nightly buildbot releases for Julius Switch. They can be found in the "Latest Unstable" column in the table on the official Julius webpage here: https://github.com/bvschaik/julius/

The last buildbot release includes a fix I did to reduce audio lag!

Overview:
This is my Switch port of Julius, a Caesar III re-implementation, based on devnoname120's Vita port.

Julius is an open source re-implementation of Caesar III.

Download: https://github.com/rsn8887/julius/releases/latest

Support me on Patreon: https://www.patreon.com/rsn8887

The aim of this project is to create an open-source version of Caesar 3, with the same logic as the original, but with some UI enhancements, that is able to be played on multiple platforms. The same logic means that the saved games are 100% compatible, and any gameplay bugs present in the original Caesar 3 game will also be present in Julius.

julius_switch_d.jpg


julius_switch_a.jpg julius_switch_bb.jpg julius_switch_c.jpg

UI enhancements include:
- Support for widescreen resolutions
- Windowed mode support for 32-bit desktops

Julius requires the original assets (graphics, sounds, etc) from Caesar 3 to run.

Thanks
======
Thanks to my supporters on Patreon: Andyways, CountDuckula, Greg Gibson, Jesse Harlin, Özgür Karter, Matthew Machnee, and RadicalR.

Thanks to the many developers of the game, such as Bianca van Schaik, crudelius, and all the others who were involved in creating this game.

Thanks to @devnoname120 for porting the game to the Vita.

Installation Instructions
=====
- Extract the contents of julius_switch.zip into the `switch` folder on your SD card, so that you have a folder `switch/julius` with `julius.nro` inside.

- Copy all the files from a Caesar 3 install into the `switch/julius` folder on you SD card, so that you have the file `c3.eng` and more in your folder, in addition to `julius.nro`. Caesar 3 can be purchased from gog.com for example.

Switch-exclusive Features
=====
- USB mouse and keyboard support
- Left analog stick mouse control
- Right analog stick map scrolling
- Touchpad-style mouse controls with click gestures (short single tap for left click etc.)
- On-Screen keyboard via plus-key, useful to enter player name

Controls
=====
Left analog stick = move the mouse pointer
Right analog stick or dpad up/down/left/right = Move the map.
R / A = left mouse button
L / B = right mouse button
ZR = hold to slow down analog stick mouse pointer
ZL = hold to speed up analog stick mouse pointer
X = Simulate `Pg. Up` keypress (speed up in-game time)
Y = Simulate `Pg. Down` keypress (slow down in-game time)
Plus = Bring up on-screen keyboard, useful to enter player name etc.
Select = Toggle between direct touch mode (pointer jumps to finger, nothing else) and touchpad mode (drag pointer with finger, tap for single clicke etc.)

Touch controls
======
Note: for multi-touch gestures, the fingers have to be far enough apart from each other, so that the Vita will not erroneously recognize them as a single finger. Otherwise the pointer will jump around.

Single short tap = left mouse click
Single short tap while holding a second finger down = right mouse click
Single finger drag = move the mouse pointer, how far the pointer moves in response to finger motion depends on the Mouse Speed setting
Dual finger drag = drag'n'drop (left mouse button is held down)
Three finger drag = drag'n'drop (right mouse button is held down)

Build Instructions
=====
````
cmake -DSWITCH_BUILD=ON -DCMAKE_BUILD_TYPE=Release ../julius
make julius_switch.zip -j12
````

Note: vita build based on branch name `vita_switch_with_touch` commit 3367cb7194365ee5025f786adc9fd188f46319cd

Changelog
=====
v1.02
- Compile with latest source, should hopefully fix crashes with video playback
- Hold ZR/ZL for slow/fast mouse, useful for precise pointer control with left analog stick
- Implement direct touch mode where pointer jumps to finger directly (press minus to toggle)

v1.01

- First release on Switch
 
Last edited by rsn8887,

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,601
Country
United States
The Switch only supports USB Keyboard and Mouse, not Bluetooth. All keyboards seem to work. Some mice work, some don't. My Logitech M187 wireless USB mouse works fine.

EDIT: My mistake in the OP I should have said USB not Bluetooth.
 

Tony_92

Well-Known Member
Newcomer
Joined
Jul 6, 2007
Messages
84
Trophies
1
Website
Visit site
XP
2,286
Country
Finland
The Switch only supports USB Keyboard and Mouse, not Bluetooth. All keyboards seem to work. Some mice work, some don't. My Logitech M187 wireless USB mouse works fine.

EDIT: My mistake in the OP I should have said USB not Bluetooth.

Ok, np. I'll change my mouse in that case.
 

szczuru

Well-Known Member
Member
Joined
May 3, 2014
Messages
195
Trophies
0
Age
35
Location
Poland
XP
1,497
Country
Poland
Nice job, but I prefer C&C type of strategy games ;).

I wish someone would port all C&C games 4 everything up to C&C generals which was the last good one.

I really would enjoy so much playing Red Alert II portable.

Maybe someone should port OpenRA (Open Red Alert) engine to Switch? :D
 
  • Like
Reactions: cucholix

Ninn

Well-Known Member
Member
Joined
Dec 1, 2006
Messages
480
Trophies
1
XP
1,643
Country
Japan
The game always crashes on the third map(Capua) when you reach a population around 1000.

Can't get past that unfortunately. On Switch 6.2.0 (AMS 0.8.2)
 

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,601
Country
United States
It might run out of memory: Are you launching via "album"? Album gives almost no memory.

Nsp injection gives much more memory. To do it (at least with SX PRO): hold R pressed while launching any game, then hbmenu should open. Select Julius there to launch it.

Otherwise, it will help if you can save just before the crash and upload the zipped save file. It would help me find the bug.

Another thing to test is: is it a video playing that causes the crash?
 

Ninn

Well-Known Member
Member
Joined
Dec 1, 2006
Messages
480
Trophies
1
XP
1,643
Country
Japan
It might run out of memory: Are you launching via "album"? Album gives almost no memory.

Nsp injection gives much more memory. To do it (at least with SX PRO): hold R pressed while launching any game, then hbmenu should open. Select Julius there to launch it.

Otherwise, it will help if you can save just before the crash and upload the zipped save file. It would help me find the bug.

Another thing to test is: is it a video playing that causes the crash?


Don't have SX PRO i use atmosphere and Using pokemon quest for homebrew launcher so i have full RAM access. I think it happened once crashing while playing a video in the same map Capua.

Last crash i had was yesterday with a pop of 1300.

Ill play later today to try to get a save just before it crashes
 

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,601
Country
United States
You can try to rename the video folder “SMk” to “smk_backup”. This will stop the videos but maybe fix the crash. Some users reported that the Vita version crashed when Caesar requests oil. It might be the same crash you are seeing here. This is just a guess.
 

Ninn

Well-Known Member
Member
Joined
Dec 1, 2006
Messages
480
Trophies
1
XP
1,643
Country
Japan
You can try to rename the video folder “SMk” to “smk_backup”. This will stop the videos but maybe fix the crash. Some users reported that the Vita version crashed when Caesar requests oil. It might be the same crash you are seeing here. This is just a guess.



Well i just had a long run with the game reaching a pop of 1800+(same map) with no problems until a video of caesar came up (telling me he is not happy blah blah) where it did crash sendidng me back to home menu.

I did reload the save to see if the game would crash again in the same spot, saw 2 videos in a row without crash so i guess that the bug is hard to reproduce.

I will try to rename the folder “SMk” to “smk_backup" to see if its helps.
 
Last edited by Ninn,

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,601
Country
United States
I think there’s some bug in the video player. Try renaming that folder with the video files for now to see if you can keep playing.

The videos won’t play but they are not needed. That’s what people have done in the Vita.

Hopefully I can fix the bug soon.
 
  • Like
Reactions: Ninn

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,601
Country
United States
New release v1.02.

https://github.com/rsn8887/julius/releases/latest

Changelog:
v1.02
  • Compile with latest source, should hopefully fix crashes with video playback
  • Hold ZR/ZL for slow/fast mouse, useful for precise pointer control with left analog stick
  • Implement direct touch mode where pointer jumps to finger directly (press minus to toggle)
 

MrWhosHacking

Well-Known Member
Member
Joined
May 3, 2018
Messages
293
Trophies
0
Age
34
XP
505
Country
United States
NOTE: There are now nightly buildbot releases for Julius Switch. They can be found in the "Latest Unstable" column in the table on the official Julius webpage here: https://github.com/bvschaik/julius/

The last buildbot release includes a fix I did to reduce audio lag!

Overview:
This is my Switch port of Julius, a Caesar III re-implementation, based on devnoname120's Vita port.

Julius is an open source re-implementation of Caesar III.

Download: https://github.com/rsn8887/julius/releases/latest

Support me on Patreon: https://www.patreon.com/rsn8887

The aim of this project is to create an open-source version of Caesar 3, with the same logic as the original, but with some UI enhancements, that is able to be played on multiple platforms. The same logic means that the saved games are 100% compatible, and any gameplay bugs present in the original Caesar 3 game will also be present in Julius.

View attachment 158149

View attachment 158140 View attachment 158141 View attachment 158142

UI enhancements include:
- Support for widescreen resolutions
- Windowed mode support for 32-bit desktops

Julius requires the original assets (graphics, sounds, etc) from Caesar 3 to run.

Thanks
======
Thanks to my supporters on Patreon: Andyways, CountDuckula, Greg Gibson, Jesse Harlin, Özgür Karter, Matthew Machnee, and RadicalR.

Thanks to the many developers of the game, such as Bianca van Schaik, crudelius, and all the others who were involved in creating this game.

Thanks to @devnoname120 for porting the game to the Vita.

Installation Instructions
=====
- Extract the contents of julius_switch.zip into the `switch` folder on your SD card, so that you have a folder `switch/julius` with `julius.nro` inside.

- Copy all the files from a Caesar 3 install into the `switch/julius` folder on you SD card, so that you have the file `c3.eng` and more in your folder, in addition to `julius.nro`. Caesar 3 can be purchased from gog.com for example.

Switch-exclusive Features
=====
- USB mouse and keyboard support
- Left analog stick mouse control
- Right analog stick map scrolling
- Touchpad-style mouse controls with click gestures (short single tap for left click etc.)
- On-Screen keyboard via plus-key, useful to enter player name

Controls
=====
Left analog stick = move the mouse pointer
Right analog stick or dpad up/down/left/right = Move the map.
R / A = left mouse button
L / B = right mouse button
ZR = hold to slow down analog stick mouse pointer
ZL = hold to speed up analog stick mouse pointer
X = Simulate `Pg. Up` keypress (speed up in-game time)
Y = Simulate `Pg. Down` keypress (slow down in-game time)
Plus = Bring up on-screen keyboard, useful to enter player name etc.
Select = Toggle between direct touch mode (pointer jumps to finger, nothing else) and touchpad mode (drag pointer with finger, tap for single clicke etc.)

Touch controls
======
Note: for multi-touch gestures, the fingers have to be far enough apart from each other, so that the Vita will not erroneously recognize them as a single finger. Otherwise the pointer will jump around.

Single short tap = left mouse click
Single short tap while holding a second finger down = right mouse click
Single finger drag = move the mouse pointer, how far the pointer moves in response to finger motion depends on the Mouse Speed setting
Dual finger drag = drag'n'drop (left mouse button is held down)
Three finger drag = drag'n'drop (right mouse button is held down)

Build Instructions
=====
````
cmake -DSWITCH_BUILD=ON -DCMAKE_BUILD_TYPE=Release ../julius
make julius_switch.zip -j12
````

Note: vita build based on branch name `vita_switch_with_touch` commit 3367cb7194365ee5025f786adc9fd188f46319cd

Changelog
=====
v1.02
- Compile with latest source, should hopefully fix crashes with video playback
- Hold ZR/ZL for slow/fast mouse, useful for precise pointer control with left analog stick
- Implement direct touch mode where pointer jumps to finger directly (press minus to toggle)

v1.01

- First release on Switch
Won’t load on 8.0.1
 
Last edited by MrWhosHacking,

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,601
Country
United States
This is due to libnx v2.1 which was used to compile nightlies. I have to wait until libnx 2.2 releases. Then I have to update the Julius buildbot to link with libnx2.2 to fix 8.0.x support.

Note: this affects ALL homebrew compiled with current libnx v2.1. So expect a lot of homebrew to stop working if you update to 8.0.x. All the homebrew devs that used libnx 2.1 will have to re-compile their releases with libnx 2.2 to fix 8.0.x support.
 
Last edited by rsn8887,
  • Like
Reactions: MrWhosHacking

rsn8887

Well-Known Member
OP
Member
Joined
Oct 8, 2015
Messages
956
Trophies
1
Age
46
Website
www.patreon.com
XP
3,601
Country
United States
  • Like
Reactions: MrWhosHacking

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: yltcaxE +1