@@ -63,6 +63,8 @@ class RunningProcess with WindowListener {
6363
6464 StreamSubscription <String >? _processOutputStreamSub;
6565
66+ bool _shownSpeedupTip = false ;
67+
6668 RunningProcess (this ._projectDirectory, this ._javaPath) {
6769 windowManager.addListener (this );
6870 // Add this line to override the default close handler
@@ -153,21 +155,19 @@ class RunningProcess with WindowListener {
153155 final File bluemapJar = getBlueMapJarFile (_projectDirectory);
154156
155157 if (! bluemapJar.existsSync ()) {
156- _consoleOutputController.add (
157- "[ERROR] BlueMap CLI JAR not found."
158- " Try closing and re-opening the project to re-download it." ,
159- );
158+ _consoleOutputController.add ("""
159+ [ERROR] BlueMap CLI JAR not found.
160+ Try closing and re-opening the project to re-download it.""" );
160161 setState (RunningProcessState .stopped);
161162 return ;
162163 }
163164
164165 final NonHashedFile nonHashedBlueMapJar = NonHashedFile (bluemapJar);
165166 final File ? hashedBlueMapJar = await nonHashedBlueMapJar.hashFile (blueMapCliJarHash);
166167 if (hashedBlueMapJar == null ) {
167- _consoleOutputController.add (
168- "[WARNING] BlueMap CLI JAR hash is not valid. "
169- "Your BlueMap CLI JAR may be modified, corrupted or outdated." ,
170- );
168+ _consoleOutputController.add ("""
169+ [WARNING] BlueMap CLI JAR hash is not valid.
170+ Your BlueMap CLI JAR may be modified, corrupted or outdated.""" );
171171 }
172172
173173 final List <String > jvmArgs = [];
@@ -206,13 +206,12 @@ class RunningProcess with WindowListener {
206206
207207 if (event.contains ("This usually happens when the configured port " ) &&
208208 event.contains (" is already in use by some other program." )) {
209- _consoleOutputController.add (
210- " There is probably already a BlueMap process running.\n "
211- " Make sure that you don't have BlueMap installed as a mod on your Minecraft client,\n "
212- " and check in your Task Manager for any orphaned BlueMapCLI processes and close them.\n "
213- " If you are sure there is no other BlueMap process running and this error persists,\n "
214- " try restarting your computer." ,
215- );
209+ _consoleOutputController.add ("""
210+ There is probably already a BlueMap process running.
211+ Make sure that you don't have BlueMap installed as a mod on your Minecraft client,
212+ and check in your Task Manager for any orphaned BlueMapCLI processes and close them.
213+ If you are sure there is no other BlueMap process running and this error persists,
214+ try restarting your computer.""" );
216215 }
217216
218217 if (event.contains (RegExp ("Failed to load map.?config" ))) {
@@ -231,15 +230,25 @@ class RunningProcess with WindowListener {
231230
232231 if (event.contains ("WebServer started" )) {
233232 _consoleOutputController.add (
234- " You can now click the open button above, to see your map!" ,
233+ """
234+ [TIP] You can now already click the open button above, to see your map!
235+ BlueMap will continue rendering in the background!
236+ You can click the "Update Map" button in the sidebar on the website to see the newly rendered chunks.""" ,
235237 );
236238 }
237239
238240 if (event.contains ("Start updating 0 maps" )) {
241+ _consoleOutputController.add ("""
242+ [WARNING] There are no maps configured (correctly), so BlueMap will be doing nothing!
243+ You should create a map with the "New Map" button on the left.""" );
244+ }
245+
246+ if (! _shownSpeedupTip && event.contains ("(ETA:" )) {
239247 _consoleOutputController.add (
240- "[WARNING] You don't have any maps, so BlueMap will be doing nothing! \n "
241- " You should create a map with the \" New Map \" button on the left. " ,
248+ "" "
249+ [TIP] You can speed up the rendering process by increasing the "Render Thread Count" option in the Core tab."" " ,
242250 );
251+ _shownSpeedupTip = true ;
243252 }
244253 });
245254
@@ -258,6 +267,7 @@ class RunningProcess with WindowListener {
258267 if (success == false ) {
259268 _consoleOutputController.add ("Failed to stop the process." );
260269 }
270+ _shownSpeedupTip = false ;
261271 }
262272
263273 void setState (RunningProcessState newState, {int ? exitCode}) {
0 commit comments